google-apis-cloudresourcemanager_v2 0.11.0 → 0.15.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: 1943a02f0c86b1af1deb6d5ab26971ab97ea561dfb5f67e80c6a1de5727d5ec4
|
4
|
+
data.tar.gz: d8d34944111b32fd32e6c264f9fc93ac39dbcf5925d542f550239ae40014865d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62b80ddbbb13b12ae4ade367e7d9b808cfa0377c3719311c7939a3bce4474b4fb8a7605433eaa0293022fef1a9a0dc136ad3e8df56d6fa29f6f2f7e080096d93
|
7
|
+
data.tar.gz: 96245e8afc22d018ca12009d627757b4cdf16b4374ac545be36b6db6dac09df1da4717c629d4a9e3a145044408c74f0ee9921f923399bd17af0f29c257d7e62c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-cloudresourcemanager_v2
|
2
2
|
|
3
|
+
### v0.15.0 (2021-11-09)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211107
|
6
|
+
|
7
|
+
### v0.14.0 (2021-10-20)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211017
|
10
|
+
|
11
|
+
### v0.13.0 (2021-10-05)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20211003
|
14
|
+
|
15
|
+
### v0.12.0 (2021-09-01)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210830
|
18
|
+
|
3
19
|
### v0.11.0 (2021-08-03)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20210801
|
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
|
@@ -611,13 +611,16 @@ module Google
|
|
611
611
|
class GetPolicyOptions
|
612
612
|
include Google::Apis::Core::Hashable
|
613
613
|
|
614
|
-
# Optional. The policy
|
615
|
-
# 3. Requests specifying an invalid value will be
|
616
|
-
# policies with any conditional bindings must
|
617
|
-
#
|
618
|
-
# field unset.
|
619
|
-
#
|
620
|
-
#
|
614
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
615
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
616
|
+
# rejected. Requests for policies with any conditional role bindings must
|
617
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
618
|
+
# valid value or leave the field unset. The policy in the response might use the
|
619
|
+
# policy version that you specified, or it might use a lower policy version. For
|
620
|
+
# example, if you specify version 3, but the policy has no conditional role
|
621
|
+
# bindings, the response uses version 1. To learn which resources support
|
622
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
623
|
+
# google.com/iam/help/conditions/resource-policies).
|
621
624
|
# Corresponds to the JSON property `requestedPolicyVersion`
|
622
625
|
# @return [Fixnum]
|
623
626
|
attr_accessor :requested_policy_version
|
@@ -789,31 +792,31 @@ module Google
|
|
789
792
|
|
790
793
|
# An Identity and Access Management (IAM) policy, which specifies access
|
791
794
|
# 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/).
|
795
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
796
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
797
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
798
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
799
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
800
|
+
# logical expression that allows access to a resource only if the expression
|
801
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
802
|
+
# the request, the resource, or both. To learn which resources support
|
803
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
804
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
805
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
806
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
807
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
808
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
809
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
810
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
811
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
812
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
813
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
814
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
815
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
816
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
817
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
818
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
819
|
+
# cloud.google.com/iam/docs/).
|
817
820
|
class Policy
|
818
821
|
include Google::Apis::Core::Hashable
|
819
822
|
|
@@ -822,9 +825,14 @@ module Google
|
|
822
825
|
# @return [Array<Google::Apis::CloudresourcemanagerV2::AuditConfig>]
|
823
826
|
attr_accessor :audit_configs
|
824
827
|
|
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
|
828
|
+
# Associates a list of `members`, or principals, with a `role`. Optionally, may
|
829
|
+
# specify a `condition` that determines how and when the `bindings` are applied.
|
830
|
+
# Each of the `bindings` must contain at least one principal. The `bindings` in
|
831
|
+
# a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
|
832
|
+
# can be Google groups. Each occurrence of a principal counts towards these
|
833
|
+
# limits. For example, if the `bindings` grant 50 different roles to `user:alice@
|
834
|
+
# example.com`, and not to any other principal, then you can add another 1,450
|
835
|
+
# principals to the `bindings` in the `Policy`.
|
828
836
|
# Corresponds to the JSON property `bindings`
|
829
837
|
# @return [Array<Google::Apis::CloudresourcemanagerV2::Binding>]
|
830
838
|
attr_accessor :bindings
|
@@ -917,7 +925,9 @@ module Google
|
|
917
925
|
class SearchFoldersRequest
|
918
926
|
include Google::Apis::Core::Hashable
|
919
927
|
|
920
|
-
# Optional. The maximum number of folders to return in the response.
|
928
|
+
# Optional. The maximum number of folders to return in the response. The server
|
929
|
+
# can return fewer folders than requested. If unspecified, server picks an
|
930
|
+
# appropriate default.
|
921
931
|
# Corresponds to the JSON property `pageSize`
|
922
932
|
# @return [Fixnum]
|
923
933
|
attr_accessor :page_size
|
@@ -990,31 +1000,31 @@ module Google
|
|
990
1000
|
|
991
1001
|
# An Identity and Access Management (IAM) policy, which specifies access
|
992
1002
|
# 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/).
|
1003
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
1004
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
1005
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
1006
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
1007
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
1008
|
+
# logical expression that allows access to a resource only if the expression
|
1009
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
1010
|
+
# the request, the resource, or both. To learn which resources support
|
1011
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
1012
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
1013
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
1014
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
1015
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
1016
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
1017
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
1018
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
1019
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
1020
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
1021
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1022
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
1023
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
1024
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
1025
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
1026
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
1027
|
+
# cloud.google.com/iam/docs/).
|
1018
1028
|
# Corresponds to the JSON property `policy`
|
1019
1029
|
# @return [Google::Apis::CloudresourcemanagerV2::Policy]
|
1020
1030
|
attr_accessor :policy
|
@@ -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.15.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 = "20211107"
|
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.
|
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.15.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-11-15 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.15.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:
|