google-cloud-apigee_registry-v1 0.8.0 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eb65d194ee23d26a7794e5d09103c5cd0fd2a708719c4a812778521d3af32ecb
4
- data.tar.gz: 8819e7850979e0b3c3645c1d314048256ffabee634748cc54581d0810acd6168
3
+ metadata.gz: bd4dadc5242aa4d629fc14462bb25eb0f85b4faa22955bc5f0294c5c35b4075e
4
+ data.tar.gz: 1f295266264b88893f154124b94bebd6f7b393f6168771ad27a1fbe212cefb95
5
5
  SHA512:
6
- metadata.gz: 28143aa84f06a02fbc86dcedf518dd8985be20192639dd7ec8e1456bfbbf88dffcb556ff3f9eafc890b6532680be32485528895b8af47a42bc80f9911a1feaf8
7
- data.tar.gz: 04bce4d2e600c8c0a963e0075866fe8d3fb7e7982bebe09a9422ba513b8dbf517f4839e6021dc91e8dbd5cd950aef3bb3ca2b6ccfcd99af0bece8240541e668a
6
+ metadata.gz: 046bdea5e62f87201c4e79b05676d28b1ec0cec3d6e5eaf477103aaec13a4d822ab79ef10c7b0514953641801dd383a2d63adcd9a92dd5f4f5795c0cd6d3550d
7
+ data.tar.gz: 19413abaa5228c31f2ce149aaa906ad40ecbe3836e78a3f5cf0014c410fe11bc05e2b867de7c547601a10fa6d231ddc050794d3b2bf417d7daede6baacb452d9
@@ -33,6 +33,9 @@ module Google
33
33
  # Registry.
34
34
  #
35
35
  class Client
36
+ # @private
37
+ API_VERSION = ""
38
+
36
39
  # @private
37
40
  DEFAULT_ENDPOINT_TEMPLATE = "apigeeregistry.$UNIVERSE_DOMAIN$"
38
41
 
@@ -272,10 +275,11 @@ module Google
272
275
  # Customize the options with defaults
273
276
  metadata = @config.rpcs.create_instance.metadata.to_h
274
277
 
275
- # Set x-goog-api-client and x-goog-user-project headers
278
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
276
279
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
277
280
  lib_name: @config.lib_name, lib_version: @config.lib_version,
278
281
  gapic_version: ::Google::Cloud::ApigeeRegistry::V1::VERSION
282
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
279
283
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
280
284
 
281
285
  header_params = {}
@@ -366,10 +370,11 @@ module Google
366
370
  # Customize the options with defaults
367
371
  metadata = @config.rpcs.delete_instance.metadata.to_h
368
372
 
369
- # Set x-goog-api-client and x-goog-user-project headers
373
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
370
374
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
371
375
  lib_name: @config.lib_name, lib_version: @config.lib_version,
372
376
  gapic_version: ::Google::Cloud::ApigeeRegistry::V1::VERSION
377
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
373
378
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
374
379
 
375
380
  header_params = {}
@@ -453,10 +458,11 @@ module Google
453
458
  # Customize the options with defaults
454
459
  metadata = @config.rpcs.get_instance.metadata.to_h
455
460
 
456
- # Set x-goog-api-client and x-goog-user-project headers
461
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
457
462
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
458
463
  lib_name: @config.lib_name, lib_version: @config.lib_version,
459
464
  gapic_version: ::Google::Cloud::ApigeeRegistry::V1::VERSION
465
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
460
466
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
461
467
 
462
468
  header_params = {}
@@ -26,6 +26,9 @@ module Google
26
26
  module Provisioning
27
27
  # Service that implements Longrunning Operations API.
28
28
  class Operations
29
+ # @private
30
+ API_VERSION = ""
31
+
29
32
  # @private
30
33
  DEFAULT_ENDPOINT_TEMPLATE = "apigeeregistry.$UNIVERSE_DOMAIN$"
31
34
 
@@ -191,10 +194,11 @@ module Google
191
194
  # Customize the options with defaults
192
195
  metadata = @config.rpcs.list_operations.metadata.to_h
193
196
 
194
- # Set x-goog-api-client and x-goog-user-project headers
197
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
195
198
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
196
199
  lib_name: @config.lib_name, lib_version: @config.lib_version,
197
200
  gapic_version: ::Google::Cloud::ApigeeRegistry::V1::VERSION
201
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
198
202
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
199
203
 
200
204
  header_params = {}
@@ -287,10 +291,11 @@ module Google
287
291
  # Customize the options with defaults
288
292
  metadata = @config.rpcs.get_operation.metadata.to_h
289
293
 
290
- # Set x-goog-api-client and x-goog-user-project headers
294
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
291
295
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
292
296
  lib_name: @config.lib_name, lib_version: @config.lib_version,
293
297
  gapic_version: ::Google::Cloud::ApigeeRegistry::V1::VERSION
298
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
294
299
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
295
300
 
296
301
  header_params = {}
@@ -376,10 +381,11 @@ module Google
376
381
  # Customize the options with defaults
377
382
  metadata = @config.rpcs.delete_operation.metadata.to_h
378
383
 
379
- # Set x-goog-api-client and x-goog-user-project headers
384
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
380
385
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
381
386
  lib_name: @config.lib_name, lib_version: @config.lib_version,
382
387
  gapic_version: ::Google::Cloud::ApigeeRegistry::V1::VERSION
388
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
383
389
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
384
390
 
385
391
  header_params = {}
@@ -470,10 +476,11 @@ module Google
470
476
  # Customize the options with defaults
471
477
  metadata = @config.rpcs.cancel_operation.metadata.to_h
472
478
 
473
- # Set x-goog-api-client and x-goog-user-project headers
479
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
474
480
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
475
481
  lib_name: @config.lib_name, lib_version: @config.lib_version,
