google-cloud-assured_workloads-v1beta1 0.19.0 → 0.20.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: 1c6557da7ebb6c73971fc61b051889829df1555ed40b218373cdf9d4cd3a3fe3
4
- data.tar.gz: 157743a4361d55d7697d895a034fc9b08a52487080b4384dfcfc3749268945a5
3
+ metadata.gz: 4ad800008b0989435c18720f51e89e8ada89be201dc21b4b40d86f1f9892cb87
4
+ data.tar.gz: 5dd0d42fcc03330c6dc3154731cf926742bf9e7b5543de31e4acfc5157a88c2f
5
5
  SHA512:
6
- metadata.gz: a8782cdab5a45f83e483be5ed86e72915795e5abefaa553d2222f3ff5244071a69b00135da8113a194fef02f4335b220c69b5dc180dc16964b96ee2558f59227
7
- data.tar.gz: 004ccf77acff868cc94d6eea1c6448b9d746b153b0902ca603c04c308174b4bdce73c6ed39495e52169a25138ddeeea13ded5a8b1688a2afe5ce4727b4d1ac9f
6
+ metadata.gz: b3a302df32b1b49ce4fc2e9a4e4d3cc009b83ddeb0bd3a7501da224182880aae75bbf8da99c289472970ad87211aeed246bd01dda3a2bf1f767f4b73e1d47ab8
7
+ data.tar.gz: c41d57fdb41bf19f7e13e2d8944c6c2c796946938e7127123355fefdf89e2a7920624b5139293967491e88fd80d27be6e6eb776ad414ae517ae6b61b8631036b
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
@@ -705,6 +705,8 @@ module Google
705
705
  # "organizations/\\{ORGANIZATION_ID}/locations/\\{LOCATION_ID}/workloads/\\{WORKLOAD_ID}"
706
706
  # For example:
707
707
  # "organizations/123/locations/us-east1/workloads/assured-workload-1"
708
+ #
709
+ # Note: The following fields are mutually exclusive: `source`, `project`. If a field in that set is populated, all other fields in the set will automatically be cleared.
708
710
  # @param project [::String]
709
711
  # The source type is a project. Specify the project's relative resource
710
712
  # name, formatted as either a project number or a project ID:
@@ -712,6 +714,8 @@ module Google
712
714
  # For example:
713
715
  # "projects/951040570662" when specifying a project number, or
714
716
  # "projects/my-project-123" when specifying a project ID.
717
+ #
718
+ # Note: The following fields are mutually exclusive: `project`, `source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
715
719
  # @param target [::String]
716
720
  # Required. The resource ID of the folder-based destination workload. This workload is
717
721
  # where the source project will hypothetically be moved to. Specify the
@@ -913,6 +917,13 @@ module Google
913
917
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
914
918
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
915
919
  # * (`nil`) indicating no credentials
920
+ #
921
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
922
+ # external source for authentication to Google Cloud, you must validate it before
923
+ # providing it to a Google API client library. Providing an unvalidated credential
924
+ # configuration to Google APIs can compromise the security of your systems and data.
925
+ # For more information, refer to [Validate credential configurations from external
926
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
916
927
  # @return [::Object]
917
928
  # @!attribute [rw] scope
918
929
  # The OAuth scopes
@@ -967,8 +978,8 @@ module Google
967
978
 
968
979
  config_attr :endpoint, nil, ::String, nil
969
980
  config_attr :credentials, nil do |value|
970
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
971
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
981
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
982
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
972
983
  allowed.any? { |klass| klass === value }
973
984
  end
974
985
  config_attr :scope, nil, ::String, ::Array, nil
@@ -640,6 +640,13 @@ module Google
640
640
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
641
641
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
642
642
  # * (`nil`) indicating no credentials
643
+ #
644
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
645
+ # external source for authentication to Google Cloud, you must validate it before
646
+ # providing it to a Google API client library. Providing an unvalidated credential
647
+ # configuration to Google APIs can compromise the security of your systems and data.
648
+ # For more information, refer to [Validate credential configurations from external
649
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
643
650
  # @return [::Object]
