google-cloud-domains-v1beta1 0.9.0 → 0.9.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: 713a17b83d86fdd5902f64ff0a85fa0d1b023d2ed4dd48237bde552449174726
4
- data.tar.gz: bf8bd6564f81ab3795bf597acfc58eb33948593d993fbd3bc2d4abbc7fc8caf4
3
+ metadata.gz: 7ad81f629f22a304799991be067b8c296fb347ff9b0584b8335aff3417f5842f
4
+ data.tar.gz: bb82c959cb5b7f4151a1affefe2631875f5dcf9ae04552cdb11f7bad0104656f
5
5
  SHA512:
6
- metadata.gz: 921725058d0097ffd4afe95f4b36a8ebf3399321fea77db3d738720f0d4a8a8ec034569fa468c62ba523dba041909f16acd956f6969eebc447d2989b10f1da35
7
- data.tar.gz: 3aa5938dca3d454369b319a1a00a86b9b57bbe078ba19a4eb77b7dd1980dd92b8a9ca77d8e3ee6ce24f5e1813b4caa2c2548117530c9dd0c0f9e6e3e332b34fd
6
+ metadata.gz: 4e1d3629cd85dce46729fe3e8c312dc5dcb14305992b8b6c40372ca5cceb2aa787f0389210d685c39a5cdac5d88c30711eddc6572b15c2f315fabcb9faf1048d
7
+ data.tar.gz: 000f4f1adf9d166c1922e452c98a75125209ba5492c36b2d9f21e6caccd3abd202c6f75c985a0f53ec6a02cca02f1836fd6b88f8a287084a1336980eb7a458db
@@ -30,6 +30,9 @@ module Google
30
30
  # The Cloud Domains API enables management and configuration of domain names.
31
31
  #
32
32
  class Client
33
+ # @private
34
+ API_VERSION = ""
35
+
33
36
  # @private
34
37
  DEFAULT_ENDPOINT_TEMPLATE = "domains.$UNIVERSE_DOMAIN$"
35
38
 
@@ -235,10 +238,11 @@ module Google
235
238
  # Customize the options with defaults
236
239
  metadata = @config.rpcs.search_domains.metadata.to_h
237
240
 
238
- # Set x-goog-api-client and x-goog-user-project headers
241
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
239
242
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
240
243
  lib_name: @config.lib_name, lib_version: @config.lib_version,
241
244
  gapic_version: ::Google::Cloud::Domains::V1beta1::VERSION
245
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
242
246
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
243
247
 
244
248
  header_params = {}
@@ -323,10 +327,11 @@ module Google
323
327
  # Customize the options with defaults
324
328
  metadata = @config.rpcs.retrieve_register_parameters.metadata.to_h
325
329
 
326
- # Set x-goog-api-client and x-goog-user-project headers
330
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
327
331
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
328
332
  lib_name: @config.lib_name, lib_version: @config.lib_version,
329
333
  gapic_version: ::Google::Cloud::Domains::V1beta1::VERSION
334
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
330
335
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
331
336
 
332
337
  header_params = {}
@@ -445,10 +450,11 @@ module Google
445
450
  # Customize the options with defaults
446
451
  metadata = @config.rpcs.register_domain.metadata.to_h
447
452
 
448
- # Set x-goog-api-client and x-goog-user-project headers
453
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
449
454
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
450
455
  lib_name: @config.lib_name, lib_version: @config.lib_version,
451
456
  gapic_version: ::Google::Cloud::Domains::V1beta1::VERSION
457
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
452
458
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
453
459
 
454
460
  header_params = {}
@@ -538,10 +544,11 @@ module Google
538
544
  # Customize the options with defaults
539
545
  metadata = @config.rpcs.retrieve_transfer_parameters.metadata.to_h
540
546
 
541
- # Set x-goog-api-client and x-goog-user-project headers
547
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
542
548
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
543
549
  lib_name: @config.lib_name, lib_version: @config.lib_version,
544
550
  gapic_version: ::Google::Cloud::Domains::V1beta1::VERSION
551
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
545
552
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
546
553
 
547
554
  header_params = {}
@@ -672,10 +679,11 @@ module Google
672
679
  # Customize the options with defaults
