google-apis-cloudresourcemanager_v1 0.16.0 → 0.20.0
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: fe53593425aa316f45540e656dea80c7f53e116381e0359312d65c5366ea471e
|
4
|
+
data.tar.gz: 7030c711be39f50c14b7e51a86df8aa7b572363fce73b24321bb53bf4095f6b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ffa990f48b27f8d46a2ae2bd0f34ee4ef82c15972974ffd2aa3da5427d0accae00f6454d9e46ea1a3a85a04b4db43892b0dbd9dc64ae485f6405922ea1a52892
|
7
|
+
data.tar.gz: f1aca374e69c3d1dc74e4b0a53bcb4179ca4aab06c606ea891b70ecad44c2e36981137df20fb495e7e4441e11527dbe665fd72707131bfd1903ca7b4c2bf5ea1
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-cloudresourcemanager_v1
|
2
2
|
|
3
|
+
### v0.20.0 (2022-01-13)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220109
|
6
|
+
* Regenerated using generator version 0.4.1
|
7
|
+
|
8
|
+
### v0.19.0 (2021-12-16)
|
9
|
+
|
10
|
+
* Unspecified changes
|
11
|
+
|
12
|
+
### v0.18.0 (2021-11-09)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20211107
|
15
|
+
|
16
|
+
### v0.17.0 (2021-10-20)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20211017
|
19
|
+
|
3
20
|
### v0.16.0 (2021-10-05)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20211003
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/cloudresourcemanager_v1"
|
|
51
51
|
client = Google::Apis::CloudresourcemanagerV1::CloudResourceManagerService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
54
|
+
client.authorization = # ... use the googleauth gem to create credentials
|
55
55
|
```
|
56
56
|
|
57
57
|
See the class reference docs for information on the methods you can call from a client.
|
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Cloudresourcemanager service in particular.)
|
67
67
|
|
@@ -115,7 +115,7 @@ module Google
|
|
115
115
|
end
|
116
116
|
end
|
117
117
|
|
118
|
-
# Associates `members
|
118
|
+
# Associates `members`, or principals, with a `role`.
|
119
119
|
class Binding
|
120
120
|
include Google::Apis::Core::Hashable
|
121
121
|
|
@@ -138,7 +138,7 @@ module Google
|
|
138
138
|
# @return [Google::Apis::CloudresourcemanagerV1::Expr]
|
139
139
|
attr_accessor :condition
|
140
140
|
|
141
|
-
# Specifies the
|
141
|
+
# Specifies the principals requesting access for a Cloud Platform resource. `
|
142
142
|
# members` can have the following values: * `allUsers`: A special identifier
|
143
143
|
# that represents anyone who is on the internet; with or without a Google
|
144
144
|
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
@@ -168,8 +168,8 @@ module Google
|
|
168
168
|
# @return [Array<String>]
|
169
169
|
attr_accessor :members
|
170
170
|
|
171
|
-
# Role that is assigned to `members
|
172
|
-
#
|
171
|
+
# Role that is assigned to the list of `members`, or principals. For example, `
|
172
|
+
# roles/viewer`, `roles/editor`, or `roles/owner`.
|
173
173
|
# Corresponds to the JSON property `role`
|
174
174
|
# @return [String]
|
175
175
|
attr_accessor :role
|
@@ -535,8 +535,8 @@ module Google
|
|
535
535
|
end
|
536
536
|
end
|
537
537
|
|
538
|
-
#
|
539
|
-
#
|
538
|
+
# A status object which is used as the `metadata` field for the operation
|
539
|
+
# returned by DeleteOrganization.
|
540
540
|
class DeleteOrganizationMetadata
|
541
541
|
include Google::Apis::Core::Hashable
|
542
542
|
|
@@ -825,13 +825,16 @@ module Google
|
|
825
825
|
class GetPolicyOptions
|
826
826
|
include Google::Apis::Core::Hashable
|
827
827
|
|
828
|
-
# Optional. The policy
|
829
|
-
# 3. Requests specifying an invalid value will be
|
830
|
-
# policies with any conditional bindings must
|
831
|
-
#
|
832
|
-
# field unset.
|
833
|
-
#
|
834
|
-
#
|
828
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
829
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
830
|
+
# rejected. Requests for policies with any conditional role bindings must
|
831
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
832
|
+
# valid value or leave the field unset. The policy in the response might use the
|
833
|
+
# policy version that you specified, or it might use a lower policy version. For
|
834
|
+
# example, if you specify version 3, but the policy has no conditional role
|
835
|
+
# bindings, the response uses version 1. To learn which resources support
|
836
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
837
|
+
# google.com/iam/help/conditions/resource-policies).
|
835
838
|
# Corresponds to the JSON property `requestedPolicyVersion`
|
836
839
|
# @return [Fixnum]
|
837
840
|
attr_accessor :requested_policy_version
|
@@ -1500,31 +1503,31 @@ module Google
|
|
1500
1503
|
|
1501
1504
|
# An Identity and Access Management (IAM) policy, which specifies access
|
1502
1505
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
1503
|
-
# A `binding` binds one or more `members
|
1504
|
-
# user accounts, service accounts, Google groups, and domains (
|
1505
|
-
# A `role` is a named list of permissions; each `role` can be
|
1506
|
-
# role or a user-created custom role. For some types of Google
|
1507
|
-
# a `binding` can also specify a `condition`, which is a
|
1508
|
-
# allows access to a resource only if the expression
|
1509
|
-
# condition can add constraints based on attributes of
|
1510
|
-
# or both. To learn which resources support
|
1511
|
-
# see the [IAM documentation](https://cloud.
|
1512
|
-
# resource-policies). **JSON example:** ` "
|
1513
|
-
# resourcemanager.organizationAdmin", "members": [
|
1514
|
-
# group:admins@example.com", "domain:google.com", "
|
1515
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
1516
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
1517
|
-
# title": "expirable access", "description": "Does not grant
|
1518
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
1519
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
1520
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
1521
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1522
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
1523
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
1524
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
1525
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
1526
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
1527
|
-
# google.com/iam/docs/).
|
1506
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
1507
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
1508
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
1509
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
1510
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
1511
|
+
# logical expression that allows access to a resource only if the expression
|
1512
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
1513
|
+
# the request, the resource, or both. To learn which resources support
|
1514
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
1515
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
1516
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
1517
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
1518
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
1519
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
1520
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
1521
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
1522
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
1523
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
1524
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1525
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
1526
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
1527
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
1528
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
1529
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
1530
|
+
# cloud.google.com/iam/docs/).
|
1528
1531
|
class Policy
|
1529
1532
|
include Google::Apis::Core::Hashable
|
1530
1533
|
|
@@ -1533,14 +1536,14 @@ module Google
|
|
1533
1536
|
# @return [Array<Google::Apis::CloudresourcemanagerV1::AuditConfig>]
|
1534
1537
|
attr_accessor :audit_configs
|
1535
1538
|
|
1536
|
-
# Associates a list of `members
|
1537
|
-
# condition` that determines how and when the `bindings` are applied.
|
1538
|
-
# the `bindings` must contain at least one
|
1539
|
-
# can refer to up to 1,500
|
1540
|
-
# groups. Each occurrence of a
|
1541
|
-
# if the `bindings` grant 50 different roles to `user:alice@
|
1542
|
-
# not to any other
|
1543
|
-
# bindings` in the `Policy`.
|
1539
|
+
# Associates a list of `members`, or principals, with a `role`. Optionally, may
|
1540
|
+
# specify a `condition` that determines how and when the `bindings` are applied.
|
1541
|
+
# Each of the `bindings` must contain at least one principal. The `bindings` in
|
1542
|
+
# a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
|
1543
|
+
# can be Google groups. Each occurrence of a principal counts towards these
|
1544
|
+
# limits. For example, if the `bindings` grant 50 different roles to `user:alice@
|
1545
|
+
# example.com`, and not to any other principal, then you can add another 1,450
|
1546
|
+
# principals to the `bindings` in the `Policy`.
|
1544
1547
|
# Corresponds to the JSON property `bindings`
|
1545
1548
|
# @return [Array<Google::Apis::CloudresourcemanagerV1::Binding>]
|
1546
1549
|
attr_accessor :bindings
|
@@ -1825,31 +1828,31 @@ module Google
|
|
1825
1828
|
|
1826
1829
|
# An Identity and Access Management (IAM) policy, which specifies access
|
1827
1830
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
1828
|
-
# A `binding` binds one or more `members
|
1829
|
-
# user accounts, service accounts, Google groups, and domains (
|
1830
|
-
# A `role` is a named list of permissions; each `role` can be
|
1831
|
-
# role or a user-created custom role. For some types of Google
|
1832
|
-
# a `binding` can also specify a `condition`, which is a
|
1833
|
-
# allows access to a resource only if the expression
|
1834
|
-
# condition can add constraints based on attributes of
|
1835
|
-
# or both. To learn which resources support
|
1836
|
-
# see the [IAM documentation](https://cloud.
|
1837
|
-
# resource-policies). **JSON example:** ` "
|
1838
|
-
# resourcemanager.organizationAdmin", "members": [
|
1839
|
-
# group:admins@example.com", "domain:google.com", "
|
1840
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
1841
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
1842
|
-
# title": "expirable access", "description": "Does not grant
|
1843
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
1844
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
1845
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
1846
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1847
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
1848
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
1849
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
1850
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
1851
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
1852
|
-
# google.com/iam/docs/).
|
1831
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
1832
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
1833
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
1834
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
1835
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
1836
|
+
# logical expression that allows access to a resource only if the expression
|
1837
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
1838
|
+
# the request, the resource, or both. To learn which resources support
|
1839
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
1840
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
1841
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
1842
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
1843
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
1844
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
1845
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
1846
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
1847
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
1848
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
1849
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1850
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
1851
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
1852
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
1853
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
1854
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
1855
|
+
# cloud.google.com/iam/docs/).
|
1853
1856
|
# Corresponds to the JSON property `policy`
|
1854
1857
|
# @return [Google::Apis::CloudresourcemanagerV1::Policy]
|
1855
1858
|
attr_accessor :policy
|
@@ -1985,8 +1988,8 @@ module Google
|
|
1985
1988
|
end
|
1986
1989
|
end
|
1987
1990
|
|
1988
|
-
#
|
1989
|
-
#
|
1991
|
+
# A status object which is used as the `metadata` field for the Operation
|
1992
|
+
# returned by UndeleteOrganization.
|
1990
1993
|
class UndeleteOrganizationMetadata
|
1991
1994
|
include Google::Apis::Core::Hashable
|
1992
1995
|
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module CloudresourcemanagerV1
|
18
18
|
# Version of the google-apis-cloudresourcemanager_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.20.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220109"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1262,15 +1262,15 @@ module Google
|
|
1262
1262
|
# to a member by using the GCP Console. Inviting a member will deliver an
|
1263
1263
|
# invitation email that they must accept. An invitation email is not generated
|
1264
1264
|
# if you are granting a role other than owner, or if both the member you are
|
1265
|
-
# inviting and the project are part of your organization. +
|
1266
|
-
#
|
1267
|
-
# Service (ToS)
|
1268
|
-
#
|
1269
|
-
#
|
1270
|
-
#
|
1271
|
-
#
|
1272
|
-
#
|
1273
|
-
#
|
1265
|
+
# inviting and the project are part of your organization. + If the project is
|
1266
|
+
# not part of an organization, there must be at least one owner who has accepted
|
1267
|
+
# the Terms of Service (ToS) agreement in the policy. Calling `setIamPolicy()`
|
1268
|
+
# to remove the last ToS-accepted owner from the policy will fail. This
|
1269
|
+
# restriction also applies to legacy projects that no longer have owners who
|
1270
|
+
# have accepted the ToS. Edits to IAM policies will be rejected until the lack
|
1271
|
+
# of a ToS-accepting owner is rectified. If the project is part of an
|
1272
|
+
# organization, you can remove all owners, potentially making the organization
|
1273
|
+
# inaccessible. Authorization requires the Google IAM permission `
|
1274
1274
|
# resourcemanager.projects.setIamPolicy` on the project
|
1275
1275
|
# @param [String] resource
|
1276
1276
|
# REQUIRED: The resource for which the policy is being specified. See the
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-cloudresourcemanager_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.20.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:
|
11
|
+
date: 2022-01-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudresourcemanager_v1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
60
|
+
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudresourcemanager_v1/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudresourcemanager_v1/v0.20.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudresourcemanager_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.3.5
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Resource Manager API V1
|