644
651
  # @!attribute [rw] scope
645
652
  # The OAuth scopes
@@ -694,8 +701,8 @@ module Google
694
701
 
695
702
  config_attr :endpoint, nil, ::String, nil
696
703
  config_attr :credentials, nil do |value|
697
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
698
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
704
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
705
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
699
706
  allowed.any? { |klass| klass === value }
700
707
  end
701
708
  config_attr :scope, nil, ::String, ::Array, nil
@@ -511,6 +511,13 @@ module Google
511
511
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
512
512
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
513
513
  # * (`nil`) indicating no credentials
514
+ #
515
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
516
+ # external source for authentication to Google Cloud, you must validate it before
517
+ # providing it to a Google API client library. Providing an unvalidated credential
518
+ # configuration to Google APIs can compromise the security of your systems and data.
519
+ # For more information, refer to [Validate credential configurations from external
520
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
514
521
  # @return [::Object]
515
522
  # @!attribute [rw] scope
516
523
  # The OAuth scopes
@@ -558,7 +565,7 @@ module Google
558
565
 
559
566
  config_attr :endpoint, nil, ::String, nil
560
567
  config_attr :credentials, nil do |value|
561
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
568
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
562
569
  allowed.any? { |klass| klass === value }
563
570
  end
564
571
  config_attr :scope, nil, ::String, ::Array, nil
@@ -502,6 +502,13 @@ module Google
502
502
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
503
503
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
504
504
  # * (`nil`) indicating no credentials
505
+ #
506
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
507
+ # external source for authentication to Google Cloud, you must validate it before
508
+ # providing it to a Google API client library. Providing an unvalidated credential
509
+ # configuration to Google APIs can compromise the security of your systems and data.
510
+ # For more information, refer to [Validate credential configurations from external
511
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
505
512
  # @return [::Object]
506
513
  # @!attribute [rw] scope
507
514
  # The OAuth scopes
@@ -549,7 +556,7 @@ module Google
549
556
 
550
557
  config_attr :endpoint, nil, ::String, nil
551
558
  config_attr :credentials, nil do |value|
552
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
559
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
553
560
  allowed.any? { |klass| klass === value }
554
561
  end
555
562
  config_attr :scope, nil, ::String, ::Array, nil
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module AssuredWorkloads
23
23
  module V1beta1
24
- VERSION = "0.19.0"
24
+ VERSION = "0.20.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
@@ -130,6 +130,8 @@ module Google
130
130
  # "organizations/\\{ORGANIZATION_ID}/locations/\\{LOCATION_ID}/workloads/\\{WORKLOAD_ID}"
131
131
  # For example:
132
132
  # "organizations/123/locations/us-east1/workloads/assured-workload-1"
133
+ #
134
+ # Note: The following fields are mutually exclusive: `source`, `project`. If a field in that set is populated, all other fields in the set will automatically be cleared.
133
135
  # @!attribute [rw] project
134
136
  # @return [::String]
135
137
  # The source type is a project. Specify the project's relative resource
@@ -138,6 +140,8 @@ module Google
138
140
  # For example:
139
141
  # "projects/951040570662" when specifying a project number, or
140
142
  # "projects/my-project-123" when specifying a project ID.
143
+ #
144
+ # Note: The following fields are mutually exclusive: `project`, `source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
141
145
  # @!attribute [rw] target
142
146
  # @return [::String]
143
147
  # Required. The resource ID of the folder-based destination workload. This workload is
@@ -238,18 +242,26 @@ module Google
238
242
  # @deprecated This field is deprecated and may be removed in the next major version update.
239
243
  # @return [::Google::Cloud::AssuredWorkloads::V1beta1::Workload::IL4Settings]
240
244
  # Input only. Immutable. Settings specific to resources needed for IL4.
