google-apis-policysimulator_v1 0.26.0 → 0.27.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/policysimulator_v1/classes.rb +41 -39
- data/lib/google/apis/policysimulator_v1/gem_version.rb +2 -2
- 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: 7b54260017ab741c18da617ade41247ae8b26d770167b9e9a0d36b691df54d28
|
4
|
+
data.tar.gz: fb902cf74ef4aac84dfb1204c9300af1b0ab4ea836112a2f92790b953b9b8377
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 549200bc42e2c369af075480bd9c80b77f14e0b531d39b06b911698d11850df344f988f49bd3a2ea7f770fe35a381983e72266be3a05d03df7db277c58990c83
|
7
|
+
data.tar.gz: fb18a535fec33bc487ce85018538d9cb7df2c0c5b19abd05b6e3d095b6ba3ea4153952093ebb380666d56cbfcea9b4c5a76b6daa7a5bf3a94ccd8d1a06c3cf29
|
data/CHANGELOG.md
CHANGED
@@ -63,7 +63,7 @@ module Google
|
|
63
63
|
attr_accessor :action_type
|
64
64
|
|
65
65
|
# Org policy condition/expression. For example: `resource.instanceName.matches("[
|
66
|
-
# production|test]_.*_(\d)+")
|
66
|
+
# production|test]_.*_(\d)+")` or, `resource.management.auto_upgrade == true`
|
67
67
|
# The max length of the condition is 1000 characters.
|
68
68
|
# Corresponds to the JSON property `condition`
|
69
69
|
# @return [String]
|
@@ -144,11 +144,11 @@ module Google
|
|
144
144
|
attr_accessor :dry_run_spec
|
145
145
|
|
146
146
|
# Immutable. The resource name of the policy. Must be one of the following forms,
|
147
|
-
# where constraint_name is the name of the constraint which this policy
|
147
|
+
# where `constraint_name` is the name of the constraint which this policy
|
148
148
|
# configures: * `projects/`project_number`/policies/`constraint_name`` * `
|
149
149
|
# folders/`folder_id`/policies/`constraint_name`` * `organizations/`
|
150
|
-
# organization_id`/policies/`constraint_name`` For example,
|
151
|
-
# policies/compute.disableSerialPortAccess
|
150
|
+
# organization_id`/policies/`constraint_name`` For example, `projects/123/
|
151
|
+
# policies/compute.disableSerialPortAccess`. Note: `projects/`project_id`/
|
152
152
|
# policies/`constraint_name`` is also an acceptable name for API requests, but
|
153
153
|
# responses will return the name using the equivalent project number.
|
154
154
|
# Corresponds to the JSON property `name`
|
@@ -288,10 +288,11 @@ module Google
|
|
288
288
|
# prefix is used to denote resource subtree values. The `is:` prefix is used to
|
289
289
|
# denote specific values, and is required only if the value contains a ":".
|
290
290
|
# Values prefixed with "is:" are treated the same as values with no prefix.
|
291
|
-
# Ancestry subtrees must be in one of the following formats: -
|
292
|
-
#
|
293
|
-
#
|
294
|
-
# Constraint` defines whether ancestry prefixes can be
|
291
|
+
# Ancestry subtrees must be in one of the following formats: - `projects/` (for
|
292
|
+
# example, `projects/tokyo-rain-123`) - `folders/` (for example, `folders/1234`)
|
293
|
+
# - `organizations/` (for example, `organizations/1234`) The `supports_under`
|
294
|
+
# field of the associated `Constraint` defines whether ancestry prefixes can be
|
295
|
+
# used.
|
295
296
|
# Corresponds to the JSON property `values`
|
296
297
|
# @return [Google::Apis::PolicysimulatorV1::GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues]
|
297
298
|
attr_accessor :values
|
@@ -317,10 +318,11 @@ module Google
|
|
317
318
|
# prefix is used to denote resource subtree values. The `is:` prefix is used to
|
318
319
|
# denote specific values, and is required only if the value contains a ":".
|
319
320
|
# Values prefixed with "is:" are treated the same as values with no prefix.
|
320
|
-
# Ancestry subtrees must be in one of the following formats: -
|
321
|
-
#
|
322
|
-
#
|
323
|
-
# Constraint` defines whether ancestry prefixes can be
|
321
|
+
# Ancestry subtrees must be in one of the following formats: - `projects/` (for
|
322
|
+
# example, `projects/tokyo-rain-123`) - `folders/` (for example, `folders/1234`)
|
323
|
+
# - `organizations/` (for example, `organizations/1234`) The `supports_under`
|
324
|
+
# field of the associated `Constraint` defines whether ancestry prefixes can be
|
325
|
+
# used.
|
324
326
|
class GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues
|
325
327
|
include Google::Apis::Core::Hashable
|
326
328
|
|
@@ -618,22 +620,22 @@ module Google
|
|
618
620
|
# evaluates to `true`. A condition can add constraints based on attributes of
|
619
621
|
# the request, the resource, or both. To learn which resources support
|
620
622
|
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
621
|
-
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
623
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
|
622
624
|
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
623
625
|
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
624
626
|
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
625
627
|
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
626
628
|
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
627
629
|
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
628
|
-
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML
|
629
|
-
# bindings: - members: - user:mike@example.com - group:admins@
|
630
|
-
# domain:google.com - serviceAccount:my-project-id@appspot.
|
631
|
-
# role: roles/resourcemanager.organizationAdmin - members: -
|
632
|
-
# com role: roles/resourcemanager.organizationViewer condition:
|
633
|
-
# access description: Does not grant access after Sep 2020
|
634
|
-
# time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
635
|
-
# a description of IAM and its features, see the
|
636
|
-
# cloud.google.com/iam/docs/).
|
630
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
|
631
|
+
# example:** ``` bindings: - members: - user:mike@example.com - group:admins@
|
632
|
+
# example.com - domain:google.com - serviceAccount:my-project-id@appspot.
|
633
|
+
# gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
|
634
|
+
# user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
|
635
|
+
# title: expirable access description: Does not grant access after Sep 2020
|
636
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
637
|
+
# BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
|
638
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
637
639
|
# Corresponds to the JSON property `policy`
|
638
640
|
# @return [Google::Apis::PolicysimulatorV1::GoogleIamV1Policy]
|
639
641
|
attr_accessor :policy
|
@@ -1571,22 +1573,22 @@ module Google
|
|
1571
1573
|
# evaluates to `true`. A condition can add constraints based on attributes of
|
1572
1574
|
# the request, the resource, or both. To learn which resources support
|
1573
1575
|
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
1574
|
-
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
1576
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
|
1575
1577
|
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
1576
1578
|
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
1577
1579
|
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
1578
1580
|
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
1579
1581
|
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
1580
1582
|
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
1581
|
-
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML
|
1582
|
-
# bindings: - members: - user:mike@example.com - group:admins@
|
1583
|
-
# domain:google.com - serviceAccount:my-project-id@appspot.
|
1584
|
-
# role: roles/resourcemanager.organizationAdmin - members: -
|
1585
|
-
# com role: roles/resourcemanager.organizationViewer condition:
|
1586
|
-
# access description: Does not grant access after Sep 2020
|
1587
|
-
# time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
1588
|
-
# a description of IAM and its features, see the
|
1589
|
-
# cloud.google.com/iam/docs/).
|
1583
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
|
1584
|
+
# example:** ``` bindings: - members: - user:mike@example.com - group:admins@
|
1585
|
+
# example.com - domain:google.com - serviceAccount:my-project-id@appspot.
|
1586
|
+
# gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
|
1587
|
+
# user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
|
1588
|
+
# title: expirable access description: Does not grant access after Sep 2020
|
1589
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
1590
|
+
# BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
|
1591
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
1590
1592
|
class GoogleIamV1Policy
|
1591
1593
|
include Google::Apis::Core::Hashable
|
1592
1594
|
|
@@ -1717,13 +1719,13 @@ module Google
|
|
1717
1719
|
# @return [String]
|
1718
1720
|
attr_accessor :name
|
1719
1721
|
|
1720
|
-
# The normal response of the operation
|
1721
|
-
#
|
1722
|
-
#
|
1723
|
-
#
|
1724
|
-
#
|
1725
|
-
#
|
1726
|
-
#
|
1722
|
+
# The normal, successful response of the operation. If the original method
|
1723
|
+
# returns no data on success, such as `Delete`, the response is `google.protobuf.
|
1724
|
+
# Empty`. If the original method is standard `Get`/`Create`/`Update`, the
|
1725
|
+
# response should be the resource. For other methods, the response should have
|
1726
|
+
# the type `XxxResponse`, where `Xxx` is the original method name. For example,
|
1727
|
+
# if the original method name is `TakeSnapshot()`, the inferred response type is
|
1728
|
+
# `TakeSnapshotResponse`.
|
1727
1729
|
# Corresponds to the JSON property `response`
|
1728
1730
|
# @return [Hash<String,Object>]
|
1729
1731
|
attr_accessor :response
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module PolicysimulatorV1
|
18
18
|
# Version of the google-apis-policysimulator_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.27.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
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-policysimulator_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.27.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-08-
|
11
|
+
date: 2023-08-13 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-policysimulator_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-policysimulator_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-policysimulator_v1/v0.27.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-policysimulator_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|