google-cloud-essential_contacts-v1 0.4.0 → 0.5.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: 731dcda8218add231df4bd6cba3900500e528429a14ac206c220b682777188ea
4
- data.tar.gz: 35ab8548f8f332699f1a2a405f836ed5f106876c042e55b46c809907fbc98701
3
+ metadata.gz: 89d71f8f2583420d828247b5f6d9e76a77089fcd1b4b04a9467e60e2332f3e9e
4
+ data.tar.gz: 733a9ee7ca1129b550cc44e203d317ac962d969002a2b555df1cec60ba2a1ca5
5
5
  SHA512:
6
- metadata.gz: c47ea560ca299f4303f72b903deb39828665434200f9a43bd151fc770cb774002de9a400a979bd1352e77eb9000aba29c94c47c875bc2d1f36715123e13762eb
7
- data.tar.gz: a5ce37b8989f9572aa8fa79326bdfa4fd0f963c4473fa19653924bfa1d2066dbbe5beb13161150b2a6208dd012d693e9cd75b4c0d4d960891986da8c2ec25fe7
6
+ metadata.gz: 806efe1497b0056a7dc0329d0ce7c950993a5c3dc2721f99f5b78e959c2e140290e09d753b4a3c38b5e4a8d8b24f1d3613c7cd5659ab705d96031d27a014ecd6
7
+ data.tar.gz: 945f971588fd6e610e00ed3caf2e12bb6c833559921fa43113cad0fa39c028992b2efdf18c9b8135f3df74400d9da8aa6ff5eb62834a567646719b20846a6976
@@ -158,7 +158,8 @@ module Google
158
158
  credentials: credentials,
159
159
  endpoint: @config.endpoint,
160
160
  channel_args: @config.channel_args,
161
- interceptors: @config.interceptors
161
+ interceptors: @config.interceptors,
162
+ channel_pool_config: @config.channel_pool
162
163
  )
163
164
  end
164
165
 
@@ -948,6 +949,14 @@ module Google
948
949
  end
949
950
  end
950
951
 
952
+ ##
953
+ # Configuration for the channel pool
954
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
955
+ #
956
+ def channel_pool
957
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
958
+ end
959
+
951
960
  ##
952
961
  # Configuration RPC class for the EssentialContactsService API.
953
962
  #
@@ -187,6 +187,22 @@ module Google
187
187
  # @return [::Google::Cloud::EssentialContacts::V1::Contact]
188
188
  #
189
189
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
190
+ #
191
+ # @example Basic example
192
+ # require "google/cloud/essential_contacts/v1"
193
+ #
194
+ # # Create a client object. The client can be reused for multiple calls.
195
+ # client = Google::Cloud::EssentialContacts::V1::EssentialContactsService::Rest::Client.new
196
+ #
197
+ # # Create a request. To set request fields, pass in keyword arguments.
198
+ # request = Google::Cloud::EssentialContacts::V1::CreateContactRequest.new
199
+ #
200
+ # # Call the create_contact method.
201
+ # result = client.create_contact request
202
+ #
203
+ # # The returned object is of type Google::Cloud::EssentialContacts::V1::Contact.
204
+ # p result
205
+ #
190
206
  def create_contact request, options = nil
191
207
  raise ::ArgumentError, "request must be provided" if request.nil?
192
208
 
@@ -255,6 +271,22 @@ module Google
255
271
  # @return [::Google::Cloud::EssentialContacts::V1::Contact]
256
272
  #
257
273
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
274
+ #
275
+ # @example Basic example
276
+ # require "google/cloud/essential_contacts/v1"
277
+ #
278
+ # # Create a client object. The client can be reused for multiple calls.
279
+ # client = Google::Cloud::EssentialContacts::V1::EssentialContactsService::Rest::Client.new
280
+ #
281
+ # # Create a request. To set request fields, pass in keyword arguments.
282
+ # request = Google::Cloud::EssentialContacts::V1::UpdateContactRequest.new
283
+ #
284
+ # # Call the update_contact method.
285
+ # result = client.update_contact request
286
+ #
287
+ # # The returned object is of type Google::Cloud::EssentialContacts::V1::Contact.
288
+ # p result
289
+ #
258
290
  def update_contact request, options = nil
259
291
  raise ::ArgumentError, "request must be provided" if request.nil?
260
292
 
@@ -329,6 +361,26 @@ module Google
329
361
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::EssentialContacts::V1::Contact>]
330
362
  #
