google-cloud-cloud_controls_partner-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: 45883390e3818578e9725b1dd570746043db89f2ae25b0b748849e80c25efdcd
4
- data.tar.gz: 299600c1104ed382732c0fa771351280c2dfae5eeecdc787a6cff60bf69548ac
3
+ metadata.gz: 0ba98fbc0fe33e69ee1c3b01b5d346234648fa05d8f87a9faac70de6042ae41e
4
+ data.tar.gz: 6eeebedc5e6e9c0cffa2e7dfe59cd28eaa1fbcf4ed897af0525051729391d719
5
5
  SHA512:
6
- metadata.gz: 07ec2ce17fe3b238833186a2e2fb87a2aaf25ce5864b397a299383c1d401607030db66218928e2fd14294aa217c271716af711f9ad997d61657d776336da8ac7
7
- data.tar.gz: 8bf9fc4d2b4b4d584c0d217dfb47005651130a1c4793694adf22cf38ed3fa7dbbcff3b67109b8688b6db0cb50bb25ef84a8d3b5491cc21b3159626c2c03ac01a
6
+ metadata.gz: 5e72de5ec305121e4d1733c0e88845f43d40903a7f04a842021c5943bbb6f9c8a78ae3dab6ee98ec9387fec78ccdf8e2f5bb792c684c3e2de375a8ed9e644d48
7
+ data.tar.gz: 2d913576708ea2e25162b97161b7fee215c664cc09ab065922fac9c1e1629bdb3f971f397ac9e488b8bb1f72e7502044f2ad6198fbb700858479f7f23e3d2f4c
@@ -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::V1::ListWorkloadsResponse]
326
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::CloudControlsPartner::V1::Workload>]
327
327
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
328
328
  #
329
- # @return [::Google::Cloud::CloudControlsPartner::V1::ListWorkloadsResponse]
329
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::CloudControlsPartner::V1::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::V1::ListCustomersResponse]
500
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::CloudControlsPartner::V1::Customer>]
499
501
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
500
502
  #
501
- # @return [::Google::Cloud::CloudControlsPartner::V1::ListCustomersResponse]
503
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::CloudControlsPartner::V1::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::V1::ListAccessApprovalRequestsResponse]
757
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::CloudControlsPartner::V1::AccessApprovalRequest>]
754
758
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
755
759
  #
756
- # @return [::Google::Cloud::CloudControlsPartner::V1::ListAccessApprovalRequestsResponse]
760
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::CloudControlsPartner::V1::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::V1::ListViolationsResponse]
232
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::CloudControlsPartner::V1::Violation>]
233
233
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
234
234
  #
235
- # @return [::Google::Cloud::CloudControlsPartner::V1::ListViolationsResponse]
235
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::CloudControlsPartner::V1::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 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-cloud_controls_partner-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
@@ -122,7 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
122
122
  - !ruby/object:Gem::Version
123
123
  version: '0'
124
124
  requirements: []
125
- rubygems_version: 3.6.2
125
+ rubygems_version: 3.6.3
126
126
  specification_version: 4
127
127
  summary: Provides insights about your customers and their Assured Workloads based
128
128
  on your Sovereign Controls by Partners offering.