google-cloud-service_health-v1 1.3.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 16411e266310340f01ce2969fe9d097584a282a9c6df6e0f8bb3f61df9fffdfd
4
- data.tar.gz: 428339f6892a71a5ad06f5cfa07f6c6ddfb53307ddacbb3cc79c0752ea1e7bd1
3
+ metadata.gz: b6c1a14bdf2e0cde6fda7a221ea8edb16a9a9eef3e3ab9883b91071fd7b875ff
4
+ data.tar.gz: 7861982f0f2050fe9793adfe5f894039d68f152aa7cafff3ab24f24af2e55026
5
5
  SHA512:
6
- metadata.gz: 508a680c369550828783dafb68d11b2e5c460c07f4d0d30cbd8cd00c9983653cc9c071bd4496daed5e6423b15c460a10b82b17ec206d7c20903798dd4f3aaa35
7
- data.tar.gz: 960eb2bb893cba07d163aba1bb552d1657aa2c191f421709a8afe0c29b58edc372e0e2282fcf4bad74bd1ab3c6b6da915293fc842b078c094666fb52d243dd7c
6
+ metadata.gz: 835e9ff5bf35155f0826f2a6dbfb3fe22185651d5b6cc3dd7917295e0ccd6224c48adc652be96b00727e63613e1dfcfc42b7728d472af18e7e055d318be4425a
7
+ data.tar.gz: f8dd6222bb576b1ca783f951272ae9bc121ba68fd80644183fc99bc0d74f9ed15859a9415b9015d63ec62173242e006ab3db9ef8e285367e9d0fc080c5c58de5
@@ -1006,8 +1006,8 @@ module Google
1006
1006
 
1007
1007
  config_attr :endpoint, nil, ::String, nil
1008
1008
  config_attr :credentials, nil do |value|
1009
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1010
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
1009
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1010
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
1011
1011
  allowed.any? { |klass| klass === value }
1012
1012
  end
1013
1013
  config_attr :scope, nil, ::String, ::Array, nil
@@ -281,10 +281,10 @@ module Google
281
281
  # @param view [::Google::Cloud::ServiceHealth::V1::EventView]
282
282
  # Optional. Event fields to include in response.
283
283
  # @yield [result, operation] Access the result along with the TransportOperation object
284
- # @yieldparam result [::Google::Cloud::ServiceHealth::V1::ListEventsResponse]
284
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::ServiceHealth::V1::Event>]
285
285
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
286
286
  #
287
- # @return [::Google::Cloud::ServiceHealth::V1::ListEventsResponse]
287
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::ServiceHealth::V1::Event>]
288
288
  #
289
289
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
290
290
  #
@@ -336,7 +336,9 @@ module Google
336
336
  retry_policy: @config.retry_policy
337
337
 
338
338
  @service_health_stub.list_events request, options do |result, operation|
339
+ result = ::Gapic::Rest::PagedEnumerable.new @service_health_stub, :list_events, "events", request, result, options
339
340
  yield result, operation if block_given?
341
+ throw :response, result
340
342
  end
341
343
  rescue ::Gapic::Rest::Error => e
342
344
  raise ::Google::Cloud::Error.from_error(e)
@@ -489,10 +491,10 @@ module Google
489
491
  # @param view [::Google::Cloud::ServiceHealth::V1::OrganizationEventView]
490
492
  # Optional. OrganizationEvent fields to include in response.
491
493
  # @yield [result, operation] Access the result along with the TransportOperation object
492
- # @yieldparam result [::Google::Cloud::ServiceHealth::V1::ListOrganizationEventsResponse]
494
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::ServiceHealth::V1::OrganizationEvent>]
493
495
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
494
496
  #
495
- # @return [::Google::Cloud::ServiceHealth::V1::ListOrganizationEventsResponse]
497
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::ServiceHealth::V1::OrganizationEvent>]
496
498
  #
497
499
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
498
500
  #
@@ -544,7 +546,9 @@ module Google
544
546
  retry_policy: @config.retry_policy
545
547
 
