google-cloud-org_policy-v2 0.2.5 → 0.2.6
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be2800365a3c71827c305a5c1599a5ebee221e1fd86a3cc63a4a617ca6df38ca
|
4
|
+
data.tar.gz: 7361703073bea9cf27615c3dee2cf42f773ccdf6893bdbb23421a1687d1f003b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff3e41c8c65b162466dddf11966486ac28c8a60e9787ef03ef16fdd4845efed07ecc3ee65cee5f61c0a8b834833f64a0e12077370306e509cfa7810b1c0e87f1
|
7
|
+
data.tar.gz: 501c207d22d3e927350c1f10d7b04037abf4a7021ffda5a30deec407089d74b54835cdef691dc1a273ede7bb5b608a9c9dacb7a62f5f7e59a3ce9df296d6dce0
|
data/README.md
CHANGED
@@ -37,7 +37,7 @@ request = ::Google::Cloud::OrgPolicy::V2::ListConstraintsRequest.new # (request
|
|
37
37
|
response = client.list_constraints request
|
38
38
|
```
|
39
39
|
|
40
|
-
View the [Client Library Documentation](https://
|
40
|
+
View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-org_policy-v2/latest)
|
41
41
|
for class and method documentation.
|
42
42
|
|
43
43
|
See also the [Product Documentation](https://cloud.google.com/resource-manager/docs/organization-policy/overview)
|
@@ -25,11 +25,11 @@ module Google
|
|
25
25
|
# example, you could enforce a constraint that controls which cloud services
|
26
26
|
# can be activated across an organization, or whether a Compute Engine instance
|
27
27
|
# can have serial port connections established. `Constraints` can be configured
|
28
|
-
# by the organization's policy
|
29
|
-
# by setting a `policy` that includes `constraints` at different
|
30
|
-
# the organization's resource hierarchy. Policies are inherited
|
31
|
-
# resource hierarchy from higher levels, but can also be overridden.
|
32
|
-
# details about the inheritance rules please read about
|
28
|
+
# by the organization's policy administrator to fit the needs of the
|
29
|
+
# organization by setting a `policy` that includes `constraints` at different
|
30
|
+
# locations in the organization's resource hierarchy. Policies are inherited
|
31
|
+
# down the resource hierarchy from higher levels, but can also be overridden.
|
32
|
+
# For details about the inheritance rules please read about
|
33
33
|
# [`policies`][google.cloud.OrgPolicy.v2.Policy].
|
34
34
|
#
|
35
35
|
# `Constraints` have a default behavior determined by the `constraint_default`
|
@@ -42,10 +42,7 @@ module Google
|
|
42
42
|
# Basic information about the Organization Policy.
|
43
43
|
# @!attribute [rw] alternate
|
44
44
|
# @return [::Google::Cloud::OrgPolicy::V2::AlternatePolicySpec]
|
45
|
-
#
|
46
|
-
# policy configurations as determined by the launch.
|
47
|
-
# Currently the only way the launch can trigger the alternate configuration
|
48
|
-
# is via dry-run/darklaunch.
|
45
|
+
# Deprecated.
|
49
46
|
class Policy
|
50
47
|
include ::Google::Protobuf::MessageExts
|
51
48
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -141,11 +138,14 @@ module Google
|
|
141
138
|
# in the evaluation of the policy. When set, the `expression` field in
|
142
139
|
# the `Expr' must include from 1 to 10 subexpressions, joined by the "||"
|
143
140
|
# or "&&" operators. Each subexpression must be of the form
|
144
|
-
# "resource.
|
145
|
-
#
|
146
|
-
#
|
147
|
-
#
|
148
|
-
#
|
141
|
+
# "resource.matchTag('<ORG_ID>/tag_key_short_name,
|
142
|
+
# 'tag_value_short_name')". or "resource.matchTagId('tagKeys/key_id',
|
143
|
+
# 'tagValues/value_id')". where key_name and value_name are the resource
|
144
|
+
# names for Label Keys and Values. These names are available from the Tag
|
145
|
+
# Manager Service. An example expression is:
|
146
|
+
# "resource.matchTag('123456789/environment,
|
147
|
+
# 'prod')". or "resource.matchTagId('tagKeys/123',
|
148
|
+
# 'tagValues/456')".
|
149
149
|
class PolicyRule
|
150
150
|
include ::Google::Protobuf::MessageExts
|
151
151
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-org_policy-v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-02-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -207,7 +207,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
207
207
|
- !ruby/object:Gem::Version
|
208
208
|
version: '0'
|
209
209
|
requirements: []
|
210
|
-
rubygems_version: 3.3.
|
210
|
+
rubygems_version: 3.3.5
|
211
211
|
signing_key:
|
212
212
|
specification_version: 4
|
213
213
|
summary: API Client library for the Organization Policy V2 API
|