google-cloud-essential_contacts-v1 0.7.0 → 1.0.0

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: c71d715d0c7dd17eeeedd578fa30ca8853cb1454c927e4d17abbed05d008f2f0
4
- data.tar.gz: ed0d25b81b7014bbc179c1ac3249092d7f52552f421d5c5dd17df2db534174eb
3
+ metadata.gz: a09dfc68febba102b881a28bdded3c938d88c5ef31df43513709615fb57cc81f
4
+ data.tar.gz: 76e39a42d17d1cba9637ba30ea5ba13b86001addacf12e149cf996efedb5322c
5
5
  SHA512:
6
- metadata.gz: c3808a38fe116ac60282b960cfec5f2b649bdb9174c8728eecd7cef76125911e0d170c228658a336af4aeb4443e18ed7dccae3d054ec05aba99d3eb4911bc342
7
- data.tar.gz: 253c2f9c7ced8bcb3ddaa13ec5535a06893ce3d5e45a8e6533bd10bdd3e31bf7d03dfbdc85a7eb2e948dc8622512facc3bce49dbc7a24f3a3972ae9431c7c7f3
6
+ metadata.gz: 4335952011b4afc22d63eb42302a9136ac3ef0877e69cb70ae71b31bc78437649add988303dd8bc36084dd37f81f36e9421cab4962bf2e553bf5f0a590f6dfd2
7
+ data.tar.gz: 11258785bfd0aaf4d96138e0865c34ce5cbede6b8d8c423b9dbae7eaddc8c54b5ba3b2120dc93248b9ab434fdbd7b10c7868bd41516f44f9020cf3603513123f
@@ -30,6 +30,9 @@ module Google
30
30
  # Manages contacts for important Google Cloud notifications.
31
31
  #
32
32
  class Client
33
+ # @private
34
+ API_VERSION = ""
35
+
33
36
  # @private
34
37
  DEFAULT_ENDPOINT_TEMPLATE = "essentialcontacts.$UNIVERSE_DOMAIN$"
35
38
 
@@ -240,10 +243,11 @@ module Google
240
243
  # Customize the options with defaults
241
244
  metadata = @config.rpcs.create_contact.metadata.to_h
242
245
 
243
- # Set x-goog-api-client and x-goog-user-project headers
246
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
244
247
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
245
248
  lib_name: @config.lib_name, lib_version: @config.lib_version,
246
249
  gapic_version: ::Google::Cloud::EssentialContacts::V1::VERSION
250
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
247
251
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
248
252
 
249
253
  header_params = {}
@@ -331,10 +335,11 @@ module Google
331
335
  # Customize the options with defaults
332
336
  metadata = @config.rpcs.update_contact.metadata.to_h
333
337
 
334
- # Set x-goog-api-client and x-goog-user-project headers
338
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
335
339
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
336
340
  lib_name: @config.lib_name, lib_version: @config.lib_version,
337
341
  gapic_version: ::Google::Cloud::EssentialContacts::V1::VERSION
342
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
338
343
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
339
344
 
340
345
  header_params = {}
@@ -432,10 +437,11 @@ module Google
432
437
  # Customize the options with defaults
433
438
  metadata = @config.rpcs.list_contacts.metadata.to_h
434
439
 
435
- # Set x-goog-api-client and x-goog-user-project headers
440
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
436
441
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
437
442
  lib_name: @config.lib_name, lib_version: @config.lib_version,
438
443
  gapic_version: ::Google::Cloud::EssentialContacts::V1::VERSION
444
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
439
445
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
440
446
 
441
447
  header_params = {}
@@ -521,10 +527,11 @@ module Google
521
527
  # Customize the options with defaults
522
528
  metadata = @config.rpcs.get_contact.metadata.to_h
523
529
 
524
- # Set x-goog-api-client and x-goog-user-project headers
530
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
525
531
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
526
532
  lib_name: @config.lib_name, lib_version: @config.lib_version,
527
533
  gapic_version: ::Google::Cloud::EssentialContacts::V1::VERSION
534
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
528
535
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
529
536
 
530
537
  header_params = {}
@@ -609,10 +616,11 @@ module Google
609
616
  # Customize the options with defaults
610
617
  metadata = @config.rpcs.delete_contact.metadata.to_h
611
618
 
612
- # Set x-goog-api-client and x-goog-user-project headers
619
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
613
620
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
614
621
  lib_name: @config.lib_name, lib_version: @config.lib_version,
615
622
  gapic_version: ::Google::Cloud::EssentialContacts::V1::VERSION
623
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
616
624
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
617
625
 
618
626
  header_params = {}
@@ -716,10 +724,11 @@ module Google
716
724
  # Customize the options with defaults
717
725
  metadata = @config.rpcs.compute_contacts.metadata.to_h
718
726
 
719
- # Set x-goog-api-client and x-goog-user-project headers
727
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
720
728
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
721
729
  lib_name: @config.lib_name, lib_version: @config.lib_version,
722
730
  gapic_version: ::Google::Cloud::EssentialContacts::V1::VERSION
731
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
723
732
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
724
733
 
725
734
  header_params = {}
@@ -815,10 +824,11 @@ module Google
815
824
  # Customize the options with defaults
816
825
  metadata = @config.rpcs.send_test_message.metadata.to_h
817
826
 
