google-cloud-service_health-v1 0.2.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/service_health/v1/service_health/client.rb +15 -6
- data/lib/google/cloud/service_health/v1/service_health/rest/client.rb +15 -6
- data/lib/google/cloud/service_health/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: 1c26322780641b7c96e14a97a4a384a7b39006320af2e07d11a0fdcba87c4255
|
4
|
+
data.tar.gz: f3e29e43d716c27f729c313332cb6801d59391caf88548d5fab2c661e152cfef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1cd333220d6bf2ef5655f2b9531b7e7de570009805b380a0d6f97bfe0b8a8ab63b528ba9fb7ae33fbf1a9855c96b1d9c2719e5942fd658053d261b48861e928e
|
7
|
+
data.tar.gz: e3a8179f46968fa7c83f21f09e1c398f7e435c95c9a90d8c376a851770433235629b2f0ebac690a182d4317c2dab5cd250461102b67e53e9ce0ed3fcab23b35f
|
@@ -31,6 +31,9 @@ module Google
|
|
31
31
|
# Request service health events relevant to your Google Cloud project.
|
32
32
|
#
|
33
33
|
class Client
|
34
|
+
# @private
|
35
|
+
API_VERSION = ""
|
36
|
+
|
34
37
|
# @private
|
35
38
|
DEFAULT_ENDPOINT_TEMPLATE = "servicehealth.$UNIVERSE_DOMAIN$"
|
36
39
|
|
@@ -300,10 +303,11 @@ module Google
|
|
300
303
|
# Customize the options with defaults
|
301
304
|
metadata = @config.rpcs.list_events.metadata.to_h
|
302
305
|
|
303
|
-
# Set x-goog-api-client
|
306
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
304
307
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
305
308
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
306
309
|
gapic_version: ::Google::Cloud::ServiceHealth::V1::VERSION
|
310
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
307
311
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
308
312
|
|
309
313
|
header_params = {}
|
@@ -392,10 +396,11 @@ module Google
|
|
392
396
|
# Customize the options with defaults
|
393
397
|
metadata = @config.rpcs.get_event.metadata.to_h
|
394
398
|
|
395
|
-
# Set x-goog-api-client
|
399
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
396
400
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
397
401
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
398
402
|
gapic_version: ::Google::Cloud::ServiceHealth::V1::VERSION
|
403
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
399
404
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
400
405
|
|
401
406
|
header_params = {}
|
@@ -523,10 +528,11 @@ module Google
|
|
523
528
|
# Customize the options with defaults
|
524
529
|
metadata = @config.rpcs.list_organization_events.metadata.to_h
|
525
530
|
|
526
|
-
# Set x-goog-api-client
|
531
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
527
532
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
528
533
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
529
534
|
gapic_version: ::Google::Cloud::ServiceHealth::V1::VERSION
|
535
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
530
536
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
531
537
|
|
532
538
|
header_params = {}
|
@@ -618,10 +624,11 @@ module Google
|
|
618
624
|
# Customize the options with defaults
|
619
625
|
metadata = @config.rpcs.get_organization_event.metadata.to_h
|
620
626
|
|
621
|
-
# Set x-goog-api-client
|
627
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
622
628
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
623
629
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
624
630
|
gapic_version: ::Google::Cloud::ServiceHealth::V1::VERSION
|
631
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
625
632
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
626
633
|
|
627
634
|
header_params = {}
|
@@ -748,10 +755,11 @@ module Google
|
|
748
755
|
# Customize the options with defaults
|
749
756
|
metadata = @config.rpcs.list_organization_impacts.metadata.to_h
|
750
757
|
|
751
|
-
# Set x-goog-api-client
|
758
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
752
759
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
753
760
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
754
761
|
gapic_version: ::Google::Cloud::ServiceHealth::V1::VERSION
|
762
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
755
763
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
756
764
|
|
757
765
|
header_params = {}
|
@@ -843,10 +851,11 @@ module Google
|
|
843
851
|
# Customize the options with defaults
|
844
852
|
metadata = @config.rpcs.get_organization_impact.metadata.to_h
|
845
853
|
|
846
|
-
# Set x-goog-api-client
|
854
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
847
855
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
848
856
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
849
857
|
gapic_version: ::Google::Cloud::ServiceHealth::V1::VERSION
|
858
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
850
859
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
851
860
|
|
852
861
|
header_params = {}
|
@@ -33,6 +33,9 @@ module Google
|
|
33
33
|
# Request service health events relevant to your Google Cloud project.
|
34
34
|
#
|
35
35
|
class Client
|
36
|
+
# @private
|
37
|
+
API_VERSION = ""
|
38
|
+
|
36
39
|
# @private
|
37
40
|
DEFAULT_ENDPOINT_TEMPLATE = "servicehealth.$UNIVERSE_DOMAIN$"
|
38
41
|
|
@@ -293,12 +296,13 @@ module Google
|
|
293
296
|
# Customize the options with defaults
|
294
297
|
call_metadata = @config.rpcs.list_events.metadata.to_h
|
295
298
|
|
296
|
-
# Set x-goog-api-client
|
299
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
297
300
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
298
301
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
299
302
|
gapic_version: ::Google::Cloud::ServiceHealth::V1::VERSION,
|
300
303
|
transports_version_send: [:rest]
|
301
304
|
|
305
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
302
306
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
303
307
|
|
304
308
|
options.apply_defaults timeout: @config.rpcs.list_events.timeout,
|
@@ -377,12 +381,13 @@ module Google
|
|
377
381
|
# Customize the options with defaults
|
378
382
|
call_metadata = @config.rpcs.get_event.metadata.to_h
|
379
383
|
|
380
|
-
# Set x-goog-api-client
|
384
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
381
385
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
382
386
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
383
387
|
gapic_version: ::Google::Cloud::ServiceHealth::V1::VERSION,
|
384
388
|
transports_version_send: [:rest]
|
385
389
|
|
390
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
386
391
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
387
392
|
|
388
393
|
options.apply_defaults timeout: @config.rpcs.get_event.timeout,
|
@@ -501,12 +506,13 @@ module Google
|
|
501
506
|
# Customize the options with defaults
|
502
507
|
call_metadata = @config.rpcs.list_organization_events.metadata.to_h
|
503
508
|
|
504
|
-
# Set x-goog-api-client
|
509
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
505
510
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
506
511
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
507
512
|
gapic_version: ::Google::Cloud::ServiceHealth::V1::VERSION,
|
508
513
|
transports_version_send: [:rest]
|
509
514
|
|
515
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
510
516
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
511
517
|
|
512
518
|
options.apply_defaults timeout: @config.rpcs.list_organization_events.timeout,
|
@@ -588,12 +594,13 @@ module Google
|
|
588
594
|
# Customize the options with defaults
|
589
595
|
call_metadata = @config.rpcs.get_organization_event.metadata.to_h
|
590
596
|
|
591
|
-
# Set x-goog-api-client
|
597
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
592
598
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
593
599
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
594
600
|
gapic_version: ::Google::Cloud::ServiceHealth::V1::VERSION,
|
595
601
|
transports_version_send: [:rest]
|
596
602
|
|
603
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
597
604
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
598
605
|
|
599
606
|
options.apply_defaults timeout: @config.rpcs.get_organization_event.timeout,
|
@@ -711,12 +718,13 @@ module Google
|
|
711
718
|
# Customize the options with defaults
|
712
719
|
call_metadata = @config.rpcs.list_organization_impacts.metadata.to_h
|
713
720
|
|
714
|
-
# Set x-goog-api-client
|
721
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
715
722
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
716
723
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
717
724
|
gapic_version: ::Google::Cloud::ServiceHealth::V1::VERSION,
|
718
725
|
transports_version_send: [:rest]
|
719
726
|
|
727
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
720
728
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
721
729
|
|
722
730
|
options.apply_defaults timeout: @config.rpcs.list_organization_impacts.timeout,
|
@@ -798,12 +806,13 @@ module Google
|
|
798
806
|
# Customize the options with defaults
|
799
807
|
call_metadata = @config.rpcs.get_organization_impact.metadata.to_h
|
800
808
|
|
801
|
-
# Set x-goog-api-client
|
809
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
802
810
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
803
811
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
804
812
|
gapic_version: ::Google::Cloud::ServiceHealth::V1::VERSION,
|
805
813
|
transports_version_send: [:rest]
|
806
814
|
|
815
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
807
816
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
808
817
|
|
809
818
|
options.apply_defaults timeout: @config.rpcs.get_organization_impact.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-service_health-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
|