google-cloud-essential_contacts-v1 0.7.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/essential_contacts/v1/essential_contacts_service/client.rb +17 -7
- data/lib/google/cloud/essential_contacts/v1/essential_contacts_service/rest/client.rb +17 -7
- data/lib/google/cloud/essential_contacts/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +35 -10
- data/proto_docs/google/api/resource.rb +7 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab0393e11a591658ec840d5d771ce6a2d08e294b27041cda2044e85f857085d9
|
4
|
+
data.tar.gz: 31f837db9683fc20ec0006d9f3077cd014930fd8a5dbcf76531c5f0a87f8d628
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a23d4677b86e2f4adc384807a417bbecd98e9e1afdc1f01cf47c849e895133773a414f3d146433729428f574fee5060eabb5e232af6456e179d803478a1bebd0
|
7
|
+
data.tar.gz: 40ff27d9be448a2ccaecaed9c0ca1f522482b86e8004af9cc3a9b4f50cc885e1d1c9531dc401c869e1507158aecdd0e8487a709a29961d0f4f5ba21a4c18b40c
|
@@ -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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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,
|
@@ -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
|
-
#
|
298
|
-
#
|
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
|
-
#
|
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
|
-
#
|
317
|
-
#
|
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'.
|
128
|
-
#
|
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-essential_contacts-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.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-
|
11
|
+
date: 2024-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|