google-cloud-org_policy-v2 1.2.0 → 1.3.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: d8ac1afe6dbbbf5abee8f24e9838b926ba8dde9a084ab2888baf33b51ca0aebb
4
- data.tar.gz: 5cb9ce3b24637737ddf15f331e558008ac4f08e222942706f3f5c0baec1d9c7c
3
+ metadata.gz: 1c6028a0bc5acaf6270724fa6cd21a5938a6ddfcd4f2b18da3489c9ac7ab6d54
4
+ data.tar.gz: f087c14b5eb2b91e567f0ee5f0f7e7b10e4a24dfc09d588e3e5ac70b670d0a29
5
5
  SHA512:
6
- metadata.gz: 31968787b5a67257c9edf692fb252e2846e6db613ae0303e1ee4f50f3c3c356e0a2e7fed850d7bc94eba3fd197fbd99d3afad552e985556423f38e8b78772874
7
- data.tar.gz: 5d20948ca6ae5d4dfe9881b8bae1bc16f3aa65279112cd19ce06076f6b424280aed8801cc2c4cd1e73e0036c9ec3549adc9a21a7940bad99d48dd23fc709280e
6
+ metadata.gz: e8335625ce1e1eac941066d6c06497e5588b693a2075fe86d296c768bf0bbcf6d97a432d3406756e513c1b03c98bbdb8b0a30ad757ed09f4e1c886e11a347aee
7
+ data.tar.gz: 718a5cd15e1f709df42bebfdbd087a7c857679fd4bd61707660fe2e45bfd0d638ea78a2b8d1413f3ff3d4d2fb30ef43ba470f20bf5582f56904b8e3045063ff7
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
@@ -1450,6 +1450,13 @@ module Google
1450
1450
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1451
1451
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1452
1452
  # * (`nil`) indicating no credentials
1453
+ #
1454
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1455
+ # external source for authentication to Google Cloud, you must validate it before
1456
+ # providing it to a Google API client library. Providing an unvalidated credential
1457
+ # configuration to Google APIs can compromise the security of your systems and data.
1458
+ # For more information, refer to [Validate credential configurations from external
1459
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1453
1460
  # @return [::Object]
1454
1461
  # @!attribute [rw] scope
1455
1462
  # The OAuth scopes
@@ -1357,6 +1357,13 @@ module Google
1357
1357
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1358
1358
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1359
1359
  # * (`nil`) indicating no credentials
1360
+ #
1361
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1362
+ # external source for authentication to Google Cloud, you must validate it before
1363
+ # providing it to a Google API client library. Providing an unvalidated credential
1364
+ # configuration to Google APIs can compromise the security of your systems and data.
1365
+ # For more information, refer to [Validate credential configurations from external
1366
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1360
1367
  # @return [::Object]
1361
1368
  # @!attribute [rw] scope
1362
1369
  # The OAuth scopes
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module OrgPolicy
23
23
  module V2
24
- VERSION = "1.2.0"
24
+ VERSION = "1.3.0"
25
25
  end
26
26
  end
27
27
  end
@@ -62,9 +62,13 @@ module Google
62
62
  # @!attribute [rw] list_constraint
63
63
  # @return [::Google::Cloud::OrgPolicy::V2::Constraint::ListConstraint]
64
64
  # Defines this constraint as being a ListConstraint.
65
+ #
66
+ # Note: The following fields are mutually exclusive: `list_constraint`, `boolean_constraint`. If a field in that set is populated, all other fields in the set will automatically be cleared.
65
67
  # @!attribute [rw] boolean_constraint
66
68
  # @return [::Google::Cloud::OrgPolicy::V2::Constraint::BooleanConstraint]
67
69
  # Defines this constraint as being a BooleanConstraint.
70
+ #
71
+ # Note: The following fields are mutually exclusive: `boolean_constraint`, `list_constraint`. If a field in that set is populated, all other fields in the set will automatically be cleared.
68
72
  # @!attribute [rw] supports_dry_run
69
73
  # @return [::Boolean]
70
74
  # Shows if dry run is supported for this constraint or not.
@@ -131,19 +131,27 @@ module Google
131
131
  # @return [::Google::Cloud::OrgPolicy::V2::PolicySpec::PolicyRule::StringValues]
132
132
  # List of values to be used for this policy rule. This field can be set
133
133
  # only in policies for list constraints.
134
+ #
135
+ # Note: The following fields are mutually exclusive: `values`, `allow_all`, `deny_all`, `enforce`. If a field in that set is populated, all other fields in the set will automatically be cleared.
134
136
  # @!attribute [rw] allow_all
135
137
  # @return [::Boolean]
136
138
  # Setting this to true means that all values are allowed. This field can
137
139
  # be set only in policies for list constraints.
140
+ #
141
+ # Note: The following fields are mutually exclusive: `allow_all`, `values`, `deny_all`, `enforce`. If a field in that set is populated, all other fields in the set will automatically be cleared.
138
142
  # @!attribute [rw] deny_all
139
143
  # @return [::Boolean]
140
144
  # Setting this to true means that all values are denied. This field can
141
145
  # be set only in policies for list constraints.
146
+ #
147
+ # Note: The following fields are mutually exclusive: `deny_all`, `values`, `allow_all`, `enforce`. If a field in that set is populated, all other fields in the set will automatically be cleared.
142
148
  # @!attribute [rw] enforce
143
149
  # @return [::Boolean]
144
150
  # If `true`, then the policy is enforced. If `false`, then any
145
151
  # configuration is acceptable.
146
152
  # This field can be set only in policies for boolean constraints.
153
+ #
154
+ # Note: The following fields are mutually exclusive: `enforce`, `values`, `allow_all`, `deny_all`. If a field in that set is populated, all other fields in the set will automatically be cleared.
147
155
  # @!attribute [rw] condition
148
156
  # @return [::Google::Type::Expr]
149
157
  # A condition which determines whether this rule is used
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-org_policy-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.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-01-29 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
@@ -88,7 +87,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
88
87
  licenses:
89
88
  - Apache-2.0
90
89
  metadata: {}
91
- post_install_message:
92
90
  rdoc_options: []
93
91
  require_paths:
94
92
  - lib
@@ -96,15 +94,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
96
94
  requirements:
97
95
  - - ">="
98
96
  - !ruby/object:Gem::Version
99
- version: '2.7'
97
+ version: '3.0'
100
98
  required_rubygems_version: !ruby/object:Gem::Requirement
101
99
  requirements:
102
100
  - - ">="
103
101
  - !ruby/object:Gem::Version
104
102
  version: '0'
105
103
  requirements: []
106
- rubygems_version: 3.5.23
107
- signing_key:
104
+ rubygems_version: 3.6.2
108
105
  specification_version: 4
109
106
  summary: The Organization Policy API allows users to configure governance rules on
110
107
  their Google Cloud resources across the resource hierarchy.