google-cloud-org_policy-v2 1.2.0 → 1.3.0
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/README.md +1 -1
- data/lib/google/cloud/org_policy/v2/org_policy/client.rb +7 -0
- data/lib/google/cloud/org_policy/v2/org_policy/rest/client.rb +7 -0
- data/lib/google/cloud/org_policy/v2/version.rb +1 -1
- data/proto_docs/google/cloud/orgpolicy/v2/constraint.rb +4 -0
- data/proto_docs/google/cloud/orgpolicy/v2/orgpolicy.rb +8 -0
- metadata +6 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c6028a0bc5acaf6270724fa6cd21a5938a6ddfcd4f2b18da3489c9ac7ab6d54
|
4
|
+
data.tar.gz: f087c14b5eb2b91e567f0ee5f0f7e7b10e4a24dfc09d588e3e5ac70b670d0a29
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
|
@@ -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.
|
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:
|
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.
|
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.
|
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: '
|
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.
|
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.
|