google-apis-cloudresourcemanager_v3 0.13.0 → 0.17.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: b50efb867e70a60f75fa0827860010596450fd59d570b6900c5445a9b5bcd998
|
4
|
+
data.tar.gz: a2809dad601edd5be3743d95910663fb6ff362326022699f0595303af0591bea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 66b0e36c5541cc515eea98c19787c6440cbb1d90d83c5f088c5541d8f8cef5296e5c9822e49cb395ce13d25de65aeaf364616530a55bbdabf9b6a0024e9c731c
|
7
|
+
data.tar.gz: eaaea92a5af92a784737a68445ec521191254e38a6c708879857a1b9573402221476ded038741a4b203fdc313550f7d76dbb81af49315dfea82b87a22c02199e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-cloudresourcemanager_v3
|
2
2
|
|
3
|
+
### v0.17.0 (2021-11-02)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211029
|
6
|
+
|
7
|
+
### v0.16.0 (2021-10-20)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211017
|
10
|
+
|
11
|
+
### v0.15.0 (2021-10-05)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20211003
|
14
|
+
|
15
|
+
### v0.14.0 (2021-09-01)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210830
|
18
|
+
|
3
19
|
### v0.13.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::CloudresourcemanagerV3::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
|
|
@@ -1116,31 +1116,31 @@ module Google
|
|
1116
1116
|
|
1117
1117
|
# An Identity and Access Management (IAM) policy, which specifies access
|
1118
1118
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
1119
|
-
# A `binding` binds one or more `members
|
1120
|
-
# user accounts, service accounts, Google groups, and domains (
|
1121
|
-
# A `role` is a named list of permissions; each `role` can be
|
1122
|
-
# role or a user-created custom role. For some types of Google
|
1123
|
-
# a `binding` can also specify a `condition`, which is a
|
1124
|
-
# allows access to a resource only if the expression
|
1125
|
-
# condition can add constraints based on attributes of
|
1126
|
-
# or both. To learn which resources support
|
1127
|
-
# see the [IAM documentation](https://cloud.
|
1128
|
-
# resource-policies). **JSON example:** ` "
|
1129
|
-
# resourcemanager.organizationAdmin", "members": [
|
1130
|
-
# group:admins@example.com", "domain:google.com", "
|
1131
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
1132
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
1133
|
-
# title": "expirable access", "description": "Does not grant
|
1134
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
1135
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
1136
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
1137
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1138
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
1139
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
1140
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
1141
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
1142
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
1143
|
-
# google.com/iam/docs/).
|
1119
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
1120
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
1121
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
1122
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
1123
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
1124
|
+
# logical expression that allows access to a resource only if the expression
|
1125
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
1126
|
+
# the request, the resource, or both. To learn which resources support
|
1127
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
1128
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
1129
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
1130
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
1131
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
1132
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
1133
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
1134
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
1135
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
1136
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
1137
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1138
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
1139
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
1140
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
1141
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
1142
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
1143
|
+
# cloud.google.com/iam/docs/).
|
1144
1144
|
class Policy
|
1145
1145
|
include Google::Apis::Core::Hashable
|
1146
1146
|
|
@@ -1149,9 +1149,14 @@ module Google
|
|
1149
1149
|
# @return [Array<Google::Apis::CloudresourcemanagerV3::AuditConfig>]
|
1150
1150
|
attr_accessor :audit_configs
|
1151
1151
|
|
1152
|
-
# Associates a list of `members
|
1153
|
-
# condition` that determines how and when the `bindings` are applied.
|
1154
|
-
# the `bindings` must contain at least one
|
1152
|
+
# Associates a list of `members`, or principals, with a `role`. Optionally, may
|
1153
|
+
# specify a `condition` that determines how and when the `bindings` are applied.
|
1154
|
+
# Each of the `bindings` must contain at least one principal. The `bindings` in
|
1155
|
+
# a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
|
1156
|
+
# can be Google groups. Each occurrence of a principal counts towards these
|
1157
|
+
# limits. For example, if the `bindings` grant 50 different roles to `user:alice@
|
1158
|
+
# example.com`, and not to any other principal, then you can add another 1,450
|
1159
|
+
# principals to the `bindings` in the `Policy`.
|
1155
1160
|
# Corresponds to the JSON property `bindings`
|
1156
1161
|
# @return [Array<Google::Apis::CloudresourcemanagerV3::Binding>]
|
1157
1162
|
attr_accessor :bindings
|
@@ -1424,31 +1429,31 @@ module Google
|
|
1424
1429
|
|
1425
1430
|
# An Identity and Access Management (IAM) policy, which specifies access
|
1426
1431
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
1427
|
-
# A `binding` binds one or more `members
|
1428
|
-
# user accounts, service accounts, Google groups, and domains (
|
1429
|
-
# A `role` is a named list of permissions; each `role` can be
|
1430
|
-
# role or a user-created custom role. For some types of Google
|
1431
|
-
# a `binding` can also specify a `condition`, which is a
|
1432
|
-
# allows access to a resource only if the expression
|
1433
|
-
# condition can add constraints based on attributes of
|
1434
|
-
# or both. To learn which resources support
|
1435
|
-
# see the [IAM documentation](https://cloud.
|
1436
|
-
# resource-policies). **JSON example:** ` "
|
1437
|
-
# resourcemanager.organizationAdmin", "members": [
|
1438
|
-
# group:admins@example.com", "domain:google.com", "
|
1439
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
1440
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
1441
|
-
# title": "expirable access", "description": "Does not grant
|
1442
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
1443
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
1444
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
1445
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1446
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
1447
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
1448
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
1449
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
1450
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
1451
|
-
# google.com/iam/docs/).
|
1432
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
1433
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
1434
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
1435
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
1436
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
1437
|
+
# logical expression that allows access to a resource only if the expression
|
1438
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
1439
|
+
# the request, the resource, or both. To learn which resources support
|
1440
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
1441
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
1442
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
1443
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
1444
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
1445
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
1446
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
1447
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
1448
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
1449
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
1450
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1451
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
1452
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
1453
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
1454
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
1455
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
1456
|
+
# cloud.google.com/iam/docs/).
|
1452
1457
|
# Corresponds to the JSON property `policy`
|
1453
1458
|
# @return [Google::Apis::CloudresourcemanagerV3::Policy]
|
1454
1459
|
attr_accessor :policy
|
@@ -1752,8 +1757,8 @@ module Google
|
|
1752
1757
|
end
|
1753
1758
|
end
|
1754
1759
|
|
1755
|
-
# A status object which is used as the `metadata` field for the
|
1756
|
-
# returned by UndeleteOrganization.
|
1760
|
+
# LINT.IfChange A status object which is used as the `metadata` field for the
|
1761
|
+
# Operation returned by UndeleteOrganization.
|
1757
1762
|
class UndeleteOrganizationMetadata
|
1758
1763
|
include Google::Apis::Core::Hashable
|
1759
1764
|
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module CloudresourcemanagerV3
|
18
18
|
# Version of the google-apis-cloudresourcemanager_v3 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.17.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 = "20211029"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -210,8 +210,9 @@ module Google
|
|
210
210
|
# ascending) lexical ordering of their display_name. The caller must have `
|
211
211
|
# resourcemanager.folders.list` permission on the identified parent.
|
212
212
|
# @param [Fixnum] page_size
|
213
|
-
# Optional. The maximum number of folders to return in the response.
|
214
|
-
# unspecified, server picks an
|
213
|
+
# Optional. The maximum number of folders to return in the response. The server
|
214
|
+
# can return fewer folders than requested. If unspecified, server picks an
|
215
|
+
# appropriate default.
|
215
216
|
# @param [String] page_token
|
216
217
|
# Optional. A pagination token returned from a previous call to `ListFolders`
|
217
218
|
# that indicates where this listing should continue from.
|
@@ -350,8 +351,9 @@ module Google
|
|
350
351
|
# specified filter criteria. This will only return folders on which the caller
|
351
352
|
# has the permission `resourcemanager.folders.get`.
|
352
353
|
# @param [Fixnum] page_size
|
353
|
-
# Optional. The maximum number of folders to return in the response.
|
354
|
-
# unspecified, server picks an
|
354
|
+
# Optional. The maximum number of folders to return in the response. The server
|
355
|
+
# can return fewer folders than requested. If unspecified, server picks an
|
356
|
+
# appropriate default.
|
355
357
|
# @param [String] page_token
|
356
358
|
# Optional. A pagination token returned from a previous call to `SearchFolders`
|
357
359
|
# that indicates from where search should continue.
|
@@ -362,13 +364,13 @@ module Google
|
|
362
364
|
# parent, where the operators `=` (`:`) `NOT`, `AND` and `OR` can be used along
|
363
365
|
# with the suffix wildcard symbol `*`. The `displayName` field in a query
|
364
366
|
# expression should use escaped quotes for values that include whitespace to
|
365
|
-
# prevent unexpected behavior. | Field | Description |
|
366
|
-
#
|
367
|
+
# prevent unexpected behavior. ``` | Field | Description | |---------------------
|
368
|
+
# ----|----------------------------------------| | displayName | Filters by
|
367
369
|
# displayName. | | parent | Filters by parent (for example: folders/123). | |
|
368
|
-
# state, lifecycleState | Filters by state. | Some example queries are: *
|
369
|
-
# displayName=Test*` returns Folder resources whose display name starts
|
370
|
-
# Test". * Query `state=ACTIVE` returns Folder resources with `state` set
|
371
|
-
# ACTIVE`. * Query `parent=folders/123` returns Folder resources that have `
|
370
|
+
# state, lifecycleState | Filters by state. | ``` Some example queries are: *
|
371
|
+
# Query `displayName=Test*` returns Folder resources whose display name starts
|
372
|
+
# with "Test". * Query `state=ACTIVE` returns Folder resources with `state` set
|
373
|
+
# to `ACTIVE`. * Query `parent=folders/123` returns Folder resources that have `
|
372
374
|
# folders/123` as a parent resource. * Query `parent=folders/123 AND state=
|
373
375
|
# ACTIVE` returns active Folder resources that have `folders/123` as a parent
|
374
376
|
# resource. * Query `displayName=\\"Test String\\"` returns Folder resources
|
@@ -618,6 +620,8 @@ module Google
|
|
618
620
|
# parent` of `projects/1234` requires permission `resourcemanager.projects.get`.
|
619
621
|
# @param [Fixnum] page_size
|
620
622
|
# The maximum number of items to return. This is a suggestion for the server.
|
623
|
+
# The server can return fewer liens than requested. If unspecified, server picks
|
624
|
+
# an appropriate default.
|
621
625
|
# @param [String] page_token
|
622
626
|
# The `next_page_token` value returned from a previous List request, if any.
|
623
627
|
# @param [String] parent
|
@@ -761,17 +765,18 @@ module Google
|
|
761
765
|
# take a small amount of time to appear. Search will only return organizations
|
762
766
|
# on which the user has the permission `resourcemanager.organizations.get`
|
763
767
|
# @param [Fixnum] page_size
|
764
|
-
# Optional. The maximum number of organizations to return in the response.
|
765
|
-
#
|
768
|
+
# Optional. The maximum number of organizations to return in the response. The
|
769
|
+
# server can return fewer organizations than requested. If unspecified, server
|
770
|
+
# picks an appropriate default.
|
766
771
|
# @param [String] page_token
|
767
772
|
# Optional. A pagination token returned from a previous call to `
|
768
773
|
# SearchOrganizations` that indicates from where listing should continue.
|
769
774
|
# @param [String] query
|
770
775
|
# Optional. An optional query string used to filter the Organizations to return
|
771
|
-
# in the response. Query rules are case-insensitive. | Field | Description |
|
772
|
-
#
|
776
|
+
# in the response. Query rules are case-insensitive. ``` | Field | Description |
|
777
|
+
# |------------------|--------------------------------------------| |
|
773
778
|
# directoryCustomerId, owner.directoryCustomerId | Filters by directory customer
|
774
|
-
# id. | | domain | Filters by domain. | Organizations may be queried by `
|
779
|
+
# id. | | domain | Filters by domain. | ``` Organizations may be queried by `
|
775
780
|
# directoryCustomerId` or by `domain`, where the domain is a G Suite domain, for
|
776
781
|
# example: * Query `directorycustomerid:123456789` returns Organization
|
777
782
|
# resources with `owner.directory_customer_id` equal to `123456789`. * Query `
|
@@ -987,8 +992,9 @@ module Google
|
|
987
992
|
execute_or_queue_command(command, &block)
|
988
993
|
end
|
989
994
|
|
990
|
-
# Returns the IAM access control policy for the specified project
|
991
|
-
#
|
995
|
+
# Returns the IAM access control policy for the specified project, in the format
|
996
|
+
# `projects/`ProjectIdOrNumber`` e.g. projects/123. Permission is denied if the
|
997
|
+
# policy or the resource do not exist.
|
992
998
|
# @param [String] resource
|
993
999
|
# REQUIRED: The resource for which the policy is being requested. See the
|
994
1000
|
# operation documentation for the appropriate value for this field.
|
@@ -1076,11 +1082,10 @@ module Google
|
|
1076
1082
|
# resource parent. Returns an operation which can be used to track the process
|
1077
1083
|
# of the project move workflow. Upon success, the `Operation.response` field
|
1078
1084
|
# will be populated with the moved project. The caller must have `
|
1079
|
-
# resourcemanager.projects.
|
1080
|
-
#
|
1081
|
-
#
|
1082
|
-
#
|
1083
|
-
# resourcemanager.projects.setIamPolicy` permission in the project.
|
1085
|
+
# resourcemanager.projects.move` permission on the project, on the project's
|
1086
|
+
# current and proposed new parent. If project has no current parent, or it
|
1087
|
+
# currently does not have an associated organization resource, you will also
|
1088
|
+
# need the `resourcemanager.projects.setIamPolicy` permission in the project.
|
1084
1089
|
# @param [String] name
|
1085
1090
|
# Required. The name of the project to move.
|
1086
1091
|
# @param [Google::Apis::CloudresourcemanagerV3::MoveProjectRequest] move_project_request_object
|
@@ -1171,24 +1176,24 @@ module Google
|
|
1171
1176
|
# Optional. A query string for searching for projects that the caller has `
|
1172
1177
|
# resourcemanager.projects.get` permission to. If multiple fields are included
|
1173
1178
|
# in the query, the it will return results that match any of the fields. Some
|
1174
|
-
# eligible fields are: | Field | Description |
|
1175
|
-
#
|
1179
|
+
# eligible fields are: ``` | Field | Description | |-------------------------|---
|
1180
|
+
# -------------------------------------------| | displayName, name | Filters by
|
1176
1181
|
# displayName. | | parent | Project's parent (for example: folders/123,
|
1177
1182
|
# organizations/*). Prefer parent field over parent.type and parent.id.| |
|
1178
1183
|
# parent.type | Parent's type: `folder` or `organization`. | | parent.id |
|
1179
1184
|
# Parent's id number (for example: 123) | | id, projectId | Filters by projectId.
|
1180
1185
|
# | | state, lifecycleState | Filters by state. | | labels | Filters by label
|
1181
1186
|
# name or value. | | labels.\ (where *key* is the name of a label) | Filters by
|
1182
|
-
# label name.| Search expressions are case insensitive. Some examples
|
1183
|
-
# Query | Description |
|
1184
|
-
#
|
1185
|
-
# Howl | The project's name is `Howl` or `howl`. | | name:HOWL |
|
1186
|
-
# above. | | NAME:howl | Equivalent to above. | | labels.color:* |
|
1187
|
-
# has the label `color`. | | labels.color:red | The project's label `
|
1188
|
-
# the value `red`. | | labels.color:red labels.size:big | The project'
|
1189
|
-
# color` has the value `red` and its label `size` has the value `big`.|
|
1190
|
-
# query is specified, the call will return projects for which the user
|
1191
|
-
# resourcemanager.projects.get` permission.
|
1187
|
+
# label name.| ``` Search expressions are case insensitive. Some examples
|
1188
|
+
# queries: ``` | Query | Description | |------------------|----------------------
|
1189
|
+
# -------------------------------| | name:how* | The project's name starts with "
|
1190
|
+
# how". | | name:Howl | The project's name is `Howl` or `howl`. | | name:HOWL |
|
1191
|
+
# Equivalent to above. | | NAME:howl | Equivalent to above. | | labels.color:* |
|
1192
|
+
# The project has the label `color`. | | labels.color:red | The project's label `
|
1193
|
+
# color` has the value `red`. | | labels.color:red labels.size:big | The project'
|
1194
|
+
# s label `color` has the value `red` and its label `size` has the value `big`.|
|
1195
|
+
# ``` If no query is specified, the call will return projects for which the user
|
1196
|
+
# has the `resourcemanager.projects.get` permission.
|
1192
1197
|
# @param [String] fields
|
1193
1198
|
# Selector specifying which fields to include in a partial response.
|
1194
1199
|
# @param [String] quota_user
|
@@ -1218,33 +1223,34 @@ module Google
|
|
1218
1223
|
execute_or_queue_command(command, &block)
|
1219
1224
|
end
|
1220
1225
|
|
1221
|
-
# Sets the IAM access control policy for the specified project
|
1222
|
-
#
|
1223
|
-
#
|
1224
|
-
#
|
1225
|
-
#
|
1226
|
-
#
|
1227
|
-
# setIamPolicy()`: + Project does
|
1228
|
-
# allAuthenticatedUsers` as `members` in a `Binding`
|
1229
|
-
# role can be granted to a `user`, `serviceAccount`,
|
1230
|
-
# an organization. For example, group@
|
1231
|
-
# an owner to a project in the
|
1232
|
-
#
|
1233
|
-
#
|
1234
|
-
#
|
1235
|
-
#
|
1236
|
-
#
|
1237
|
-
#
|
1238
|
-
#
|
1239
|
-
#
|
1240
|
-
#
|
1241
|
-
#
|
1242
|
-
#
|
1243
|
-
#
|
1244
|
-
#
|
1245
|
-
#
|
1246
|
-
# the
|
1247
|
-
#
|
1226
|
+
# Sets the IAM access control policy for the specified project, in the format `
|
1227
|
+
# projects/`ProjectIdOrNumber`` e.g. projects/123. CAUTION: This method will
|
1228
|
+
# replace the existing policy, and cannot be used to append additional IAM
|
1229
|
+
# settings. Note: Removing service accounts from policies or changing their
|
1230
|
+
# roles can render services completely inoperable. It is important to understand
|
1231
|
+
# how the service account is being used before removing or updating its roles.
|
1232
|
+
# The following constraints apply when using `setIamPolicy()`: + Project does
|
1233
|
+
# not support `allUsers` and `allAuthenticatedUsers` as `members` in a `Binding`
|
1234
|
+
# of a `Policy`. + The owner role can be granted to a `user`, `serviceAccount`,
|
1235
|
+
# or a group that is part of an organization. For example, group@
|
1236
|
+
# myownpersonaldomain.com could be added as an owner to a project in the
|
1237
|
+
# myownpersonaldomain.com organization, but not the examplepetstore.com
|
1238
|
+
# organization. + Service accounts can be made owners of a project directly
|
1239
|
+
# without any restrictions. However, to be added as an owner, a user must be
|
1240
|
+
# invited using the Cloud Platform console and must accept the invitation. + A
|
1241
|
+
# user cannot be granted the owner role using `setIamPolicy()`. The user must be
|
1242
|
+
# granted the owner role using the Cloud Platform Console and must explicitly
|
1243
|
+
# accept the invitation. + Invitations to grant the owner role cannot be sent
|
1244
|
+
# using `setIamPolicy()`; they must be sent only using the Cloud Platform
|
1245
|
+
# Console. + Membership changes that leave the project without any owners that
|
1246
|
+
# have accepted the Terms of Service (ToS) will be rejected. + If the project is
|
1247
|
+
# not part of an organization, there must be at least one owner who has accepted
|
1248
|
+
# the Terms of Service (ToS) agreement in the policy. Calling `setIamPolicy()`
|
1249
|
+
# to remove the last ToS-accepted owner from the policy will fail. This
|
1250
|
+
# restriction also applies to legacy projects that no longer have owners who
|
1251
|
+
# have accepted the ToS. Edits to IAM policies will be rejected until the lack
|
1252
|
+
# of a ToS-accepting owner is rectified. + Calling this method requires enabling
|
1253
|
+
# the App Engine Admin API.
|
1248
1254
|
# @param [String] resource
|
1249
1255
|
# REQUIRED: The resource for which the policy is being specified. See the
|
1250
1256
|
# operation documentation for the appropriate value for this field.
|
@@ -1278,7 +1284,8 @@ module Google
|
|
1278
1284
|
execute_or_queue_command(command, &block)
|
1279
1285
|
end
|
1280
1286
|
|
1281
|
-
# Returns permissions that a caller has on the specified project
|
1287
|
+
# Returns permissions that a caller has on the specified project, in the format `
|
1288
|
+
# projects/`ProjectIdOrNumber`` e.g. projects/123..
|
1282
1289
|
# @param [String] resource
|
1283
1290
|
# REQUIRED: The resource for which the policy detail is being requested. See the
|
1284
1291
|
# operation documentation for the appropriate value for this field.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-cloudresourcemanager_v3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.17.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-08
|
11
|
+
date: 2021-11-08 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_v3/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_v3/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudresourcemanager_v3/v0.17.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudresourcemanager_v3
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|