546
548
  @service_health_stub.list_organization_events request, options do |result, operation|
549
+ result = ::Gapic::Rest::PagedEnumerable.new @service_health_stub, :list_organization_events, "organization_events", request, result, options
547
550
  yield result, operation if block_given?
551
+ throw :response, result
548
552
  end
549
553
  rescue ::Gapic::Rest::Error => e
550
554
  raise ::Google::Cloud::Error.from_error(e)
@@ -699,10 +703,10 @@ module Google
699
703
  # AND and OR expressions explicitly.
700
704
  # Filter is supported for the following fields: `events`.
701
705
  # @yield [result, operation] Access the result along with the TransportOperation object
702
- # @yieldparam result [::Google::Cloud::ServiceHealth::V1::ListOrganizationImpactsResponse]
706
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::ServiceHealth::V1::OrganizationImpact>]
703
707
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
704
708
  #
705
- # @return [::Google::Cloud::ServiceHealth::V1::ListOrganizationImpactsResponse]
709
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::ServiceHealth::V1::OrganizationImpact>]
706
710
  #
707
711
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
708
712
  #
@@ -754,7 +758,9 @@ module Google
754
758
  retry_policy: @config.retry_policy
755
759
 
756
760
  @service_health_stub.list_organization_impacts request, options do |result, operation|
761
+ result = ::Gapic::Rest::PagedEnumerable.new @service_health_stub, :list_organization_impacts, "organization_impacts", request, result, options
757
762
  yield result, operation if block_given?
763
+ throw :response, result
758
764
  end
759
765
  rescue ::Gapic::Rest::Error => e
760
766
  raise ::Google::Cloud::Error.from_error(e)
@@ -943,7 +949,7 @@ module Google
943
949
 
944
950
  config_attr :endpoint, nil, ::String, nil
945
951
  config_attr :credentials, nil do |value|
946
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
952
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
947
953
  allowed.any? { |klass| klass === value }
948
954
  end
949
955
  config_attr :scope, nil, ::String, ::Array, nil
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module ServiceHealth
23
23
  module V1
24
- VERSION = "1.3.0"
24
+ VERSION = "2.0.1"
25
25
  end
26
26
  end
27
27
  end
@@ -221,6 +221,12 @@ module Google
221
221
  # Pythonic which are included in `protobuf>=5.29.x`. This feature will be
222
222
  # enabled by default 1 month after launching the feature in preview
223
223
  # packages.
224
+ # @!attribute [rw] unversioned_package_disabled
225
+ # @return [::Boolean]
226
+ # Disables generation of an unversioned Python package for this client
227
+ # library. This means that the module names will need to be versioned in
228
+ # import statements. For example `import google.cloud.library_v2` instead
229
+ # of `import google.cloud.library`.
224
230
  class ExperimentalFeatures
225
231
  include ::Google::Protobuf::MessageExts
226
232
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -409,6 +415,14 @@ module Google
409
415
  # @return [::Array<::String>]
410
416
  # An allowlist of the fully qualified names of RPCs that should be included
411
417
  # on public client surfaces.
418
+ # @!attribute [rw] generate_omitted_as_internal
419
+ # @return [::Boolean]
420
+ # Setting this to true indicates to the client generators that methods
421
+ # that would be excluded from the generation should instead be generated
422
+ # in a way that indicates these methods should not be consumed by
423
+ # end users. How this is expressed is up to individual language
424
+ # implementations to decide. Some examples may be: added annotations,
425
+ # obfuscated identifiers, or other language idiomatic patterns.
412
426
  class SelectiveGapicGeneration
413
427
  include ::Google::Protobuf::MessageExts
414
428
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-service_health-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-01-29 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: gapic-common
@@ -119,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
119
119
  - !ruby/object:Gem::Version
120
120
  version: '0'
121
121
  requirements: []
122
- rubygems_version: 3.6.2
122
+ rubygems_version: 3.6.8
123
123
  specification_version: 4
124
124
  summary: Personalized Service Health helps you gain visibility into disruptive events
125
125
  impacting Google Cloud products.