Skip to content

Commit 0a720fc

Browse files
authored
Merge branch 'main' into librarian-4273
2 parents 47a7998 + 55d6385 commit 0a720fc

59 files changed

Lines changed: 5603 additions & 3460 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.release-please-manifest.json

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@
107107
"packages/google-cloud-deploy": "5.2.1",
108108
"packages/google-cloud-developerconnect": "0.7.0",
109109
"packages/google-cloud-devicestreaming": "0.2.1",
110-
"packages/google-cloud-dialogflow": "7.5.0",
111-
"packages/google-cloud-dialogflow-cx": "5.7.0",
110+
"packages/google-cloud-dialogflow": "7.6.0",
111+
"packages/google-cloud-dialogflow-cx": "5.8.0",
112112
"packages/google-cloud-discoveryengine": "2.6.0",
113113
"packages/google-cloud-dns": "5.3.1",
114114
"packages/google-cloud-documentai": "9.6.0",
@@ -151,10 +151,10 @@
151151
"packages/google-cloud-migrationcenter": "2.2.1",
152152
"packages/google-cloud-modelarmor": "0.4.1",
153153
"packages/google-cloud-monitoring": "5.3.1",
154-
"packages/google-cloud-netapp": "0.16.0",
154+
"packages/google-cloud-netapp": "0.17.0",
155155
"packages/google-cloud-networkconnectivity": "4.6.0",
156156
"packages/google-cloud-networkmanagement": "5.3.0",
157-
"packages/google-cloud-networksecurity": "3.3.1",
157+
"packages/google-cloud-networksecurity": "3.4.0",
158158
"packages/google-cloud-networkservices": "0.12.0",
159159
"packages/google-cloud-notebooks": "4.2.1",
160160
"packages/google-cloud-oracledatabase": "0.7.0",
@@ -181,7 +181,7 @@
181181
"packages/google-cloud-saasplatform-saasservicemgmt": "0.2.0",
182182
"packages/google-cloud-scheduler": "5.3.1",
183183
"packages/google-cloud-secretmanager": "6.1.1",
184-
"packages/google-cloud-securesourcemanager": "0.8.1",
184+
"packages/google-cloud-securesourcemanager": "0.9.0",
185185
"packages/google-cloud-security-privateca": "7.0.1",
186186
"packages/google-cloud-security-publicca": "2.2.1",
187187
"packages/google-cloud-securitycenter": "9.3.0",
@@ -199,7 +199,7 @@
199199
"packages/google-cloud-telcoautomation": "0.5.1",
200200
"packages/google-cloud-texttospeech": "6.4.0",
201201
"packages/google-cloud-tpu": "4.1.1",
202-
"packages/google-cloud-translate": "9.3.0",
202+
"packages/google-cloud-translate": "9.4.0",
203203
"packages/google-cloud-vectorsearch": "0.5.0",
204204
"packages/google-cloud-video-livestream": "2.2.1",
205205
"packages/google-cloud-video-stitcher": "3.2.1",
@@ -256,5 +256,7 @@
256256
"packages/google-streetview-publish": "0.4.1",
257257
"packages/grafeas": "6.1.1",
258258
"packages/typeless-sample-bot": "3.1.1",
259-
"packages/google-cloud-datacatalog-lineage-configmanagement": "0.1.0"
259+
"packages/google-cloud-datacatalog-lineage-configmanagement": "0.1.0",
260+
"packages/google-cloud-auditmanager": "0.1.0",
261+
"packages/google-maps-geocode": "0.1.0"
260262
}

changelog.json

