google-apis-cloudresourcemanager_v3 0.66.0 → 0.68.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/lib/google/apis/cloudresourcemanager_v3/classes.rb +250 -0
- data/lib/google/apis/cloudresourcemanager_v3/gem_version.rb +3 -3
- data/lib/google/apis/cloudresourcemanager_v3/representations.rb +128 -0
- data/lib/google/apis/cloudresourcemanager_v3/service.rb +526 -0
- 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: 88df4aa531bd651341da1853a707ef27b778f19da1ae681dc7035846caec3e61
|
|
4
|
+
data.tar.gz: d63383a1d021e256d24959d03327b7e5e292b92d74162abc08eb2bd2b1ef056d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d1d662bc2af48bcaa8667eb6b4773b60c68583f70fe109a1ea862153d7ef2041c652d54e95e9fece047f50c78b29244007272a056e47f874a55e406bd68907ad
|
|
7
|
+
data.tar.gz: 60db73b3b1e97f90d7eb172533084256a1b46dc64d9e8891fcb47231fe15239b9ec8853abfec69bc40c01de7adc2d638aa2c75c9dcfad60bcf834f70711c99e6
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Release history for google-apis-cloudresourcemanager_v3
|
|
2
2
|
|
|
3
|
+
### v0.68.0 (2026-10-28)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20261018
|
|
6
|
+
|
|
7
|
+
### v0.67.0 (2026-10-21)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20261011
|
|
10
|
+
* Regenerated using generator version 0.19.1
|
|
11
|
+
|
|
3
12
|
### v0.66.0 (2026-09-24)
|
|
4
13
|
|
|
5
14
|
* Regenerated from discovery document revision 20260917
|
|
@@ -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
|
|
@@ -472,6 +589,32 @@ module Google
|
|
|
472
589
|
end
|
|
473
590
|
end
|
|
474
591
|
|
|
592
|
+
# Metadata for the `CreateSemanticTagBinding` long-running operation.
|
|
593
|
+
class CreateSemanticTagBindingMetadata
|
|
594
|
+
include Google::Apis::Core::Hashable
|
|
595
|
+
|
|
596
|
+
def initialize(**args)
|
|
597
|
+
update!(**args)
|
|
598
|
+
end
|
|
599
|
+
|
|
600
|
+
# Update properties of this object
|
|
601
|
+
def update!(**args)
|
|
602
|
+
end
|
|
603
|
+
end
|
|
604
|
+
|
|
605
|
+
# Runtime operation information for creating a `SemanticTagValue`.
|
|
606
|
+
class CreateSemanticTagValueMetadata
|
|
607
|
+
include Google::Apis::Core::Hashable
|
|
608
|
+
|
|
609
|
+
def initialize(**args)
|
|
610
|
+
update!(**args)
|
|
611
|
+
end
|
|
612
|
+
|
|
613
|
+
# Update properties of this object
|
|
614
|
+
def update!(**args)
|
|
615
|
+
end
|
|
616
|
+
end
|
|
617
|
+
|
|
475
618
|
# Runtime operation information for creating a TagValue.
|
|
476
619
|
class CreateTagBindingMetadata
|
|
477
620
|
include Google::Apis::Core::Hashable
|
|
@@ -581,6 +724,32 @@ module Google
|
|
|
581
724
|
end
|
|
582
725
|
end
|
|
583
726
|
|
|
727
|
+
# Metadata for the `DeleteSemanticTagBinding` long-running operation.
|
|
728
|
+
class DeleteSemanticTagBindingMetadata
|
|
729
|
+
include Google::Apis::Core::Hashable
|
|
730
|
+
|
|
731
|
+
def initialize(**args)
|
|
732
|
+
update!(**args)
|
|
733
|
+
end
|
|
734
|
+
|
|
735
|
+
# Update properties of this object
|
|
736
|
+
def update!(**args)
|
|
737
|
+
end
|
|
738
|
+
end
|
|
739
|
+
|
|
740
|
+
# Runtime operation information for deleting a `SemanticTagValue`.
|
|
741
|
+
class DeleteSemanticTagValueMetadata
|
|
742
|
+
include Google::Apis::Core::Hashable
|
|
743
|
+
|
|
744
|
+
def initialize(**args)
|
|
745
|
+
update!(**args)
|
|
746
|
+
end
|
|
747
|
+
|
|
748
|
+
# Update properties of this object
|
|
749
|
+
def update!(**args)
|
|
750
|
+
end
|
|
751
|
+
end
|
|
752
|
+
|
|
584
753
|
# Runtime operation information for deleting a TagBinding.
|
|
585
754
|
class DeleteTagBindingMetadata
|
|
586
755
|
include Google::Apis::Core::Hashable
|
|
@@ -1076,6 +1245,39 @@ module Google
|
|
|
1076
1245
|
end
|
|
1077
1246
|
end
|
|
1078
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
|
+
|
|
1079
1281
|
# A page of the response received from the ListCapabilityConfigs method. A
|
|
1080
1282
|
# paginated response where more pages are available has `next_page_token` set.
|
|
1081
1283
|
# This token can be used in a subsequent request to retrieve the next page. NOTE:
|
|
@@ -1803,6 +2005,25 @@ module Google
|
|
|
1803
2005
|
end
|
|
1804
2006
|
end
|
|
1805
2007
|
|
|
2008
|
+
# Filter to define the criteria for including projects in the Boundary.
|
|
2009
|
+
class ResourceFilter
|
|
2010
|
+
include Google::Apis::Core::Hashable
|
|
2011
|
+
|
|
2012
|
+
# Matches projects based on a specific tag key and a specific tag value.
|
|
2013
|
+
# Corresponds to the JSON property `tagFilter`
|
|
2014
|
+
# @return [Google::Apis::CloudresourcemanagerV3::TagFilter]
|
|
2015
|
+
attr_accessor :tag_filter
|
|
2016
|
+
|
|
2017
|
+
def initialize(**args)
|
|
2018
|
+
update!(**args)
|
|
2019
|
+
end
|
|
2020
|
+
|
|
2021
|
+
# Update properties of this object
|
|
2022
|
+
def update!(**args)
|
|
2023
|
+
@tag_filter = args[:tag_filter] if args.key?(:tag_filter)
|
|
2024
|
+
end
|
|
2025
|
+
end
|
|
2026
|
+
|
|
1806
2027
|
# The response message for searching folders.
|
|
1807
2028
|
class SearchFoldersResponse
|
|
1808
2029
|
include Google::Apis::Core::Hashable
|
|
@@ -2074,6 +2295,35 @@ module Google
|
|
|
2074
2295
|
end
|
|
2075
2296
|
end
|
|
2076
2297
|
|
|
2298
|
+
# Matches projects based on a specific tag key and a specific tag value.
|
|
2299
|
+
class TagFilter
|
|
2300
|
+
include Google::Apis::Core::Hashable
|
|
2301
|
+
|
|
2302
|
+
# Required. Immutable. The namespaced name of the tag key. Format: ``parent_id`/`
|
|
2303
|
+
# tag_key_short_name`` Example: `123456789012/env` (where 123456789012 is the
|
|
2304
|
+
# organization ID).
|
|
2305
|
+
# Corresponds to the JSON property `tagKey`
|
|
2306
|
+
# @return [String]
|
|
2307
|
+
attr_accessor :tag_key
|
|
2308
|
+
|
|
2309
|
+
# Required. The allowed value for the tag key. A project matches this tag filter
|
|
2310
|
+
# if its effective tag value for the given `tag_key` matches this value. Format:
|
|
2311
|
+
# short name of the tag value. Example: `production` or `staging`.
|
|
2312
|
+
# Corresponds to the JSON property `tagValue`
|
|
2313
|
+
# @return [String]
|
|
2314
|
+
attr_accessor :tag_value
|
|
2315
|
+
|
|
2316
|
+
def initialize(**args)
|
|
2317
|
+
update!(**args)
|
|
2318
|
+
end
|
|
2319
|
+
|
|
2320
|
+
# Update properties of this object
|
|
2321
|
+
def update!(**args)
|
|
2322
|
+
@tag_key = args[:tag_key] if args.key?(:tag_key)
|
|
2323
|
+
@tag_value = args[:tag_value] if args.key?(:tag_value)
|
|
2324
|
+
end
|
|
2325
|
+
end
|
|
2326
|
+
|
|
2077
2327
|
# A TagHold represents the use of a TagValue that is not captured by TagBindings.
|
|
2078
2328
|
# If a TagValue has any TagHolds, deletion will be blocked. This resource is
|
|
2079
2329
|
# 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.68.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.1"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20261018"
|
|
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
|
|
|
@@ -88,6 +100,18 @@ module Google
|
|
|
88
100
|
include Google::Apis::Core::JsonObjectSupport
|
|
89
101
|
end
|
|
90
102
|
|
|
103
|
+
class CreateSemanticTagBindingMetadata
|
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
105
|
+
|
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
class CreateSemanticTagValueMetadata
|
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
111
|
+
|
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
113
|
+
end
|
|
114
|
+
|
|
91
115
|
class CreateTagBindingMetadata
|
|
92
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
117
|
|
|
@@ -136,6 +160,18 @@ module Google
|
|
|
136
160
|
include Google::Apis::Core::JsonObjectSupport
|
|
137
161
|
end
|
|
138
162
|
|
|
163
|
+
class DeleteSemanticTagBindingMetadata
|
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
165
|
+
|
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
167
|
+
end
|
|
168
|
+
|
|
169
|
+
class DeleteSemanticTagValueMetadata
|
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
171
|
+
|
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
173
|
+
end
|
|
174
|
+
|
|
139
175
|
class DeleteTagBindingMetadata
|
|
140
176
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
141
177
|
|
|
@@ -220,6 +256,12 @@ module Google
|
|
|
220
256
|
include Google::Apis::Core::JsonObjectSupport
|
|
221
257
|
end
|
|
222
258
|
|
|
259
|
+
class ListBoundariesResponse
|
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
261
|
+
|
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
263
|
+
end
|
|
264
|
+
|
|
223
265
|
class ListCapabilityConfigsResponse
|
|
224
266
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
225
267
|
|
|
@@ -328,6 +370,12 @@ module Google
|
|
|
328
370
|
include Google::Apis::Core::JsonObjectSupport
|
|
329
371
|
end
|
|
330
372
|
|
|
373
|
+
class ResourceFilter
|
|
374
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
375
|
+
|
|
376
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
377
|
+
end
|
|
378
|
+
|
|
331
379
|
class SearchFoldersResponse
|
|
332
380
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
333
381
|
|
|
@@ -370,6 +418,12 @@ module Google
|
|
|
370
418
|
include Google::Apis::Core::JsonObjectSupport
|
|
371
419
|
end
|
|
372
420
|
|
|
421
|
+
class TagFilter
|
|
422
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
423
|
+
|
|
424
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
425
|
+
end
|
|
426
|
+
|
|
373
427
|
class TagHold
|
|
374
428
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
375
429
|
|
|
@@ -499,6 +553,31 @@ module Google
|
|
|
499
553
|
end
|
|
500
554
|
end
|
|
501
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
|
+
|
|
502
581
|
class Capability
|
|
503
582
|
# @private
|
|
504
583
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -571,6 +650,18 @@ module Google
|
|
|
571
650
|
end
|
|
572
651
|
end
|
|
573
652
|
|
|
653
|
+
class CreateSemanticTagBindingMetadata
|
|
654
|
+
# @private
|
|
655
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
656
|
+
end
|
|
657
|
+
end
|
|
658
|
+
|
|
659
|
+
class CreateSemanticTagValueMetadata
|
|
660
|
+
# @private
|
|
661
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
662
|
+
end
|
|
663
|
+
end
|
|
664
|
+
|
|
574
665
|
class CreateTagBindingMetadata
|
|
575
666
|
# @private
|
|
576
667
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -619,6 +710,18 @@ module Google
|
|
|
619
710
|
end
|
|
620
711
|
end
|
|
621
712
|
|
|
713
|
+
class DeleteSemanticTagBindingMetadata
|
|
714
|
+
# @private
|
|
715
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
716
|
+
end
|
|
717
|
+
end
|
|
718
|
+
|
|
719
|
+
class DeleteSemanticTagValueMetadata
|
|
720
|
+
# @private
|
|
721
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
722
|
+
end
|
|
723
|
+
end
|
|
724
|
+
|
|
622
725
|
class DeleteTagBindingMetadata
|
|
623
726
|
# @private
|
|
624
727
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -743,6 +846,15 @@ module Google
|
|
|
743
846
|
end
|
|
744
847
|
end
|
|
745
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
|
+
|
|
746
858
|
class ListCapabilityConfigsResponse
|
|
747
859
|
# @private
|
|
748
860
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -919,6 +1031,14 @@ module Google
|
|
|
919
1031
|
end
|
|
920
1032
|
end
|
|
921
1033
|
|
|
1034
|
+
class ResourceFilter
|
|
1035
|
+
# @private
|
|
1036
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1037
|
+
property :tag_filter, as: 'tagFilter', class: Google::Apis::CloudresourcemanagerV3::TagFilter, decorator: Google::Apis::CloudresourcemanagerV3::TagFilter::Representation
|
|
1038
|
+
|
|
1039
|
+
end
|
|
1040
|
+
end
|
|
1041
|
+
|
|
922
1042
|
class SearchFoldersResponse
|
|
923
1043
|
# @private
|
|
924
1044
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -984,6 +1104,14 @@ module Google
|
|
|
984
1104
|
end
|
|
985
1105
|
end
|
|
986
1106
|
|
|
1107
|
+
class TagFilter
|
|
1108
|
+
# @private
|
|
1109
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1110
|
+
property :tag_key, as: 'tagKey'
|
|
1111
|
+
property :tag_value, as: 'tagValue'
|
|
1112
|
+
end
|
|
1113
|
+
end
|
|
1114
|
+
|
|
987
1115
|
class TagHold
|
|
988
1116
|
# @private
|
|
989
1117
|
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 `
|
|
@@ -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/
|
|
@@ -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.
|
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.68.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.68.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:
|