google-apis-cloudresourcemanager_v3 0.67.0 → 0.69.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/cloudresourcemanager_v3/classes.rb +209 -4
- data/lib/google/apis/cloudresourcemanager_v3/gem_version.rb +3 -3
- data/lib/google/apis/cloudresourcemanager_v3/representations.rb +81 -0
- data/lib/google/apis/cloudresourcemanager_v3/service.rb +568 -42
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b7d872fe489e1f4d4672307432dbcea2f7d1ffb42788fe72eddf8e5d68b389aa
|
|
4
|
+
data.tar.gz: 1041d349d612bc7adaf6ed2f0ea412cb1cb6613a4c1e140f093dfd5501aad6da
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 812854449b2a0e089d22b7a7b4acd50bb2953702d94989b492626de7bb1360c1e932d4ab4156b7280d2abf2d9e11d7f19e376183660d04b5d7f6bc49c8c7e774
|
|
7
|
+
data.tar.gz: 0ae112989bea3ac89ffb6bf72c62570f82df35f66b7c147eccb1d816c014a4abd85234bcaa0b2058728e0556f3e55d468c4d32d92ca8159d688591be56d1937d
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Release history for google-apis-cloudresourcemanager_v3
|
|
2
2
|
|
|
3
|
+
### v0.69.0 (2026-11-29)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20261115
|
|
6
|
+
* Regenerated using generator version 0.19.3
|
|
7
|
+
|
|
8
|
+
### v0.68.0 (2026-10-28)
|
|
9
|
+
|
|
10
|
+
* Regenerated from discovery document revision 20261018
|
|
11
|
+
|
|
3
12
|
### v0.67.0 (2026-10-21)
|
|
4
13
|
|
|
5
14
|
* Regenerated from discovery document revision 20261011
|
data/OVERVIEW.md
CHANGED
|
@@ -85,7 +85,7 @@ The [product documentation](https://cloud.google.com/resource-manager) may provi
|
|
|
85
85
|
|
|
86
86
|
This library is supported on Ruby 3.2+.
|
|
87
87
|
|
|
88
|
-
Google provides official support for Ruby versions
|
|
88
|
+
Google provides official support for Ruby versions as described in the [Supported Ruby versions](https://docs.cloud.google.com/ruby/getting-started/supported-ruby-versions) policy. Older versions of Ruby _may_ still work, but are unsupported and not recommended.
|
|
89
89
|
|
|
90
90
|
## License
|
|
91
91
|
|
|
@@ -194,6 +194,123 @@ module Google
|
|
|
194
194
|
end
|
|
195
195
|
end
|
|
196
196
|
|
|
197
|
+
# A Boundary is a collection of projects defined by a filtering criteria on an
|
|
198
|
+
# organization or a folder.
|
|
199
|
+
class Boundary
|
|
200
|
+
include Google::Apis::Core::Hashable
|
|
201
|
+
|
|
202
|
+
# Output only. The creation time of the Boundary.
|
|
203
|
+
# Corresponds to the JSON property `createTime`
|
|
204
|
+
# @return [String]
|
|
205
|
+
attr_accessor :create_time
|
|
206
|
+
|
|
207
|
+
# Optional. Human-readable display name of the Boundary. When present it must be
|
|
208
|
+
# between 4 to 30 characters. Allowed characters are: lowercase and uppercase
|
|
209
|
+
# letters, numbers, hyphen, single-quote, double-quote, space, and exclamation
|
|
210
|
+
# point. Example: `My Production Boundary`
|
|
211
|
+
# Corresponds to the JSON property `displayName`
|
|
212
|
+
# @return [String]
|
|
213
|
+
attr_accessor :display_name
|
|
214
|
+
|
|
215
|
+
# This checksum is computed by the server based on the value of other fields,
|
|
216
|
+
# and may be sent on update and delete requests to ensure the client has an up-
|
|
217
|
+
# to-date value before proceeding.
|
|
218
|
+
# Corresponds to the JSON property `etag`
|
|
219
|
+
# @return [String]
|
|
220
|
+
attr_accessor :etag
|
|
221
|
+
|
|
222
|
+
# Output only. The Management Project of the CapabilityConfig this Boundary is
|
|
223
|
+
# associated with. Will be empty if the Boundary is not associated with any
|
|
224
|
+
# CapabilityConfig. Format: `projects/`project_number`` Example: `projects/
|
|
225
|
+
# 123456789012`
|
|
226
|
+
# Corresponds to the JSON property `managementProject`
|
|
227
|
+
# @return [String]
|
|
228
|
+
attr_accessor :management_project
|
|
229
|
+
|
|
230
|
+
# Identifier. The unique resource name of the Boundary. Format: - `organizations/
|
|
231
|
+
# `organization_id`/boundaries/`boundary_id`` - `folders/`folder_id`/boundaries/`
|
|
232
|
+
# boundary_id`` Example: `folders/123456789/boundaries/my-boundary`
|
|
233
|
+
# Corresponds to the JSON property `name`
|
|
234
|
+
# @return [String]
|
|
235
|
+
attr_accessor :name
|
|
236
|
+
|
|
237
|
+
# Filter to define the criteria for including projects in the Boundary.
|
|
238
|
+
# Corresponds to the JSON property `resourceFilter`
|
|
239
|
+
# @return [Google::Apis::CloudresourcemanagerV3::ResourceFilter]
|
|
240
|
+
attr_accessor :resource_filter
|
|
241
|
+
|
|
242
|
+
# Output only. The lifecycle state of the Boundary.
|
|
243
|
+
# Corresponds to the JSON property `state`
|
|
244
|
+
# @return [String]
|
|
245
|
+
attr_accessor :state
|
|
246
|
+
|
|
247
|
+
# Output only. The most recent time this Boundary was modified.
|
|
248
|
+
# Corresponds to the JSON property `updateTime`
|
|
249
|
+
# @return [String]
|
|
250
|
+
attr_accessor :update_time
|
|
251
|
+
|
|
252
|
+
def initialize(**args)
|
|
253
|
+
update!(**args)
|
|
254
|
+
end
|
|
255
|
+
|
|
256
|
+
# Update properties of this object
|
|
257
|
+
def update!(**args)
|
|
258
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
259
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
260
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
261
|
+
@management_project = args[:management_project] if args.key?(:management_project)
|
|
262
|
+
@name = args[:name] if args.key?(:name)
|
|
263
|
+
@resource_filter = args[:resource_filter] if args.key?(:resource_filter)
|
|
264
|
+
@state = args[:state] if args.key?(:state)
|
|
265
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
266
|
+
end
|
|
267
|
+
end
|
|
268
|
+
|
|
269
|
+
# A BoundaryConfig defines the common configurations regarding Boundaries
|
|
270
|
+
# defined under a parent CRM node (Folder or Organization), such as the
|
|
271
|
+
# partitioning tag key.
|
|
272
|
+
class BoundaryConfig
|
|
273
|
+
include Google::Apis::Core::Hashable
|
|
274
|
+
|
|
275
|
+
# This checksum is computed by the server based on the value of other fields,
|
|
276
|
+
# and may be sent on update requests to ensure the client has an up-to-date
|
|
277
|
+
# value before proceeding.
|
|
278
|
+
# Corresponds to the JSON property `etag`
|
|
279
|
+
# @return [String]
|
|
280
|
+
attr_accessor :etag
|
|
281
|
+
|
|
282
|
+
# Identifier. The unique resource name of the BoundaryConfig. Format: - `
|
|
283
|
+
# organizations/`organization`/boundaryConfig` - `folders/`folder`/
|
|
284
|
+
# boundaryConfig` Example: `folders/123456789/boundaryConfig`
|
|
285
|
+
# Corresponds to the JSON property `name`
|
|
286
|
+
# @return [String]
|
|
287
|
+
attr_accessor :name
|
|
288
|
+
|
|
289
|
+
# Optional. The namespaced name of the tag key. Format: ``parent_id`/`
|
|
290
|
+
# tag_key_short_name`` Example: `123456789012/env` (where 123456789012 is the
|
|
291
|
+
# organization ID).
|
|
292
|
+
# Corresponds to the JSON property `tagKey`
|
|
293
|
+
# @return [String]
|
|
294
|
+
attr_accessor :tag_key
|
|
295
|
+
|
|
296
|
+
# Output only. The most recent time this BoundaryConfig was modified.
|
|
297
|
+
# Corresponds to the JSON property `updateTime`
|
|
298
|
+
# @return [String]
|
|
299
|
+
attr_accessor :update_time
|
|
300
|
+
|
|
301
|
+
def initialize(**args)
|
|
302
|
+
update!(**args)
|
|
303
|
+
end
|
|
304
|
+
|
|
305
|
+
# Update properties of this object
|
|
306
|
+
def update!(**args)
|
|
307
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
308
|
+
@name = args[:name] if args.key?(:name)
|
|
309
|
+
@tag_key = args[:tag_key] if args.key?(:tag_key)
|
|
310
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
311
|
+
end
|
|
312
|
+
end
|
|
313
|
+
|
|
197
314
|
# Representation of a Capability.
|
|
198
315
|
class Capability
|
|
199
316
|
include Google::Apis::Core::Hashable
|
|
@@ -1128,6 +1245,39 @@ module Google
|
|
|
1128
1245
|
end
|
|
1129
1246
|
end
|
|
1130
1247
|
|
|
1248
|
+
# A page of the response received from the ListBoundaries method. A paginated
|
|
1249
|
+
# response where more pages are available has `next_page_token` set. This token
|
|
1250
|
+
# can be used in a subsequent request to retrieve the next page. NOTE: A
|
|
1251
|
+
# response may contain fewer elements than the request `page_size` and still
|
|
1252
|
+
# have a `next_page_token`.
|
|
1253
|
+
class ListBoundariesResponse
|
|
1254
|
+
include Google::Apis::Core::Hashable
|
|
1255
|
+
|
|
1256
|
+
# The list of Boundaries under the parent. This list can be paginated.
|
|
1257
|
+
# Corresponds to the JSON property `boundaries`
|
|
1258
|
+
# @return [Array<Google::Apis::CloudresourcemanagerV3::Boundary>]
|
|
1259
|
+
attr_accessor :boundaries
|
|
1260
|
+
|
|
1261
|
+
# Pagination token. If the result set is too large to fit in a single response,
|
|
1262
|
+
# this token is returned. It encodes the position of the current result cursor.
|
|
1263
|
+
# Feeding this value into a new list request with the `page_token` parameter
|
|
1264
|
+
# gives the next page of the results. When `next_page_token` is not filled in,
|
|
1265
|
+
# there is no next page and the list returned is the last page in the result set.
|
|
1266
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
1267
|
+
# @return [String]
|
|
1268
|
+
attr_accessor :next_page_token
|
|
1269
|
+
|
|
1270
|
+
def initialize(**args)
|
|
1271
|
+
update!(**args)
|
|
1272
|
+
end
|
|
1273
|
+
|
|
1274
|
+
# Update properties of this object
|
|
1275
|
+
def update!(**args)
|
|
1276
|
+
@boundaries = args[:boundaries] if args.key?(:boundaries)
|
|
1277
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1278
|
+
end
|
|
1279
|
+
end
|
|
1280
|
+
|
|
1131
1281
|
# A page of the response received from the ListCapabilityConfigs method. A
|
|
1132
1282
|
# paginated response where more pages are available has `next_page_token` set.
|
|
1133
1283
|
# This token can be used in a subsequent request to retrieve the next page. NOTE:
|
|
@@ -1760,6 +1910,12 @@ module Google
|
|
|
1760
1910
|
# @return [Hash<String,String>]
|
|
1761
1911
|
attr_accessor :labels
|
|
1762
1912
|
|
|
1913
|
+
# Output only. The type of Management Project. This field is only populated if `
|
|
1914
|
+
# is_management_project` is `true`.
|
|
1915
|
+
# Corresponds to the JSON property `managementType`
|
|
1916
|
+
# @return [String]
|
|
1917
|
+
attr_accessor :management_type
|
|
1918
|
+
|
|
1763
1919
|
# Output only. The unique resource name of the project. It is an int64 generated
|
|
1764
1920
|
# number prefixed by "projects/". Example: `projects/415104041262`
|
|
1765
1921
|
# Corresponds to the JSON property `name`
|
|
@@ -1810,6 +1966,7 @@ module Google
|
|
|
1810
1966
|
@etag = args[:etag] if args.key?(:etag)
|
|
1811
1967
|
@is_management_project = args[:is_management_project] if args.key?(:is_management_project)
|
|
1812
1968
|
@labels = args[:labels] if args.key?(:labels)
|
|
1969
|
+
@management_type = args[:management_type] if args.key?(:management_type)
|
|
1813
1970
|
@name = args[:name] if args.key?(:name)
|
|
1814
1971
|
@parent = args[:parent] if args.key?(:parent)
|
|
1815
1972
|
@project_id = args[:project_id] if args.key?(:project_id)
|
|
@@ -1855,6 +2012,25 @@ module Google
|
|
|
1855
2012
|
end
|
|
1856
2013
|
end
|
|
1857
2014
|
|
|
2015
|
+
# Filter to define the criteria for including projects in the Boundary.
|
|
2016
|
+
class ResourceFilter
|
|
2017
|
+
include Google::Apis::Core::Hashable
|
|
2018
|
+
|
|
2019
|
+
# Matches projects based on a specific tag key and a specific tag value.
|
|
2020
|
+
# Corresponds to the JSON property `tagFilter`
|
|
2021
|
+
# @return [Google::Apis::CloudresourcemanagerV3::TagFilter]
|
|
2022
|
+
attr_accessor :tag_filter
|
|
2023
|
+
|
|
2024
|
+
def initialize(**args)
|
|
2025
|
+
update!(**args)
|
|
2026
|
+
end
|
|
2027
|
+
|
|
2028
|
+
# Update properties of this object
|
|
2029
|
+
def update!(**args)
|
|
2030
|
+
@tag_filter = args[:tag_filter] if args.key?(:tag_filter)
|
|
2031
|
+
end
|
|
2032
|
+
end
|
|
2033
|
+
|
|
1858
2034
|
# The response message for searching folders.
|
|
1859
2035
|
class SearchFoldersResponse
|
|
1860
2036
|
include Google::Apis::Core::Hashable
|
|
@@ -2061,10 +2237,10 @@ module Google
|
|
|
2061
2237
|
# @return [String]
|
|
2062
2238
|
attr_accessor :tag_value
|
|
2063
2239
|
|
|
2064
|
-
# The namespaced name for the TagValue of the TagBinding. Must be in
|
|
2065
|
-
#
|
|
2066
|
-
# TagValue namespaced name, only one of tag_value_namespaced_name or
|
|
2067
|
-
# may be filled. Requests with both fields will be rejected.
|
|
2240
|
+
# Optional. The namespaced name for the TagValue of the TagBinding. Must be in
|
|
2241
|
+
# the format ``parent_id`/`tag_key_short_name`/`short_name``. For methods that
|
|
2242
|
+
# support TagValue namespaced name, only one of tag_value_namespaced_name or
|
|
2243
|
+
# tag_value may be filled. Requests with both fields will be rejected.
|
|
2068
2244
|
# Corresponds to the JSON property `tagValueNamespacedName`
|
|
2069
2245
|
# @return [String]
|
|
2070
2246
|
attr_accessor :tag_value_namespaced_name
|
|
@@ -2126,6 +2302,35 @@ module Google
|
|
|
2126
2302
|
end
|
|
2127
2303
|
end
|
|
2128
2304
|
|
|
2305
|
+
# Matches projects based on a specific tag key and a specific tag value.
|
|
2306
|
+
class TagFilter
|
|
2307
|
+
include Google::Apis::Core::Hashable
|
|
2308
|
+
|
|
2309
|
+
# Required. Immutable. The namespaced name of the tag key. Format: ``parent_id`/`
|
|
2310
|
+
# tag_key_short_name`` Example: `123456789012/env` (where 123456789012 is the
|
|
2311
|
+
# organization ID).
|
|
2312
|
+
# Corresponds to the JSON property `tagKey`
|
|
2313
|
+
# @return [String]
|
|
2314
|
+
attr_accessor :tag_key
|
|
2315
|
+
|
|
2316
|
+
# Required. The allowed value for the tag key. A project matches this tag filter
|
|
2317
|
+
# if its effective tag value for the given `tag_key` matches this value. Format:
|
|
2318
|
+
# short name of the tag value. Example: `production` or `staging`.
|
|
2319
|
+
# Corresponds to the JSON property `tagValue`
|
|
2320
|
+
# @return [String]
|
|
2321
|
+
attr_accessor :tag_value
|
|
2322
|
+
|
|
2323
|
+
def initialize(**args)
|
|
2324
|
+
update!(**args)
|
|
2325
|
+
end
|
|
2326
|
+
|
|
2327
|
+
# Update properties of this object
|
|
2328
|
+
def update!(**args)
|
|
2329
|
+
@tag_key = args[:tag_key] if args.key?(:tag_key)
|
|
2330
|
+
@tag_value = args[:tag_value] if args.key?(:tag_value)
|
|
2331
|
+
end
|
|
2332
|
+
end
|
|
2333
|
+
|
|
2129
2334
|
# A TagHold represents the use of a TagValue that is not captured by TagBindings.
|
|
2130
2335
|
# If a TagValue has any TagHolds, deletion will be blocked. This resource is
|
|
2131
2336
|
# intended to be created in the same cloud location as the `holder`.
|
|
@@ -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.69.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
|
-
GENERATOR_VERSION = "0.19.
|
|
22
|
+
GENERATOR_VERSION = "0.19.3"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20261115"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -40,6 +40,18 @@ module Google
|
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
|
41
41
|
end
|
|
42
42
|
|
|
43
|
+
class Boundary
|
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
45
|
+
|
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
class BoundaryConfig
|
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
51
|
+
|
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
53
|
+
end
|
|
54
|
+
|
|
43
55
|
class Capability
|
|
44
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
45
57
|
|
|
@@ -244,6 +256,12 @@ module Google
|
|
|
244
256
|
include Google::Apis::Core::JsonObjectSupport
|
|
245
257
|
end
|
|
246
258
|
|
|
259
|
+
class ListBoundariesResponse
|
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
261
|
+
|
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
263
|
+
end
|
|
264
|
+
|
|
247
265
|
class ListCapabilityConfigsResponse
|
|
248
266
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
249
267
|
|
|
@@ -352,6 +370,12 @@ module Google
|
|
|
352
370
|
include Google::Apis::Core::JsonObjectSupport
|
|
353
371
|
end
|
|
354
372
|
|
|
373
|
+
class ResourceFilter
|
|
374
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
375
|
+
|
|
376
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
377
|
+
end
|
|
378
|
+
|
|
355
379
|
class SearchFoldersResponse
|
|
356
380
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
357
381
|
|
|
@@ -394,6 +418,12 @@ module Google
|
|
|
394
418
|
include Google::Apis::Core::JsonObjectSupport
|
|
395
419
|
end
|
|
396
420
|
|
|
421
|
+
class TagFilter
|
|
422
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
423
|
+
|
|
424
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
425
|
+
end
|
|
426
|
+
|
|
397
427
|
class TagHold
|
|
398
428
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
399
429
|
|
|
@@ -523,6 +553,31 @@ module Google
|
|
|
523
553
|
end
|
|
524
554
|
end
|
|
525
555
|
|
|
556
|
+
class Boundary
|
|
557
|
+
# @private
|
|
558
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
559
|
+
property :create_time, as: 'createTime'
|
|
560
|
+
property :display_name, as: 'displayName'
|
|
561
|
+
property :etag, as: 'etag'
|
|
562
|
+
property :management_project, as: 'managementProject'
|
|
563
|
+
property :name, as: 'name'
|
|
564
|
+
property :resource_filter, as: 'resourceFilter', class: Google::Apis::CloudresourcemanagerV3::ResourceFilter, decorator: Google::Apis::CloudresourcemanagerV3::ResourceFilter::Representation
|
|
565
|
+
|
|
566
|
+
property :state, as: 'state'
|
|
567
|
+
property :update_time, as: 'updateTime'
|
|
568
|
+
end
|
|
569
|
+
end
|
|
570
|
+
|
|
571
|
+
class BoundaryConfig
|
|
572
|
+
# @private
|
|
573
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
574
|
+
property :etag, as: 'etag'
|
|
575
|
+
property :name, as: 'name'
|
|
576
|
+
property :tag_key, as: 'tagKey'
|
|
577
|
+
property :update_time, as: 'updateTime'
|
|
578
|
+
end
|
|
579
|
+
end
|
|
580
|
+
|
|
526
581
|
class Capability
|
|
527
582
|
# @private
|
|
528
583
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -791,6 +846,15 @@ module Google
|
|
|
791
846
|
end
|
|
792
847
|
end
|
|
793
848
|
|
|
849
|
+
class ListBoundariesResponse
|
|
850
|
+
# @private
|
|
851
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
852
|
+
collection :boundaries, as: 'boundaries', class: Google::Apis::CloudresourcemanagerV3::Boundary, decorator: Google::Apis::CloudresourcemanagerV3::Boundary::Representation
|
|
853
|
+
|
|
854
|
+
property :next_page_token, as: 'nextPageToken'
|
|
855
|
+
end
|
|
856
|
+
end
|
|
857
|
+
|
|
794
858
|
class ListCapabilityConfigsResponse
|
|
795
859
|
# @private
|
|
796
860
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -949,6 +1013,7 @@ module Google
|
|
|
949
1013
|
property :etag, as: 'etag'
|
|
950
1014
|
property :is_management_project, as: 'isManagementProject'
|
|
951
1015
|
hash :labels, as: 'labels'
|
|
1016
|
+
property :management_type, as: 'managementType'
|
|
952
1017
|
property :name, as: 'name'
|
|
953
1018
|
property :parent, as: 'parent'
|
|
954
1019
|
property :project_id, as: 'projectId'
|
|
@@ -967,6 +1032,14 @@ module Google
|
|
|
967
1032
|
end
|
|
968
1033
|
end
|
|
969
1034
|
|
|
1035
|
+
class ResourceFilter
|
|
1036
|
+
# @private
|
|
1037
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1038
|
+
property :tag_filter, as: 'tagFilter', class: Google::Apis::CloudresourcemanagerV3::TagFilter, decorator: Google::Apis::CloudresourcemanagerV3::TagFilter::Representation
|
|
1039
|
+
|
|
1040
|
+
end
|
|
1041
|
+
end
|
|
1042
|
+
|
|
970
1043
|
class SearchFoldersResponse
|
|
971
1044
|
# @private
|
|
972
1045
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1032,6 +1105,14 @@ module Google
|
|
|
1032
1105
|
end
|
|
1033
1106
|
end
|
|
1034
1107
|
|
|
1108
|
+
class TagFilter
|
|
1109
|
+
# @private
|
|
1110
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1111
|
+
property :tag_key, as: 'tagKey'
|
|
1112
|
+
property :tag_value, as: 'tagValue'
|
|
1113
|
+
end
|
|
1114
|
+
end
|
|
1115
|
+
|
|
1035
1116
|
class TagHold
|
|
1036
1117
|
# @private
|
|
1037
1118
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -210,6 +210,39 @@ module Google
|
|
|
210
210
|
execute_or_queue_command(command, &block)
|
|
211
211
|
end
|
|
212
212
|
|
|
213
|
+
# Retrieves the BoundaryConfig identified by the specified `name` (for example, `
|
|
214
|
+
# folders/123456789/boundaryConfig`).
|
|
215
|
+
# @param [String] name
|
|
216
|
+
# Required. The name of the BoundaryConfig to retrieve. Format: `organizations/`
|
|
217
|
+
# organization`/boundaryConfig` or `folders/`folder`/boundaryConfig` Example: `
|
|
218
|
+
# folders/123456789/boundaryConfig`
|
|
219
|
+
# @param [String] fields
|
|
220
|
+
# Selector specifying which fields to include in a partial response.
|
|
221
|
+
# @param [String] quota_user
|
|
222
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
223
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
224
|
+
# @param [Google::Apis::RequestOptions] options
|
|
225
|
+
# Request-specific options
|
|
226
|
+
#
|
|
227
|
+
# @yield [result, err] Result & error if block supplied
|
|
228
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV3::BoundaryConfig] parsed result object
|
|
229
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
230
|
+
#
|
|
231
|
+
# @return [Google::Apis::CloudresourcemanagerV3::BoundaryConfig]
|
|
232
|
+
#
|
|
233
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
234
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
235
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
236
|
+
def get_folder_boundary_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
237
|
+
command = make_simple_command(:get, 'v3/{+name}', options)
|
|
238
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV3::BoundaryConfig::Representation
|
|
239
|
+
command.response_class = Google::Apis::CloudresourcemanagerV3::BoundaryConfig
|
|
240
|
+
command.params['name'] = name unless name.nil?
|
|
241
|
+
command.query['fields'] = fields unless fields.nil?
|
|
242
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
243
|
+
execute_or_queue_command(command, &block)
|
|
244
|
+
end
|
|
245
|
+
|
|
213
246
|
# Gets the access control policy for a folder. The returned policy may be empty
|
|
214
247
|
# if no such policy or resource exists. The `resource` field should be the
|
|
215
248
|
# folder's resource name, for example: "folders/1234". The caller must have `
|
|
@@ -392,10 +425,10 @@ module Google
|
|
|
392
425
|
execute_or_queue_command(command, &block)
|
|
393
426
|
end
|
|
394
427
|
|
|
395
|
-
#
|
|
396
|
-
# eventually consistent view of the folders a user has access to which meet
|
|
397
|
-
# specified filter criteria. This will only return folders on which the
|
|
398
|
-
# has the permission `resourcemanager.folders.get`.
|
|
428
|
+
# Searches for folders that match specific filter criteria. `search()` provides
|
|
429
|
+
# an eventually consistent view of the folders a user has access to which meet
|
|
430
|
+
# the specified filter criteria. This will only return folders on which the
|
|
431
|
+
# caller has the permission `resourcemanager.folders.get`.
|
|
399
432
|
# @param [Fixnum] page_size
|
|
400
433
|
# Optional. The maximum number of folders to return in the response. The server
|
|
401
434
|
# can return fewer folders than requested. If unspecified, server picks an
|
|
@@ -565,6 +598,236 @@ module Google
|
|
|
565
598
|
execute_or_queue_command(command, &block)
|
|
566
599
|
end
|
|
567
600
|
|
|
601
|
+
# Updates the BoundaryConfig identified by the specified `name` (for example, `
|
|
602
|
+
# folders/123456789/boundaryConfig`).
|
|
603
|
+
# @param [String] name
|
|
604
|
+
# Identifier. The unique resource name of the BoundaryConfig. Format: - `
|
|
605
|
+
# organizations/`organization`/boundaryConfig` - `folders/`folder`/
|
|
606
|
+
# boundaryConfig` Example: `folders/123456789/boundaryConfig`
|
|
607
|
+
# @param [Google::Apis::CloudresourcemanagerV3::BoundaryConfig] boundary_config_object
|
|
608
|
+
# @param [String] update_mask
|
|
609
|
+
# Optional. The list of fields to update.
|
|
610
|
+
# @param [String] fields
|
|
611
|
+
# Selector specifying which fields to include in a partial response.
|
|
612
|
+
# @param [String] quota_user
|
|
613
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
614
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
615
|
+
# @param [Google::Apis::RequestOptions] options
|
|
616
|
+
# Request-specific options
|
|
617
|
+
#
|
|
618
|
+
# @yield [result, err] Result & error if block supplied
|
|
619
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV3::Operation] parsed result object
|
|
620
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
621
|
+
#
|
|
622
|
+
# @return [Google::Apis::CloudresourcemanagerV3::Operation]
|
|
623
|
+
#
|
|
624
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
625
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
626
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
627
|
+
def update_folder_boundary_config(name, boundary_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
628
|
+
command = make_simple_command(:patch, 'v3/{+name}', options)
|
|
629
|
+
command.request_representation = Google::Apis::CloudresourcemanagerV3::BoundaryConfig::Representation
|
|
630
|
+
command.request_object = boundary_config_object
|
|
631
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV3::Operation::Representation
|
|
632
|
+
command.response_class = Google::Apis::CloudresourcemanagerV3::Operation
|
|
633
|
+
command.params['name'] = name unless name.nil?
|
|
634
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
635
|
+
command.query['fields'] = fields unless fields.nil?
|
|
636
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
637
|
+
execute_or_queue_command(command, &block)
|
|
638
|
+
end
|
|
639
|
+
|
|
640
|
+
# Creates a Boundary under a parent Folder or Organization. Creating a Boundary
|
|
641
|
+
# triggers the creation of a Management Project if one is not supplied.
|
|
642
|
+
# @param [String] parent
|
|
643
|
+
# Required. The parent resource under which the Boundary will be created. Format:
|
|
644
|
+
# `organizations/`organization_id`` or `folders/`folder_id``
|
|
645
|
+
# @param [Google::Apis::CloudresourcemanagerV3::Boundary] boundary_object
|
|
646
|
+
# @param [String] boundary_id
|
|
647
|
+
# Required. The user-assigned ID for the Boundary, which will become the final
|
|
648
|
+
# component of the Boundary's resource name. Must be unique within the parent
|
|
649
|
+
# resource. It must be 6 to 30 lowercase ASCII letters, digits, or hyphens. It
|
|
650
|
+
# must start with a letter. Trailing hyphens are prohibited. Example: `my-
|
|
651
|
+
# boundary-123`
|
|
652
|
+
# @param [String] fields
|
|
653
|
+
# Selector specifying which fields to include in a partial response.
|
|
654
|
+
# @param [String] quota_user
|
|
655
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
656
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
657
|
+
# @param [Google::Apis::RequestOptions] options
|
|
658
|
+
# Request-specific options
|
|
659
|
+
#
|
|
660
|
+
# @yield [result, err] Result & error if block supplied
|
|
661
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV3::Operation] parsed result object
|
|
662
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
663
|
+
#
|
|
664
|
+
# @return [Google::Apis::CloudresourcemanagerV3::Operation]
|
|
665
|
+
#
|
|
666
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
667
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
668
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
669
|
+
def create_folder_boundary(parent, boundary_object = nil, boundary_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
670
|
+
command = make_simple_command(:post, 'v3/{+parent}/boundaries', options)
|
|
671
|
+
command.request_representation = Google::Apis::CloudresourcemanagerV3::Boundary::Representation
|
|
672
|
+
command.request_object = boundary_object
|
|
673
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV3::Operation::Representation
|
|
674
|
+
command.response_class = Google::Apis::CloudresourcemanagerV3::Operation
|
|
675
|
+
command.params['parent'] = parent unless parent.nil?
|
|
676
|
+
command.query['boundaryId'] = boundary_id unless boundary_id.nil?
|
|
677
|
+
command.query['fields'] = fields unless fields.nil?
|
|
678
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
679
|
+
execute_or_queue_command(command, &block)
|
|
680
|
+
end
|
|
681
|
+
|
|
682
|
+
# Deletes the Boundary identified by the specified `name` (for example, `folders/
|
|
683
|
+
# 123456789/boundaries/my-boundary`).
|
|
684
|
+
# @param [String] name
|
|
685
|
+
# Required. The name of the Boundary to delete. Format: `organizations/`
|
|
686
|
+
# organization_id`/boundaries/`boundary_id`` or `folders/`folder_id`/boundaries/`
|
|
687
|
+
# boundary_id``
|
|
688
|
+
# @param [String] fields
|
|
689
|
+
# Selector specifying which fields to include in a partial response.
|
|
690
|
+
# @param [String] quota_user
|
|
691
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
692
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
693
|
+
# @param [Google::Apis::RequestOptions] options
|
|
694
|
+
# Request-specific options
|
|
695
|
+
#
|
|
696
|
+
# @yield [result, err] Result & error if block supplied
|
|
697
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV3::Operation] parsed result object
|
|
698
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
699
|
+
#
|
|
700
|
+
# @return [Google::Apis::CloudresourcemanagerV3::Operation]
|
|
701
|
+
#
|
|
702
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
703
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
704
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
705
|
+
def delete_folder_boundary(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
706
|
+
command = make_simple_command(:delete, 'v3/{+name}', options)
|
|
707
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV3::Operation::Representation
|
|
708
|
+
command.response_class = Google::Apis::CloudresourcemanagerV3::Operation
|
|
709
|
+
command.params['name'] = name unless name.nil?
|
|
710
|
+
command.query['fields'] = fields unless fields.nil?
|
|
711
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
712
|
+
execute_or_queue_command(command, &block)
|
|
713
|
+
end
|
|
714
|
+
|
|
715
|
+
# Retrieves the Boundary identified by the specified `name` (for example, `
|
|
716
|
+
# folders/123456789/boundaries/my-boundary`).
|
|
717
|
+
# @param [String] name
|
|
718
|
+
# Required. The name of the Boundary to retrieve. Format: `organizations/`
|
|
719
|
+
# organization_id`/boundaries/`boundary_id`` or `folders/`folder_id`/boundaries/`
|
|
720
|
+
# boundary_id`` Example: `folders/123456789/boundaries/my-boundary`
|
|
721
|
+
# @param [String] fields
|
|
722
|
+
# Selector specifying which fields to include in a partial response.
|
|
723
|
+
# @param [String] quota_user
|
|
724
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
725
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
726
|
+
# @param [Google::Apis::RequestOptions] options
|
|
727
|
+
# Request-specific options
|
|
728
|
+
#
|
|
729
|
+
# @yield [result, err] Result & error if block supplied
|
|
730
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV3::Boundary] parsed result object
|
|
731
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
732
|
+
#
|
|
733
|
+
# @return [Google::Apis::CloudresourcemanagerV3::Boundary]
|
|
734
|
+
#
|
|
735
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
736
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
737
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
738
|
+
def get_folder_boundary(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
739
|
+
command = make_simple_command(:get, 'v3/{+name}', options)
|
|
740
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV3::Boundary::Representation
|
|
741
|
+
command.response_class = Google::Apis::CloudresourcemanagerV3::Boundary
|
|
742
|
+
command.params['name'] = name unless name.nil?
|
|
743
|
+
command.query['fields'] = fields unless fields.nil?
|
|
744
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
745
|
+
execute_or_queue_command(command, &block)
|
|
746
|
+
end
|
|
747
|
+
|
|
748
|
+
# Lists Boundaries that are direct children of the specified organization or
|
|
749
|
+
# folder resource.
|
|
750
|
+
# @param [String] parent
|
|
751
|
+
# Required. The name of the parent resource whose Boundaries are being listed.
|
|
752
|
+
# Format: `organizations/`organization_id`` or `folders/`folder_id``
|
|
753
|
+
# @param [Fixnum] page_size
|
|
754
|
+
# Optional. The maximum number of Boundaries to return in the response. The
|
|
755
|
+
# service may return fewer Boundaries than requested. If unspecified, at most
|
|
756
|
+
# 100 Boundaries will be returned. The maximum value is 100; values above 100
|
|
757
|
+
# will be coerced to 100.
|
|
758
|
+
# @param [String] page_token
|
|
759
|
+
# Optional. A pagination token received from a previous call to `ListBoundaries`
|
|
760
|
+
# that indicates from where listing should continue. Provide this to retrieve
|
|
761
|
+
# the subsequent page.
|
|
762
|
+
# @param [String] fields
|
|
763
|
+
# Selector specifying which fields to include in a partial response.
|
|
764
|
+
# @param [String] quota_user
|
|
765
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
766
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
767
|
+
# @param [Google::Apis::RequestOptions] options
|
|
768
|
+
# Request-specific options
|
|
769
|
+
#
|
|
770
|
+
# @yield [result, err] Result & error if block supplied
|
|
771
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV3::ListBoundariesResponse] parsed result object
|
|
772
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
773
|
+
#
|
|
774
|
+
# @return [Google::Apis::CloudresourcemanagerV3::ListBoundariesResponse]
|
|
775
|
+
#
|
|
776
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
777
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
778
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
779
|
+
def list_folder_boundaries(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
780
|
+
command = make_simple_command(:get, 'v3/{+parent}/boundaries', options)
|
|
781
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV3::ListBoundariesResponse::Representation
|
|
782
|
+
command.response_class = Google::Apis::CloudresourcemanagerV3::ListBoundariesResponse
|
|
783
|
+
command.params['parent'] = parent unless parent.nil?
|
|
784
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
785
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
786
|
+
command.query['fields'] = fields unless fields.nil?
|
|
787
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
788
|
+
execute_or_queue_command(command, &block)
|
|
789
|
+
end
|
|
790
|
+
|
|
791
|
+
# Updates the `display_name` and `resource_filter.tag_filter.tag_value` of the
|
|
792
|
+
# Boundary identified by the specified `name` (for example, `folders/123456789/
|
|
793
|
+
# boundaries/my-boundary`).
|
|
794
|
+
# @param [String] name
|
|
795
|
+
# Identifier. The unique resource name of the Boundary. Format: - `organizations/
|
|
796
|
+
# `organization_id`/boundaries/`boundary_id`` - `folders/`folder_id`/boundaries/`
|
|
797
|
+
# boundary_id`` Example: `folders/123456789/boundaries/my-boundary`
|
|
798
|
+
# @param [Google::Apis::CloudresourcemanagerV3::Boundary] boundary_object
|
|
799
|
+
# @param [String] update_mask
|
|
800
|
+
# Optional. The list of fields to update.
|
|
801
|
+
# @param [String] fields
|
|
802
|
+
# Selector specifying which fields to include in a partial response.
|
|
803
|
+
# @param [String] quota_user
|
|
804
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
805
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
806
|
+
# @param [Google::Apis::RequestOptions] options
|
|
807
|
+
# Request-specific options
|
|
808
|
+
#
|
|
809
|
+
# @yield [result, err] Result & error if block supplied
|
|
810
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV3::Operation] parsed result object
|
|
811
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
812
|
+
#
|
|
813
|
+
# @return [Google::Apis::CloudresourcemanagerV3::Operation]
|
|
814
|
+
#
|
|
815
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
816
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
817
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
818
|
+
def patch_folder_boundary(name, boundary_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
819
|
+
command = make_simple_command(:patch, 'v3/{+name}', options)
|
|
820
|
+
command.request_representation = Google::Apis::CloudresourcemanagerV3::Boundary::Representation
|
|
821
|
+
command.request_object = boundary_object
|
|
822
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV3::Operation::Representation
|
|
823
|
+
command.response_class = Google::Apis::CloudresourcemanagerV3::Operation
|
|
824
|
+
command.params['name'] = name unless name.nil?
|
|
825
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
826
|
+
command.query['fields'] = fields unless fields.nil?
|
|
827
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
828
|
+
execute_or_queue_command(command, &block)
|
|
829
|
+
end
|
|
830
|
+
|
|
568
831
|
# Retrieves the Capability identified by the supplied resource name.
|
|
569
832
|
# @param [String] name
|
|
570
833
|
# Required. The name of the capability to get. For example, `folders/123/
|
|
@@ -832,7 +1095,7 @@ module Google
|
|
|
832
1095
|
execute_or_queue_command(command, &block)
|
|
833
1096
|
end
|
|
834
1097
|
|
|
835
|
-
#
|
|
1098
|
+
# Creates a Lien which applies to the resource denoted by the `parent` field.
|
|
836
1099
|
# Callers of this method will require permission on the `parent` resource. For
|
|
837
1100
|
# example, applying to `projects/1234` requires permission `resourcemanager.
|
|
838
1101
|
# projects.updateLiens`. NOTE: Some resources may limit the number of Liens
|
|
@@ -866,8 +1129,8 @@ module Google
|
|
|
866
1129
|
execute_or_queue_command(command, &block)
|
|
867
1130
|
end
|
|
868
1131
|
|
|
869
|
-
#
|
|
870
|
-
# `parent` resource. For example, a Lien with a `parent` of `projects/1234`
|
|
1132
|
+
# Deletes a Lien by `name`. Callers of this method will require permission on
|
|
1133
|
+
# the `parent` resource. For example, a Lien with a `parent` of `projects/1234`
|
|
871
1134
|
# requires permission `resourcemanager.projects.updateLiens`.
|
|
872
1135
|
# @param [String] name
|
|
873
1136
|
# Required. The name/identifier of the Lien to delete.
|
|
@@ -898,7 +1161,7 @@ module Google
|
|
|
898
1161
|
execute_or_queue_command(command, &block)
|
|
899
1162
|
end
|
|
900
1163
|
|
|
901
|
-
#
|
|
1164
|
+
# Retrieves a Lien by `name`. Callers of this method will require permission on
|
|
902
1165
|
# the `parent` resource. For example, a Lien with a `parent` of `projects/1234`
|
|
903
1166
|
# requires permission `resourcemanager.projects.get`
|
|
904
1167
|
# @param [String] name
|
|
@@ -930,7 +1193,7 @@ module Google
|
|
|
930
1193
|
execute_or_queue_command(command, &block)
|
|
931
1194
|
end
|
|
932
1195
|
|
|
933
|
-
#
|
|
1196
|
+
# Lists all Liens applied to the `parent` resource. Callers of this method will
|
|
934
1197
|
# require permission on the `parent` resource. For example, a Lien with a `
|
|
935
1198
|
# parent` of `projects/1234` requires permission `resourcemanager.projects.get`.
|
|
936
1199
|
# @param [Fixnum] page_size
|
|
@@ -1146,6 +1409,39 @@ module Google
|
|
|
1146
1409
|
execute_or_queue_command(command, &block)
|
|
1147
1410
|
end
|
|
1148
1411
|
|
|
1412
|
+
# Retrieves the BoundaryConfig identified by the specified `name` (for example, `
|
|
1413
|
+
# folders/123456789/boundaryConfig`).
|
|
1414
|
+
# @param [String] name
|
|
1415
|
+
# Required. The name of the BoundaryConfig to retrieve. Format: `organizations/`
|
|
1416
|
+
# organization`/boundaryConfig` or `folders/`folder`/boundaryConfig` Example: `
|
|
1417
|
+
# folders/123456789/boundaryConfig`
|
|
1418
|
+
# @param [String] fields
|
|
1419
|
+
# Selector specifying which fields to include in a partial response.
|
|
1420
|
+
# @param [String] quota_user
|
|
1421
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1422
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1423
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1424
|
+
# Request-specific options
|
|
1425
|
+
#
|
|
1426
|
+
# @yield [result, err] Result & error if block supplied
|
|
1427
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV3::BoundaryConfig] parsed result object
|
|
1428
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1429
|
+
#
|
|
1430
|
+
# @return [Google::Apis::CloudresourcemanagerV3::BoundaryConfig]
|
|
1431
|
+
#
|
|
1432
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1433
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1434
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1435
|
+
def get_organization_boundary_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1436
|
+
command = make_simple_command(:get, 'v3/{+name}', options)
|
|
1437
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV3::BoundaryConfig::Representation
|
|
1438
|
+
command.response_class = Google::Apis::CloudresourcemanagerV3::BoundaryConfig
|
|
1439
|
+
command.params['name'] = name unless name.nil?
|
|
1440
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1441
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1442
|
+
execute_or_queue_command(command, &block)
|
|
1443
|
+
end
|
|
1444
|
+
|
|
1149
1445
|
# Gets the access control policy for an organization resource. The policy may be
|
|
1150
1446
|
# empty if no such policy or resource exists. The `resource` field should be the
|
|
1151
1447
|
# organization's resource name, for example: "organizations/123". Authorization
|
|
@@ -1314,6 +1610,236 @@ module Google
|
|
|
1314
1610
|
execute_or_queue_command(command, &block)
|
|
1315
1611
|
end
|
|
1316
1612
|
|
|
1613
|
+
# Updates the BoundaryConfig identified by the specified `name` (for example, `
|
|
1614
|
+
# folders/123456789/boundaryConfig`).
|
|
1615
|
+
# @param [String] name
|
|
1616
|
+
# Identifier. The unique resource name of the BoundaryConfig. Format: - `
|
|
1617
|
+
# organizations/`organization`/boundaryConfig` - `folders/`folder`/
|
|
1618
|
+
# boundaryConfig` Example: `folders/123456789/boundaryConfig`
|
|
1619
|
+
# @param [Google::Apis::CloudresourcemanagerV3::BoundaryConfig] boundary_config_object
|
|
1620
|
+
# @param [String] update_mask
|
|
1621
|
+
# Optional. The list of fields to update.
|
|
1622
|
+
# @param [String] fields
|
|
1623
|
+
# Selector specifying which fields to include in a partial response.
|
|
1624
|
+
# @param [String] quota_user
|
|
1625
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1626
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1627
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1628
|
+
# Request-specific options
|
|
1629
|
+
#
|
|
1630
|
+
# @yield [result, err] Result & error if block supplied
|
|
1631
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV3::Operation] parsed result object
|
|
1632
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1633
|
+
#
|
|
1634
|
+
# @return [Google::Apis::CloudresourcemanagerV3::Operation]
|
|
1635
|
+
#
|
|
1636
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1637
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1638
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1639
|
+
def update_organization_boundary_config(name, boundary_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1640
|
+
command = make_simple_command(:patch, 'v3/{+name}', options)
|
|
1641
|
+
command.request_representation = Google::Apis::CloudresourcemanagerV3::BoundaryConfig::Representation
|
|
1642
|
+
command.request_object = boundary_config_object
|
|
1643
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV3::Operation::Representation
|
|
1644
|
+
command.response_class = Google::Apis::CloudresourcemanagerV3::Operation
|
|
1645
|
+
command.params['name'] = name unless name.nil?
|
|
1646
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
1647
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1648
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1649
|
+
execute_or_queue_command(command, &block)
|
|
1650
|
+
end
|
|
1651
|
+
|
|
1652
|
+
# Creates a Boundary under a parent Folder or Organization. Creating a Boundary
|
|
1653
|
+
# triggers the creation of a Management Project if one is not supplied.
|
|
1654
|
+
# @param [String] parent
|
|
1655
|
+
# Required. The parent resource under which the Boundary will be created. Format:
|
|
1656
|
+
# `organizations/`organization_id`` or `folders/`folder_id``
|
|
1657
|
+
# @param [Google::Apis::CloudresourcemanagerV3::Boundary] boundary_object
|
|
1658
|
+
# @param [String] boundary_id
|
|
1659
|
+
# Required. The user-assigned ID for the Boundary, which will become the final
|
|
1660
|
+
# component of the Boundary's resource name. Must be unique within the parent
|
|
1661
|
+
# resource. It must be 6 to 30 lowercase ASCII letters, digits, or hyphens. It
|
|
1662
|
+
# must start with a letter. Trailing hyphens are prohibited. Example: `my-
|
|
1663
|
+
# boundary-123`
|
|
1664
|
+
# @param [String] fields
|
|
1665
|
+
# Selector specifying which fields to include in a partial response.
|
|
1666
|
+
# @param [String] quota_user
|
|
1667
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1668
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1669
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1670
|
+
# Request-specific options
|
|
1671
|
+
#
|
|
1672
|
+
# @yield [result, err] Result & error if block supplied
|
|
1673
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV3::Operation] parsed result object
|
|
1674
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1675
|
+
#
|
|
1676
|
+
# @return [Google::Apis::CloudresourcemanagerV3::Operation]
|
|
1677
|
+
#
|
|
1678
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1679
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1680
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1681
|
+
def create_organization_boundary(parent, boundary_object = nil, boundary_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1682
|
+
command = make_simple_command(:post, 'v3/{+parent}/boundaries', options)
|
|
1683
|
+
command.request_representation = Google::Apis::CloudresourcemanagerV3::Boundary::Representation
|
|
1684
|
+
command.request_object = boundary_object
|
|
1685
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV3::Operation::Representation
|
|
1686
|
+
command.response_class = Google::Apis::CloudresourcemanagerV3::Operation
|
|
1687
|
+
command.params['parent'] = parent unless parent.nil?
|
|
1688
|
+
command.query['boundaryId'] = boundary_id unless boundary_id.nil?
|
|
1689
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1690
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1691
|
+
execute_or_queue_command(command, &block)
|
|
1692
|
+
end
|
|
1693
|
+
|
|
1694
|
+
# Deletes the Boundary identified by the specified `name` (for example, `folders/
|
|
1695
|
+
# 123456789/boundaries/my-boundary`).
|
|
1696
|
+
# @param [String] name
|
|
1697
|
+
# Required. The name of the Boundary to delete. Format: `organizations/`
|
|
1698
|
+
# organization_id`/boundaries/`boundary_id`` or `folders/`folder_id`/boundaries/`
|
|
1699
|
+
# boundary_id``
|
|
1700
|
+
# @param [String] fields
|
|
1701
|
+
# Selector specifying which fields to include in a partial response.
|
|
1702
|
+
# @param [String] quota_user
|
|
1703
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1704
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1705
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1706
|
+
# Request-specific options
|
|
1707
|
+
#
|
|
1708
|
+
# @yield [result, err] Result & error if block supplied
|
|
1709
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV3::Operation] parsed result object
|
|
1710
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1711
|
+
#
|
|
1712
|
+
# @return [Google::Apis::CloudresourcemanagerV3::Operation]
|
|
1713
|
+
#
|
|
1714
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1715
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1716
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1717
|
+
def delete_organization_boundary(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1718
|
+
command = make_simple_command(:delete, 'v3/{+name}', options)
|
|
1719
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV3::Operation::Representation
|
|
1720
|
+
command.response_class = Google::Apis::CloudresourcemanagerV3::Operation
|
|
1721
|
+
command.params['name'] = name unless name.nil?
|
|
1722
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1723
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1724
|
+
execute_or_queue_command(command, &block)
|
|
1725
|
+
end
|
|
1726
|
+
|
|
1727
|
+
# Retrieves the Boundary identified by the specified `name` (for example, `
|
|
1728
|
+
# folders/123456789/boundaries/my-boundary`).
|
|
1729
|
+
# @param [String] name
|
|
1730
|
+
# Required. The name of the Boundary to retrieve. Format: `organizations/`
|
|
1731
|
+
# organization_id`/boundaries/`boundary_id`` or `folders/`folder_id`/boundaries/`
|
|
1732
|
+
# boundary_id`` Example: `folders/123456789/boundaries/my-boundary`
|
|
1733
|
+
# @param [String] fields
|
|
1734
|
+
# Selector specifying which fields to include in a partial response.
|
|
1735
|
+
# @param [String] quota_user
|
|
1736
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1737
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1738
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1739
|
+
# Request-specific options
|
|
1740
|
+
#
|
|
1741
|
+
# @yield [result, err] Result & error if block supplied
|
|
1742
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV3::Boundary] parsed result object
|
|
1743
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1744
|
+
#
|
|
1745
|
+
# @return [Google::Apis::CloudresourcemanagerV3::Boundary]
|
|
1746
|
+
#
|
|
1747
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1748
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1749
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1750
|
+
def get_organization_boundary(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1751
|
+
command = make_simple_command(:get, 'v3/{+name}', options)
|
|
1752
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV3::Boundary::Representation
|
|
1753
|
+
command.response_class = Google::Apis::CloudresourcemanagerV3::Boundary
|
|
1754
|
+
command.params['name'] = name unless name.nil?
|
|
1755
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1756
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1757
|
+
execute_or_queue_command(command, &block)
|
|
1758
|
+
end
|
|
1759
|
+
|
|
1760
|
+
# Lists Boundaries that are direct children of the specified organization or
|
|
1761
|
+
# folder resource.
|
|
1762
|
+
# @param [String] parent
|
|
1763
|
+
# Required. The name of the parent resource whose Boundaries are being listed.
|
|
1764
|
+
# Format: `organizations/`organization_id`` or `folders/`folder_id``
|
|
1765
|
+
# @param [Fixnum] page_size
|
|
1766
|
+
# Optional. The maximum number of Boundaries to return in the response. The
|
|
1767
|
+
# service may return fewer Boundaries than requested. If unspecified, at most
|
|
1768
|
+
# 100 Boundaries will be returned. The maximum value is 100; values above 100
|
|
1769
|
+
# will be coerced to 100.
|
|
1770
|
+
# @param [String] page_token
|
|
1771
|
+
# Optional. A pagination token received from a previous call to `ListBoundaries`
|
|
1772
|
+
# that indicates from where listing should continue. Provide this to retrieve
|
|
1773
|
+
# the subsequent page.
|
|
1774
|
+
# @param [String] fields
|
|
1775
|
+
# Selector specifying which fields to include in a partial response.
|
|
1776
|
+
# @param [String] quota_user
|
|
1777
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1778
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1779
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1780
|
+
# Request-specific options
|
|
1781
|
+
#
|
|
1782
|
+
# @yield [result, err] Result & error if block supplied
|
|
1783
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV3::ListBoundariesResponse] parsed result object
|
|
1784
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1785
|
+
#
|
|
1786
|
+
# @return [Google::Apis::CloudresourcemanagerV3::ListBoundariesResponse]
|
|
1787
|
+
#
|
|
1788
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1789
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1790
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1791
|
+
def list_organization_boundaries(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1792
|
+
command = make_simple_command(:get, 'v3/{+parent}/boundaries', options)
|
|
1793
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV3::ListBoundariesResponse::Representation
|
|
1794
|
+
command.response_class = Google::Apis::CloudresourcemanagerV3::ListBoundariesResponse
|
|
1795
|
+
command.params['parent'] = parent unless parent.nil?
|
|
1796
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
1797
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1798
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1799
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1800
|
+
execute_or_queue_command(command, &block)
|
|
1801
|
+
end
|
|
1802
|
+
|
|
1803
|
+
# Updates the `display_name` and `resource_filter.tag_filter.tag_value` of the
|
|
1804
|
+
# Boundary identified by the specified `name` (for example, `folders/123456789/
|
|
1805
|
+
# boundaries/my-boundary`).
|
|
1806
|
+
# @param [String] name
|
|
1807
|
+
# Identifier. The unique resource name of the Boundary. Format: - `organizations/
|
|
1808
|
+
# `organization_id`/boundaries/`boundary_id`` - `folders/`folder_id`/boundaries/`
|
|
1809
|
+
# boundary_id`` Example: `folders/123456789/boundaries/my-boundary`
|
|
1810
|
+
# @param [Google::Apis::CloudresourcemanagerV3::Boundary] boundary_object
|
|
1811
|
+
# @param [String] update_mask
|
|
1812
|
+
# Optional. The list of fields to update.
|
|
1813
|
+
# @param [String] fields
|
|
1814
|
+
# Selector specifying which fields to include in a partial response.
|
|
1815
|
+
# @param [String] quota_user
|
|
1816
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1817
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1818
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1819
|
+
# Request-specific options
|
|
1820
|
+
#
|
|
1821
|
+
# @yield [result, err] Result & error if block supplied
|
|
1822
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV3::Operation] parsed result object
|
|
1823
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1824
|
+
#
|
|
1825
|
+
# @return [Google::Apis::CloudresourcemanagerV3::Operation]
|
|
1826
|
+
#
|
|
1827
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1828
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1829
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1830
|
+
def patch_organization_boundary(name, boundary_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1831
|
+
command = make_simple_command(:patch, 'v3/{+name}', options)
|
|
1832
|
+
command.request_representation = Google::Apis::CloudresourcemanagerV3::Boundary::Representation
|
|
1833
|
+
command.request_object = boundary_object
|
|
1834
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV3::Operation::Representation
|
|
1835
|
+
command.response_class = Google::Apis::CloudresourcemanagerV3::Operation
|
|
1836
|
+
command.params['name'] = name unless name.nil?
|
|
1837
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
1838
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1839
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1840
|
+
execute_or_queue_command(command, &block)
|
|
1841
|
+
end
|
|
1842
|
+
|
|
1317
1843
|
# Creates a CapabilityConfig under a parent Organization, Folder or Project.
|
|
1318
1844
|
# Creating a CapabilityConfig triggers the creation of a Management Project if
|
|
1319
1845
|
# one is not supplied.
|
|
@@ -1511,7 +2037,7 @@ module Google
|
|
|
1511
2037
|
execute_or_queue_command(command, &block)
|
|
1512
2038
|
end
|
|
1513
2039
|
|
|
1514
|
-
#
|
|
2040
|
+
# Requests that a new project be created. The result is an `Operation` which can
|
|
1515
2041
|
# be used to track the creation process. This process usually takes a few
|
|
1516
2042
|
# seconds, but can sometimes take much longer. The tracking `Operation` is
|
|
1517
2043
|
# automatically deleted after a few hours, so there is no need to call `
|
|
@@ -1618,8 +2144,8 @@ module Google
|
|
|
1618
2144
|
end
|
|
1619
2145
|
|
|
1620
2146
|
# Returns the IAM access control policy for the specified project, in the format
|
|
1621
|
-
# `projects/`ProjectIdOrNumber
|
|
1622
|
-
# policy or the resource do not exist.
|
|
2147
|
+
# `projects/`ProjectIdOrNumber``, for example, `projects/123`. Permission is
|
|
2148
|
+
# denied if the policy or the resource do not exist.
|
|
1623
2149
|
# @param [String] resource
|
|
1624
2150
|
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
|
1625
2151
|
# names](https://cloud.google.com/apis/design/resource_names) for the
|
|
@@ -1705,7 +2231,7 @@ module Google
|
|
|
1705
2231
|
execute_or_queue_command(command, &block)
|
|
1706
2232
|
end
|
|
1707
2233
|
|
|
1708
|
-
#
|
|
2234
|
+
# Moves a project to another place in your resource hierarchy, under a new
|
|
1709
2235
|
# resource parent. Returns an operation which can be used to track the process
|
|
1710
2236
|
# of the project move workflow. Upon success, the `Operation.response` field
|
|
1711
2237
|
# will be populated with the moved project. The caller must have `
|
|
@@ -1785,8 +2311,8 @@ module Google
|
|
|
1785
2311
|
execute_or_queue_command(command, &block)
|
|
1786
2312
|
end
|
|
1787
2313
|
|
|
1788
|
-
#
|
|
1789
|
-
# permission
|
|
2314
|
+
# Searches for projects on which the caller has the `resourcemanager.projects.
|
|
2315
|
+
# get` permission and that match the specified query. This method returns
|
|
1790
2316
|
# projects in an unspecified order. This method is eventually consistent with
|
|
1791
2317
|
# project mutations; this means that a newly created project may not appear in
|
|
1792
2318
|
# the results or recent updates to an existing project may not be reflected in
|
|
@@ -1851,32 +2377,32 @@ module Google
|
|
|
1851
2377
|
end
|
|
1852
2378
|
|
|
1853
2379
|
# Sets the IAM access control policy for the specified project, in the format `
|
|
1854
|
-
# projects/`ProjectIdOrNumber
|
|
1855
|
-
# replace the existing policy, and cannot be used to append
|
|
1856
|
-
# settings. Note: Removing service accounts from policies or
|
|
1857
|
-
# roles can render services completely inoperable. It is
|
|
1858
|
-
# how the service account is being used before removing
|
|
1859
|
-
# The following constraints apply when using `
|
|
1860
|
-
# not support `allUsers` and `
|
|
1861
|
-
# of a `Policy`. + The owner
|
|
1862
|
-
# or a group that is part of
|
|
1863
|
-
# myownpersonaldomain.com could be added as
|
|
1864
|
-
# myownpersonaldomain.com organization, but not the
|
|
1865
|
-
# organization. + Service accounts can be made owners of a
|
|
1866
|
-
# without any restrictions. However, to be added as an owner, a
|
|
1867
|
-
# invited using the Cloud Platform console and must accept the
|
|
1868
|
-
# user cannot be granted the owner role using `setIamPolicy()`.
|
|
1869
|
-
# granted the owner role using the Cloud Platform Console and
|
|
1870
|
-
# accept the invitation. + Invitations to grant the owner role
|
|
1871
|
-
# using `setIamPolicy()`; they must be sent only using the Cloud
|
|
1872
|
-
# Console. + If the project is not part of an organization, there must
|
|
1873
|
-
# least one owner who has accepted the Terms of Service (ToS) agreement in
|
|
1874
|
-
# policy. Calling `setIamPolicy()` to remove the last ToS-accepted owner
|
|
1875
|
-
# the policy will fail. This restriction also applies to legacy projects
|
|
1876
|
-
# longer have owners who have accepted the ToS. Edits to IAM policies
|
|
1877
|
-
# rejected until the lack of a ToS-accepting owner is rectified. If the
|
|
1878
|
-
# is part of an organization, you can remove all owners, potentially
|
|
1879
|
-
# organization inaccessible.
|
|
2380
|
+
# projects/`ProjectIdOrNumber``, for example, `projects/123`. CAUTION: This
|
|
2381
|
+
# method will replace the existing policy, and cannot be used to append
|
|
2382
|
+
# additional IAM settings. Note: Removing service accounts from policies or
|
|
2383
|
+
# changing their roles can render services completely inoperable. It is
|
|
2384
|
+
# important to understand how the service account is being used before removing
|
|
2385
|
+
# or updating its roles. The following constraints apply when using `
|
|
2386
|
+
# setIamPolicy()`: + Project does not support `allUsers` and `
|
|
2387
|
+
# allAuthenticatedUsers` as `members` in a `Binding` of a `Policy`. + The owner
|
|
2388
|
+
# role can be granted to a `user`, `serviceAccount`, or a group that is part of
|
|
2389
|
+
# an organization. For example, group@myownpersonaldomain.com could be added as
|
|
2390
|
+
# an owner to a project in the myownpersonaldomain.com organization, but not the
|
|
2391
|
+
# examplepetstore.com organization. + Service accounts can be made owners of a
|
|
2392
|
+
# project directly without any restrictions. However, to be added as an owner, a
|
|
2393
|
+
# user must be invited using the Cloud Platform console and must accept the
|
|
2394
|
+
# invitation. + A user cannot be granted the owner role using `setIamPolicy()`.
|
|
2395
|
+
# The user must be granted the owner role using the Cloud Platform Console and
|
|
2396
|
+
# must explicitly accept the invitation. + Invitations to grant the owner role
|
|
2397
|
+
# cannot be sent using `setIamPolicy()`; they must be sent only using the Cloud
|
|
2398
|
+
# Platform Console. + If the project is not part of an organization, there must
|
|
2399
|
+
# be at least one owner who has accepted the Terms of Service (ToS) agreement in
|
|
2400
|
+
# the policy. Calling `setIamPolicy()` to remove the last ToS-accepted owner
|
|
2401
|
+
# from the policy will fail. This restriction also applies to legacy projects
|
|
2402
|
+
# that no longer have owners who have accepted the ToS. Edits to IAM policies
|
|
2403
|
+
# will be rejected until the lack of a ToS-accepting owner is rectified. If the
|
|
2404
|
+
# project is part of an organization, you can remove all owners, potentially
|
|
2405
|
+
# making the organization inaccessible.
|
|
1880
2406
|
# @param [String] resource
|
|
1881
2407
|
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
|
1882
2408
|
# names](https://cloud.google.com/apis/design/resource_names) for the
|
|
@@ -1912,7 +2438,7 @@ module Google
|
|
|
1912
2438
|
end
|
|
1913
2439
|
|
|
1914
2440
|
# Returns permissions that a caller has on the specified project, in the format `
|
|
1915
|
-
# projects/`ProjectIdOrNumber
|
|
2441
|
+
# projects/`ProjectIdOrNumber``, for example, `projects/123`.
|
|
1916
2442
|
# @param [String] resource
|
|
1917
2443
|
# REQUIRED: The resource for which the policy detail is being requested. See [
|
|
1918
2444
|
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.69.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudresourcemanager_v3/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudresourcemanager_v3/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudresourcemanager_v3/v0.69.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudresourcemanager_v3
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|