Lines changed: 145 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,150 @@
11
{
22
"repository": "googleapis/google-cloud-node",
33
"entries": [
4+
{
5+
"changes": [
6+
{
7+
"type": "feat",
8+
"sha": "da6ef3b2599582c2132b83b5311caadc3e1e2a34",
9+
"message": "[geocode] make the Place ID format consistent",
10+
"issues": [
11+
"7903"
12+
]
13+
},
14+
{
15+
"type": "feat",
16+
"sha": "48591e57572ca14f9b4e7dd63d5b9df7405efcb6",
17+
"message": "Add initial files for google.maps.geocode.v4",
18+
"issues": [
19+
"7841"
20+
]
21+
}
22+
],
23+
"version": "0.1.0",
24+
"language": "JAVASCRIPT",
25+
"artifactName": "@google-cloud/geocode",
26+
"id": "f5610bce-ae82-460d-b83c-cbf3d5eb7473",
27+
"createTime": "2026-04-08T00:07:52.535Z"
28+
},
29+
{
30+
"changes": [
31+
{
32+
"type": "feat",
33+
"sha": "14bb52806fb3783933b1acdfcb3e5007328cf6f7",
34+
"message": "Add initial files for google.cloud.auditmanager.v1",
35+
"issues": [
36+
"7843"
37+
]
38+
}
39+
],
40+
"version": "0.1.0",
41+
"language": "JAVASCRIPT",
42+
"artifactName": "@google-cloud/auditmanager",
43+
"id": "c456aeaf-fd40-4052-8d71-68570717a02c",
44+
"createTime": "2026-04-08T00:07:52.489Z"
45+
},
46+
{
47+
"changes": [
48+
{
49+
"type": "feat",
50+
"sha": "4e5752bbddbb630463602b7b8de924191f241f02",
51+
"message": "[translate] A new field `mime_type` is added to message `.google.cloud.translation.v3.AdaptiveMtTranslateRequest`",
52+
"issues": [
53+
"7968"
54+
]
55+
}
56+
],
57+
"version": "9.4.0",
58+
"language": "JAVASCRIPT",
59+
"artifactName": "@google-cloud/translate",
60+
"id": "2a4b675f-5527-4c69-ac7c-f746782926a2",
61+
"createTime": "2026-04-08T00:07:52.462Z"
62+
},
63+
{
64+
"changes": [
65+
{
66+
"type": "feat",
67+
"sha": "a8fac0a6374071436ff37cfffe9dbceb896d496c",
68+
"message": "[securesourcemanager] Add CustomHostConfig to configure custom hostnames for private instances",
69+
"issues": [
70+
"7901"
71+
]
72+
}
73+
],
74+
"version": "0.9.0",
75+
"language": "JAVASCRIPT",
76+
"artifactName": "@google-cloud/securesourcemanager",
77+
"id": "69973b61-4b15-45a9-82ab-222274815173",
78+
"createTime": "2026-04-08T00:07:52.413Z"
79+
},
80+
{
81+
"changes": [
82+
{
83+
"type": "feat",
84+
"sha": "efa3e04e34f4eb4d2f4ee757d2ef8c6b2e380a40",
85+
"message": "[networksecurity] Publish proto definitions for AuthzPolicy, TlsInspectionPolicy, GatewaySecurityPolicy, GatewaySecurityPolicyRule, and UrlList",
86+
"issues": [
87+
"7862"
88+
]
89+
}
90+
],
91+
"version": "3.4.0",
92+
"language": "JAVASCRIPT",
93+
"artifactName": "@google-cloud/network-security",
94+
"id": "b5425758-5059-4b95-9999-e54e8aeda224",
95+
"createTime": "2026-04-08T00:07:52.367Z"
96+
},
97+
{
98+
"changes": [
99+
{
100+
"type": "feat",
101+
"sha": "5d3b1387d42b741e2d0cda09c6993e2e37da959c",
102+
"message": "[netapp] Add ONTAP passthrough APIs",
103+
"issues": [
104+
"7861"
105+
]
106+
}
107+
],
108+
"version": "0.17.0",
109+
"language": "JAVASCRIPT",
110+
"artifactName": "@google-cloud/netapp",
111+
"id": "8d778c43-daf8-4bc0-877d-156b936338a7",
112+
"createTime": "2026-04-08T00:07:52.333Z"
113+
},
114+
{
115+
"changes": [
116+
{
117+
"type": "feat",
118+
"sha": "24d9b56ef1840f2738920f4577d4f77fb0a5b8fd",
119+
"message": "[cx] updated v3 dialogflow client libraries with `dtmf_pattern` and `trace_blocks`",
120+
"issues": [
121+
"7846"
122+
]
123+
}
124+
],
125+
"version": "5.8.0",
126+
"language": "JAVASCRIPT",
127+
"artifactName": "@google-cloud/dialogflow-cx",
128+
"id": "43968700-60ca-47e4-a83b-3ad4075e929c",
129+
"createTime": "2026-04-08T00:07:52.287Z"
130+
},
131+
{
132+
"changes": [
133+
{
134+
"type": "feat",
135+
"sha": "75c76e1253982abc8e228c793dee684004e621f2",
136+
"message": "[dialogflow] updated v2beta1 dialogflow client libraries",
137+
"issues": [
138+
"7853"
139+
]
140+
}
141+
],
142+
"version": "7.6.0",
143+
"language": "JAVASCRIPT",
144+
"artifactName": "@google-cloud/dialogflow",
145+
"id": "d759283e-d57d-4b46-b819-bfdf7843c8c0",
146+
"createTime": "2026-04-08T00:07:52.254Z"
147+
},
4148
{
5149
"changes": [
6150
{
@@ -69392,5 +69536,5 @@
6939269536
"createTime": "2023-01-28T04:18:24.718Z"
6939369537
}
6939469538
],
69395-
"updateTime": "2026-04-06T17:24:30.125Z"
69539+
"updateTime": "2026-04-08T00:07:52.535Z"
6939669540
}

ci/run_conditional_tests.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,16 @@ for subdir in ${subdirs[@]}; do
123123
continue
124124
fi
125125

126+
# Sample tests for packages are broken/flaky and blocking PRs.
127+
# See https://github.com/googleapis/google-cloud-node/issues/7976#issuecomment-4210458096.
128+
#
129+
# Per https://github.com/googleapis/google-cloud-node/issues/7921,
130+
# we are likely to permanently remove these tests in the near future.
131+
if [[ "${subdir}" == "packages" && "${TEST_TYPE}" == "samples" ]]; then
132+
echo "Skipping ${TEST_TYPE} test for packages: ${d}"
133+
continue
134+
fi
135+
126136
# Our CI uses Git Bash on Windows to execute this script, which returns "msys" for OSTYPE.
127137
if [[ "$OSTYPE" == "msys" ]]; then
128138
if [[ "${windows_exempt_tests}" =~ "${d}" ]]; then

handwritten/bigquery/src/bigquery.ts

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1101,10 +1101,12 @@ export class BigQuery extends Service {
11011101
}),
11021102
};
11031103
} else if ((providedType as string).toUpperCase() === 'TIMESTAMP(12)') {
1104-
return {
1105-
type: 'TIMESTAMP',
1106-
timestampPrecision: '12',
1107-
};
1104+
if (process.env.BIGQUERY_PICOSECOND_SUPPORT === 'true') {
1105+
return {
1106+
type: 'TIMESTAMP',
1107+
timestampPrecision: '12',
1108+
};
1109+
}
11081110
}
11091111