818
- # Set x-goog-api-client and x-goog-user-project headers
827
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
819
828
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
820
829
  lib_name: @config.lib_name, lib_version: @config.lib_version,
821
830
  gapic_version: ::Google::Cloud::EssentialContacts::V1::VERSION
831
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
822
832
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
823
833
 
824
834
  header_params = {}
@@ -32,6 +32,9 @@ module Google
32
32
  # Manages contacts for important Google Cloud notifications.
33
33
  #
34
34
  class Client
35
+ # @private
36
+ API_VERSION = ""
37
+
35
38
  # @private
36
39
  DEFAULT_ENDPOINT_TEMPLATE = "essentialcontacts.$UNIVERSE_DOMAIN$"
37
40
 
@@ -232,12 +235,13 @@ module Google
232
235
  # Customize the options with defaults
233
236
  call_metadata = @config.rpcs.create_contact.metadata.to_h
234
237
 
235
- # Set x-goog-api-client and x-goog-user-project headers
238
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
236
239
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
237
240
  lib_name: @config.lib_name, lib_version: @config.lib_version,
238
241
  gapic_version: ::Google::Cloud::EssentialContacts::V1::VERSION,
239
242
  transports_version_send: [:rest]
240
243
 
244
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
241
245
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
242
246
 
243
247
  options.apply_defaults timeout: @config.rpcs.create_contact.timeout,
@@ -316,12 +320,13 @@ module Google
316
320
  # Customize the options with defaults
317
321
  call_metadata = @config.rpcs.update_contact.metadata.to_h
318
322
 
319
- # Set x-goog-api-client and x-goog-user-project headers
323
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
320
324
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
321
325
  lib_name: @config.lib_name, lib_version: @config.lib_version,
322
326
  gapic_version: ::Google::Cloud::EssentialContacts::V1::VERSION,
323
327
  transports_version_send: [:rest]
324
328
 
329
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
325
330
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
326
331
 
327
332
  options.apply_defaults timeout: @config.rpcs.update_contact.timeout,
@@ -410,12 +415,13 @@ module Google
410
415
  # Customize the options with defaults
411
416
  call_metadata = @config.rpcs.list_contacts.metadata.to_h
412
417
 
413
- # Set x-goog-api-client and x-goog-user-project headers
418
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
414
419
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
415
420
  lib_name: @config.lib_name, lib_version: @config.lib_version,
416
421
  gapic_version: ::Google::Cloud::EssentialContacts::V1::VERSION,
417
422
  transports_version_send: [:rest]
418
423
 
424
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
419
425
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
420
426
 
421
427
  options.apply_defaults timeout: @config.rpcs.list_contacts.timeout,
@@ -492,12 +498,13 @@ module Google
492
498
  # Customize the options with defaults
493
499
  call_metadata = @config.rpcs.get_contact.metadata.to_h
494
500
 
495
- # Set x-goog-api-client and x-goog-user-project headers
501
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
496
502
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
497
503
  lib_name: @config.lib_name, lib_version: @config.lib_version,
498
504
  gapic_version: ::Google::Cloud::EssentialContacts::V1::VERSION,
499
505
  transports_version_send: [:rest]
500
506
 
507
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
501
508
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
502
509
 
503
510
  options.apply_defaults timeout: @config.rpcs.get_contact.timeout,
@@ -573,12 +580,13 @@ module Google
573
580
  # Customize the options with defaults
574
581
  call_metadata = @config.rpcs.delete_contact.metadata.to_h
575
582
 
576
- # Set x-goog-api-client and x-goog-user-project headers
583
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
577
584
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
578
585
  lib_name: @config.lib_name, lib_version: @config.lib_version,
579
586
  gapic_version: ::Google::Cloud::EssentialContacts::V1::VERSION,
580
587
  transports_version_send: [:rest]
581
588
 
589
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
582
590
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
583
591
 
584
592
  options.apply_defaults timeout: @config.rpcs.delete_contact.timeout,
@@ -673,12 +681,13 @@ module Google
673
681
  # Customize the options with defaults
674
682
  call_metadata = @config.rpcs.compute_contacts.metadata.to_h
675
683
 
676
- # Set x-goog-api-client and x-goog-user-project headers
684
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
677
685
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
678
686
  lib_name: @config.lib_name, lib_version: @config.lib_version,
679
687
  gapic_version: ::Google::Cloud::EssentialContacts::V1::VERSION,
680
688
  transports_version_send: [:rest]
681
689
 
690
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
682
691
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
683
692
 
684
693
  options.apply_defaults timeout: @config.rpcs.compute_contacts.timeout,
@@ -765,12 +774,13 @@ module Google
765
774
  # Customize the options with defaults
766
775
  call_metadata = @config.rpcs.send_test_message.metadata.to_h
767
776
 
768
- # Set x-goog-api-client and x-goog-user-project headers
777
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
769
778
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
770
779
  lib_name: @config.lib_name, lib_version: @config.lib_version,
771
780
  gapic_version: ::Google::Cloud::EssentialContacts::V1::VERSION,
772
781
  transports_version_send: [:rest]
773
782
 
783
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
774
784
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
775
785
 
776
786
  options.apply_defaults timeout: @config.rpcs.send_test_message.timeout,
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module EssentialContacts
23
23
  module V1
24
- VERSION = "0.7.0"
24
+ VERSION = "1.0.0"
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
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-essential_contacts-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 1.0.0
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-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common