331
363
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
364
+ #
365
+ # @example Basic example
366
+ # require "google/cloud/essential_contacts/v1"
367
+ #
368
+ # # Create a client object. The client can be reused for multiple calls.
369
+ # client = Google::Cloud::EssentialContacts::V1::EssentialContactsService::Rest::Client.new
370
+ #
371
+ # # Create a request. To set request fields, pass in keyword arguments.
372
+ # request = Google::Cloud::EssentialContacts::V1::ListContactsRequest.new
373
+ #
374
+ # # Call the list_contacts method.
375
+ # result = client.list_contacts request
376
+ #
377
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
378
+ # # over elements, and API calls will be issued to fetch pages as needed.
379
+ # result.each do |item|
380
+ # # Each element is of type ::Google::Cloud::EssentialContacts::V1::Contact.
381
+ # p item
382
+ # end
383
+ #
332
384
  def list_contacts request, options = nil
333
385
  raise ::ArgumentError, "request must be provided" if request.nil?
334
386
 
@@ -395,6 +447,22 @@ module Google
395
447
  # @return [::Google::Cloud::EssentialContacts::V1::Contact]
396
448
  #
397
449
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
450
+ #
451
+ # @example Basic example
452
+ # require "google/cloud/essential_contacts/v1"
453
+ #
454
+ # # Create a client object. The client can be reused for multiple calls.
455
+ # client = Google::Cloud::EssentialContacts::V1::EssentialContactsService::Rest::Client.new
456
+ #
457
+ # # Create a request. To set request fields, pass in keyword arguments.
458
+ # request = Google::Cloud::EssentialContacts::V1::GetContactRequest.new
459
+ #
460
+ # # Call the get_contact method.
461
+ # result = client.get_contact request
462
+ #
463
+ # # The returned object is of type Google::Cloud::EssentialContacts::V1::Contact.
464
+ # p result
465
+ #
398
466
  def get_contact request, options = nil
399
467
  raise ::ArgumentError, "request must be provided" if request.nil?
400
468
 
@@ -460,6 +528,22 @@ module Google
460
528
  # @return [::Google::Protobuf::Empty]
461
529
  #
462
530
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
531
+ #
532
+ # @example Basic example
533
+ # require "google/cloud/essential_contacts/v1"
534
+ #
535
+ # # Create a client object. The client can be reused for multiple calls.
536
+ # client = Google::Cloud::EssentialContacts::V1::EssentialContactsService::Rest::Client.new
537
+ #
538
+ # # Create a request. To set request fields, pass in keyword arguments.
539
+ # request = Google::Cloud::EssentialContacts::V1::DeleteContactRequest.new
540
+ #
541
+ # # Call the delete_contact method.
542
+ # result = client.delete_contact request
543
+ #
544
+ # # The returned object is of type Google::Protobuf::Empty.
545
+ # p result
546
+ #
463
547
  def delete_contact request, options = nil
464
548
  raise ::ArgumentError, "request must be provided" if request.nil?
465
549
 
@@ -540,6 +624,26 @@ module Google
540
624
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::EssentialContacts::V1::Contact>]
541
625
  #
542
626
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
627
+ #
628
+ # @example Basic example
629
+ # require "google/cloud/essential_contacts/v1"
630
+ #
631
+ # # Create a client object. The client can be reused for multiple calls.
632
+ # client = Google::Cloud::EssentialContacts::V1::EssentialContactsService::Rest::Client.new
633
+ #
634
+ # # Create a request. To set request fields, pass in keyword arguments.
635
+ # request = Google::Cloud::EssentialContacts::V1::ComputeContactsRequest.new
636
+ #
637
+ # # Call the compute_contacts method.
638
+ # result = client.compute_contacts request
639
+ #
640
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
641
+ # # over elements, and API calls will be issued to fetch pages as needed.
642
+ # result.each do |item|
643
+ # # Each element is of type ::Google::Cloud::EssentialContacts::V1::Contact.
644
+ # p item
645
+ # end
646
+ #
543
647
  def compute_contacts request, options = nil
544
648
  raise ::ArgumentError, "request must be provided" if request.nil?
545
649
 
@@ -616,6 +720,22 @@ module Google
616
720
  # @return [::Google::Protobuf::Empty]
617
721
  #