476
482
  gapic_version: ::Google::Cloud::ApigeeRegistry::V1::VERSION
483
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
477
484
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
478
485
 
479
486
  header_params = {}
@@ -574,10 +581,11 @@ module Google
574
581
  # Customize the options with defaults
575
582
  metadata = @config.rpcs.wait_operation.metadata.to_h
576
583
 
577
- # Set x-goog-api-client and x-goog-user-project headers
584
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
578
585
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
579
586
  lib_name: @config.lib_name, lib_version: @config.lib_version,
580
587
  gapic_version: ::Google::Cloud::ApigeeRegistry::V1::VERSION
588
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
581
589
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
582
590
 
583
591
  options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
@@ -35,6 +35,9 @@ module Google
35
35
  # Registry.
36
36
  #
37
37
  class Client
38
+ # @private
39
+ API_VERSION = ""
40
+
38
41
  # @private
39
42
  DEFAULT_ENDPOINT_TEMPLATE = "apigeeregistry.$UNIVERSE_DOMAIN$"
40
43
 
@@ -266,12 +269,13 @@ module Google
266
269
  # Customize the options with defaults
267
270
  call_metadata = @config.rpcs.create_instance.metadata.to_h
268
271
 
269
- # Set x-goog-api-client and x-goog-user-project headers
272
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
270
273
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
271
274
  lib_name: @config.lib_name, lib_version: @config.lib_version,
272
275
  gapic_version: ::Google::Cloud::ApigeeRegistry::V1::VERSION,
273
276
  transports_version_send: [:rest]
274
277
 
278
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
275
279
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
276
280
 
277
281
  options.apply_defaults timeout: @config.rpcs.create_instance.timeout,
@@ -353,12 +357,13 @@ module Google
353
357
  # Customize the options with defaults
354
358
  call_metadata = @config.rpcs.delete_instance.metadata.to_h
355
359
 
356
- # Set x-goog-api-client and x-goog-user-project headers
360
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
357
361
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
358
362
  lib_name: @config.lib_name, lib_version: @config.lib_version,
359
363
  gapic_version: ::Google::Cloud::ApigeeRegistry::V1::VERSION,
360
364
  transports_version_send: [:rest]
361
365
 
366
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
362
367
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
363
368
 
364
369
  options.apply_defaults timeout: @config.rpcs.delete_instance.timeout,
@@ -433,12 +438,13 @@ module Google
433
438
  # Customize the options with defaults
434
439
  call_metadata = @config.rpcs.get_instance.metadata.to_h
435
440
 
436
- # Set x-goog-api-client and x-goog-user-project headers
441
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
437
442
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
438
443
  lib_name: @config.lib_name, lib_version: @config.lib_version,
439
444
  gapic_version: ::Google::Cloud::ApigeeRegistry::V1::VERSION,
440
445
  transports_version_send: [:rest]
441
446
 
447
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
442
448
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
443
449
 
444
450
  options.apply_defaults timeout: @config.rpcs.get_instance.timeout,
@@ -26,6 +26,9 @@ module Google
26
26
  module Rest
27
27
  # Service that implements Longrunning Operations API.
28
28
  class Operations
29
+ # @private
30
+ API_VERSION = ""
31
+
29
32
  # @private
30
33
  DEFAULT_ENDPOINT_TEMPLATE = "apigeeregistry.$UNIVERSE_DOMAIN$"
31
34
 
@@ -181,12 +184,13 @@ module Google
181
184
  # Customize the options with defaults
182
185
  call_metadata = @config.rpcs.list_operations.metadata.to_h
183
186
 
184
- # Set x-goog-api-client and x-goog-user-project headers
187
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
185
188
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
186
189
  lib_name: @config.lib_name, lib_version: @config.lib_version,
187
190
  gapic_version: ::Google::Cloud::ApigeeRegistry::V1::VERSION,
188
191
  transports_version_send: [:rest]
189
192
 
193
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
190
194
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
191
195
 
192
196
  options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
@@ -269,12 +273,13 @@ module Google
269
273
  # Customize the options with defaults
270
274
  call_metadata = @config.rpcs.get_operation.metadata.to_h
271
275
 
272
- # Set x-goog-api-client and x-goog-user-project headers
276
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
273
277
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
274
278
  lib_name: @config.lib_name, lib_version: @config.lib_version,
275
279
  gapic_version: ::Google::Cloud::ApigeeRegistry::V1::VERSION,
276
280
  transports_version_send: [:rest]
277
281
 
282
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
278
283
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
279
284
 
280
285
  options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
@@ -351,12 +356,13 @@ module Google
351
356
  # Customize the options with defaults
352
357
  call_metadata = @config.rpcs.delete_operation.metadata.to_h
353
358
 
354
- # Set x-goog-api-client and x-goog-user-project headers
359
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
355
360
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
356
361
  lib_name: @config.lib_name, lib_version: @config.lib_version,
357
362
  gapic_version: ::Google::Cloud::ApigeeRegistry::V1::VERSION,
358
363
  transports_version_send: [:rest]
359
364
 
365
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
360
366
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
361
367
 
362
368
  options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
@@ -438,12 +444,13 @@ module Google
438
444
  # Customize the options with defaults
439
445
  call_metadata = @config.rpcs.cancel_operation.metadata.to_h
440
446
 
441
- # Set x-goog-api-client and x-goog-user-project headers
447
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
442
448
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
443
449
  lib_name: @config.lib_name, lib_version: @config.lib_version,
444
450
  gapic_version: ::Google::Cloud::ApigeeRegistry::V1::VERSION,
445
451
  transports_version_send: [:rest]
446
452
 
453
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
447
454
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
448
455
 
449
456
  options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,