245
+ #
246
+ # Note: The following fields are mutually exclusive: `il4_settings`, `cjis_settings`, `fedramp_high_settings`, `fedramp_moderate_settings`. If a field in that set is populated, all other fields in the set will automatically be cleared.
241
247
  # @!attribute [rw] cjis_settings
242
248
  # @deprecated This field is deprecated and may be removed in the next major version update.
243
249
  # @return [::Google::Cloud::AssuredWorkloads::V1beta1::Workload::CJISSettings]
244
250
  # Input only. Immutable. Settings specific to resources needed for CJIS.
251
+ #
252
+ # Note: The following fields are mutually exclusive: `cjis_settings`, `il4_settings`, `fedramp_high_settings`, `fedramp_moderate_settings`. If a field in that set is populated, all other fields in the set will automatically be cleared.
245
253
  # @!attribute [rw] fedramp_high_settings
246
254
  # @deprecated This field is deprecated and may be removed in the next major version update.
247
255
  # @return [::Google::Cloud::AssuredWorkloads::V1beta1::Workload::FedrampHighSettings]
248
256
  # Input only. Immutable. Settings specific to resources needed for FedRAMP High.
257
+ #
258
+ # Note: The following fields are mutually exclusive: `fedramp_high_settings`, `il4_settings`, `cjis_settings`, `fedramp_moderate_settings`. If a field in that set is populated, all other fields in the set will automatically be cleared.
249
259
  # @!attribute [rw] fedramp_moderate_settings
250
260
  # @deprecated This field is deprecated and may be removed in the next major version update.
251
261
  # @return [::Google::Cloud::AssuredWorkloads::V1beta1::Workload::FedrampModerateSettings]
252
262
  # Input only. Immutable. Settings specific to resources needed for FedRAMP Moderate.
263
+ #
264
+ # Note: The following fields are mutually exclusive: `fedramp_moderate_settings`, `il4_settings`, `cjis_settings`, `fedramp_high_settings`. If a field in that set is populated, all other fields in the set will automatically be cleared.
253
265
  # @!attribute [rw] etag
254
266
  # @return [::String]
255
267
  # Optional. ETag of the workload, it is calculated on the basis
@@ -40,6 +40,8 @@ module Google
40
40
  # @!attribute [rw] error
41
41
  # @return [::Google::Rpc::Status]
42
42
  # The error result of the operation in case of failure or cancellation.
43
+ #
44
+ # Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
43
45
  # @!attribute [rw] response
44
46
  # @return [::Google::Protobuf::Any]
45
47
  # The normal, successful response of the operation. If the original
@@ -50,6 +52,8 @@ module Google
50
52
  # is the original method name. For example, if the original method name
51
53
  # is `TakeSnapshot()`, the inferred response type is
52
54
  # `TakeSnapshotResponse`.
55
+ #
56
+ # Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
53
57
  class Operation
54
58
  include ::Google::Protobuf::MessageExts
55
59
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-assured_workloads-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0
4
+ version: 0.20.1
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: 1980-01-02 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
@@ -91,7 +90,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
91
90
  licenses:
92
91
  - Apache-2.0
93
92
  metadata: {}
94
- post_install_message:
95
93
  rdoc_options: []
96
94
  require_paths:
97
95
  - lib
@@ -99,15 +97,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
99
97
  requirements:
100
98
  - - ">="
101
99
  - !ruby/object:Gem::Version
102
- version: '2.7'
100
+ version: '3.0'
103
101
  required_rubygems_version: !ruby/object:Gem::Requirement
104
102
  requirements:
105
103
  - - ">="
106
104
  - !ruby/object:Gem::Version
107
105
  version: '0'
108
106
  requirements: []
109
- rubygems_version: 3.5.23
110
- signing_key:
107
+ rubygems_version: 3.6.8
111
108
  specification_version: 4
112
109
  summary: API Client library for the Assured Workloads for Government V1beta1 API
113
110
  test_files: []