google-cloud-cloud_controls_partner-v1 1.2.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: 7fb9c2dafdf467f747311bea04dc53c7c849090b5d41c95ad44a244df160da3a
4
- data.tar.gz: 825174d196114870447bf8061a22485ba0c7e71fb29f5fa61a5807034e86b647
3
+ metadata.gz: 0ba98fbc0fe33e69ee1c3b01b5d346234648fa05d8f87a9faac70de6042ae41e
4
+ data.tar.gz: 6eeebedc5e6e9c0cffa2e7dfe59cd28eaa1fbcf4ed897af0525051729391d719
5
5
  SHA512:
6
- metadata.gz: 71240c2c5fe13e5f6682ab01880823f5e9b350893aa4badf9767c499d42d3cd07f3e616df1bc63c553b03d91c08d3d60e79679381eb8cc0ea061a4fbaa438aa3
7
- data.tar.gz: b69e57dcf1234435290d322071817751c037f0eb7b65f992af4a50201d2d7094ddbfc8331a3c2621f88db053703d5daf177809276e3e8cc6ef2ee10d40d48cda
6
+ metadata.gz: 5e72de5ec305121e4d1733c0e88845f43d40903a7f04a842021c5943bbb6f9c8a78ae3dab6ee98ec9387fec78ccdf8e2f5bb792c684c3e2de375a8ed9e644d48
7
+ data.tar.gz: 2d913576708ea2e25162b97161b7fee215c664cc09ab065922fac9c1e1629bdb3f971f397ac9e488b8bb1f72e7502044f2ad6198fbb700858479f7f23e3d2f4c
data/README.md CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
86
86
 
87
87
  ## Supported Ruby Versions
88
88
 
89
- This library is supported on Ruby 2.7+.
89
+ This library is supported on Ruby 3.0+.
90
90
 
91
91
  Google provides official support for Ruby versions that are actively supported
92
92
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -1005,6 +1005,13 @@ module Google
1005
1005
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1006
1006
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1007
1007
  # * (`nil`) indicating no credentials
1008
+ #
1009
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1010
+ # external source for authentication to Google Cloud, you must validate it before
1011
+ # providing it to a Google API client library. Providing an unvalidated credential
1012
+ # configuration to Google APIs can compromise the security of your systems and data.
1013
+ # For more information, refer to [Validate credential configurations from external
1014
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1008
1015
  # @return [::Object]
1009
1016
  # @!attribute [rw] scope
1010
1017
  # The OAuth scopes
@@ -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)
@@ -932,6 +938,13 @@ module Google
932
938
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
933
939
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
934
940
  # * (`nil`) indicating no credentials
941
+ #
942
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
943
+ # external source for authentication to Google Cloud, you must validate it before
944
+ # providing it to a Google API client library. Providing an unvalidated credential
945
+ # configuration to Google APIs can compromise the security of your systems and data.
946
+ # For more information, refer to [Validate credential configurations from external
947
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
935
948
  # @return [::Object]
936
949
  # @!attribute [rw] scope
937
950
  # The OAuth scopes
@@ -436,6 +436,13 @@ module Google
436
436
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
437
437
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
438
438
  # * (`nil`) indicating no credentials
439
+ #
440
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
441
+ # external source for authentication to Google Cloud, you must validate it before
442
+ # providing it to a Google API client library. Providing an unvalidated credential
443
+ # configuration to Google APIs can compromise the security of your systems and data.
444
+ # For more information, refer to [Validate credential configurations from external
445
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
439
446
  # @return [::Object]
440
447
  # @!attribute [rw] scope
441
448
  # The OAuth scopes
@@ -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)
@@ -411,6 +413,13 @@ module Google
411
413
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
412
414
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
413
415
  # * (`nil`) indicating no credentials
416
+ #
417
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
418
+ # external source for authentication to Google Cloud, you must validate it before
419
+ # providing it to a Google API client library. Providing an unvalidated credential
420
+ # configuration to Google APIs can compromise the security of your systems and data.
421
+ # For more information, refer to [Validate credential configurations from external
422
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
414
423
  # @return [::Object]
415
424
  # @!attribute [rw] scope
416
425
  # The OAuth scopes
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module CloudControlsPartner
23
23
  module V1
24
- VERSION = "1.2.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,14 +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.2.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-10 00:00:00.000000000 Z
10
+ date: 2025-02-07 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: gapic-common
@@ -16,7 +15,7 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: 0.24.0
18
+ version: 0.25.0
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
21
  version: 2.a
@@ -26,7 +25,7 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- version: 0.24.0
28
+ version: 0.25.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -109,7 +108,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
109
108
  licenses:
110
109
  - Apache-2.0
111
110
  metadata: {}
112
- post_install_message:
113
111
  rdoc_options: []
114
112
  require_paths:
115
113
  - lib
@@ -117,15 +115,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
117
115
  requirements:
118
116
  - - ">="
119
117
  - !ruby/object:Gem::Version
120
- version: '2.7'
118
+ version: '3.0'
121
119
  required_rubygems_version: !ruby/object:Gem::Requirement
122
120
  requirements:
123
121
  - - ">="
124
122
  - !ruby/object:Gem::Version
125
123
  version: '0'
126
124
  requirements: []
127
- rubygems_version: 3.5.23
128
- signing_key:
125
+ rubygems_version: 3.6.3
129
126
  specification_version: 4
130
127
  summary: Provides insights about your customers and their Assured Workloads based
131
128
  on your Sovereign Controls by Partners offering.