google-apis-orgpolicy_v2 0.28.0 → 0.29.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/CHANGELOG.md +4 -0
- data/lib/google/apis/orgpolicy_v2/classes.rb +14 -12
- data/lib/google/apis/orgpolicy_v2/gem_version.rb +2 -2
- data/lib/google/apis/orgpolicy_v2/service.rb +15 -15
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 71d5e4f8cc675f96836b4aa96489a8134a1fb7c64b0b7d91417e4cefc71bc54f
|
|
4
|
+
data.tar.gz: da31f8c41c6316d733b8684b52b48e146111329ca1825526385995366bd61129
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 276c7e92adafb65d61a25aa021dd40841b7bdd49535d13d82771f0c78928431a1ac77e091650234592ca33948566c91be66553b9b4433f062430c41e0df1d7aa
|
|
7
|
+
data.tar.gz: 521b5c7326588a89fa995be223bd30d5bac80b147de23cc1c2c72dac7394f29802acf6804df6e2e7589bfd611f5899f3ada17268caa5b121208075a2a5a61f45
|
data/CHANGELOG.md
CHANGED
|
@@ -185,7 +185,7 @@ module Google
|
|
|
185
185
|
attr_accessor :action_type
|
|
186
186
|
|
|
187
187
|
# Org policy condition/expression. For example: `resource.instanceName.matches("[
|
|
188
|
-
# production|test]_.*_(\d)+")
|
|
188
|
+
# production|test]_.*_(\d)+")` or, `resource.management.auto_upgrade == true`
|
|
189
189
|
# The max length of the condition is 1000 characters.
|
|
190
190
|
# Corresponds to the JSON property `condition`
|
|
191
191
|
# @return [String]
|
|
@@ -347,11 +347,11 @@ module Google
|
|
|
347
347
|
attr_accessor :dry_run_spec
|
|
348
348
|
|
|
349
349
|
# Immutable. The resource name of the policy. Must be one of the following forms,
|
|
350
|
-
# where constraint_name is the name of the constraint which this policy
|
|
350
|
+
# where `constraint_name` is the name of the constraint which this policy
|
|
351
351
|
# configures: * `projects/`project_number`/policies/`constraint_name`` * `
|
|
352
352
|
# folders/`folder_id`/policies/`constraint_name`` * `organizations/`
|
|
353
|
-
# organization_id`/policies/`constraint_name`` For example,
|
|
354
|
-
# policies/compute.disableSerialPortAccess
|
|
353
|
+
# organization_id`/policies/`constraint_name`` For example, `projects/123/
|
|
354
|
+
# policies/compute.disableSerialPortAccess`. Note: `projects/`project_id`/
|
|
355
355
|
# policies/`constraint_name`` is also an acceptable name for API requests, but
|
|
356
356
|
# responses will return the name using the equivalent project number.
|
|
357
357
|
# Corresponds to the JSON property `name`
|
|
@@ -491,10 +491,11 @@ module Google
|
|
|
491
491
|
# prefix is used to denote resource subtree values. The `is:` prefix is used to
|
|
492
492
|
# denote specific values, and is required only if the value contains a ":".
|
|
493
493
|
# Values prefixed with "is:" are treated the same as values with no prefix.
|
|
494
|
-
# Ancestry subtrees must be in one of the following formats: -
|
|
495
|
-
#
|
|
496
|
-
#
|
|
497
|
-
# Constraint` defines whether ancestry prefixes can be
|
|
494
|
+
# Ancestry subtrees must be in one of the following formats: - `projects/` (for
|
|
495
|
+
# example, `projects/tokyo-rain-123`) - `folders/` (for example, `folders/1234`)
|
|
496
|
+
# - `organizations/` (for example, `organizations/1234`) The `supports_under`
|
|
497
|
+
# field of the associated `Constraint` defines whether ancestry prefixes can be
|
|
498
|
+
# used.
|
|
498
499
|
# Corresponds to the JSON property `values`
|
|
499
500
|
# @return [Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues]
|
|
500
501
|
attr_accessor :values
|
|
@@ -520,10 +521,11 @@ module Google
|
|
|
520
521
|
# prefix is used to denote resource subtree values. The `is:` prefix is used to
|
|
521
522
|
# denote specific values, and is required only if the value contains a ":".
|
|
522
523
|
# Values prefixed with "is:" are treated the same as values with no prefix.
|
|
523
|
-
# Ancestry subtrees must be in one of the following formats: -
|
|
524
|
-
#
|
|
525
|
-
#
|
|
526
|
-
# Constraint` defines whether ancestry prefixes can be
|
|
524
|
+
# Ancestry subtrees must be in one of the following formats: - `projects/` (for
|
|
525
|
+
# example, `projects/tokyo-rain-123`) - `folders/` (for example, `folders/1234`)
|
|
526
|
+
# - `organizations/` (for example, `organizations/1234`) The `supports_under`
|
|
527
|
+
# field of the associated `Constraint` defines whether ancestry prefixes can be
|
|
528
|
+
# used.
|
|
527
529
|
class GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues
|
|
528
530
|
include Google::Apis::Core::Hashable
|
|
529
531
|
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module OrgpolicyV2
|
|
18
18
|
# Version of the google-apis-orgpolicy_v2 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.29.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20230806"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -163,7 +163,7 @@ module Google
|
|
|
163
163
|
# is returned. The `etag` value can be used with `UpdatePolicy()` to update a
|
|
164
164
|
# policy during read-modify-write.
|
|
165
165
|
# @param [String] name
|
|
166
|
-
# Required. Resource name of the policy. See
|
|
166
|
+
# Required. Resource name of the policy. See Policy for naming requirements.
|
|
167
167
|
# @param [String] fields
|
|
168
168
|
# Selector specifying which fields to include in a partial response.
|
|
169
169
|
# @param [String] quota_user
|
|
@@ -197,7 +197,7 @@ module Google
|
|
|
197
197
|
# policy across multiple resources. Subtrees of Resource Manager resource
|
|
198
198
|
# hierarchy with 'under:' prefix will not be expanded.
|
|
199
199
|
# @param [String] name
|
|
200
|
-
# Required. The effective policy to compute. See
|
|
200
|
+
# Required. The effective policy to compute. See Policy for naming requirements.
|
|
201
201
|
# @param [String] fields
|
|
202
202
|
# Selector specifying which fields to include in a partial response.
|
|
203
203
|
# @param [String] quota_user
|
|
@@ -273,11 +273,11 @@ module Google
|
|
|
273
273
|
# perform a full overwrite of all fields.
|
|
274
274
|
# @param [String] name
|
|
275
275
|
# Immutable. The resource name of the policy. Must be one of the following forms,
|
|
276
|
-
# where constraint_name is the name of the constraint which this policy
|
|
276
|
+
# where `constraint_name` is the name of the constraint which this policy
|
|
277
277
|
# configures: * `projects/`project_number`/policies/`constraint_name`` * `
|
|
278
278
|
# folders/`folder_id`/policies/`constraint_name`` * `organizations/`
|
|
279
|
-
# organization_id`/policies/`constraint_name`` For example,
|
|
280
|
-
# policies/compute.disableSerialPortAccess
|
|
279
|
+
# organization_id`/policies/`constraint_name`` For example, `projects/123/
|
|
280
|
+
# policies/compute.disableSerialPortAccess`. Note: `projects/`project_id`/
|
|
281
281
|
# policies/`constraint_name`` is also an acceptable name for API requests, but
|
|
282
282
|
# responses will return the name using the equivalent project number.
|
|
283
283
|
# @param [Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2Policy] google_cloud_orgpolicy_v2_policy_object
|
|
@@ -609,7 +609,7 @@ module Google
|
|
|
609
609
|
# is returned. The `etag` value can be used with `UpdatePolicy()` to update a
|
|
610
610
|
# policy during read-modify-write.
|
|
611
611
|
# @param [String] name
|
|
612
|
-
# Required. Resource name of the policy. See
|
|
612
|
+
# Required. Resource name of the policy. See Policy for naming requirements.
|
|
613
613
|
# @param [String] fields
|
|
614
614
|
# Selector specifying which fields to include in a partial response.
|
|
615
615
|
# @param [String] quota_user
|
|
@@ -643,7 +643,7 @@ module Google
|
|
|
643
643
|
# policy across multiple resources. Subtrees of Resource Manager resource
|
|
644
644
|
# hierarchy with 'under:' prefix will not be expanded.
|
|
645
645
|
# @param [String] name
|
|
646
|
-
# Required. The effective policy to compute. See
|
|
646
|
+
# Required. The effective policy to compute. See Policy for naming requirements.
|
|
647
647
|
# @param [String] fields
|
|
648
648
|
# Selector specifying which fields to include in a partial response.
|
|
649
649
|
# @param [String] quota_user
|
|
@@ -719,11 +719,11 @@ module Google
|
|
|
719
719
|
# perform a full overwrite of all fields.
|
|
720
720
|
# @param [String] name
|
|
721
721
|
# Immutable. The resource name of the policy. Must be one of the following forms,
|
|
722
|
-
# where constraint_name is the name of the constraint which this policy
|
|
722
|
+
# where `constraint_name` is the name of the constraint which this policy
|
|
723
723
|
# configures: * `projects/`project_number`/policies/`constraint_name`` * `
|
|
724
724
|
# folders/`folder_id`/policies/`constraint_name`` * `organizations/`
|
|
725
|
-
# organization_id`/policies/`constraint_name`` For example,
|
|
726
|
-
# policies/compute.disableSerialPortAccess
|
|
725
|
+
# organization_id`/policies/`constraint_name`` For example, `projects/123/
|
|
726
|
+
# policies/compute.disableSerialPortAccess`. Note: `projects/`project_id`/
|
|
727
727
|
# policies/`constraint_name`` is also an acceptable name for API requests, but
|
|
728
728
|
# responses will return the name using the equivalent project number.
|
|
729
729
|
# @param [Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2Policy] google_cloud_orgpolicy_v2_policy_object
|
|
@@ -874,7 +874,7 @@ module Google
|
|
|
874
874
|
# is returned. The `etag` value can be used with `UpdatePolicy()` to update a
|
|
875
875
|
# policy during read-modify-write.
|
|
876
876
|
# @param [String] name
|
|
877
|
-
# Required. Resource name of the policy. See
|
|
877
|
+
# Required. Resource name of the policy. See Policy for naming requirements.
|
|
878
878
|
# @param [String] fields
|
|
879
879
|
# Selector specifying which fields to include in a partial response.
|
|
880
880
|
# @param [String] quota_user
|
|
@@ -908,7 +908,7 @@ module Google
|
|
|
908
908
|
# policy across multiple resources. Subtrees of Resource Manager resource
|
|
909
909
|
# hierarchy with 'under:' prefix will not be expanded.
|
|
910
910
|
# @param [String] name
|
|
911
|
-
# Required. The effective policy to compute. See
|
|
911
|
+
# Required. The effective policy to compute. See Policy for naming requirements.
|
|
912
912
|
# @param [String] fields
|
|
913
913
|
# Selector specifying which fields to include in a partial response.
|
|
914
914
|
# @param [String] quota_user
|
|
@@ -984,11 +984,11 @@ module Google
|
|
|
984
984
|
# perform a full overwrite of all fields.
|
|
985
985
|
# @param [String] name
|
|
986
986
|
# Immutable. The resource name of the policy. Must be one of the following forms,
|
|
987
|
-
# where constraint_name is the name of the constraint which this policy
|
|
987
|
+
# where `constraint_name` is the name of the constraint which this policy
|
|
988
988
|
# configures: * `projects/`project_number`/policies/`constraint_name`` * `
|
|
989
989
|
# folders/`folder_id`/policies/`constraint_name`` * `organizations/`
|
|
990
|
-
# organization_id`/policies/`constraint_name`` For example,
|
|
991
|
-
# policies/compute.disableSerialPortAccess
|
|
990
|
+
# organization_id`/policies/`constraint_name`` For example, `projects/123/
|
|
991
|
+
# policies/compute.disableSerialPortAccess`. Note: `projects/`project_id`/
|
|
992
992
|
# policies/`constraint_name`` is also an acceptable name for API requests, but
|
|
993
993
|
# responses will return the name using the equivalent project number.
|
|
994
994
|
# @param [Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2Policy] google_cloud_orgpolicy_v2_policy_object
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-orgpolicy_v2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.29.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-08-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: google-apis-core
|
|
@@ -58,7 +58,7 @@ licenses:
|
|
|
58
58
|
metadata:
|
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-orgpolicy_v2/CHANGELOG.md
|
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-orgpolicy_v2/v0.
|
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-orgpolicy_v2/v0.29.0
|
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-orgpolicy_v2
|
|
63
63
|
post_install_message:
|
|
64
64
|
rdoc_options: []
|