google-cloud-cloud_controls_partner-v1beta 0.4.0 → 0.5.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: d81a5677d3306660124bf1c10835833a227072ef90f01e2e3aa8af63844e5abe
4
- data.tar.gz: d65fee438acbf5d756b6c7be91e92477673c54cb15149b645d87c1cc0bf92950
3
+ metadata.gz: 925b69c366062c6c773f1b3d4e92e82c19a06a5f58a7029e7e8c38fa6fae0676
4
+ data.tar.gz: cb88259220d3baeb64e4b26c1c907286908c458a6d6fd699a3769da266edb61c
5
5
  SHA512:
6
- metadata.gz: 26ecfe3d416a5bc324f082bca933d3d4164be1e28070cc7ca07249f73854e76e375cbe5b397a8eee054dec93dce20098f93d7bf8377cbd8e5a2d8652740c5aa4
7
- data.tar.gz: fe8fe3f5cfef46d66091fd50d5bc295fba4080ad07ec8e4c558459cc364c48c987c0262130ada0602e3eb7d68f8569291e1580718dd7e61efdaea767fd8d0cad
6
+ metadata.gz: 3cca9085262093f468a9e4e4bce78e19ec3b4a1d4723f25429ae91d566d67f633030d197cd78dd80a55e5039b3f0e90180431a134ee8c1cc4840427be29f9cab
7
+ data.tar.gz: d409998d89cfea26a28653a1c3bc9bf1215a2600fbb14e5210332148577d58d74ec664d3e762977b9d5fd30d06f62a083eab818b54930a1825dba64f94a02970
@@ -1333,8 +1333,8 @@ module Google
1333
1333
 
1334
1334
  config_attr :endpoint, nil, ::String, nil
1335
1335
  config_attr :credentials, nil do |value|
1336
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1337
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
1336
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1337
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
1338
1338
  allowed.any? { |klass| klass === value }
1339
1339
  end
1340
1340
  config_attr :scope, nil, ::String, ::Array, nil
@@ -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)
@@ -1232,7 +1238,7 @@ module Google
1232
1238
 
1233
1239
  config_attr :endpoint, nil, ::String, nil
1234
1240
  config_attr :credentials, nil do |value|
1235
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1241
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1236
1242
  allowed.any? { |klass| klass === value }
1237
1243
  end
1238
1244
  config_attr :scope, nil, ::String, ::Array, nil
@@ -497,8 +497,8 @@ module Google
497
497
 
498
498
  config_attr :endpoint, nil, ::String, nil
499
499
  config_attr :credentials, nil do |value|
500
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
501
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
500
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
501
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
502
502
  allowed.any? { |klass| klass === value }
503
503
  end
504
504
  config_attr :scope, nil, ::String, ::Array, nil
@@ -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)
@@ -465,7 +467,7 @@ module Google
465
467
 
466
468
  config_attr :endpoint, nil, ::String, nil
467
469
  config_attr :credentials, nil do |value|
468
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
470
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
469
471
  allowed.any? { |klass| klass === value }
470
472
  end
471
473
  config_attr :scope, nil, ::String, ::Array, nil
@@ -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.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-cloud_controls_partner-v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.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
@@ -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.8
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.