Skip to content

Commit c5ccdf9

Browse files
feat: [Many APIs] add several fields to manage state of database encryption update (#5188)
* feat: add several fields to manage state of database encryption update PiperOrigin-RevId: 619289281 Source-Link: googleapis/googleapis@3a7c334 Source-Link: googleapis/googleapis-gen@6a8c733 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRhdGFwbGV4Ly5Pd2xCb3QueWFtbCIsImgiOiI2YThjNzMzMDYyZDgzM2QxMWM1MjQ1ZWRhNTBmNTEwOGUwZTU1MzI0In0= Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRhdGFwcm9jLy5Pd2xCb3QueWFtbCIsImgiOiI2YThjNzMzMDYyZDgzM2QxMWM1MjQ1ZWRhNTBmNTEwOGUwZTU1MzI0In0= Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRhdGFxbmEvLk93bEJvdC55YW1sIiwiaCI6IjZhOGM3MzMwNjJkODMzZDExYzUyNDVlZGE1MGY1MTA4ZTBlNTUzMjQifQ== Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRhdGFzdHJlYW0vLk93bEJvdC55YW1sIiwiaCI6IjZhOGM3MzMwNjJkODMzZDExYzUyNDVlZGE1MGY1MTA4ZTBlNTUzMjQifQ== Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRlcGxveS8uT3dsQm90LnlhbWwiLCJoIjoiNmE4YzczMzA2MmQ4MzNkMTFjNTI0NWVkYTUwZjUxMDhlMGU1NTMyNCJ9 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRpYWxvZ2Zsb3ctY3gvLk93bEJvdC55YW1sIiwiaCI6IjZhOGM3MzMwNjJkODMzZDExYzUyNDVlZGE1MGY1MTA4ZTBlNTUzMjQifQ== Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRpYWxvZ2Zsb3cvLk93bEJvdC55YW1sIiwiaCI6IjZhOGM3MzMwNjJkODMzZDExYzUyNDVlZGE1MGY1MTA4ZTBlNTUzMjQifQ== Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRpc2NvdmVyeWVuZ2luZS8uT3dsQm90LnlhbWwiLCJoIjoiNmE4YzczMzA2MmQ4MzNkMTFjNTI0NWVkYTUwZjUxMDhlMGU1NTMyNCJ9 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRvY3VtZW50YWkvLk93bEJvdC55YW1sIiwiaCI6IjZhOGM3MzMwNjJkODMzZDExYzUyNDVlZGE1MGY1MTA4ZTBlNTUzMjQifQ== Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRvbWFpbnMvLk93bEJvdC55YW1sIiwiaCI6IjZhOGM3MzMwNjJkODMzZDExYzUyNDVlZGE1MGY1MTA4ZTBlNTUzMjQifQ== Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWVkZ2Vjb250YWluZXIvLk93bEJvdC55YW1sIiwiaCI6IjZhOGM3MzMwNjJkODMzZDExYzUyNDVlZGE1MGY1MTA4ZTBlNTUzMjQifQ== Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWVkZ2VuZXR3b3JrLy5Pd2xCb3QueWFtbCIsImgiOiI2YThjNzMzMDYyZDgzM2QxMWM1MjQ1ZWRhNTBmNTEwOGUwZTU1MzI0In0= Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWVzc2VudGlhbGNvbnRhY3RzLy5Pd2xCb3QueWFtbCIsImgiOiI2YThjNzMzMDYyZDgzM2QxMWM1MjQ1ZWRhNTBmNTEwOGUwZTU1MzI0In0= Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWV2ZW50YXJjLXB1Ymxpc2hpbmcvLk93bEJvdC55YW1sIiwiaCI6IjZhOGM3MzMwNjJkODMzZDExYzUyNDVlZGE1MGY1MTA4ZTBlNTUzMjQifQ== Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWV2ZW50YXJjLy5Pd2xCb3QueWFtbCIsImgiOiI2YThjNzMzMDYyZDgzM2QxMWM1MjQ1ZWRhNTBmNTEwOGUwZTU1MzI0In0= Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWZpbGVzdG9yZS8uT3dsQm90LnlhbWwiLCJoIjoiNmE4YzczMzA2MmQ4MzNkMTFjNTI0NWVkYTUwZjUxMDhlMGU1NTMyNCJ9 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWZ1bmN0aW9ucy8uT3dsQm90LnlhbWwiLCJoIjoiNmE4YzczMzA2MmQ4MzNkMTFjNTI0NWVkYTUwZjUxMDhlMGU1NTMyNCJ9 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWdrZWJhY2t1cC8uT3dsQm90LnlhbWwiLCJoIjoiNmE4YzczMzA2MmQ4MzNkMTFjNTI0NWVkYTUwZjUxMDhlMGU1NTMyNCJ9 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWdrZWNvbm5lY3QtZ2F0ZXdheS8uT3dsQm90LnlhbWwiLCJoIjoiNmE4YzczMzA2MmQ4MzNkMTFjNTI0NWVkYTUwZjUxMDhlMGU1NTMyNCJ9 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWdrZWh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNmE4YzczMzA2MmQ4MzNkMTFjNTI0NWVkYTUwZjUxMDhlMGU1NTMyNCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * kickstart tests * chore: add rank service client to index.ts --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: sofisl <[email protected]> Co-authored-by: Sofia Leon <[email protected]>
1 parent 4c2848a commit c5ccdf9

File tree

239 files changed

+93929
-66384
lines changed

Some content is hidden

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

239 files changed

+93929
-66384
lines changed

packages/google-cloud-dataplex/src/v1/catalog_service_client.ts

+11-4
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,15 @@ export class CatalogServiceClient {
129129
'Please set either universe_domain or universeDomain, but not both.'
130130
);
131131
}
132+
const universeDomainEnvVar =
133+
typeof process === 'object' && typeof process.env === 'object'
134+
? process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN']
135+
: undefined;
132136
this._universeDomain =
133-
opts?.universeDomain ?? opts?.universe_domain ?? 'googleapis.com';
137+
opts?.universeDomain ??
138+
opts?.universe_domain ??
139+
universeDomainEnvVar ??
140+
'googleapis.com';
134141
this._servicePath = 'dataplex.' + this._universeDomain;
135142
const servicePath =
136143
opts?.servicePath || opts?.apiEndpoint || this._servicePath;
@@ -186,7 +193,7 @@ export class CatalogServiceClient {
186193

187194
// Determine the client header string.
188195
const clientHeader = [`gax/${this._gaxModule.version}`, `gapic/${version}`];
189-
if (typeof process !== 'undefined' && 'versions' in process) {
196+
if (typeof process === 'object' && 'versions' in process) {
190197
clientHeader.push(`gl-node/${process.versions.node}`);
191198
} else {
192199
clientHeader.push(`gl-web/${this._gaxModule.version}`);
@@ -718,7 +725,7 @@ export class CatalogServiceClient {
718725
*/
719726
static get servicePath() {
720727
if (
721-
typeof process !== undefined &&
728+
typeof process === 'object' &&
722729
typeof process.emitWarning === 'function'
723730
) {
724731
process.emitWarning(
@@ -736,7 +743,7 @@ export class CatalogServiceClient {
736743
*/
737744
static get apiEndpoint() {
738745
if (
739-
typeof process !== undefined &&
746+
typeof process === 'object' &&
740747
typeof process.emitWarning === 'function'
741748
) {
742749
process.emitWarning(

packages/google-cloud-dataplex/src/v1/content_service_client.ts

+11-4
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,15 @@ export class ContentServiceClient {
124124
'Please set either universe_domain or universeDomain, but not both.'
125125
);
126126
}
127+
const universeDomainEnvVar =
128+
typeof process === 'object' && typeof process.env === 'object'
129+
? process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN']
130+
: undefined;
127131
this._universeDomain =
128-
opts?.universeDomain ?? opts?.universe_domain ?? 'googleapis.com';
132+
opts?.universeDomain ??
133+
opts?.universe_domain ??
134+
universeDomainEnvVar ??
135+
'googleapis.com';
129136
this._servicePath = 'dataplex.' + this._universeDomain;
130137
const servicePath =
131138
opts?.servicePath || opts?.apiEndpoint || this._servicePath;
@@ -181,7 +188,7 @@ export class ContentServiceClient {
181188

182189
// Determine the client header string.
183190
const clientHeader = [`gax/${this._gaxModule.version}`, `gapic/${version}`];
184-
if (typeof process !== 'undefined' && 'versions' in process) {
191+
if (typeof process === 'object' && 'versions' in process) {
185192
clientHeader.push(`gl-node/${process.versions.node}`);
186193
} else {
187194
clientHeader.push(`gl-web/${this._gaxModule.version}`);
@@ -573,7 +580,7 @@ export class ContentServiceClient {
573580
*/
574581
static get servicePath() {
575582
if (
576-
typeof process !== undefined &&
583+
typeof process === 'object' &&
577584
typeof process.emitWarning === 'function'
578585
) {
579586
process.emitWarning(
@@ -591,7 +598,7 @@ export class ContentServiceClient {
591598
*/
592599
static get apiEndpoint() {
593600
if (
594-
typeof process !== undefined &&
601+
typeof process === 'object' &&
595602
typeof process.emitWarning === 'function'
596603
) {
597604
process.emitWarning(

packages/google-cloud-dataplex/src/v1/data_scan_service_client.ts

+11-4
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,15 @@ export class DataScanServiceClient {
127127
'Please set either universe_domain or universeDomain, but not both.'
128128
);
129129
}
130+
const universeDomainEnvVar =
131+
typeof process === 'object' && typeof process.env === 'object'
132+
? process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN']
133+
: undefined;
130134
this._universeDomain =
131-
opts?.universeDomain ?? opts?.universe_domain ?? 'googleapis.com';
135+
opts?.universeDomain ??
136+
opts?.universe_domain ??
137+
universeDomainEnvVar ??
138+
'googleapis.com';
132139
this._servicePath = 'dataplex.' + this._universeDomain;
133140
const servicePath =
134141
opts?.servicePath || opts?.apiEndpoint || this._servicePath;
@@ -184,7 +191,7 @@ export class DataScanServiceClient {
184191

185192
// Determine the client header string.
186193
const clientHeader = [`gax/${this._gaxModule.version}`, `gapic/${version}`];
187-
if (typeof process !== 'undefined' && 'versions' in process) {
194+
if (typeof process === 'object' && 'versions' in process) {
188195
clientHeader.push(`gl-node/${process.versions.node}`);
189196
} else {
190197
clientHeader.push(`gl-web/${this._gaxModule.version}`);
@@ -622,7 +629,7 @@ export class DataScanServiceClient {
622629
*/
623630
static get servicePath() {
624631
if (
625-
typeof process !== undefined &&
632+
typeof process === 'object' &&
626633
typeof process.emitWarning === 'function'
627634
) {
628635
process.emitWarning(
@@ -640,7 +647,7 @@ export class DataScanServiceClient {
640647
*/
641648
static get apiEndpoint() {
642649
if (
643-
typeof process !== undefined &&
650+
typeof process === 'object' &&
644651
typeof process.emitWarning === 'function'
645652
) {
646653
process.emitWarning(

packages/google-cloud-dataplex/src/v1/data_taxonomy_service_client.ts

+11-4
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,15 @@ export class DataTaxonomyServiceClient {
126126
'Please set either universe_domain or universeDomain, but not both.'
127127
);
128128
}
129+
const universeDomainEnvVar =
130+
typeof process === 'object' && typeof process.env === 'object'
131+
? process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN']
132+
: undefined;
129133
this._universeDomain =
130-
opts?.universeDomain ?? opts?.universe_domain ?? 'googleapis.com';
134+
opts?.universeDomain ??
135+
opts?.universe_domain ??
136+
universeDomainEnvVar ??
137+
'googleapis.com';
131138
this._servicePath = 'dataplex.' + this._universeDomain;
132139
const servicePath =
133140
opts?.servicePath || opts?.apiEndpoint || this._servicePath;
@@ -183,7 +190,7 @@ export class DataTaxonomyServiceClient {
183190

184191
// Determine the client header string.
185192
const clientHeader = [`gax/${this._gaxModule.version}`, `gapic/${version}`];
186-
if (typeof process !== 'undefined' && 'versions' in process) {
193+
if (typeof process === 'object' && 'versions' in process) {
187194
clientHeader.push(`gl-node/${process.versions.node}`);
188195
} else {
189196
clientHeader.push(`gl-web/${this._gaxModule.version}`);
@@ -710,7 +717,7 @@ export class DataTaxonomyServiceClient {
710717
*/
711718
static get servicePath() {
712719
if (
713-
typeof process !== undefined &&
720+
typeof process === 'object' &&
714721
typeof process.emitWarning === 'function'
715722
) {
716723
process.emitWarning(
@@ -728,7 +735,7 @@ export class DataTaxonomyServiceClient {
728735
*/
729736
static get apiEndpoint() {
730737
if (
731-
typeof process !== undefined &&
738+
typeof process === 'object' &&
732739
typeof process.emitWarning === 'function'
733740
) {
734741
process.emitWarning(

packages/google-cloud-dataplex/src/v1/dataplex_service_client.ts

+11-4
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,15 @@ export class DataplexServiceClient {
129129
'Please set either universe_domain or universeDomain, but not both.'
130130
);
131131
}
132+
const universeDomainEnvVar =
133+
typeof process === 'object' && typeof process.env === 'object'
134+
? process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN']
135+
: undefined;
132136
this._universeDomain =
133-
opts?.universeDomain ?? opts?.universe_domain ?? 'googleapis.com';
137+
opts?.universeDomain ??
138+
opts?.universe_domain ??
139+
universeDomainEnvVar ??
140+
'googleapis.com';
134141
this._servicePath = 'dataplex.' + this._universeDomain;
135142
const servicePath =
136143
opts?.servicePath || opts?.apiEndpoint || this._servicePath;
@@ -186,7 +193,7 @@ export class DataplexServiceClient {
186193

187194
// Determine the client header string.
188195
const clientHeader = [`gax/${this._gaxModule.version}`, `gapic/${version}`];
189-
if (typeof process !== 'undefined' && 'versions' in process) {
196+
if (typeof process === 'object' && 'versions' in process) {
190197
clientHeader.push(`gl-node/${process.versions.node}`);
191198
} else {
192199
clientHeader.push(`gl-web/${this._gaxModule.version}`);
@@ -820,7 +827,7 @@ export class DataplexServiceClient {
820827
*/
821828
static get servicePath() {
822829
if (
823-
typeof process !== undefined &&
830+
typeof process === 'object' &&
824831
typeof process.emitWarning === 'function'
825832
) {
826833
process.emitWarning(
@@ -838,7 +845,7 @@ export class DataplexServiceClient {
838845
*/
839846
static get apiEndpoint() {
840847
if (
841-
typeof process !== undefined &&
848+
typeof process === 'object' &&
842849
typeof process.emitWarning === 'function'
843850
) {
844851
process.emitWarning(

packages/google-cloud-dataplex/src/v1/metadata_service_client.ts

+11-4
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,15 @@ export class MetadataServiceClient {
125125
'Please set either universe_domain or universeDomain, but not both.'
126126
);
127127
}
128+
const universeDomainEnvVar =
129+
typeof process === 'object' && typeof process.env === 'object'
130+
? process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN']
131+
: undefined;
128132
this._universeDomain =
129-
opts?.universeDomain ?? opts?.universe_domain ?? 'googleapis.com';
133+
opts?.universeDomain ??
134+
opts?.universe_domain ??
135+
universeDomainEnvVar ??
136+
'googleapis.com';
130137
this._servicePath = 'dataplex.' + this._universeDomain;
131138
const servicePath =
132139
opts?.servicePath || opts?.apiEndpoint || this._servicePath;
@@ -182,7 +189,7 @@ export class MetadataServiceClient {
182189

183190
// Determine the client header string.
184191
const clientHeader = [`gax/${this._gaxModule.version}`, `gapic/${version}`];
185-
if (typeof process !== 'undefined' && 'versions' in process) {
192+
if (typeof process === 'object' && 'versions' in process) {
186193
clientHeader.push(`gl-node/${process.versions.node}`);
187194
} else {
188195
clientHeader.push(`gl-web/${this._gaxModule.version}`);
@@ -580,7 +587,7 @@ export class MetadataServiceClient {
580587
*/
581588
static get servicePath() {
582589
if (
583-
typeof process !== undefined &&
590+
typeof process === 'object' &&
584591
typeof process.emitWarning === 'function'
585592
) {
586593
process.emitWarning(
@@ -598,7 +605,7 @@ export class MetadataServiceClient {
598605
*/
599606
static get apiEndpoint() {
600607
if (
601-
typeof process !== undefined &&
608+
typeof process === 'object' &&
602609
typeof process.emitWarning === 'function'
603610
) {
604611
process.emitWarning(

packages/google-cloud-dataplex/test/gapic_catalog_service_v1.ts

+33-1
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ describe('v1.CatalogServiceClient', () => {
179179
});
180180

181181
if (
182-
typeof process !== 'undefined' &&
182+
typeof process === 'object' &&
183183
typeof process.emitWarning === 'function'
184184
) {
185185
it('throws DeprecationWarning if static servicePath is used', () => {
@@ -215,6 +215,38 @@ describe('v1.CatalogServiceClient', () => {
215215
const servicePath = client.apiEndpoint;
216216
assert.strictEqual(servicePath, 'dataplex.example.com');
217217
});
218+
219+
if (typeof process === 'object' && 'env' in process) {
220+
describe('GOOGLE_CLOUD_UNIVERSE_DOMAIN environment variable', () => {
221+
it('sets apiEndpoint from environment variable', () => {
222+
const saved = process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN'];
223+
process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN'] = 'example.com';
224+
const client = new catalogserviceModule.v1.CatalogServiceClient();
225+
const servicePath = client.apiEndpoint;
226+
assert.strictEqual(servicePath, 'dataplex.example.com');
227+
if (saved) {
228+
process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN'] = saved;
229+
} else {
230+
delete process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN'];
231+
}
232+
});
233+
234+
it('value configured in code has priority over environment variable', () => {
235+
const saved = process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN'];
236+
process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN'] = 'example.com';
237+
const client = new catalogserviceModule.v1.CatalogServiceClient({
238+
universeDomain: 'configured.example.com',
239+
});
240+
const servicePath = client.apiEndpoint;
241+
assert.strictEqual(servicePath, 'dataplex.configured.example.com');
242+
if (saved) {
243+
process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN'] = saved;
244+
} else {
245+
delete process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN'];
246+
}
247+
});
248+
});
249+
}
218250
it('does not allow setting both universeDomain and universe_domain', () => {
219251
assert.throws(() => {
220252
new catalogserviceModule.v1.CatalogServiceClient({

packages/google-cloud-dataplex/test/gapic_content_service_v1.ts

+33-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ describe('v1.ContentServiceClient', () => {
142142
});
143143

144144
if (
145-
typeof process !== 'undefined' &&
145+
typeof process === 'object' &&
146146
typeof process.emitWarning === 'function'
147147
) {
148148
it('throws DeprecationWarning if static servicePath is used', () => {
@@ -178,6 +178,38 @@ describe('v1.ContentServiceClient', () => {
178178
const servicePath = client.apiEndpoint;
179179
assert.strictEqual(servicePath, 'dataplex.example.com');
180180
});
181+
182+
if (typeof process === 'object' && 'env' in process) {
183+
describe('GOOGLE_CLOUD_UNIVERSE_DOMAIN environment variable', () => {
184+
it('sets apiEndpoint from environment variable', () => {
185+
const saved = process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN'];
186+
process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN'] = 'example.com';
187+
const client = new contentserviceModule.v1.ContentServiceClient();
188+
const servicePath = client.apiEndpoint;
189+
assert.strictEqual(servicePath, 'dataplex.example.com');
190+
if (saved) {
191+
process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN'] = saved;
192+
} else {
193+
delete process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN'];
194+
}
195+
});
196+
197+
it('value configured in code has priority over environment variable', () => {
198+
const saved = process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN'];
199+
process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN'] = 'example.com';
200+
const client = new contentserviceModule.v1.ContentServiceClient({
201+
universeDomain: 'configured.example.com',
202+
});
203+
const servicePath = client.apiEndpoint;
204+
assert.strictEqual(servicePath, 'dataplex.configured.example.com');
205+
if (saved) {
206+
process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN'] = saved;
207+
} else {
208+
delete process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN'];
209+
}
210+
});
211+
});
212+
}
181213
it('does not allow setting both universeDomain and universe_domain', () => {
182214
assert.throws(() => {
183215
new contentserviceModule.v1.ContentServiceClient({

0 commit comments

Comments
 (0)