673
680
  metadata = @config.rpcs.transfer_domain.metadata.to_h
674
681
 
675
- # Set x-goog-api-client and x-goog-user-project headers
682
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
676
683
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
677
684
  lib_name: @config.lib_name, lib_version: @config.lib_version,
678
685
  gapic_version: ::Google::Cloud::Domains::V1beta1::VERSION
686
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
679
687
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
680
688
 
681
689
  header_params = {}
@@ -785,10 +793,11 @@ module Google
785
793
  # Customize the options with defaults
786
794
  metadata = @config.rpcs.list_registrations.metadata.to_h
787
795
 
788
- # Set x-goog-api-client and x-goog-user-project headers
796
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
789
797
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
790
798
  lib_name: @config.lib_name, lib_version: @config.lib_version,
791
799
  gapic_version: ::Google::Cloud::Domains::V1beta1::VERSION
800
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
792
801
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
793
802
 
794
803
  header_params = {}
@@ -872,10 +881,11 @@ module Google
872
881
  # Customize the options with defaults
873
882
  metadata = @config.rpcs.get_registration.metadata.to_h
874
883
 
875
- # Set x-goog-api-client and x-goog-user-project headers
884
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
876
885
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
877
886
  lib_name: @config.lib_name, lib_version: @config.lib_version,
878
887
  gapic_version: ::Google::Cloud::Domains::V1beta1::VERSION
888
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
879
889
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
880
890
 
881
891
  header_params = {}
@@ -973,10 +983,11 @@ module Google
973
983
  # Customize the options with defaults
974
984
  metadata = @config.rpcs.update_registration.metadata.to_h
975
985
 
976
- # Set x-goog-api-client and x-goog-user-project headers
986
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
977
987
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
978
988
  lib_name: @config.lib_name, lib_version: @config.lib_version,
979
989
  gapic_version: ::Google::Cloud::Domains::V1beta1::VERSION
990
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
980
991
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
981
992
 
982
993
  header_params = {}
@@ -1073,10 +1084,11 @@ module Google
1073
1084
  # Customize the options with defaults
1074
1085
  metadata = @config.rpcs.configure_management_settings.metadata.to_h
1075
1086
 
1076
- # Set x-goog-api-client and x-goog-user-project headers
1087
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1077
1088
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1078
1089
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1079
1090
  gapic_version: ::Google::Cloud::Domains::V1beta1::VERSION
1091
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1080
1092
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1081
1093
 
1082
1094
  header_params = {}
@@ -1181,10 +1193,11 @@ module Google
1181
1193
  # Customize the options with defaults
1182
1194
  metadata = @config.rpcs.configure_dns_settings.metadata.to_h
1183
1195
 
1184
- # Set x-goog-api-client and x-goog-user-project headers
1196
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1185
1197
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1186
1198
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1187
1199
  gapic_version: ::Google::Cloud::Domains::V1beta1::VERSION
1200
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1188
1201
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1189
1202
 
1190
1203
  header_params = {}
@@ -1287,10 +1300,11 @@ module Google
1287
1300
  # Customize the options with defaults
1288
1301
  metadata = @config.rpcs.configure_contact_settings.metadata.to_h
1289
1302
 
1290
- # Set x-goog-api-client and x-goog-user-project headers
1303
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1291
1304
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1292
1305
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1293
1306
  gapic_version: ::Google::Cloud::Domains::V1beta1::VERSION
1307
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1294
1308
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1295
1309
 
1296
1310
  header_params = {}
@@ -1389,10 +1403,11 @@ module Google
1389
1403
  # Customize the options with defaults
1390
1404
  metadata = @config.rpcs.export_registration.metadata.to_h
1391
1405
 
1392
- # Set x-goog-api-client and x-goog-user-project headers
1406
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1393
1407
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1394
1408
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1395
1409
  gapic_version: ::Google::Cloud::Domains::V1beta1::VERSION
1410
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1396
1411
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1397
1412
 
1398
1413
  header_params = {}
@@ -1501,10 +1516,11 @@ module Google
1501
1516
  # Customize the options with defaults
1502
1517
  metadata = @config.rpcs.delete_registration.metadata.to_h
