google-apis-cloudresourcemanager_v3 0.5.0 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/lib/google/apis/cloudresourcemanager_v3/classes.rb +75 -46
- 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 +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0fabe62b3161b86f545fad3695e40d20d0612c5bc9964daf73ac5a391ee2b50a
|
4
|
+
data.tar.gz: 8e04ca979aeb5e4be06ce61baad700f4c3977865496f09cb3817f05e6bd45976
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74e9f2b47233dd7cbbfdc0d80e21101e7232d47cb5368627e68f0a6ee5e2e6419c0986e17c148455f035bcc2d2d3845de96307f501f7322cd688656d2ae62edb
|
7
|
+
data.tar.gz: 8f0f7683a86cd34400812ff924d568266fc42c8a3cdd305a2e24e5542a01d62908c71a66b4e129bf4c1bb9d1f64f9dd10a6a751aeab42d40f031cb9b13c6c2f8
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-cloudresourcemanager_v3
|
2
2
|
|
3
|
+
### v0.10.0 (2021-06-03)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210601
|
6
|
+
* Regenerated using generator version 0.3.0
|
7
|
+
|
8
|
+
### v0.9.0 (2021-05-19)
|
9
|
+
|
10
|
+
* Unspecified changes
|
11
|
+
|
12
|
+
### v0.8.0 (2021-04-20)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20210411
|
15
|
+
|
16
|
+
### v0.7.0 (2021-04-02)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210328
|
19
|
+
|
20
|
+
### v0.6.0 (2021-03-27)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210322
|
23
|
+
|
3
24
|
### v0.5.0 (2021-03-19)
|
4
25
|
|
5
26
|
* Regenerated from discovery document revision 20210314
|
@@ -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>]
|
@@ -792,14 +818,17 @@ module Google
|
|
792
818
|
class ListTagBindingsResponse
|
793
819
|
include Google::Apis::Core::Hashable
|
794
820
|
|
795
|
-
#
|
796
|
-
#
|
821
|
+
# Pagination token. If the result set is too large to fit in a single response,
|
822
|
+
# this token is returned. It encodes the position of the current result cursor.
|
823
|
+
# Feeding this value into a new list request with the `page_token` parameter
|
824
|
+
# gives the next page of the results. When `next_page_token` is not filled in,
|
825
|
+
# there is no next page and the list returned is the last page in the result set.
|
826
|
+
# Pagination tokens have a limited lifetime.
|
797
827
|
# Corresponds to the JSON property `nextPageToken`
|
798
828
|
# @return [String]
|
799
829
|
attr_accessor :next_page_token
|
800
830
|
|
801
|
-
# A possibly paginated list of TagBindings for the specified
|
802
|
-
# resource.
|
831
|
+
# A possibly paginated list of TagBindings for the specified resource.
|
803
832
|
# Corresponds to the JSON property `tagBindings`
|
804
833
|
# @return [Array<Google::Apis::CloudresourcemanagerV3::TagBinding>]
|
805
834
|
attr_accessor :tag_bindings
|
@@ -869,7 +898,7 @@ module Google
|
|
869
898
|
end
|
870
899
|
end
|
871
900
|
|
872
|
-
# Metadata pertaining to the
|
901
|
+
# Metadata pertaining to the folder move process.
|
873
902
|
class MoveFolderMetadata
|
874
903
|
include Google::Apis::Core::Hashable
|
875
904
|
|
@@ -904,9 +933,9 @@ module Google
|
|
904
933
|
class MoveFolderRequest
|
905
934
|
include Google::Apis::Core::Hashable
|
906
935
|
|
907
|
-
# Required. The resource name of the
|
908
|
-
# folder
|
909
|
-
# 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``.
|
910
939
|
# Corresponds to the JSON property `destinationParent`
|
911
940
|
# @return [String]
|
912
941
|
attr_accessor :destination_parent
|
@@ -1016,8 +1045,8 @@ module Google
|
|
1016
1045
|
end
|
1017
1046
|
end
|
1018
1047
|
|
1019
|
-
# The root node in the resource hierarchy to which a particular entity's (
|
1020
|
-
# company) resources belong.
|
1048
|
+
# The root node in the resource hierarchy to which a particular entity's (a
|
1049
|
+
# company, for example) resources belong.
|
1021
1050
|
class Organization
|
1022
1051
|
include Google::Apis::Core::Hashable
|
1023
1052
|
|
@@ -1036,10 +1065,10 @@ module Google
|
|
1036
1065
|
# @return [String]
|
1037
1066
|
attr_accessor :directory_customer_id
|
1038
1067
|
|
1039
|
-
# Output only. A human-readable string that refers to the
|
1040
|
-
#
|
1041
|
-
# string will be set to the primary domain (for example, "google.com") of
|
1042
|
-
#
|
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.
|
1043
1072
|
# Corresponds to the JSON property `displayName`
|
1044
1073
|
# @return [String]
|
1045
1074
|
attr_accessor :display_name
|
@@ -1175,8 +1204,8 @@ module Google
|
|
1175
1204
|
end
|
1176
1205
|
end
|
1177
1206
|
|
1178
|
-
# A
|
1179
|
-
#
|
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.
|
1180
1209
|
class Project
|
1181
1210
|
include Google::Apis::Core::Hashable
|
1182
1211
|
|
@@ -1190,7 +1219,7 @@ module Google
|
|
1190
1219
|
# @return [String]
|
1191
1220
|
attr_accessor :delete_time
|
1192
1221
|
|
1193
|
-
# Optional. A user-assigned display name of the
|
1222
|
+
# Optional. A user-assigned display name of the project. When present it must be
|
1194
1223
|
# between 4 to 30 characters. Allowed characters are: lowercase and uppercase
|
1195
1224
|
# letters, numbers, hyphen, single-quote, double-quote, space, and exclamation
|
1196
1225
|
# point. Example: `My Project`
|
@@ -1205,7 +1234,7 @@ module Google
|
|
1205
1234
|
# @return [String]
|
1206
1235
|
attr_accessor :etag
|
1207
1236
|
|
1208
|
-
# Optional. The labels associated with this
|
1237
|
+
# Optional. The labels associated with this project. Label keys must be between
|
1209
1238
|
# 1 and 63 characters long and must conform to the following regular expression:
|
1210
1239
|
# \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. Label values must be between 0 and 63
|
1211
1240
|
# characters long and must conform to the regular expression (\[a-z\](\[-a-z0-9\]
|
@@ -1217,7 +1246,7 @@ module Google
|
|
1217
1246
|
# @return [Hash<String,String>]
|
1218
1247
|
attr_accessor :labels
|
1219
1248
|
|
1220
|
-
# Output only. The unique resource name of the
|
1249
|
+
# Output only. The unique resource name of the project. It is an int64 generated
|
1221
1250
|
# number prefixed by "projects/". Example: `projects/415104041262`
|
1222
1251
|
# Corresponds to the JSON property `name`
|
1223
1252
|
# @return [String]
|
@@ -1229,14 +1258,14 @@ module Google
|
|
1229
1258
|
# @return [String]
|
1230
1259
|
attr_accessor :parent
|
1231
1260
|
|
1232
|
-
# Immutable. The unique, user-assigned id of the
|
1261
|
+
# Immutable. The unique, user-assigned id of the project. It must be 6 to 30
|
1233
1262
|
# lowercase ASCII letters, digits, or hyphens. It must start with a letter.
|
1234
1263
|
# Trailing hyphens are prohibited. Example: `tokyo-rain-123`
|
1235
1264
|
# Corresponds to the JSON property `projectId`
|
1236
1265
|
# @return [String]
|
1237
1266
|
attr_accessor :project_id
|
1238
1267
|
|
1239
|
-
# Output only. The
|
1268
|
+
# Output only. The project lifecycle state.
|
1240
1269
|
# Corresponds to the JSON property `state`
|
1241
1270
|
# @return [String]
|
1242
1271
|
attr_accessor :state
|
@@ -1696,8 +1725,8 @@ module Google
|
|
1696
1725
|
end
|
1697
1726
|
end
|
1698
1727
|
|
1699
|
-
# A status object which is used as the `metadata` field for the Operation
|
1700
|
-
# returned by UndeleteFolder
|
1728
|
+
# A status object which is used as the `metadata` field for the `Operation`
|
1729
|
+
# returned by `UndeleteFolder`.
|
1701
1730
|
class UndeleteFolderMetadata
|
1702
1731
|
include Google::Apis::Core::Hashable
|
1703
1732
|
|
@@ -1738,7 +1767,7 @@ module Google
|
|
1738
1767
|
end
|
1739
1768
|
|
1740
1769
|
# A status object which is used as the `metadata` field for the Operation
|
1741
|
-
# returned by UndeleteProject
|
1770
|
+
# returned by `UndeleteProject`.
|
1742
1771
|
class UndeleteProjectMetadata
|
1743
1772
|
include Google::Apis::Core::Hashable
|
1744
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.10.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
|
1170
|
-
#
|
1171
|
-
#
|
1172
|
-
#
|
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,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-cloudresourcemanager_v3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.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-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
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.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudresourcemanager_v3/v0.10.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudresourcemanager_v3
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
72
|
+
rubygems_version: 3.2.17
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Cloud Resource Manager API V3
|