google-apis-cloudresourcemanager_v3 0.6.0 → 0.11.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 +21 -0
- data/lib/google/apis/cloudresourcemanager_v3/classes.rb +69 -44
- data/lib/google/apis/cloudresourcemanager_v3/gem_version.rb +3 -3
- data/lib/google/apis/cloudresourcemanager_v3/representations.rb +24 -0
- data/lib/google/apis/cloudresourcemanager_v3/service.rb +163 -155
- metadata +14 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 331443f829c6e8177a1fb3effb461d2e21077f8f76da6489a63e822f92717805
|
4
|
+
data.tar.gz: 49943d2d97af157259eca662e9ca870283bc781adde9a54c915e5c163bb4aa0d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 903f5bb528f2e93c1bc95f82b44945d81cca155907d9f3fe5b6964d407ea7569401222784175be05558792cea341ec4b42dc06985a4cb73f81831dc853dae80a
|
7
|
+
data.tar.gz: 7151567912e1b26ab5bc8ba2f3532ec38544e281607e20af5f9c55a717d087aab13e1487d456e36a5308c5a9539088a923cae9575bf6d9cda7961be019cc6cb1
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-cloudresourcemanager_v3
|
2
2
|
|
3
|
+
### v0.11.0 (2021-06-24)
|
4
|
+
|
5
|
+
* Unspecified changes
|
6
|
+
|
7
|
+
### v0.10.0 (2021-06-03)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210601
|
10
|
+
* Regenerated using generator version 0.3.0
|
11
|
+
|
12
|
+
### v0.9.0 (2021-05-19)
|
13
|
+
|
14
|
+
* Unspecified changes
|
15
|
+
|
16
|
+
### v0.8.0 (2021-04-20)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210411
|
19
|
+
|
20
|
+
### v0.7.0 (2021-04-02)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210328
|
23
|
+
|
3
24
|
### v0.6.0 (2021-03-27)
|
4
25
|
|
5
26
|
* Regenerated from discovery document revision 20210322
|
@@ -279,8 +279,8 @@ module Google
|
|
279
279
|
# @return [String]
|
280
280
|
attr_accessor :create_time
|
281
281
|
|
282
|
-
# True if the project can be retrieved using GetProject
|
283
|
-
# the project are guaranteed to work until the project creation is complete.
|
282
|
+
# True if the project can be retrieved using `GetProject`. No other operations
|
283
|
+
# on the project are guaranteed to work until the project creation is complete.
|
284
284
|
# Corresponds to the JSON property `gettable`
|
285
285
|
# @return [Boolean]
|
286
286
|
attr_accessor :gettable
|
@@ -304,6 +304,19 @@ module Google
|
|
304
304
|
end
|
305
305
|
end
|
306
306
|
|
307
|
+
# Runtime operation information for creating a TagValue.
|
308
|
+
class CreateTagBindingMetadata
|
309
|
+
include Google::Apis::Core::Hashable
|
310
|
+
|
311
|
+
def initialize(**args)
|
312
|
+
update!(**args)
|
313
|
+
end
|
314
|
+
|
315
|
+
# Update properties of this object
|
316
|
+
def update!(**args)
|
317
|
+
end
|
318
|
+
end
|
319
|
+
|
307
320
|
# Runtime operation information for creating a TagKey.
|
308
321
|
class CreateTagKeyMetadata
|
309
322
|
include Google::Apis::Core::Hashable
|
@@ -330,8 +343,8 @@ module Google
|
|
330
343
|
end
|
331
344
|
end
|
332
345
|
|
333
|
-
# A status object which is used as the `metadata` field for the Operation
|
334
|
-
# returned by DeleteFolder
|
346
|
+
# A status object which is used as the `metadata` field for the `Operation`
|
347
|
+
# returned by `DeleteFolder`.
|
335
348
|
class DeleteFolderMetadata
|
336
349
|
include Google::Apis::Core::Hashable
|
337
350
|
|
@@ -344,7 +357,7 @@ module Google
|
|
344
357
|
end
|
345
358
|
end
|
346
359
|
|
347
|
-
# A status object which is used as the `metadata` field for the
|
360
|
+
# A status object which is used as the `metadata` field for the operation
|
348
361
|
# returned by DeleteOrganization.
|
349
362
|
class DeleteOrganizationMetadata
|
350
363
|
include Google::Apis::Core::Hashable
|
@@ -359,7 +372,7 @@ module Google
|
|
359
372
|
end
|
360
373
|
|
361
374
|
# A status object which is used as the `metadata` field for the Operation
|
362
|
-
# returned by DeleteProject
|
375
|
+
# returned by `DeleteProject`.
|
363
376
|
class DeleteProjectMetadata
|
364
377
|
include Google::Apis::Core::Hashable
|
365
378
|
|
@@ -372,6 +385,19 @@ module Google
|
|
372
385
|
end
|
373
386
|
end
|
374
387
|
|
388
|
+
# Runtime operation information for deleting a TagBinding.
|
389
|
+
class DeleteTagBindingMetadata
|
390
|
+
include Google::Apis::Core::Hashable
|
391
|
+
|
392
|
+
def initialize(**args)
|
393
|
+
update!(**args)
|
394
|
+
end
|
395
|
+
|
396
|
+
# Update properties of this object
|
397
|
+
def update!(**args)
|
398
|
+
end
|
399
|
+
end
|
400
|
+
|
375
401
|
# Runtime operation information for deleting a TagKey.
|
376
402
|
class DeleteTagKeyMetadata
|
377
403
|
include Google::Apis::Core::Hashable
|
@@ -469,57 +495,57 @@ module Google
|
|
469
495
|
end
|
470
496
|
end
|
471
497
|
|
472
|
-
# A
|
473
|
-
#
|
498
|
+
# A folder in an organization's resource hierarchy, used to organize that
|
499
|
+
# organization's resources.
|
474
500
|
class Folder
|
475
501
|
include Google::Apis::Core::Hashable
|
476
502
|
|
477
|
-
# Output only. Timestamp when the
|
503
|
+
# Output only. Timestamp when the folder was created.
|
478
504
|
# Corresponds to the JSON property `createTime`
|
479
505
|
# @return [String]
|
480
506
|
attr_accessor :create_time
|
481
507
|
|
482
|
-
# Output only. Timestamp when the
|
508
|
+
# Output only. Timestamp when the folder was requested to be deleted.
|
483
509
|
# Corresponds to the JSON property `deleteTime`
|
484
510
|
# @return [String]
|
485
511
|
attr_accessor :delete_time
|
486
512
|
|
487
513
|
# The folder's display name. A folder's display name must be unique amongst its
|
488
|
-
# siblings,
|
489
|
-
# name. The display name must start and end with a letter or digit, may
|
490
|
-
# letters, digits, spaces, hyphens and underscores and can be no longer
|
491
|
-
# characters. This is captured by the regular expression: `[\p`L`\p`N`]([
|
492
|
-
# N`_- ]`0,28`[\p`L`\p`N`])?`.
|
514
|
+
# siblings. For example, no two folders with the same parent can share the same
|
515
|
+
# display name. The display name must start and end with a letter or digit, may
|
516
|
+
# contain letters, digits, spaces, hyphens and underscores and can be no longer
|
517
|
+
# than 30 characters. This is captured by the regular expression: `[\p`L`\p`N`]([
|
518
|
+
# \p`L`\p`N`_- ]`0,28`[\p`L`\p`N`])?`.
|
493
519
|
# Corresponds to the JSON property `displayName`
|
494
520
|
# @return [String]
|
495
521
|
attr_accessor :display_name
|
496
522
|
|
497
523
|
# Output only. A checksum computed by the server based on the current value of
|
498
|
-
# the
|
524
|
+
# the folder resource. This may be sent on update and delete requests to ensure
|
499
525
|
# the client has an up-to-date value before proceeding.
|
500
526
|
# Corresponds to the JSON property `etag`
|
501
527
|
# @return [String]
|
502
528
|
attr_accessor :etag
|
503
529
|
|
504
|
-
# Output only. The resource name of the
|
530
|
+
# Output only. The resource name of the folder. Its format is `folders/`
|
505
531
|
# folder_id``, for example: "folders/1234".
|
506
532
|
# Corresponds to the JSON property `name`
|
507
533
|
# @return [String]
|
508
534
|
attr_accessor :name
|
509
535
|
|
510
|
-
# Required. The
|
511
|
-
# must be performed
|
536
|
+
# Required. The folder's parent's resource name. Updates to the folder's parent
|
537
|
+
# must be performed using MoveFolder.
|
512
538
|
# Corresponds to the JSON property `parent`
|
513
539
|
# @return [String]
|
514
540
|
attr_accessor :parent
|
515
541
|
|
516
542
|
# Output only. The lifecycle state of the folder. Updates to the state must be
|
517
|
-
# performed
|
543
|
+
# performed using DeleteFolder and UndeleteFolder.
|
518
544
|
# Corresponds to the JSON property `state`
|
519
545
|
# @return [String]
|
520
546
|
attr_accessor :state
|
521
547
|
|
522
|
-
# Output only. Timestamp when the
|
548
|
+
# Output only. Timestamp when the folder was last modified.
|
523
549
|
# Corresponds to the JSON property `updateTime`
|
524
550
|
# @return [String]
|
525
551
|
attr_accessor :update_time
|
@@ -705,7 +731,7 @@ module Google
|
|
705
731
|
class ListFoldersResponse
|
706
732
|
include Google::Apis::Core::Hashable
|
707
733
|
|
708
|
-
# A possibly paginated list of
|
734
|
+
# A possibly paginated list of folders that are direct descendants of the
|
709
735
|
# specified parent resource.
|
710
736
|
# Corresponds to the JSON property `folders`
|
711
737
|
# @return [Array<Google::Apis::CloudresourcemanagerV3::Folder>]
|
@@ -802,8 +828,7 @@ module Google
|
|
802
828
|
# @return [String]
|
803
829
|
attr_accessor :next_page_token
|
804
830
|
|
805
|
-
# A possibly paginated list of TagBindings for the specified
|
806
|
-
# resource.
|
831
|
+
# A possibly paginated list of TagBindings for the specified resource.
|
807
832
|
# Corresponds to the JSON property `tagBindings`
|
808
833
|
# @return [Array<Google::Apis::CloudresourcemanagerV3::TagBinding>]
|
809
834
|
attr_accessor :tag_bindings
|
@@ -873,7 +898,7 @@ module Google
|
|
873
898
|
end
|
874
899
|
end
|
875
900
|
|
876
|
-
# Metadata pertaining to the
|
901
|
+
# Metadata pertaining to the folder move process.
|
877
902
|
class MoveFolderMetadata
|
878
903
|
include Google::Apis::Core::Hashable
|
879
904
|
|
@@ -908,9 +933,9 @@ module Google
|
|
908
933
|
class MoveFolderRequest
|
909
934
|
include Google::Apis::Core::Hashable
|
910
935
|
|
911
|
-
# Required. The resource name of the
|
912
|
-
# folder
|
913
|
-
# org_id``.
|
936
|
+
# Required. The resource name of the folder or organization which should be the
|
937
|
+
# folder's new parent. Must be of the form `folders/`folder_id`` or `
|
938
|
+
# organizations/`org_id``.
|
914
939
|
# Corresponds to the JSON property `destinationParent`
|
915
940
|
# @return [String]
|
916
941
|
attr_accessor :destination_parent
|
@@ -1020,8 +1045,8 @@ module Google
|
|
1020
1045
|
end
|
1021
1046
|
end
|
1022
1047
|
|
1023
|
-
# The root node in the resource hierarchy to which a particular entity's (
|
1024
|
-
# company) resources belong.
|
1048
|
+
# The root node in the resource hierarchy to which a particular entity's (a
|
1049
|
+
# company, for example) resources belong.
|
1025
1050
|
class Organization
|
1026
1051
|
include Google::Apis::Core::Hashable
|
1027
1052
|
|
@@ -1040,10 +1065,10 @@ module Google
|
|
1040
1065
|
# @return [String]
|
1041
1066
|
attr_accessor :directory_customer_id
|
1042
1067
|
|
1043
|
-
# Output only. A human-readable string that refers to the
|
1044
|
-
#
|
1045
|
-
# string will be set to the primary domain (for example, "google.com") of
|
1046
|
-
#
|
1068
|
+
# Output only. A human-readable string that refers to the organization in the
|
1069
|
+
# Google Cloud Console. This string is set by the server and cannot be changed.
|
1070
|
+
# The string will be set to the primary domain (for example, "google.com") of
|
1071
|
+
# the Google Workspace customer that owns the organization.
|
1047
1072
|
# Corresponds to the JSON property `displayName`
|
1048
1073
|
# @return [String]
|
1049
1074
|
attr_accessor :display_name
|
@@ -1179,8 +1204,8 @@ module Google
|
|
1179
1204
|
end
|
1180
1205
|
end
|
1181
1206
|
|
1182
|
-
# A
|
1183
|
-
#
|
1207
|
+
# A project is a high-level Google Cloud entity. It is a container for ACLs,
|
1208
|
+
# APIs, App Engine Apps, VMs, and other Google Cloud Platform resources.
|
1184
1209
|
class Project
|
1185
1210
|
include Google::Apis::Core::Hashable
|
1186
1211
|
|
@@ -1194,7 +1219,7 @@ module Google
|
|
1194
1219
|
# @return [String]
|
1195
1220
|
attr_accessor :delete_time
|
1196
1221
|
|
1197
|
-
# Optional. A user-assigned display name of the
|
1222
|
+
# Optional. A user-assigned display name of the project. When present it must be
|
1198
1223
|
# between 4 to 30 characters. Allowed characters are: lowercase and uppercase
|
1199
1224
|
# letters, numbers, hyphen, single-quote, double-quote, space, and exclamation
|
1200
1225
|
# point. Example: `My Project`
|
@@ -1209,7 +1234,7 @@ module Google
|
|
1209
1234
|
# @return [String]
|
1210
1235
|
attr_accessor :etag
|
1211
1236
|
|
1212
|
-
# Optional. The labels associated with this
|
1237
|
+
# Optional. The labels associated with this project. Label keys must be between
|
1213
1238
|
# 1 and 63 characters long and must conform to the following regular expression:
|
1214
1239
|
# \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. Label values must be between 0 and 63
|
1215
1240
|
# characters long and must conform to the regular expression (\[a-z\](\[-a-z0-9\]
|
@@ -1221,7 +1246,7 @@ module Google
|
|
1221
1246
|
# @return [Hash<String,String>]
|
1222
1247
|
attr_accessor :labels
|
1223
1248
|
|
1224
|
-
# Output only. The unique resource name of the
|
1249
|
+
# Output only. The unique resource name of the project. It is an int64 generated
|
1225
1250
|
# number prefixed by "projects/". Example: `projects/415104041262`
|
1226
1251
|
# Corresponds to the JSON property `name`
|
1227
1252
|
# @return [String]
|
@@ -1233,14 +1258,14 @@ module Google
|
|
1233
1258
|
# @return [String]
|
1234
1259
|
attr_accessor :parent
|
1235
1260
|
|
1236
|
-
# Immutable. The unique, user-assigned id of the
|
1261
|
+
# Immutable. The unique, user-assigned id of the project. It must be 6 to 30
|
1237
1262
|
# lowercase ASCII letters, digits, or hyphens. It must start with a letter.
|
1238
1263
|
# Trailing hyphens are prohibited. Example: `tokyo-rain-123`
|
1239
1264
|
# Corresponds to the JSON property `projectId`
|
1240
1265
|
# @return [String]
|
1241
1266
|
attr_accessor :project_id
|
1242
1267
|
|
1243
|
-
# Output only. The
|
1268
|
+
# Output only. The project lifecycle state.
|
1244
1269
|
# Corresponds to the JSON property `state`
|
1245
1270
|
# @return [String]
|
1246
1271
|
attr_accessor :state
|
@@ -1700,8 +1725,8 @@ module Google
|
|
1700
1725
|
end
|
1701
1726
|
end
|
1702
1727
|
|
1703
|
-
# A status object which is used as the `metadata` field for the Operation
|
1704
|
-
# returned by UndeleteFolder
|
1728
|
+
# A status object which is used as the `metadata` field for the `Operation`
|
1729
|
+
# returned by `UndeleteFolder`.
|
1705
1730
|
class UndeleteFolderMetadata
|
1706
1731
|
include Google::Apis::Core::Hashable
|
1707
1732
|
|
@@ -1742,7 +1767,7 @@ module Google
|
|
1742
1767
|
end
|
1743
1768
|
|
1744
1769
|
# A status object which is used as the `metadata` field for the Operation
|
1745
|
-
# returned by UndeleteProject
|
1770
|
+
# returned by `UndeleteProject`.
|
1746
1771
|
class UndeleteProjectMetadata
|
1747
1772
|
include Google::Apis::Core::Hashable
|
1748
1773
|
|
@@ -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.11.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.3.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210601"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -64,6 +64,12 @@ module Google
|
|
64
64
|
include Google::Apis::Core::JsonObjectSupport
|
65
65
|
end
|
66
66
|
|
67
|
+
class CreateTagBindingMetadata
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
67
73
|
class CreateTagKeyMetadata
|
68
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
75
|
|
@@ -94,6 +100,12 @@ module Google
|
|
94
100
|
include Google::Apis::Core::JsonObjectSupport
|
95
101
|
end
|
96
102
|
|
103
|
+
class DeleteTagBindingMetadata
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
97
109
|
class DeleteTagKeyMetadata
|
98
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
111
|
|
@@ -422,6 +434,12 @@ module Google
|
|
422
434
|
end
|
423
435
|
end
|
424
436
|
|
437
|
+
class CreateTagBindingMetadata
|
438
|
+
# @private
|
439
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
440
|
+
end
|
441
|
+
end
|
442
|
+
|
425
443
|
class CreateTagKeyMetadata
|
426
444
|
# @private
|
427
445
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -452,6 +470,12 @@ module Google
|
|
452
470
|
end
|
453
471
|
end
|
454
472
|
|
473
|
+
class DeleteTagBindingMetadata
|
474
|
+
# @private
|
475
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
476
|
+
end
|
477
|
+
end
|
478
|
+
|
455
479
|
class DeleteTagKeyMetadata
|
456
480
|
# @private
|
457
481
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -50,23 +50,23 @@ module Google
|
|
50
50
|
@batch_path = 'batch'
|
51
51
|
end
|
52
52
|
|
53
|
-
# Creates a
|
54
|
-
# used to track the progress of the folder creation workflow. Upon success
|
55
|
-
# Operation.response field will be populated with the created Folder. In
|
56
|
-
# to succeed, the addition of this new
|
57
|
-
# height or fanout constraints. + The
|
58
|
-
# from all other
|
59
|
-
# must not cause the active
|
60
|
-
# full active + deleted
|
61
|
-
# this provides additional headroom when moving folders that contain
|
62
|
-
# folders. + The addition of the
|
63
|
-
#
|
64
|
-
# constraint violation, some errors may be returned by the CreateFolder
|
65
|
-
# with status code FAILED_PRECONDITION and an error description.
|
66
|
-
# constraint violations will be communicated in the Operation
|
67
|
-
# PreconditionFailure returned
|
68
|
-
# The caller must have `resourcemanager.folders.create`
|
69
|
-
# identified parent.
|
53
|
+
# Creates a folder in the resource hierarchy. Returns an `Operation` which can
|
54
|
+
# be used to track the progress of the folder creation workflow. Upon success,
|
55
|
+
# the `Operation.response` field will be populated with the created Folder. In
|
56
|
+
# order to succeed, the addition of this new folder must not violate the folder
|
57
|
+
# naming, height, or fanout constraints. + The folder's `display_name` must be
|
58
|
+
# distinct from all other folders that share its parent. + The addition of the
|
59
|
+
# folder must not cause the active folder hierarchy to exceed a height of 10.
|
60
|
+
# Note, the full active + deleted folder hierarchy is allowed to reach a height
|
61
|
+
# of 20; this provides additional headroom when moving folders that contain
|
62
|
+
# deleted folders. + The addition of the folder must not cause the total number
|
63
|
+
# of folders under its parent to exceed 300. If the operation fails due to a
|
64
|
+
# folder constraint violation, some errors may be returned by the `CreateFolder`
|
65
|
+
# request, with status code `FAILED_PRECONDITION` and an error description.
|
66
|
+
# Other folder constraint violations will be communicated in the `Operation`,
|
67
|
+
# with the specific `PreconditionFailure` returned in the details list in the `
|
68
|
+
# Operation.error` field. The caller must have `resourcemanager.folders.create`
|
69
|
+
# permission on the identified parent.
|
70
70
|
# @param [Google::Apis::CloudresourcemanagerV3::Folder] folder_object
|
71
71
|
# @param [String] fields
|
72
72
|
# Selector specifying which fields to include in a partial response.
|
@@ -96,14 +96,15 @@ module Google
|
|
96
96
|
execute_or_queue_command(command, &block)
|
97
97
|
end
|
98
98
|
|
99
|
-
# Requests deletion of a
|
99
|
+
# Requests deletion of a folder. The folder is moved into the DELETE_REQUESTED
|
100
100
|
# state immediately, and is deleted approximately 30 days later. This method may
|
101
|
-
# only be called on an empty
|
102
|
-
# contain any
|
103
|
-
# DELETE_REQUESTED state the
|
104
|
-
# have `resourcemanager.folders.delete` permission on the identified
|
101
|
+
# only be called on an empty folder, where a folder is empty if it doesn't
|
102
|
+
# contain any folders or projects in the ACTIVE state. If called on a folder in
|
103
|
+
# DELETE_REQUESTED state the operation will result in a no-op success. The
|
104
|
+
# caller must have `resourcemanager.folders.delete` permission on the identified
|
105
|
+
# folder.
|
105
106
|
# @param [String] name
|
106
|
-
# Required. The resource name of the
|
107
|
+
# Required. The resource name of the folder to be deleted. Must be of the form `
|
107
108
|
# folders/`folder_id``.
|
108
109
|
# @param [String] fields
|
109
110
|
# Selector specifying which fields to include in a partial response.
|
@@ -132,12 +133,12 @@ module Google
|
|
132
133
|
execute_or_queue_command(command, &block)
|
133
134
|
end
|
134
135
|
|
135
|
-
# Retrieves a
|
136
|
+
# Retrieves a folder identified by the supplied resource name. Valid folder
|
136
137
|
# resource names have the format `folders/`folder_id`` (for example, `folders/
|
137
138
|
# 1234`). The caller must have `resourcemanager.folders.get` permission on the
|
138
139
|
# identified folder.
|
139
140
|
# @param [String] name
|
140
|
-
# Required. The resource name of the
|
141
|
+
# Required. The resource name of the folder to retrieve. Must be of the form `
|
141
142
|
# folders/`folder_id``.
|
142
143
|
# @param [String] fields
|
143
144
|
# Selector specifying which fields to include in a partial response.
|
@@ -166,9 +167,9 @@ module Google
|
|
166
167
|
execute_or_queue_command(command, &block)
|
167
168
|
end
|
168
169
|
|
169
|
-
# Gets the access control policy for a
|
170
|
+
# Gets the access control policy for a folder. The returned policy may be empty
|
170
171
|
# if no such policy or resource exists. The `resource` field should be the
|
171
|
-
#
|
172
|
+
# folder's resource name, for example: "folders/1234". The caller must have `
|
172
173
|
# resourcemanager.folders.getIamPolicy` permission on the identified folder.
|
173
174
|
# @param [String] resource
|
174
175
|
# REQUIRED: The resource for which the policy is being requested. See the
|
@@ -203,24 +204,24 @@ module Google
|
|
203
204
|
execute_or_queue_command(command, &block)
|
204
205
|
end
|
205
206
|
|
206
|
-
# Lists the
|
207
|
-
#
|
208
|
-
# specified parent resource.
|
207
|
+
# Lists the folders that are direct descendants of supplied parent resource. `
|
208
|
+
# list()` provides a strongly consistent view of the folders underneath the
|
209
|
+
# specified parent resource. `list()` returns folders sorted based upon the (
|
209
210
|
# ascending) lexical ordering of their display_name. The caller must have `
|
210
211
|
# resourcemanager.folders.list` permission on the identified parent.
|
211
212
|
# @param [Fixnum] page_size
|
212
|
-
# Optional. The maximum number of
|
213
|
+
# Optional. The maximum number of folders to return in the response. If
|
213
214
|
# unspecified, server picks an appropriate default.
|
214
215
|
# @param [String] page_token
|
215
216
|
# Optional. A pagination token returned from a previous call to `ListFolders`
|
216
217
|
# that indicates where this listing should continue from.
|
217
218
|
# @param [String] parent
|
218
|
-
# Required. The resource name of the
|
219
|
+
# Required. The resource name of the organization or folder whose folders are
|
219
220
|
# being listed. Must be of the form `folders/`folder_id`` or `organizations/`
|
220
221
|
# org_id``. Access to this method is controlled by checking the `resourcemanager.
|
221
222
|
# folders.list` permission on the `parent`.
|
222
223
|
# @param [Boolean] show_deleted
|
223
|
-
# Optional. Controls whether
|
224
|
+
# Optional. Controls whether folders in the DELETE_REQUESTED state should be
|
224
225
|
# returned. Defaults to false.
|
225
226
|
# @param [String] fields
|
226
227
|
# Selector specifying which fields to include in a partial response.
|
@@ -252,18 +253,19 @@ module Google
|
|
252
253
|
execute_or_queue_command(command, &block)
|
253
254
|
end
|
254
255
|
|
255
|
-
# Moves a
|
256
|
-
# used to track the progress of the folder move workflow. Upon success the
|
257
|
-
# Operation.response field will be populated with the moved
|
258
|
-
# a FolderOperationError categorizing the failure cause will be
|
259
|
-
# the failure occurs synchronously then the FolderOperationError
|
260
|
-
# returned
|
261
|
-
# FolderOperation will be returned
|
262
|
-
# the Operation.metadata field will be populated with a
|
263
|
-
# as an aid to stateless clients. Folder moves will be
|
264
|
-
# either the naming, height or fanout constraints
|
265
|
-
# documentation. The caller must have `
|
266
|
-
# on the folder's current and proposed
|
256
|
+
# Moves a folder under a new resource parent. Returns an `Operation` which can
|
257
|
+
# be used to track the progress of the folder move workflow. Upon success, the `
|
258
|
+
# Operation.response` field will be populated with the moved folder. Upon
|
259
|
+
# failure, a `FolderOperationError` categorizing the failure cause will be
|
260
|
+
# returned - if the failure occurs synchronously then the `FolderOperationError`
|
261
|
+
# will be returned in the `Status.details` field. If it occurs asynchronously,
|
262
|
+
# then the FolderOperation will be returned in the `Operation.error` field. In
|
263
|
+
# addition, the `Operation.metadata` field will be populated with a `
|
264
|
+
# FolderOperation` message as an aid to stateless clients. Folder moves will be
|
265
|
+
# rejected if they violate either the naming, height, or fanout constraints
|
266
|
+
# described in the CreateFolder documentation. The caller must have `
|
267
|
+
# resourcemanager.folders.move` permission on the folder's current and proposed
|
268
|
+
# new parent.
|
267
269
|
# @param [String] name
|
268
270
|
# Required. The resource name of the Folder to move. Must be of the form folders/
|
269
271
|
# `folder_id`
|
@@ -297,18 +299,18 @@ module Google
|
|
297
299
|
execute_or_queue_command(command, &block)
|
298
300
|
end
|
299
301
|
|
300
|
-
# Updates a
|
301
|
-
# display_name will be rejected if they violate either the display_name
|
302
|
-
# formatting rules or naming constraints described in the CreateFolder
|
303
|
-
# documentation. The
|
302
|
+
# Updates a folder, changing its `display_name`. Changes to the folder `
|
303
|
+
# display_name` will be rejected if they violate either the `display_name`
|
304
|
+
# formatting rules or the naming constraints described in the CreateFolder
|
305
|
+
# documentation. The folder's `display_name` must start and end with a letter or
|
304
306
|
# digit, may contain letters, digits, spaces, hyphens and underscores and can be
|
305
307
|
# between 3 and 30 characters. This is captured by the regular expression: `\p`L`
|
306
308
|
# \p`N``1,28`[\p`L`\p`N`]`. The caller must have `resourcemanager.folders.update`
|
307
309
|
# permission on the identified folder. If the update fails due to the unique
|
308
|
-
# name constraint then a PreconditionFailure explaining this violation will be
|
310
|
+
# name constraint then a `PreconditionFailure` explaining this violation will be
|
309
311
|
# returned in the Status.details field.
|
310
312
|
# @param [String] name
|
311
|
-
# Output only. The resource name of the
|
313
|
+
# Output only. The resource name of the folder. Its format is `folders/`
|
312
314
|
# folder_id``, for example: "folders/1234".
|
313
315
|
# @param [Google::Apis::CloudresourcemanagerV3::Folder] folder_object
|
314
316
|
# @param [String] update_mask
|
@@ -343,7 +345,7 @@ module Google
|
|
343
345
|
execute_or_queue_command(command, &block)
|
344
346
|
end
|
345
347
|
|
346
|
-
# Search for folders that match specific filter criteria.
|
348
|
+
# Search for folders that match specific filter criteria. `search()` provides an
|
347
349
|
# eventually consistent view of the folders a user has access to which meet the
|
348
350
|
# specified filter criteria. This will only return folders on which the caller
|
349
351
|
# has the permission `resourcemanager.folders.get`.
|
@@ -354,16 +356,16 @@ module Google
|
|
354
356
|
# Optional. A pagination token returned from a previous call to `SearchFolders`
|
355
357
|
# that indicates from where search should continue.
|
356
358
|
# @param [String] query
|
357
|
-
# Optional. Search criteria used to select the
|
359
|
+
# Optional. Search criteria used to select the folders to return. If no search
|
358
360
|
# criteria is specified then all accessible folders will be returned. Query
|
359
361
|
# expressions can be used to restrict results based upon displayName, state and
|
360
362
|
# parent, where the operators `=` (`:`) `NOT`, `AND` and `OR` can be used along
|
361
|
-
# with the suffix wildcard symbol `*`. The displayName field in a query
|
363
|
+
# with the suffix wildcard symbol `*`. The `displayName` field in a query
|
362
364
|
# expression should use escaped quotes for values that include whitespace to
|
363
365
|
# prevent unexpected behavior. | Field | Description | |-------------------------
|
364
366
|
# |----------------------------------------| | displayName | Filters by
|
365
|
-
# displayName. | | parent | Filters by parent (
|
366
|
-
# lifecycleState | Filters by state. | Some example queries are: * Query `
|
367
|
+
# displayName. | | parent | Filters by parent (for example: folders/123). | |
|
368
|
+
# state, lifecycleState | Filters by state. | Some example queries are: * Query `
|
367
369
|
# displayName=Test*` returns Folder resources whose display name starts with "
|
368
370
|
# Test". * Query `state=ACTIVE` returns Folder resources with `state` set to `
|
369
371
|
# ACTIVE`. * Query `parent=folders/123` returns Folder resources that have `
|
@@ -400,10 +402,10 @@ module Google
|
|
400
402
|
execute_or_queue_command(command, &block)
|
401
403
|
end
|
402
404
|
|
403
|
-
# Sets the access control policy on a
|
404
|
-
# `resource` field should be the
|
405
|
-
# The caller must have `resourcemanager.folders.setIamPolicy` permission
|
406
|
-
# identified folder.
|
405
|
+
# Sets the access control policy on a folder, replacing any existing policy. The
|
406
|
+
# `resource` field should be the folder's resource name, for example: "folders/
|
407
|
+
# 1234". The caller must have `resourcemanager.folders.setIamPolicy` permission
|
408
|
+
# on the identified folder.
|
407
409
|
# @param [String] resource
|
408
410
|
# REQUIRED: The resource for which the policy is being specified. See the
|
409
411
|
# operation documentation for the appropriate value for this field.
|
@@ -437,9 +439,9 @@ module Google
|
|
437
439
|
execute_or_queue_command(command, &block)
|
438
440
|
end
|
439
441
|
|
440
|
-
# Returns permissions that a caller has on the specified
|
441
|
-
# field should be the
|
442
|
-
# permissions required for making this API call.
|
442
|
+
# Returns permissions that a caller has on the specified folder. The `resource`
|
443
|
+
# field should be the folder's resource name, for example: "folders/1234". There
|
444
|
+
# are no permissions required for making this API call.
|
443
445
|
# @param [String] resource
|
444
446
|
# REQUIRED: The resource for which the policy detail is being requested. See the
|
445
447
|
# operation documentation for the appropriate value for this field.
|
@@ -473,15 +475,15 @@ module Google
|
|
473
475
|
execute_or_queue_command(command, &block)
|
474
476
|
end
|
475
477
|
|
476
|
-
# Cancels the deletion request for a
|
477
|
-
#
|
478
|
-
# success. In order to succeed, the
|
479
|
-
# In addition, reintroducing the folder into the tree must not violate
|
480
|
-
# naming, height and fanout constraints described in the CreateFolder
|
478
|
+
# Cancels the deletion request for a folder. This method may be called on a
|
479
|
+
# folder in any state. If the folder is in the ACTIVE state the result will be a
|
480
|
+
# no-op success. In order to succeed, the folder's parent must be in the ACTIVE
|
481
|
+
# state. In addition, reintroducing the folder into the tree must not violate
|
482
|
+
# folder naming, height, and fanout constraints described in the CreateFolder
|
481
483
|
# documentation. The caller must have `resourcemanager.folders.undelete`
|
482
484
|
# permission on the identified folder.
|
483
485
|
# @param [String] name
|
484
|
-
# Required. The resource name of the
|
486
|
+
# Required. The resource name of the folder to undelete. Must be of the form `
|
485
487
|
# folders/`folder_id``.
|
486
488
|
# @param [Google::Apis::CloudresourcemanagerV3::UndeleteFolderRequest] undelete_folder_request_object
|
487
489
|
# @param [String] fields
|
@@ -683,7 +685,7 @@ module Google
|
|
683
685
|
execute_or_queue_command(command, &block)
|
684
686
|
end
|
685
687
|
|
686
|
-
# Fetches an
|
688
|
+
# Fetches an organization resource identified by the specified resource name.
|
687
689
|
# @param [String] name
|
688
690
|
# Required. The resource name of the Organization to fetch. This is the
|
689
691
|
# organization's relative path in the API, formatted as "organizations/[
|
@@ -715,11 +717,11 @@ module Google
|
|
715
717
|
execute_or_queue_command(command, &block)
|
716
718
|
end
|
717
719
|
|
718
|
-
# Gets the access control policy for an
|
719
|
-
# no such policy or resource exists. The `resource` field should be the
|
720
|
-
# organization's resource name,
|
721
|
-
# the
|
722
|
-
# specified organization
|
720
|
+
# Gets the access control policy for an organization resource. The policy may be
|
721
|
+
# empty if no such policy or resource exists. The `resource` field should be the
|
722
|
+
# organization's resource name, for example: "organizations/123". Authorization
|
723
|
+
# requires the IAM permission `resourcemanager.organizations.getIamPolicy` on
|
724
|
+
# the specified organization.
|
723
725
|
# @param [String] resource
|
724
726
|
# REQUIRED: The resource for which the policy is being requested. See the
|
725
727
|
# operation documentation for the appropriate value for this field.
|
@@ -753,13 +755,13 @@ module Google
|
|
753
755
|
execute_or_queue_command(command, &block)
|
754
756
|
end
|
755
757
|
|
756
|
-
# Searches
|
757
|
-
# specified filter. This method returns
|
758
|
-
# New
|
758
|
+
# Searches organization resources that are visible to the user and satisfy the
|
759
|
+
# specified filter. This method returns organizations in an unspecified order.
|
760
|
+
# New organizations do not necessarily appear at the end of the results, and may
|
759
761
|
# take a small amount of time to appear. Search will only return organizations
|
760
762
|
# on which the user has the permission `resourcemanager.organizations.get`
|
761
763
|
# @param [Fixnum] page_size
|
762
|
-
# Optional. The maximum number of
|
764
|
+
# Optional. The maximum number of organizations to return in the response. If
|
763
765
|
# unspecified, server picks an appropriate default.
|
764
766
|
# @param [String] page_token
|
765
767
|
# Optional. A pagination token returned from a previous call to `
|
@@ -804,11 +806,11 @@ module Google
|
|
804
806
|
execute_or_queue_command(command, &block)
|
805
807
|
end
|
806
808
|
|
807
|
-
# Sets the access control policy on an
|
809
|
+
# Sets the access control policy on an organization resource. Replaces any
|
808
810
|
# existing policy. The `resource` field should be the organization's resource
|
809
|
-
# name,
|
811
|
+
# name, for example: "organizations/123". Authorization requires the IAM
|
810
812
|
# permission `resourcemanager.organizations.setIamPolicy` on the specified
|
811
|
-
# organization
|
813
|
+
# organization.
|
812
814
|
# @param [String] resource
|
813
815
|
# REQUIRED: The resource for which the policy is being specified. See the
|
814
816
|
# operation documentation for the appropriate value for this field.
|
@@ -842,8 +844,8 @@ module Google
|
|
842
844
|
execute_or_queue_command(command, &block)
|
843
845
|
end
|
844
846
|
|
845
|
-
# Returns permissions that a caller has on the specified
|
846
|
-
# resource` field should be the organization's resource name,
|
847
|
+
# Returns the permissions that a caller has on the specified organization. The `
|
848
|
+
# resource` field should be the organization's resource name, for example: "
|
847
849
|
# organizations/123". There are no permissions required for making this API call.
|
848
850
|
# @param [String] resource
|
849
851
|
# REQUIRED: The resource for which the policy detail is being requested. See the
|
@@ -878,10 +880,11 @@ module Google
|
|
878
880
|
execute_or_queue_command(command, &block)
|
879
881
|
end
|
880
882
|
|
881
|
-
# Request that a new
|
882
|
-
# used to track the creation process. This process usually takes a few
|
883
|
-
# but can sometimes take much longer. The tracking Operation is
|
884
|
-
# deleted after a few hours, so there is no need to call
|
883
|
+
# Request that a new project be created. The result is an `Operation` which can
|
884
|
+
# be used to track the creation process. This process usually takes a few
|
885
|
+
# seconds, but can sometimes take much longer. The tracking `Operation` is
|
886
|
+
# automatically deleted after a few hours, so there is no need to call `
|
887
|
+
# DeleteOperation`.
|
885
888
|
# @param [Google::Apis::CloudresourcemanagerV3::Project] project_object
|
886
889
|
# @param [String] fields
|
887
890
|
# Selector specifying which fields to include in a partial response.
|
@@ -911,18 +914,18 @@ module Google
|
|
911
914
|
execute_or_queue_command(command, &block)
|
912
915
|
end
|
913
916
|
|
914
|
-
# Marks the
|
915
|
-
# 415104041262`) for deletion. This method will only affect the
|
917
|
+
# Marks the project identified by the specified `name` (for example, `projects/
|
918
|
+
# 415104041262`) for deletion. This method will only affect the project if it
|
916
919
|
# has a lifecycle state of ACTIVE. This method changes the Project's lifecycle
|
917
920
|
# state from ACTIVE to DELETE_REQUESTED. The deletion starts at an unspecified
|
918
921
|
# time, at which point the Project is no longer accessible. Until the deletion
|
919
|
-
# completes, you can check the lifecycle state checked by retrieving the
|
920
|
-
# with GetProject, and the
|
921
|
-
# cannot update the project. After the deletion completes, the
|
922
|
+
# completes, you can check the lifecycle state checked by retrieving the project
|
923
|
+
# with GetProject, and the project remains visible to ListProjects. However, you
|
924
|
+
# cannot update the project. After the deletion completes, the project is not
|
922
925
|
# retrievable by the GetProject, ListProjects, and SearchProjects methods. This
|
923
|
-
# method behaves idempotently
|
924
|
-
# not
|
925
|
-
# permissions for this
|
926
|
+
# method behaves idempotently, such that deleting a `DELETE_REQUESTED` project
|
927
|
+
# will not cause an error, but also won't do anything. The caller must have `
|
928
|
+
# resourcemanager.projects.delete` permissions for this project.
|
926
929
|
# @param [String] name
|
927
930
|
# Required. The name of the Project (for example, `projects/415104041262`).
|
928
931
|
# @param [String] fields
|
@@ -952,9 +955,9 @@ module Google
|
|
952
955
|
execute_or_queue_command(command, &block)
|
953
956
|
end
|
954
957
|
|
955
|
-
# Retrieves the
|
956
|
-
# projects/415104041262`). The caller must have
|
957
|
-
#
|
958
|
+
# Retrieves the project identified by the specified `name` (for example, `
|
959
|
+
# projects/415104041262`). The caller must have `resourcemanager.projects.get`
|
960
|
+
# permission for this project.
|
958
961
|
# @param [String] name
|
959
962
|
# Required. The name of the project (for example, `projects/415104041262`).
|
960
963
|
# @param [String] fields
|
@@ -984,8 +987,8 @@ module Google
|
|
984
987
|
execute_or_queue_command(command, &block)
|
985
988
|
end
|
986
989
|
|
987
|
-
# Returns the IAM access control policy for the specified
|
988
|
-
# denied if the policy or the resource
|
990
|
+
# Returns the IAM access control policy for the specified project. Permission is
|
991
|
+
# denied if the policy or the resource do not exist.
|
989
992
|
# @param [String] resource
|
990
993
|
# REQUIRED: The resource for which the policy is being requested. See the
|
991
994
|
# operation documentation for the appropriate value for this field.
|
@@ -1019,15 +1022,15 @@ module Google
|
|
1019
1022
|
execute_or_queue_command(command, &block)
|
1020
1023
|
end
|
1021
1024
|
|
1022
|
-
# Lists
|
1023
|
-
# organization resource.
|
1024
|
-
#
|
1025
|
+
# Lists projects that are direct children of the specified folder or
|
1026
|
+
# organization resource. `list()` provides a strongly consistent view of the
|
1027
|
+
# projects underneath the specified parent resource. `list()` returns projects
|
1025
1028
|
# sorted based upon the (ascending) lexical ordering of their `display_name`.
|
1026
1029
|
# The caller must have `resourcemanager.projects.list` permission on the
|
1027
1030
|
# identified parent.
|
1028
1031
|
# @param [Fixnum] page_size
|
1029
|
-
# Optional. The maximum number of
|
1030
|
-
# can return fewer
|
1032
|
+
# Optional. The maximum number of projects to return in the response. The server
|
1033
|
+
# can return fewer projects than requested. If unspecified, server picks an
|
1031
1034
|
# appropriate default.
|
1032
1035
|
# @param [String] page_token
|
1033
1036
|
# Optional. A pagination token returned from a previous call to ListProjects
|
@@ -1037,7 +1040,7 @@ module Google
|
|
1037
1040
|
# setting this field to 'folders/1234' would list all projects directly under
|
1038
1041
|
# that folder.
|
1039
1042
|
# @param [Boolean] show_deleted
|
1040
|
-
# Optional. Indicate that
|
1043
|
+
# Optional. Indicate that projects in the `DELETE_REQUESTED` state should also
|
1041
1044
|
# be returned. Normally only `ACTIVE` projects are returned.
|
1042
1045
|
# @param [String] fields
|
1043
1046
|
# Selector specifying which fields to include in a partial response.
|
@@ -1069,12 +1072,15 @@ module Google
|
|
1069
1072
|
execute_or_queue_command(command, &block)
|
1070
1073
|
end
|
1071
1074
|
|
1072
|
-
# Move a
|
1073
|
-
#
|
1074
|
-
#
|
1075
|
-
#
|
1076
|
-
#
|
1077
|
-
#
|
1075
|
+
# Move a project to another place in your resource hierarchy, under a new
|
1076
|
+
# resource parent. Returns an operation which can be used to track the process
|
1077
|
+
# of the project move workflow. Upon success, the `Operation.response` field
|
1078
|
+
# will be populated with the moved project. The caller must have `
|
1079
|
+
# resourcemanager.projects.update` permission on the project and have `
|
1080
|
+
# resourcemanager.projects.move` permission on the project's current and
|
1081
|
+
# proposed new parent. If project has no current parent, or it currently does
|
1082
|
+
# not have an associated organization resource, you will also need the `
|
1083
|
+
# resourcemanager.projects.setIamPolicy` permission in the project.
|
1078
1084
|
# @param [String] name
|
1079
1085
|
# Required. The name of the project to move.
|
1080
1086
|
# @param [Google::Apis::CloudresourcemanagerV3::MoveProjectRequest] move_project_request_object
|
@@ -1107,12 +1113,12 @@ module Google
|
|
1107
1113
|
execute_or_queue_command(command, &block)
|
1108
1114
|
end
|
1109
1115
|
|
1110
|
-
# Updates the
|
1111
|
-
# example, `projects/415104041262`).
|
1112
|
-
#
|
1113
|
-
#
|
1116
|
+
# Updates the `display_name` and labels of the project identified by the
|
1117
|
+
# specified `name` (for example, `projects/415104041262`). Deleting all labels
|
1118
|
+
# requires an update mask for labels field. The caller must have `
|
1119
|
+
# resourcemanager.projects.update` permission for this project.
|
1114
1120
|
# @param [String] name
|
1115
|
-
# Output only. The unique resource name of the
|
1121
|
+
# Output only. The unique resource name of the project. It is an int64 generated
|
1116
1122
|
# number prefixed by "projects/". Example: `projects/415104041262`
|
1117
1123
|
# @param [Google::Apis::CloudresourcemanagerV3::Project] project_object
|
1118
1124
|
# @param [String] update_mask
|
@@ -1147,15 +1153,16 @@ module Google
|
|
1147
1153
|
execute_or_queue_command(command, &block)
|
1148
1154
|
end
|
1149
1155
|
|
1150
|
-
# Search for
|
1151
|
-
# permission on and satisfy the specified query. This method returns
|
1152
|
-
# an unspecified order. This method is eventually consistent with
|
1153
|
-
# mutations; this means that a newly created project may not appear in
|
1154
|
-
# results or recent updates to an existing project may not be reflected in
|
1155
|
-
# results. To retrieve the latest state of a project, use the GetProject
|
1156
|
+
# Search for projects that the caller has both `resourcemanager.projects.get`
|
1157
|
+
# permission on, and also satisfy the specified query. This method returns
|
1158
|
+
# projects in an unspecified order. This method is eventually consistent with
|
1159
|
+
# project mutations; this means that a newly created project may not appear in
|
1160
|
+
# the results or recent updates to an existing project may not be reflected in
|
1161
|
+
# the results. To retrieve the latest state of a project, use the GetProject
|
1162
|
+
# method.
|
1156
1163
|
# @param [Fixnum] page_size
|
1157
|
-
# Optional. The maximum number of
|
1158
|
-
# can return fewer
|
1164
|
+
# Optional. The maximum number of projects to return in the response. The server
|
1165
|
+
# can return fewer projects than requested. If unspecified, server picks an
|
1159
1166
|
# appropriate default.
|
1160
1167
|
# @param [String] page_token
|
1161
1168
|
# Optional. A pagination token returned from a previous call to ListProjects
|
@@ -1166,22 +1173,22 @@ module Google
|
|
1166
1173
|
# in the query, the it will return results that match any of the fields. Some
|
1167
1174
|
# eligible fields are: | Field | Description | |-------------------------|-------
|
1168
1175
|
# ---------------------------------------| | displayName, name | Filters by
|
1169
|
-
# displayName. | | parent | Project's parent
|
1170
|
-
# Prefer parent field over parent.type and parent.id
|
1171
|
-
# s type: `folder` or `organization`. | | parent.id |
|
1172
|
-
# 123) | | id, projectId | Filters by projectId.
|
1173
|
-
# Filters by state. | | labels | Filters by label
|
1174
|
-
# where *key* is the name of a label) | Filters by
|
1175
|
-
# expressions are case insensitive. Some examples queries: |
|
1176
|
-
# |
|
1177
|
-
# name:how* | The project's name starts with "how". | | name:
|
1178
|
-
# s name is `Howl` or `howl`. | | name:HOWL | Equivalent to
|
1179
|
-
# | Equivalent to above. | | labels.color:* | The project
|
1180
|
-
# | | labels.color:red | The project's label `color` has
|
1181
|
-
# labels.color:red labels.size:big | The project's label `
|
1182
|
-
# red` and its label `size` has the value `big
|
1183
|
-
# call will return projects for which the user has the `
|
1184
|
-
# get` permission.
|
1176
|
+
# displayName. | | parent | Project's parent (for example: folders/123,
|
1177
|
+
# organizations/*). Prefer parent field over parent.type and parent.id.| |
|
1178
|
+
# parent.type | Parent's type: `folder` or `organization`. | | parent.id |
|
1179
|
+
# Parent's id number (for example: 123) | | id, projectId | Filters by projectId.
|
1180
|
+
# | | state, lifecycleState | Filters by state. | | labels | Filters by label
|
1181
|
+
# name or value. | | labels.\ (where *key* is the name of a label) | Filters by
|
1182
|
+
# label name.| Search expressions are case insensitive. Some examples queries: |
|
1183
|
+
# Query | Description | |------------------|-------------------------------------
|
1184
|
+
# ----------------| | name:how* | The project's name starts with "how". | | name:
|
1185
|
+
# Howl | The project's name is `Howl` or `howl`. | | name:HOWL | Equivalent to
|
1186
|
+
# above. | | NAME:howl | Equivalent to above. | | labels.color:* | The project
|
1187
|
+
# has the label `color`. | | labels.color:red | The project's label `color` has
|
1188
|
+
# the value `red`. | | labels.color:red labels.size:big | The project's label `
|
1189
|
+
# color` has the value `red` and its label `size` has the value `big`.| If no
|
1190
|
+
# query is specified, the call will return projects for which the user has the `
|
1191
|
+
# resourcemanager.projects.get` permission.
|
1185
1192
|
# @param [String] fields
|
1186
1193
|
# Selector specifying which fields to include in a partial response.
|
1187
1194
|
# @param [String] quota_user
|
@@ -1211,9 +1218,9 @@ module Google
|
|
1211
1218
|
execute_or_queue_command(command, &block)
|
1212
1219
|
end
|
1213
1220
|
|
1214
|
-
# Sets the IAM access control policy for the specified
|
1221
|
+
# Sets the IAM access control policy for the specified project. CAUTION: This
|
1215
1222
|
# method will replace the existing policy, and cannot be used to append
|
1216
|
-
# additional IAM settings.
|
1223
|
+
# additional IAM settings. Note: Removing service accounts from policies or
|
1217
1224
|
# changing their roles can render services completely inoperable. It is
|
1218
1225
|
# important to understand how the service account is being used before removing
|
1219
1226
|
# or updating its roles. The following constraints apply when using `
|
@@ -1224,11 +1231,11 @@ module Google
|
|
1224
1231
|
# an owner to a project in the myownpersonaldomain.com organization, but not the
|
1225
1232
|
# examplepetstore.com organization. + Service accounts can be made owners of a
|
1226
1233
|
# project directly without any restrictions. However, to be added as an owner, a
|
1227
|
-
# user must be invited
|
1228
|
-
# + A user cannot be granted the owner role using `setIamPolicy()`.
|
1229
|
-
# must be granted the owner role using the Cloud Platform Console and
|
1230
|
-
# explicitly accept the invitation. + Invitations to grant the owner role
|
1231
|
-
# be sent using `setIamPolicy()`; they must be sent only using the Cloud
|
1234
|
+
# user must be invited using the Cloud Platform console and must accept the
|
1235
|
+
# invitation. + A user cannot be granted the owner role using `setIamPolicy()`.
|
1236
|
+
# The user must be granted the owner role using the Cloud Platform Console and
|
1237
|
+
# must explicitly accept the invitation. + Invitations to grant the owner role
|
1238
|
+
# cannot be sent using `setIamPolicy()`; they must be sent only using the Cloud
|
1232
1239
|
# Platform Console. + Membership changes that leave the project without any
|
1233
1240
|
# owners that have accepted the Terms of Service (ToS) will be rejected. + If
|
1234
1241
|
# the project is not part of an organization, there must be at least one owner
|
@@ -1271,7 +1278,7 @@ module Google
|
|
1271
1278
|
execute_or_queue_command(command, &block)
|
1272
1279
|
end
|
1273
1280
|
|
1274
|
-
# Returns permissions that a caller has on the specified
|
1281
|
+
# Returns permissions that a caller has on the specified project.
|
1275
1282
|
# @param [String] resource
|
1276
1283
|
# REQUIRED: The resource for which the policy detail is being requested. See the
|
1277
1284
|
# operation documentation for the appropriate value for this field.
|
@@ -1305,12 +1312,13 @@ module Google
|
|
1305
1312
|
execute_or_queue_command(command, &block)
|
1306
1313
|
end
|
1307
1314
|
|
1308
|
-
# Restores the
|
1309
|
-
# projects/415104041262`). You can only use this method for a
|
1310
|
-
# lifecycle state of DELETE_REQUESTED. After deletion starts, the
|
1311
|
-
# be restored. The caller must have undelete
|
1315
|
+
# Restores the project identified by the specified `name` (for example, `
|
1316
|
+
# projects/415104041262`). You can only use this method for a project that has a
|
1317
|
+
# lifecycle state of DELETE_REQUESTED. After deletion starts, the project cannot
|
1318
|
+
# be restored. The caller must have `resourcemanager.projects.undelete`
|
1319
|
+
# permission for this project.
|
1312
1320
|
# @param [String] name
|
1313
|
-
# Required. The name of the
|
1321
|
+
# Required. The name of the project (for example, `projects/415104041262`).
|
1314
1322
|
# Required.
|
1315
1323
|
# @param [Google::Apis::CloudresourcemanagerV3::UndeleteProjectRequest] undelete_project_request_object
|
1316
1324
|
# @param [String] fields
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
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.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.3'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.3'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for Cloud Resource Manager API V3. Simple
|
28
34
|
REST clients are Ruby client libraries that provide access to Google services via
|
29
35
|
their HTTP REST API endpoints. These libraries are generated and updated automatically
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudresourcemanager_v3/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudresourcemanager_v3/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudresourcemanager_v3/v0.11.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudresourcemanager_v3
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|
@@ -69,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
75
|
- !ruby/object:Gem::Version
|
70
76
|
version: '0'
|
71
77
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
78
|
+
rubygems_version: 3.2.17
|
73
79
|
signing_key:
|
74
80
|
specification_version: 4
|
75
81
|
summary: Simple REST client for Cloud Resource Manager API V3
|