1503
1518
 
1504
- # Set x-goog-api-client and x-goog-user-project headers
1519
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1505
1520
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1506
1521
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1507
1522
  gapic_version: ::Google::Cloud::Domains::V1beta1::VERSION
1523
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1508
1524
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1509
1525
 
1510
1526
  header_params = {}
@@ -1592,10 +1608,11 @@ module Google
1592
1608
  # Customize the options with defaults
1593
1609
  metadata = @config.rpcs.retrieve_authorization_code.metadata.to_h
1594
1610
 
1595
- # Set x-goog-api-client and x-goog-user-project headers
1611
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1596
1612
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1597
1613
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1598
1614
  gapic_version: ::Google::Cloud::Domains::V1beta1::VERSION
1615
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1599
1616
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1600
1617
 
1601
1618
  header_params = {}
@@ -1681,10 +1698,11 @@ module Google
1681
1698
  # Customize the options with defaults
1682
1699
  metadata = @config.rpcs.reset_authorization_code.metadata.to_h
1683
1700
 
1684
- # Set x-goog-api-client and x-goog-user-project headers
1701
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1685
1702
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1686
1703
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1687
1704
  gapic_version: ::Google::Cloud::Domains::V1beta1::VERSION
1705
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1688
1706
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1689
1707
 
1690
1708
  header_params = {}
@@ -26,6 +26,9 @@ module Google
26
26
  module Domains
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 = "domains.$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::Domains::V1beta1::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::Domains::V1beta1::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::Domains::V1beta1::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::Domains::V1beta1::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::Domains::V1beta1::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,
@@ -32,6 +32,9 @@ module Google
32
32
  # The Cloud Domains API enables management and configuration of domain names.
33
33
  #
34
34
  class Client
35
+ # @private
36
+ API_VERSION = ""
37
+
35
38
  # @private
36
39
  DEFAULT_ENDPOINT_TEMPLATE = "domains.$UNIVERSE_DOMAIN$"
37
40
 
@@ -227,12 +230,13 @@ module Google
227
230
  # Customize the options with defaults
228
231
  call_metadata = @config.rpcs.search_domains.metadata.to_h
229
232
 
230
- # Set x-goog-api-client and x-goog-user-project headers
233
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
231
234
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
232
235
  lib_name: @config.lib_name, lib_version: @config.lib_version,
233
236
  gapic_version: ::Google::Cloud::Domains::V1beta1::VERSION,
234
237
  transports_version_send: [:rest]
235
238
 
239
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
236
240
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
237
241
 
238
242
  options.apply_defaults timeout: @config.rpcs.search_domains.timeout,
@@ -308,12 +312,13 @@ module Google
308
312
  # Customize the options with defaults
309
313
  call_metadata = @config.rpcs.retrieve_register_parameters.metadata.to_h
310
314
 
311
- # Set x-goog-api-client and x-goog-user-project headers
315
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
312
316
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
313
317
  lib_name: @config.lib_name, lib_version: @config.lib_version,
314
318
  gapic_version: ::Google::Cloud::Domains::V1beta1::VERSION,
315
319
  transports_version_send: [:rest]
316
320
 
321
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
317
322
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
318
323
 
319
324
  options.apply_defaults timeout: @config.rpcs.retrieve_register_parameters.timeout,
@@ -423,12 +428,13 @@ module Google
423
428
  # Customize the options with defaults
424
429
  call_metadata = @config.rpcs.register_domain.metadata.to_h
425
430
 
426
- # Set x-goog-api-client and x-goog-user-project headers
431
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
427
432
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
428
433
  lib_name: @config.lib_name, lib_version: @config.lib_version,
429
434
  gapic_version: ::Google::Cloud::Domains::V1beta1::VERSION,
430
435
  transports_version_send: [:rest]
431
436
 
437
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
432
438
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
433
439
 
434
440
  options.apply_defaults timeout: @config.rpcs.register_domain.timeout,
@@ -509,12 +515,13 @@ module Google
509
515
  # Customize the options with defaults
510
516
  call_metadata = @config.rpcs.retrieve_transfer_parameters.metadata.to_h
511
517
 