618
722
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
723
+ #
724
+ # @example Basic example
725
+ # require "google/cloud/essential_contacts/v1"
726
+ #
727
+ # # Create a client object. The client can be reused for multiple calls.
728
+ # client = Google::Cloud::EssentialContacts::V1::EssentialContactsService::Rest::Client.new
729
+ #
730
+ # # Create a request. To set request fields, pass in keyword arguments.
731
+ # request = Google::Cloud::EssentialContacts::V1::SendTestMessageRequest.new
732
+ #
733
+ # # Call the send_test_message method.
734
+ # result = client.send_test_message request
735
+ #
736
+ # # The returned object is of type Google::Protobuf::Empty.
737
+ # p result
738
+ #
619
739
  def send_test_message request, options = nil
620
740
  raise ::ArgumentError, "request must be provided" if request.nil?
621
741
 
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module EssentialContacts
23
23
  module V1
24
- VERSION = "0.4.0"
24
+ VERSION = "0.5.0"
25
25
  end
26
26
  end
27
27
  end
@@ -14,7 +14,7 @@ require 'google/protobuf/field_mask_pb'
14
14
  require 'google/protobuf/timestamp_pb'
15
15
 
16
16
 
17
- descriptor_data = "\n/google/cloud/essentialcontacts/v1/service.proto\x12!google.cloud.essentialcontacts.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a-google/cloud/essentialcontacts/v1/enums.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd1\x03\n\x07\x43ontact\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05\x65mail\x18\x02 \x01(\t\x12\x64\n#notification_category_subscriptions\x18\x03 \x03(\x0e\x32\x37.google.cloud.essentialcontacts.v1.NotificationCategory\x12\x14\n\x0clanguage_tag\x18\x04 \x01(\t\x12L\n\x10validation_state\x18\x08 \x01(\x0e\x32\x32.google.cloud.essentialcontacts.v1.ValidationState\x12\x31\n\rvalidate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp:\xab\x01\xea\x41\xa7\x01\n(essentialcontacts.googleapis.com/Contact\x12%projects/{project}/contacts/{contact}\x12#folders/{folder}/contacts/{contact}\x12/organizations/{organization}/contacts/{contact}\"\x88\x01\n\x13ListContactsRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(essentialcontacts.googleapis.com/Contact\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"m\n\x14ListContactsResponse\x12<\n\x08\x63ontacts\x18\x01 \x03(\x0b\x32*.google.cloud.essentialcontacts.v1.Contact\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"S\n\x11GetContactRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(essentialcontacts.googleapis.com/Contact\"V\n\x14\x44\x65leteContactRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(essentialcontacts.googleapis.com/Contact\"\x9a\x01\n\x14\x43reateContactRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(essentialcontacts.googleapis.com/Contact\x12@\n\x07\x63ontact\x18\x02 \x01(\x0b\x32*.google.cloud.essentialcontacts.v1.ContactB\x03\xe0\x41\x02\"\x8e\x01\n\x14UpdateContactRequest\x12@\n\x07\x63ontact\x18\x02 \x01(\x0b\x32*.google.cloud.essentialcontacts.v1.ContactB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"\xe5\x01\n\x16\x43omputeContactsRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(essentialcontacts.googleapis.com/Contact\x12X\n\x17notification_categories\x18\x06 \x03(\x0e\x32\x37.google.cloud.essentialcontacts.v1.NotificationCategory\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\"p\n\x17\x43omputeContactsResponse\x12<\n\x08\x63ontacts\x18\x01 \x03(\x0b\x32*.google.cloud.essentialcontacts.v1.Contact\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xfd\x01\n\x16SendTestMessageRequest\x12\x42\n\x08\x63ontacts\x18\x01 \x03(\tB0\xe0\x41\x02\xfa\x41*\n(essentialcontacts.googleapis.com/Contact\x12\x42\n\x08resource\x18\x02 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(essentialcontacts.googleapis.com/Contact\x12[\n\x15notification_category\x18\x03 \x01(\x0e\x32\x37.google.cloud.essentialcontacts.v1.NotificationCategoryB\x03\xe0\x41\x02\x32\xcb\x0f\n\x18\x45ssentialContactsService\x12\x98\x02\n\rCreateContact\x12\x37.google.cloud.essentialcontacts.v1.CreateContactRequest\x1a*.google.cloud.essentialcontacts.v1.Contact\"\xa1\x01\x82\xd3\xe4\x93\x02\x89\x01\" /v1/{parent=projects/*}/contacts:\x07\x63ontactZ*\"\x1f/v1/{parent=folders/*}/contacts:\x07\x63ontactZ0\"%/v1/{parent=organizations/*}/contacts:\x07\x63ontact\xda\x41\x0eparent,contact\x12\xb5\x02\n\rUpdateContact\x12\x37.google.cloud.essentialcontacts.v1.UpdateContactRequest\x1a*.google.cloud.essentialcontacts.v1.Contact\"\xbe\x01\x82\xd3\xe4\x93\x02\xa1\x01\x32(/v1/{contact.name=projects/*/contacts/*}:\x07\x63ontactZ22\'/v1/{contact.name=folders/*/contacts/*}:\x07\x63ontactZ82-/v1/{contact.name=organizations/*/contacts/*}:\x07\x63ontact\xda\x41\x13\x63ontact,update_mask\x12\xfe\x01\n\x0cListContacts\x12\x36.google.cloud.essentialcontacts.v1.ListContactsRequest\x1a\x37.google.cloud.essentialcontacts.v1.ListContactsResponse\"}\x82\xd3\xe4\x93\x02n\x12 /v1/{parent=projects/*}/contactsZ!\x12\x1f/v1/{parent=folders/*}/contactsZ\'\x12%/v1/{parent=organizations/*}/contacts\xda\x41\x06parent\x12\xeb\x01\n\nGetContact\x12\x34.google.cloud.essentialcontacts.v1.GetContactRequest\x1a*.google.cloud.essentialcontacts.v1.Contact\"{\x82\xd3\xe4\x93\x02n\x12 /v1/{name=projects/*/contacts/*}Z!\x12\x1f/v1/{name=folders/*/contacts/*}Z\'\x12%/v1/{name=organizations/*/contacts/*}\xda\x41\x04name\x12\xdd\x01\n\rDeleteContact\x12\x37.google.cloud.essentialcontacts.v1.DeleteContactRequest\x1a\x16.google.protobuf.Empty\"{\x82\xd3\xe4\x93\x02n* /v1/{name=projects/*/contacts/*}Z!*\x1f/v1/{name=folders/*/contacts/*}Z\'*%/v1/{name=organizations/*/contacts/*}\xda\x41\x04name\x12\x98\x02\n\x0f\x43omputeContacts\x12\x39.google.cloud.essentialcontacts.v1.ComputeContactsRequest\x1a:.google.cloud.essentialcontacts.v1.ComputeContactsResponse\"\x8d\x01\x82\xd3\xe4\x93\x02\x86\x01\x12(/v1/{parent=projects/*}/contacts:computeZ)\x12\'/v1/{parent=folders/*}/contacts:computeZ/\x12-/v1/{parent=organizations/*}/contacts:compute\x12\x9b\x02\n\x0fSendTestMessage\x12\x39.google.cloud.essentialcontacts.v1.SendTestMessageRequest\x1a\x16.google.protobuf.Empty\"\xb4\x01\x82\xd3\xe4\x93\x02\xad\x01\"2/v1/{resource=projects/*}/contacts:sendTestMessage:\x01*Z6\"1/v1/{resource=folders/*}/contacts:sendTestMessage:\x01*Z<\"7/v1/{resource=organizations/*}/contacts:sendTestMessage:\x01*\x1aT\xca\x41 essentialcontacts.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xed\x01\n%com.google.cloud.essentialcontacts.v1P\x01ZScloud.google.com/go/essentialcontacts/apiv1/essentialcontactspb;essentialcontactspb\xaa\x02!Google.Cloud.EssentialContacts.V1\xca\x02!Google\\Cloud\\EssentialContacts\\V1\xea\x02$Google::Cloud::EssentialContacts::V1b\x06proto3"
17
+ descriptor_data = "\n/google/cloud/essentialcontacts/v1/service.proto\x12!google.cloud.essentialcontacts.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a-google/cloud/essentialcontacts/v1/enums.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xe5\x03\n\x07\x43ontact\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x12\n\x05\x65mail\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12i\n#notification_category_subscriptions\x18\x03 \x03(\x0e\x32\x37.google.cloud.essentialcontacts.v1.NotificationCategoryB\x03\xe0\x41\x02\x12\x19\n\x0clanguage_tag\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12L\n\x10validation_state\x18\x08 \x01(\x0e\x32\x32.google.cloud.essentialcontacts.v1.ValidationState\x12\x31\n\rvalidate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp:\xab\x01\xea\x41\xa7\x01\n(essentialcontacts.googleapis.com/Contact\x12%projects/{project}/contacts/{contact}\x12#folders/{folder}/contacts/{contact}\x12/organizations/{organization}/contacts/{contact}\"\x88\x01\n\x13ListContactsRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(essentialcontacts.googleapis.com/Contact\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"m\n\x14ListContactsResponse\x12<\n\x08\x63ontacts\x18\x01 \x03(\x0b\x32*.google.cloud.essentialcontacts.v1.Contact\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"S\n\x11GetContactRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(essentialcontacts.googleapis.com/Contact\"V\n\x14\x44\x65leteContactRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(essentialcontacts.googleapis.com/Contact\"\x9a\x01\n\x14\x43reateContactRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(essentialcontacts.googleapis.com/Contact\x12@\n\x07\x63ontact\x18\x02 \x01(\x0b\x32*.google.cloud.essentialcontacts.v1.ContactB\x03\xe0\x41\x02\"\x8e\x01\n\x14UpdateContactRequest\x12@\n\x07\x63ontact\x18\x02 \x01(\x0b\x32*.google.cloud.essentialcontacts.v1.ContactB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"\xe5\x01\n\x16\x43omputeContactsRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(essentialcontacts.googleapis.com/Contact\x12X\n\x17notification_categories\x18\x06 \x03(\x0e\x32\x37.google.cloud.essentialcontacts.v1.NotificationCategory\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\"p\n\x17\x43omputeContactsResponse\x12<\n\x08\x63ontacts\x18\x01 \x03(\x0b\x32*.google.cloud.essentialcontacts.v1.Contact\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xfd\x01\n\x16SendTestMessageRequest\x12\x42\n\x08\x63ontacts\x18\x01 \x03(\tB0\xe0\x41\x02\xfa\x41*\n(essentialcontacts.googleapis.com/Contact\x12\x42\n\x08resource\x18\x02 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(essentialcontacts.googleapis.com/Contact\x12[\n\x15notification_category\x18\x03 \x01(\x0e\x32\x37.google.cloud.essentialcontacts.v1.NotificationCategoryB\x03\xe0\x41\x02\x32\xcb\x0f\n\x18\x45ssentialContactsService\x12\x98\x02\n\rCreateContact\x12\x37.google.cloud.essentialcontacts.v1.CreateContactRequest\x1a*.google.cloud.essentialcontacts.v1.Contact\"\xa1\x01\x82\xd3\xe4\x93\x02\x89\x01\" /v1/{parent=projects/*}/contacts:\x07\x63ontactZ*\"\x1f/v1/{parent=folders/*}/contacts:\x07\x63ontactZ0\"%/v1/{parent=organizations/*}/contacts:\x07\x63ontact\xda\x41\x0eparent,contact\x12\xb5\x02\n\rUpdateContact\x12\x37.google.cloud.essentialcontacts.v1.UpdateContactRequest\x1a*.google.cloud.essentialcontacts.v1.Contact\"\xbe\x01\x82\xd3\xe4\x93\x02\xa1\x01\x32(/v1/{contact.name=projects/*/contacts/*}:\x07\x63ontactZ22\'/v1/{contact.name=folders/*/contacts/*}:\x07\x63ontactZ82-/v1/{contact.name=organizations/*/contacts/*}:\x07\x63ontact\xda\x41\x13\x63ontact,update_mask\x12\xfe\x01\n\x0cListContacts\x12\x36.google.cloud.essentialcontacts.v1.ListContactsRequest\x1a\x37.google.cloud.essentialcontacts.v1.ListContactsResponse\"}\x82\xd3\xe4\x93\x02n\x12 /v1/{parent=projects/*}/contactsZ!\x12\x1f/v1/{parent=folders/*}/contactsZ\'\x12%/v1/{parent=organizations/*}/contacts\xda\x41\x06parent\x12\xeb\x01\n\nGetContact\x12\x34.google.cloud.essentialcontacts.v1.GetContactRequest\x1a*.google.cloud.essentialcontacts.v1.Contact\"{\x82\xd3\xe4\x93\x02n\x12 /v1/{name=projects/*/contacts/*}Z!\x12\x1f/v1/{name=folders/*/contacts/*}Z\'\x12%/v1/{name=organizations/*/contacts/*}\xda\x41\x04name\x12\xdd\x01\n\rDeleteContact\x12\x37.google.cloud.essentialcontacts.v1.DeleteContactRequest\x1a\x16.google.protobuf.Empty\"{\x82\xd3\xe4\x93\x02n* /v1/{name=projects/*/contacts/*}Z!*\x1f/v1/{name=folders/*/contacts/*}Z\'*%/v1/{name=organizations/*/contacts/*}\xda\x41\x04name\x12\x98\x02\n\x0f\x43omputeContacts\x12\x39.google.cloud.essentialcontacts.v1.ComputeContactsRequest\x1a:.google.cloud.essentialcontacts.v1.ComputeContactsResponse\"\x8d\x01\x82\xd3\xe4\x93\x02\x86\x01\x12(/v1/{parent=projects/*}/contacts:computeZ)\x12\'/v1/{parent=folders/*}/contacts:computeZ/\x12-/v1/{parent=organizations/*}/contacts:compute\x12\x9b\x02\n\x0fSendTestMessage\x12\x39.google.cloud.essentialcontacts.v1.SendTestMessageRequest\x1a\x16.google.protobuf.Empty\"\xb4\x01\x82\xd3\xe4\x93\x02\xad\x01\"2/v1/{resource=projects/*}/contacts:sendTestMessage:\x01*Z6\"1/v1/{resource=folders/*}/contacts:sendTestMessage:\x01*Z<\"7/v1/{resource=organizations/*}/contacts:sendTestMessage:\x01*\x1aT\xca\x41 essentialcontacts.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xed\x01\n%com.google.cloud.essentialcontacts.v1P\x01ZScloud.google.com/go/essentialcontacts/apiv1/essentialcontactspb;essentialcontactspb\xaa\x02!Google.Cloud.EssentialContacts.V1\xca\x02!Google\\Cloud\\EssentialContacts\\V1\xea\x02$Google::Cloud::EssentialContacts::V1b\x06proto3"
18
18
 
19
19
  pool = Google::Protobuf::DescriptorPool.generated_pool
20
20
 
@@ -66,6 +66,20 @@ module Google
66
66
  # a non-empty value will be returned. The user will not be aware of what
67
67
  # non-empty value to expect.
68
68
  NON_EMPTY_DEFAULT = 7
69
+
70
+ # Denotes that the field in a resource (a message annotated with
71
+ # google.api.resource) is used in the resource name to uniquely identify the
72
+ # resource. For AIP-compliant APIs, this should only be applied to the
73
+ # `name` field on the resource.
74
+ #
75
+ # This behavior should not be applied to references to other resources within
76
+ # the message.
77
+ #
78
+ # The identifier field of resources often have different field behavior
79
+ # depending on the request it is embedded in (e.g. for Create methods name
80
+ # is optional and unused, while for Update methods it is required). Instead
81
+ # of method-specific annotations, only `IDENTIFIER` is required.
82
+ IDENTIFIER = 8
69
83
  end
70
84
  end
71
85
  end
@@ -22,22 +22,22 @@ module Google
22
22
  module EssentialContacts
23
23
  module V1
24
24
  # A contact that will receive notifications from Google Cloud.
25
- # @!attribute [rw] name
25
+ # @!attribute [r] name
26
26
  # @return [::String]
27
- # The identifier for the contact.
27
+ # Output only. The identifier for the contact.
28
28
  # Format: \\{resource_type}/\\{resource_id}/contacts/\\{contact_id}
29
29
  # @!attribute [rw] email
30
30
  # @return [::String]
31
- # Required. The email address to send notifications to. This does not need to
32
- # be a Google account.
31
+ # Required. The email address to send notifications to. The email address
32
+ # does not need to be a Google Account.
33
33
  # @!attribute [rw] notification_category_subscriptions
34
34
  # @return [::Array<::Google::Cloud::EssentialContacts::V1::NotificationCategory>]
35
- # The categories of notifications that the contact will receive
35
+ # Required. The categories of notifications that the contact will receive
36
36
  # communications for.
37
37
  # @!attribute [rw] language_tag
38
38
  # @return [::String]
39
- # The preferred language for notifications, as a ISO 639-1 language code. See
40
- # [Supported
39
+ # Required. The preferred language for notifications, as a ISO 639-1 language
40
+ # code. See [Supported
41
41
  # languages](https://cloud.google.com/resource-manager/docs/managing-notification-contacts#supported-languages)
42
42
  # for a list of supported languages.
43
43
  # @!attribute [rw] validation_state
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.4.0
4
+ version: 0.5.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: 2023-06-06 00:00:00.000000000 Z
11
+ date: 2023-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.19.1
19
+ version: 0.20.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.19.1
29
+ version: 0.20.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -216,7 +216,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
216
216
  - !ruby/object:Gem::Version
217
217
  version: '0'
218
218
  requirements: []
219
- rubygems_version: 3.4.2
219
+ rubygems_version: 3.4.19
220
220
  signing_key:
221
221
  specification_version: 4
222
222
  summary: API Client library for the Essential Contacts V1 API