google-apis-cloudresourcemanager_v2 0.10.0 → 0.14.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 +16 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/cloudresourcemanager_v2/classes.rb +69 -62
- data/lib/google/apis/cloudresourcemanager_v2/gem_version.rb +2 -2
- data/lib/google/apis/cloudresourcemanager_v2/service.rb +3 -1
- data/lib/google/apis/cloudresourcemanager_v2.rb +2 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eda1f43f69f26b0cec2eb8fa117263e13c1c68c831745da7953bd3a5c42b84ff
|
4
|
+
data.tar.gz: 7cb15e28d868161e4b28eed90d5ab7f7ea66f28ee4df66a1f60fd0f225428fe6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 14fe4774401cf164e2dd19cf9eef18c7c3144587d494d1d344261cbbce31d81fc262c94f66e48cfed245e3e20276d2ff46f962a4a63a00e4c71afb809dc2e767
|
7
|
+
data.tar.gz: 268ec6f110d07036b3fe1bb1e9d5effa33228a1132d8ccd8056d9469d6cf071522b5a8315b816a1fcc5fe70cfad649b23aefaccfcee70c3697e1f60e05a53c29
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-cloudresourcemanager_v2
|
2
2
|
|
3
|
+
### v0.14.0 (2021-10-20)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211017
|
6
|
+
|
7
|
+
### v0.13.0 (2021-10-05)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211003
|
10
|
+
|
11
|
+
### v0.12.0 (2021-09-01)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210830
|
14
|
+
|
15
|
+
### v0.11.0 (2021-08-03)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210801
|
18
|
+
|
3
19
|
### v0.10.0 (2021-06-29)
|
4
20
|
|
5
21
|
* Regenerated using generator version 0.4.0
|
data/OVERVIEW.md
CHANGED
@@ -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
|
|
@@ -93,7 +93,7 @@ module Google
|
|
93
93
|
end
|
94
94
|
end
|
95
95
|
|
96
|
-
# Associates `members
|
96
|
+
# Associates `members`, or principals, with a `role`.
|
97
97
|
class Binding
|
98
98
|
include Google::Apis::Core::Hashable
|
99
99
|
|
@@ -116,7 +116,7 @@ module Google
|
|
116
116
|
# @return [Google::Apis::CloudresourcemanagerV2::Expr]
|
117
117
|
attr_accessor :condition
|
118
118
|
|
119
|
-
# Specifies the
|
119
|
+
# Specifies the principals requesting access for a Cloud Platform resource. `
|
120
120
|
# members` can have the following values: * `allUsers`: A special identifier
|
121
121
|
# that represents anyone who is on the internet; with or without a Google
|
122
122
|
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
@@ -146,8 +146,8 @@ module Google
|
|
146
146
|
# @return [Array<String>]
|
147
147
|
attr_accessor :members
|
148
148
|
|
149
|
-
# Role that is assigned to `members
|
150
|
-
#
|
149
|
+
# Role that is assigned to the list of `members`, or principals. For example, `
|
150
|
+
# roles/viewer`, `roles/editor`, or `roles/owner`.
|
151
151
|
# Corresponds to the JSON property `role`
|
152
152
|
# @return [String]
|
153
153
|
attr_accessor :role
|
@@ -357,8 +357,8 @@ module Google
|
|
357
357
|
end
|
358
358
|
end
|
359
359
|
|
360
|
-
# A status object which is used as the `metadata` field for the
|
361
|
-
# returned by DeleteOrganization.
|
360
|
+
# LINT.IfChange A status object which is used as the `metadata` field for the
|
361
|
+
# operation returned by DeleteOrganization.
|
362
362
|
class DeleteOrganizationMetadata
|
363
363
|
include Google::Apis::Core::Hashable
|
364
364
|
|
@@ -789,31 +789,31 @@ module Google
|
|
789
789
|
|
790
790
|
# An Identity and Access Management (IAM) policy, which specifies access
|
791
791
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
792
|
-
# A `binding` binds one or more `members
|
793
|
-
# user accounts, service accounts, Google groups, and domains (
|
794
|
-
# A `role` is a named list of permissions; each `role` can be
|
795
|
-
# role or a user-created custom role. For some types of Google
|
796
|
-
# a `binding` can also specify a `condition`, which is a
|
797
|
-
# allows access to a resource only if the expression
|
798
|
-
# condition can add constraints based on attributes of
|
799
|
-
# or both. To learn which resources support
|
800
|
-
# see the [IAM documentation](https://cloud.
|
801
|
-
# resource-policies). **JSON example:** ` "
|
802
|
-
# resourcemanager.organizationAdmin", "members": [
|
803
|
-
# group:admins@example.com", "domain:google.com", "
|
804
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
805
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
806
|
-
# title": "expirable access", "description": "Does not grant
|
807
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
808
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
809
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
810
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
811
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
812
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
813
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
814
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
815
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
816
|
-
# google.com/iam/docs/).
|
792
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
793
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
794
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
795
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
796
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
797
|
+
# logical expression that allows access to a resource only if the expression
|
798
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
799
|
+
# the request, the resource, or both. To learn which resources support
|
800
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
801
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
802
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
803
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
804
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
805
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
806
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
807
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
808
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
809
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
810
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
811
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
812
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
813
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
814
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
815
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
816
|
+
# cloud.google.com/iam/docs/).
|
817
817
|
class Policy
|
818
818
|
include Google::Apis::Core::Hashable
|
819
819
|
|
@@ -822,9 +822,14 @@ module Google
|
|
822
822
|
# @return [Array<Google::Apis::CloudresourcemanagerV2::AuditConfig>]
|
823
823
|
attr_accessor :audit_configs
|
824
824
|
|
825
|
-
# Associates a list of `members
|
826
|
-
# condition` that determines how and when the `bindings` are applied.
|
827
|
-
# the `bindings` must contain at least one
|
825
|
+
# Associates a list of `members`, or principals, with a `role`. Optionally, may
|
826
|
+
# specify a `condition` that determines how and when the `bindings` are applied.
|
827
|
+
# Each of the `bindings` must contain at least one principal. The `bindings` in
|
828
|
+
# a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
|
829
|
+
# can be Google groups. Each occurrence of a principal counts towards these
|
830
|
+
# limits. For example, if the `bindings` grant 50 different roles to `user:alice@
|
831
|
+
# example.com`, and not to any other principal, then you can add another 1,450
|
832
|
+
# principals to the `bindings` in the `Policy`.
|
828
833
|
# Corresponds to the JSON property `bindings`
|
829
834
|
# @return [Array<Google::Apis::CloudresourcemanagerV2::Binding>]
|
830
835
|
attr_accessor :bindings
|
@@ -917,7 +922,9 @@ module Google
|
|
917
922
|
class SearchFoldersRequest
|
918
923
|
include Google::Apis::Core::Hashable
|
919
924
|
|
920
|
-
# Optional. The maximum number of folders to return in the response.
|
925
|
+
# Optional. The maximum number of folders to return in the response. The server
|
926
|
+
# can return fewer folders than requested. If unspecified, server picks an
|
927
|
+
# appropriate default.
|
921
928
|
# Corresponds to the JSON property `pageSize`
|
922
929
|
# @return [Fixnum]
|
923
930
|
attr_accessor :page_size
|
@@ -990,31 +997,31 @@ module Google
|
|
990
997
|
|
991
998
|
# An Identity and Access Management (IAM) policy, which specifies access
|
992
999
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
993
|
-
# A `binding` binds one or more `members
|
994
|
-
# user accounts, service accounts, Google groups, and domains (
|
995
|
-
# A `role` is a named list of permissions; each `role` can be
|
996
|
-
# role or a user-created custom role. For some types of Google
|
997
|
-
# a `binding` can also specify a `condition`, which is a
|
998
|
-
# allows access to a resource only if the expression
|
999
|
-
# condition can add constraints based on attributes of
|
1000
|
-
# or both. To learn which resources support
|
1001
|
-
# see the [IAM documentation](https://cloud.
|
1002
|
-
# resource-policies). **JSON example:** ` "
|
1003
|
-
# resourcemanager.organizationAdmin", "members": [
|
1004
|
-
# group:admins@example.com", "domain:google.com", "
|
1005
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
1006
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
1007
|
-
# title": "expirable access", "description": "Does not grant
|
1008
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
1009
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
1010
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
1011
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1012
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
1013
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
1014
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
1015
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
1016
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
1017
|
-
# google.com/iam/docs/).
|
1000
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
1001
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
1002
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
1003
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
1004
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
1005
|
+
# logical expression that allows access to a resource only if the expression
|
1006
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
1007
|
+
# the request, the resource, or both. To learn which resources support
|
1008
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
1009
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
1010
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
1011
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
1012
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
1013
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
1014
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
1015
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
1016
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
1017
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
1018
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1019
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
1020
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
1021
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
1022
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
1023
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
1024
|
+
# cloud.google.com/iam/docs/).
|
1018
1025
|
# Corresponds to the JSON property `policy`
|
1019
1026
|
# @return [Google::Apis::CloudresourcemanagerV2::Policy]
|
1020
1027
|
attr_accessor :policy
|
@@ -1143,8 +1150,8 @@ module Google
|
|
1143
1150
|
end
|
1144
1151
|
end
|
1145
1152
|
|
1146
|
-
# A status object which is used as the `metadata` field for the
|
1147
|
-
# returned by UndeleteOrganization.
|
1153
|
+
# LINT.IfChange A status object which is used as the `metadata` field for the
|
1154
|
+
# Operation returned by UndeleteOrganization.
|
1148
1155
|
class UndeleteOrganizationMetadata
|
1149
1156
|
include Google::Apis::Core::Hashable
|
1150
1157
|
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module CloudresourcemanagerV2
|
18
18
|
# Version of the google-apis-cloudresourcemanager_v2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.14.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211017"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -212,7 +212,9 @@ module Google
|
|
212
212
|
# ascending) lexical ordering of their display_name. The caller must have `
|
213
213
|
# resourcemanager.folders.list` permission on the identified parent.
|
214
214
|
# @param [Fixnum] page_size
|
215
|
-
# Optional. The maximum number of Folders to return in the response.
|
215
|
+
# Optional. The maximum number of Folders to return in the response. The server
|
216
|
+
# can return fewer folders than requested. If unspecified, server picks an
|
217
|
+
# appropriate default.
|
216
218
|
# @param [String] page_token
|
217
219
|
# Optional. A pagination token returned from a previous call to `ListFolders`
|
218
220
|
# that indicates where this listing should continue from.
|
@@ -30,10 +30,10 @@ module Google
|
|
30
30
|
# This is NOT the gem version.
|
31
31
|
VERSION = 'V2'
|
32
32
|
|
33
|
-
# See, edit, configure, and delete your Google Cloud
|
33
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
34
34
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
35
35
|
|
36
|
-
# View your data across Google Cloud
|
36
|
+
# View your data across Google Cloud services and see the email address of your Google Account
|
37
37
|
AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
|
38
38
|
end
|
39
39
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-cloudresourcemanager_v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.14.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: 2021-
|
11
|
+
date: 2021-10-27 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_v2/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_v2/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudresourcemanager_v2/v0.14.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudresourcemanager_v2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|