512
- # Set x-goog-api-client and x-goog-user-project headers
518
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
513
519
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
514
520
  lib_name: @config.lib_name, lib_version: @config.lib_version,
515
521
  gapic_version: ::Google::Cloud::Domains::V1beta1::VERSION,
516
522
  transports_version_send: [:rest]
517
523
 
524
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
518
525
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
519
526
 
520
527
  options.apply_defaults timeout: @config.rpcs.retrieve_transfer_parameters.timeout,
@@ -636,12 +643,13 @@ module Google
636
643
  # Customize the options with defaults
637
644
  call_metadata = @config.rpcs.transfer_domain.metadata.to_h
638
645
 
639
- # Set x-goog-api-client and x-goog-user-project headers
646
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
640
647
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
641
648
  lib_name: @config.lib_name, lib_version: @config.lib_version,
642
649
  gapic_version: ::Google::Cloud::Domains::V1beta1::VERSION,
643
650
  transports_version_send: [:rest]
644
651
 
652
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
645
653
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
646
654
 
647
655
  options.apply_defaults timeout: @config.rpcs.transfer_domain.timeout,
@@ -742,12 +750,13 @@ module Google
742
750
  # Customize the options with defaults
743
751
  call_metadata = @config.rpcs.list_registrations.metadata.to_h
744
752
 
745
- # Set x-goog-api-client and x-goog-user-project headers
753
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
746
754
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
747
755
  lib_name: @config.lib_name, lib_version: @config.lib_version,
748
756
  gapic_version: ::Google::Cloud::Domains::V1beta1::VERSION,
749
757
  transports_version_send: [:rest]
750
758
 
759
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
751
760
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
752
761
 
753
762
  options.apply_defaults timeout: @config.rpcs.list_registrations.timeout,
@@ -822,12 +831,13 @@ module Google
822
831
  # Customize the options with defaults
823
832
  call_metadata = @config.rpcs.get_registration.metadata.to_h
824
833
 
825
- # Set x-goog-api-client and x-goog-user-project headers
834
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
826
835
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
827
836
  lib_name: @config.lib_name, lib_version: @config.lib_version,
828
837
  gapic_version: ::Google::Cloud::Domains::V1beta1::VERSION,
829
838
  transports_version_send: [:rest]
830
839
 
840
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
831
841
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
832
842
 
833
843
  options.apply_defaults timeout: @config.rpcs.get_registration.timeout,
@@ -916,12 +926,13 @@ module Google
916
926
  # Customize the options with defaults
917
927
  call_metadata = @config.rpcs.update_registration.metadata.to_h
918
928
 
919
- # Set x-goog-api-client and x-goog-user-project headers
929
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
920
930
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
921
931
  lib_name: @config.lib_name, lib_version: @config.lib_version,
922
932
  gapic_version: ::Google::Cloud::Domains::V1beta1::VERSION,
923
933
  transports_version_send: [:rest]
924
934
 
935
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
925
936
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
926
937
 
927
938
  options.apply_defaults timeout: @config.rpcs.update_registration.timeout,
@@ -1009,12 +1020,13 @@ module Google
1009
1020
  # Customize the options with defaults
1010
1021
  call_metadata = @config.rpcs.configure_management_settings.metadata.to_h
1011
1022
 
1012
- # Set x-goog-api-client and x-goog-user-project headers
1023
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1013
1024
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1014
1025
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1015
1026
  gapic_version: ::Google::Cloud::Domains::V1beta1::VERSION,
1016
1027
  transports_version_send: [:rest]
1017
1028
 
1029
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1018
1030
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1019
1031
 
1020
1032
  options.apply_defaults timeout: @config.rpcs.configure_management_settings.timeout,
@@ -1110,12 +1122,13 @@ module Google
1110
1122
  # Customize the options with defaults
1111
1123
  call_metadata = @config.rpcs.configure_dns_settings.metadata.to_h
1112
1124
 
1113
- # Set x-goog-api-client and x-goog-user-project headers
1125
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1114
1126
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1115
1127
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1116
1128
  gapic_version: ::Google::Cloud::Domains::V1beta1::VERSION,
1117
1129
  transports_version_send: [:rest]