11101112
providedType = (providedType as string).toUpperCase();
@@ -2263,7 +2265,6 @@ export class BigQuery extends Service {
22632265
the callback. Instead, pass the error to the callback the user provides
22642266
so that the user can see the error.
22652267
*/
2266-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
22672268
const listParams = {
22682269
'formatOptions.timestampOutputFormat':
22692270
queryReq.formatOptions?.timestampOutputFormat,
@@ -2367,11 +2368,18 @@ export class BigQuery extends Service {
23672368
const hasAnyFormatOpts =
23682369
options['formatOptions.timestampOutputFormat'] !== undefined ||
23692370
options['formatOptions.useInt64Timestamp'] !== undefined;
2370-
const defaultOpts = hasAnyFormatOpts
2371+
let defaultOpts: bigquery.IDataFormatOptions = hasAnyFormatOpts
23712372
? {}
23722373
: {
2373-
timestampOutputFormat: 'ISO8601_STRING',
2374+
useInt64Timestamp: true,
23742375
};
2376+
if (process.env.BIGQUERY_PICOSECOND_SUPPORT === 'true') {
2377+
defaultOpts = hasAnyFormatOpts
2378+
? {}
2379+
: {
2380+
timestampOutputFormat: 'ISO8601_STRING',
2381+
};
2382+
}
23752383
const formatOptions = extend(defaultOpts, {
23762384
timestampOutputFormat: options['formatOptions.timestampOutputFormat'],
23772385
useInt64Timestamp: options['formatOptions.useInt64Timestamp'],
@@ -2585,12 +2593,9 @@ function convertSchemaFieldValue(
25852593
2023-01-01T12:00:00.123456789123Z
25862594
*/
25872595
const listParams = options.listParams;
2588-
const timestampOutputFormat = listParams
2589-
? listParams['formatOptions.timestampOutputFormat']
2590-
: undefined;
2591-
const useInt64Timestamp = listParams
2592-
? listParams['formatOptions.useInt64Timestamp']
2593-
: undefined;
2596+
const timestampOutputFormat =
2597+
listParams?.['formatOptions.timestampOutputFormat'];
2598+
const useInt64Timestamp = listParams?.['formatOptions.useInt64Timestamp'];
25942599
if (timestampOutputFormat === 'ISO8601_STRING') {
25952600
// value is ISO string, create BigQueryTimestamp wrapping the string
25962601
value = BigQuery.timestamp(value);

handwritten/bigquery/src/table.ts

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ import {JobMetadata, JobOptions} from './job';
5555
import bigquery from './types';
5656
import {IntegerTypeCastOptions} from './bigquery';
5757
import {RowQueue} from './rowQueue';
58-
import IDataFormatOptions = bigquery.IDataFormatOptions;
5958

6059
// This is supposed to be a @google-cloud/storage `File` type. The storage npm
6160
// module includes these types, but is current installed as a devDependency.
@@ -1894,15 +1893,24 @@ class Table extends ServiceObject {
18941893
}
18951894
callback!(null, rows, nextQuery, resp);
18961895
};
1896+
18971897
const hasAnyFormatOpts =
18981898
options['formatOptions.timestampOutputFormat'] !== undefined ||
18991899
options['formatOptions.useInt64Timestamp'] !== undefined;
1900-
const defaultOpts = hasAnyFormatOpts
1900+
let defaultOpts: GetRowsOptions = hasAnyFormatOpts
19011901
? {}
19021902
: {
1903-
'formatOptions.timestampOutputFormat': 'ISO8601_STRING',
1903+
'formatOptions.useInt64Timestamp': true,
19041904
};
1905-
const qs = extend(defaultOpts, options);
1905+
if (process.env.BIGQUERY_PICOSECOND_SUPPORT === 'true') {
1906+
defaultOpts = hasAnyFormatOpts
1907+
? {}
1908+
: {
1909+
'formatOptions.timestampOutputFormat': 'ISO8601_STRING',
1910+
};
1911+
}
1912+
const qs: GetRowsOptions = extend(defaultOpts, options);
1913+
19061914
this.request(
19071915
{
19081916
uri: '/data',

0 commit comments

Comments
 (0)