google-cloud-cloud_controls_partner-v1beta 0.4.0 → 0.5.0

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: d81a5677d3306660124bf1c10835833a227072ef90f01e2e3aa8af63844e5abe
4
- data.tar.gz: d65fee438acbf5d756b6c7be91e92477673c54cb15149b645d87c1cc0bf92950
3
+ metadata.gz: 936f80768e241d6423e8d421ef81ce2ff320045339fdcbda5146ab6b5785efb7
4
+ data.tar.gz: 7726184b874fb67d2defbc7f76edae48172c69a99ad8d3c175e8ea4e2bd8c4fd
5
5
  SHA512:
6
- metadata.gz: 26ecfe3d416a5bc324f082bca933d3d4164be1e28070cc7ca07249f73854e76e375cbe5b397a8eee054dec93dce20098f93d7bf8377cbd8e5a2d8652740c5aa4
7
- data.tar.gz: fe8fe3f5cfef46d66091fd50d5bc295fba4080ad07ec8e4c558459cc364c48c987c0262130ada0602e3eb7d68f8569291e1580718dd7e61efdaea767fd8d0cad
6
+ metadata.gz: 875aa58cede229aed7a8f77b0dfb0068eee3b1a8e7b7a925e4e45688b39cb89bd9d77cc5d44bdaf1028068c900bdf24998f61e8c2f45ea740383948dd93bba01
7
+ data.tar.gz: a116ae86019ab582ad9f161fc0d1540c1ac1d64f49cfc8bed23f4b980941ba8532e36a646e15a8b4d783ca1e37009eb09f0d69e6efd4a92654631a199b432e96
@@ -323,10 +323,10 @@ module Google
323
323
  # @param order_by [::String]
324
324
  # Optional. Hint for how to order the results.
325
325
  # @yield [result, operation] Access the result along with the TransportOperation object
326
- # @yieldparam result [::Google::Cloud::CloudControlsPartner::V1beta::ListWorkloadsResponse]
326
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::CloudControlsPartner::V1beta::Workload>]
327
327
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
328
328
  #
329
- # @return [::Google::Cloud::CloudControlsPartner::V1beta::ListWorkloadsResponse]
329
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::CloudControlsPartner::V1beta::Workload>]
330
330
  #
331
331
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
332
332
  #
@@ -378,7 +378,9 @@ module Google
378
378
  retry_policy: @config.retry_policy
379
379
 
380
380
  @cloud_controls_partner_core_stub.list_workloads request, options do |result, operation|
381
+ result = ::Gapic::Rest::PagedEnumerable.new @cloud_controls_partner_core_stub, :list_workloads, "workloads", request, result, options
381
382
  yield result, operation if block_given?
383
+ throw :response, result
382
384
  end
383
385
  rescue ::Gapic::Rest::Error => e
384
386
  raise ::Google::Cloud::Error.from_error(e)
@@ -495,10 +497,10 @@ module Google
495
497
  # @param order_by [::String]
496
498
  # Optional. Hint for how to order the results
497
499
  # @yield [result, operation] Access the result along with the TransportOperation object
498
- # @yieldparam result [::Google::Cloud::CloudControlsPartner::V1beta::ListCustomersResponse]
500
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::CloudControlsPartner::V1beta::Customer>]
499
501
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
500
502
  #
501
- # @return [::Google::Cloud::CloudControlsPartner::V1beta::ListCustomersResponse]
503
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::CloudControlsPartner::V1beta::Customer>]
502
504
  #
503
505
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
504
506
  #
@@ -550,7 +552,9 @@ module Google
550
552
  retry_policy: @config.retry_policy
551
553
 
552
554
  @cloud_controls_partner_core_stub.list_customers request, options do |result, operation|
555
+ result = ::Gapic::Rest::PagedEnumerable.new @cloud_controls_partner_core_stub, :list_customers, "customers", request, result, options
553
556
  yield result, operation if block_given?
557
+ throw :response, result
554
558
  end
555
559
  rescue ::Gapic::Rest::Error => e
556
560
  raise ::Google::Cloud::Error.from_error(e)
@@ -750,10 +754,10 @@ module Google
750
754
  # @param order_by [::String]
751
755
  # Optional. Hint for how to order the results.
752
756
  # @yield [result, operation] Access the result along with the TransportOperation object
753
- # @yieldparam result [::Google::Cloud::CloudControlsPartner::V1beta::ListAccessApprovalRequestsResponse]
757
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::CloudControlsPartner::V1beta::AccessApprovalRequest>]
754
758
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
755
759
  #
756
- # @return [::Google::Cloud::CloudControlsPartner::V1beta::ListAccessApprovalRequestsResponse]
760
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::CloudControlsPartner::V1beta::AccessApprovalRequest>]
757
761
  #
758
762
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
759
763
  #
@@ -805,7 +809,9 @@ module Google
805
809
  retry_policy: @config.retry_policy
806
810
 
807
811
  @cloud_controls_partner_core_stub.list_access_approval_requests request, options do |result, operation|
812
+ result = ::Gapic::Rest::PagedEnumerable.new @cloud_controls_partner_core_stub, :list_access_approval_requests, "access_approval_requests", request, result, options
808
813
  yield result, operation if block_given?
814
+ throw :response, result
809
815
  end
810
816
  rescue ::Gapic::Rest::Error => e
811
817
  raise ::Google::Cloud::Error.from_error(e)
@@ -229,10 +229,10 @@ module Google
229
229
  # Optional. Specifies the interval for retrieving violations.
230
230
  # if unspecified, all violations will be returned.
231
231
  # @yield [result, operation] Access the result along with the TransportOperation object
232
- # @yieldparam result [::Google::Cloud::CloudControlsPartner::V1beta::ListViolationsResponse]
232
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::CloudControlsPartner::V1beta::Violation>]
233
233
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
234
234
  #
235
- # @return [::Google::Cloud::CloudControlsPartner::V1beta::ListViolationsResponse]
235
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::CloudControlsPartner::V1beta::Violation>]
236
236
  #
237
237
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
238
238
  #
@@ -284,7 +284,9 @@ module Google
284
284
  retry_policy: @config.retry_policy
285
285
 
286
286
  @cloud_controls_partner_monitoring_stub.list_violations request, options do |result, operation|
287
+ result = ::Gapic::Rest::PagedEnumerable.new @cloud_controls_partner_monitoring_stub, :list_violations, "violations", request, result, options
287
288
  yield result, operation if block_given?
289
+ throw :response, result
288
290
  end
289
291
  rescue ::Gapic::Rest::Error => e
290
292
  raise ::Google::Cloud::Error.from_error(e)
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module CloudControlsPartner
23
23
  module V1beta
24
- VERSION = "0.4.0"
24
+ VERSION = "0.5.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-cloud_controls_partner-v1beta
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
  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
@@ -124,7 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
124
124
  - !ruby/object:Gem::Version
125
125
  version: '0'
126
126
  requirements: []
127
- rubygems_version: 3.6.2
127
+ rubygems_version: 3.6.3
128
128
  specification_version: 4
129
129
  summary: Provides insights about your customers and their Assured Workloads based
130
130
  on your Sovereign Controls by Partners offering.