1118
1130
 
1131
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1119
1132
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1120
1133
 
1121
1134
  options.apply_defaults timeout: @config.rpcs.configure_dns_settings.timeout,
@@ -1209,12 +1222,13 @@ module Google
1209
1222
  # Customize the options with defaults
1210
1223
  call_metadata = @config.rpcs.configure_contact_settings.metadata.to_h
1211
1224
 
1212
- # Set x-goog-api-client and x-goog-user-project headers
1225
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1213
1226
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1214
1227
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1215
1228
  gapic_version: ::Google::Cloud::Domains::V1beta1::VERSION,
1216
1229
  transports_version_send: [:rest]
1217
1230
 
1231
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1218
1232
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1219
1233
 
1220
1234
  options.apply_defaults timeout: @config.rpcs.configure_contact_settings.timeout,
@@ -1304,12 +1318,13 @@ module Google
1304
1318
  # Customize the options with defaults
1305
1319
  call_metadata = @config.rpcs.export_registration.metadata.to_h
1306
1320
 
1307
- # Set x-goog-api-client and x-goog-user-project headers
1321
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1308
1322
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1309
1323
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1310
1324
  gapic_version: ::Google::Cloud::Domains::V1beta1::VERSION,
1311
1325
  transports_version_send: [:rest]
1312
1326
 
1327
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1313
1328
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1314
1329
 
1315
1330
  options.apply_defaults timeout: @config.rpcs.export_registration.timeout,
@@ -1409,12 +1424,13 @@ module Google
1409
1424
  # Customize the options with defaults
1410
1425
  call_metadata = @config.rpcs.delete_registration.metadata.to_h
1411
1426
 
1412
- # Set x-goog-api-client and x-goog-user-project headers
1427
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1413
1428
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1414
1429
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1415
1430
  gapic_version: ::Google::Cloud::Domains::V1beta1::VERSION,
1416
1431
  transports_version_send: [:rest]
1417
1432
 
1433
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1418
1434
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1419
1435
 
1420
1436
  options.apply_defaults timeout: @config.rpcs.delete_registration.timeout,
@@ -1493,12 +1509,13 @@ module Google
1493
1509
  # Customize the options with defaults
1494
1510
  call_metadata = @config.rpcs.retrieve_authorization_code.metadata.to_h
1495
1511
 
1496
- # Set x-goog-api-client and x-goog-user-project headers
1512
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1497
1513
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1498
1514
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1499
1515
  gapic_version: ::Google::Cloud::Domains::V1beta1::VERSION,
1500
1516
  transports_version_send: [:rest]
1501
1517
 
1518
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1502
1519
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1503
1520
 
1504
1521
  options.apply_defaults timeout: @config.rpcs.retrieve_authorization_code.timeout,
@@ -1575,12 +1592,13 @@ module Google
1575
1592
  # Customize the options with defaults
1576
1593
  call_metadata = @config.rpcs.reset_authorization_code.metadata.to_h
1577
1594
 
1578
- # Set x-goog-api-client and x-goog-user-project headers
1595
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1579
1596
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1580
1597
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1581
1598
  gapic_version: ::Google::Cloud::Domains::V1beta1::VERSION,
1582
1599
  transports_version_send: [:rest]
1583
1600
 
1601
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1584
1602
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1585
1603
 
1586
1604
  options.apply_defaults timeout: @config.rpcs.reset_authorization_code.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 = "domains.$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::Domains::V1beta1::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::Domains::V1beta1::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::Domains::V1beta1::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::Domains::V1beta1::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,
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Domains
23
23
  module V1beta1
24
- VERSION = "0.9.0"
24
+ VERSION = "0.9.1"
25
25
  end
26
26
  end
27
27
  end
@@ -118,6 +118,10 @@ module Google
118
118
  # @return [::String]
119
119
  # Optional link to proto reference documentation. Example:
120
120
  # https://cloud.google.com/pubsub/lite/docs/reference/rpc
121
+ # @!attribute [rw] rest_reference_documentation_uri
122
+ # @return [::String]
123
+ # Optional link to REST reference documentation. Example:
124
+ # https://cloud.google.com/pubsub/lite/docs/reference/rest
121
125
  class Publishing
