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: 4a22f9148c4ffc94197aa713f9d77fddf986b60707f9de4d614803415c4a29cc
4
- data.tar.gz: ee0c59d24a2467a36e47fc8978d794da0863e47756421dd3160f92059148659f
3
+ metadata.gz: be2800365a3c71827c305a5c1599a5ebee221e1fd86a3cc63a4a617ca6df38ca
4
+ data.tar.gz: 7361703073bea9cf27615c3dee2cf42f773ccdf6893bdbb23421a1687d1f003b
5
5
  SHA512:
6
- metadata.gz: f483a475f94390c992616412dbb21ffa6404a671d6ad77681b23f7a15c4654b74b3aaf720a208b5832cf10f5363710deecd96cd2d5ca43847ebdb5668d55899d
7
- data.tar.gz: 2891c8593114ccd891853b993acf5cb760be8aef3eb6bc1fac991d912ed0f79996d4250cb33cf2add7436f54d565e71885327d2faf7e5ba9768b2554c162a83c
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://googleapis.dev/ruby/google-cloud-org_policy-v2/latest)
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)
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module OrgPolicy
23
23
  module V2
24
- VERSION = "0.2.5"
24
+ VERSION = "0.2.6"
25
25
  end
26
26
  end
27
27
  end
@@ -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 adminstrator to fit the needs of the organzation
29
- # by setting a `policy` that includes `constraints` at different locations in
30
- # the organization's resource hierarchy. Policies are inherited down the
31
- # resource hierarchy from higher levels, but can also be overridden. For
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
- # An alternate policy configuration that will be used instead of the baseline
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.matchLabels(key_name, value_name)",
145
- # where key_name and value_name are the resource names for Label Keys
146
- # and Values. These names are available from the Label Manager Service. An
147
- # example expression is:
148
- # "resource.matchLabels('labelKeys/123, 'labelValues/456')".
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.5
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-01-11 00:00:00.000000000 Z
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.4
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