google-cloud-cloud_controls_partner-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 +4 -4
- data/lib/google/cloud/cloud_controls_partner/v1/cloud_controls_partner_core/client.rb +2 -2
- data/lib/google/cloud/cloud_controls_partner/v1/cloud_controls_partner_core/rest/client.rb +13 -7
- data/lib/google/cloud/cloud_controls_partner/v1/cloud_controls_partner_monitoring/client.rb +2 -2
- data/lib/google/cloud/cloud_controls_partner/v1/cloud_controls_partner_monitoring/rest/client.rb +5 -3
- data/lib/google/cloud/cloud_controls_partner/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +14 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49a186fc50b7bbd74b780d8ec996e23f4033a6edf2649a82dc8ca09df5bff757
|
4
|
+
data.tar.gz: 7b9dc0809ad1a390daf582075b348bea4b9e503af957b7d621841553db3f2056
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8abaf559ad18df2e128a29610f4c4a495dda043c7e7b41aed583586456711c4cd4e79b1d98d7e6489633db92b17b8e29341188da60a2e77c1f9534fc13d102d3
|
7
|
+
data.tar.gz: 71550ccd1a3d22dacfbe8db76e3de8c66a8ff480b4c81f13d5c0ffdb5d3b114f61c6de7994245ddc8e30e4f7c6d5f70380f2a884fb0ec3ca964a8c31868519a9
|
@@ -1066,8 +1066,8 @@ module Google
|
|
1066
1066
|
|
1067
1067
|
config_attr :endpoint, nil, ::String, nil
|
1068
1068
|
config_attr :credentials, nil do |value|
|
1069
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
1070
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
1069
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
1070
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
1071
1071
|
allowed.any? { |klass| klass === value }
|
1072
1072
|
end
|
1073
1073
|
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::V1::
|
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::
|
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::
|
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::
|
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::
|
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::
|
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)
|
@@ -986,7 +992,7 @@ module Google
|
|
986
992
|
|
987
993
|
config_attr :endpoint, nil, ::String, nil
|
988
994
|
config_attr :credentials, nil do |value|
|
989
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
995
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
990
996
|
allowed.any? { |klass| klass === value }
|
991
997
|
end
|
992
998
|
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
|
data/lib/google/cloud/cloud_controls_partner/v1/cloud_controls_partner_monitoring/rest/client.rb
CHANGED
@@ -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::
|
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::
|
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)
|
@@ -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
|
@@ -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-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
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:
|
10
|
+
date: 1980-01-02 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.
|
125
|
+
rubygems_version: 3.6.8
|
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.
|