122
126
  include ::Google::Protobuf::MessageExts
123
127
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -192,9 +196,26 @@ module Google
192
196
  # @!attribute [rw] common
193
197
  # @return [::Google::Api::CommonLanguageSettings]
194
198
  # Some settings.
199
+ # @!attribute [rw] experimental_features
200
+ # @return [::Google::Api::PythonSettings::ExperimentalFeatures]
201
+ # Experimental features to be included during client library generation.
195
202
  class PythonSettings
196
203
  include ::Google::Protobuf::MessageExts
197
204
  extend ::Google::Protobuf::MessageExts::ClassMethods
205
+
206
+ # Experimental features to be included during client library generation.
207
+ # These fields will be deprecated once the feature graduates and is enabled
208
+ # by default.
209
+ # @!attribute [rw] rest_async_io_enabled
210
+ # @return [::Boolean]
211
+ # Enables generation of asynchronous REST clients if `rest` transport is
212
+ # enabled. By default, asynchronous REST clients will not be generated.
213
+ # This feature will be enabled by default 1 month after launching the
214
+ # feature in preview packages.
215
+ class ExperimentalFeatures
216
+ include ::Google::Protobuf::MessageExts
217
+ extend ::Google::Protobuf::MessageExts::ClassMethods
218
+ end
198
219
  end
199
220
 
200
221
  # Settings for Node client libraries.
@@ -286,6 +307,13 @@ module Google
286
307
  # @return [::String]
287
308
  # The fully qualified name of the method, for which the options below apply.
288
309
  # This is used to find the method to apply the options.
310
+ #
311
+ # Example:
312
+ #
313
+ # publishing:
314
+ # method_settings:
315
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
316
+ # # method settings for CreateFolder...
289
317
  # @!attribute [rw] long_running
290
318
  # @return [::Google::Api::MethodSettings::LongRunning]
291
319
  # Describes settings to use for long-running operations when generating
@@ -294,17 +322,14 @@ module Google
294
322
  #
295
323
  # Example of a YAML configuration::
296
324
  #
297
- # publishing:
298
- # method_settings:
325
+ # publishing:
326
+ # method_settings:
299
327
  # - selector: google.cloud.speech.v2.Speech.BatchRecognize
300
328
  # long_running:
301
- # initial_poll_delay:
302
- # seconds: 60 # 1 minute
329
+ # initial_poll_delay: 60s # 1 minute
303
330
  # poll_delay_multiplier: 1.5
304
- # max_poll_delay:
305
- # seconds: 360 # 6 minutes
306
- # total_poll_timeout:
307
- # seconds: 54000 # 90 minutes
331
+ # max_poll_delay: 360s # 6 minutes
332
+ # total_poll_timeout: 54000s # 90 minutes
308
333
  # @!attribute [rw] auto_populated_fields
309
334
  # @return [::Array<::String>]
310
335
  # List of top-level fields of the request message, that should be
@@ -313,8 +338,8 @@ module Google
313
338
  #
314
339
  # Example of a YAML configuration:
315
340
  #
316
- # publishing:
317
- # method_settings:
341
+ # publishing:
342
+ # method_settings:
318
343
  # - selector: google.example.v1.ExampleService.CreateExample
319
344
  # auto_populated_fields:
320
345
  # - request_id
@@ -124,8 +124,13 @@ module Google
124
124
  # @return [::String]
125
125
  # The plural name used in the resource name and permission names, such as
126
126
  # 'projects' for the resource name of 'projects/\\{project}' and the permission
127
- # name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same
128
- # concept of the `plural` field in k8s CRD spec
127
+ # name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
128
+ # to this is for Nested Collections that have stuttering names, as defined
129
+ # in [AIP-122](https://google.aip.dev/122#nested-collections), where the
130
+ # collection ID in the resource name pattern does not necessarily directly
131
+ # match the `plural` value.
132
+ #
133
+ # It is the same concept of the `plural` field in k8s CRD spec
129
134
  # https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
130
135
  #
131
136
  # Note: The plural form is required even for singleton resources. See
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-domains-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-26 00:00:00.000000000 Z
11
+ date: 2024-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common