google-cloud-service_health-v1 1.3.0 → 2.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: 16411e266310340f01ce2969fe9d097584a282a9c6df6e0f8bb3f61df9fffdfd
4
- data.tar.gz: 428339f6892a71a5ad06f5cfa07f6c6ddfb53307ddacbb3cc79c0752ea1e7bd1
3
+ metadata.gz: bca809089b00906a45624605c8ffd586d7ca042123c512c581faea2d81bf64a5
4
+ data.tar.gz: 67980414cc15a0f4c244fde38916b594e2dcded4bd8ae6bad2323e7f7a84263d
5
5
  SHA512:
6
- metadata.gz: 508a680c369550828783dafb68d11b2e5c460c07f4d0d30cbd8cd00c9983653cc9c071bd4496daed5e6423b15c460a10b82b17ec206d7c20903798dd4f3aaa35
7
- data.tar.gz: 960eb2bb893cba07d163aba1bb552d1657aa2c191f421709a8afe0c29b58edc372e0e2282fcf4bad74bd1ab3c6b6da915293fc842b078c094666fb52d243dd7c
6
+ metadata.gz: 8f8197ae795f282c5e95c37fd2a939a26bc006d9cd6de5240c641d281821fc710773a5102d09f59e9e39cccb5b87ae92bddd2bff5a70a06f2d96e53db481107e
7
+ data.tar.gz: 769244a0ad53abce98ec43964132ad3077060f31ede3847f06887bee94d0251e03910be06faec106469e640b799bc0d843641f3e153fbbd5cfed1e6165c8fa13
@@ -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)
@@ -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.0"
25
25
  end
26
26
  end
27
27
  end
@@ -409,6 +409,14 @@ module Google
409
409
  # @return [::Array<::String>]
410
410
  # An allowlist of the fully qualified names of RPCs that should be included
411
411
  # on public client surfaces.
412
+ # @!attribute [rw] generate_omitted_as_internal
413
+ # @return [::Boolean]
414
+ # Setting this to true indicates to the client generators that methods
415
+ # that would be excluded from the generation should instead be generated
416
+ # in a way that indicates these methods should not be consumed by
417
+ # end users. How this is expressed is up to individual language
418
+ # implementations to decide. Some examples may be: added annotations,
419
+ # obfuscated identifiers, or other language idiomatic patterns.
412
420
  class SelectiveGapicGeneration
413
421
  include ::Google::Protobuf::MessageExts
414
422
  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.0
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: 2025-02-07 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.3
123
123
  specification_version: 4
124
124
  summary: Personalized Service Health helps you gain visibility into disruptive events
125
125
  impacting Google Cloud products.