google-apis-cloudresourcemanager_v3 0.4.0 → 0.9.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 +20 -0
- data/lib/google/apis/cloudresourcemanager_v3/classes.rb +697 -2
- data/lib/google/apis/cloudresourcemanager_v3/gem_version.rb +2 -2
- data/lib/google/apis/cloudresourcemanager_v3/representations.rb +363 -0
- data/lib/google/apis/cloudresourcemanager_v3/service.rb +1176 -46
- 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: 9e5f2b318e9a31dca6a659eb505fd7f3d29cda88e74e0c06c152c1757617d44a
|
|
4
|
+
data.tar.gz: 198ebf077d565ea7ccddfe358b35f85e862edf6167236b89261cbcc86fb961c8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 18e12d6c814e94313a20a62b458d0f6151e0952c2ea5f381d31da6ff8b71c138d2dcd79f5abb758154fb8d1572ad66b11ea695f22715e5b0d2e8fb909bf05cff
|
|
7
|
+
data.tar.gz: 74513d286d56ccd59f22c26cd162c98372ef82d9f918388f9c920ad82c072c4b059585855a81e5c5be2313aac83d3ae1aba9dbc8f8e13c6ac28a8f6d469d5035
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# Release history for google-apis-cloudresourcemanager_v3
|
|
2
2
|
|
|
3
|
+
### v0.9.0 (2021-05-19)
|
|
4
|
+
|
|
5
|
+
* Unspecified changes
|
|
6
|
+
|
|
7
|
+
### v0.8.0 (2021-04-20)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20210411
|
|
10
|
+
|
|
11
|
+
### v0.7.0 (2021-04-02)
|
|
12
|
+
|
|
13
|
+
* Regenerated from discovery document revision 20210328
|
|
14
|
+
|
|
15
|
+
### v0.6.0 (2021-03-27)
|
|
16
|
+
|
|
17
|
+
* Regenerated from discovery document revision 20210322
|
|
18
|
+
|
|
19
|
+
### v0.5.0 (2021-03-19)
|
|
20
|
+
|
|
21
|
+
* Regenerated from discovery document revision 20210314
|
|
22
|
+
|
|
3
23
|
### v0.4.0 (2021-03-13)
|
|
4
24
|
|
|
5
25
|
* Regenerated from discovery document revision 20210309
|
|
@@ -242,6 +242,81 @@ module Google
|
|
|
242
242
|
end
|
|
243
243
|
end
|
|
244
244
|
|
|
245
|
+
# Metadata pertaining to the Folder creation process.
|
|
246
|
+
class CreateFolderMetadata
|
|
247
|
+
include Google::Apis::Core::Hashable
|
|
248
|
+
|
|
249
|
+
# The display name of the folder.
|
|
250
|
+
# Corresponds to the JSON property `displayName`
|
|
251
|
+
# @return [String]
|
|
252
|
+
attr_accessor :display_name
|
|
253
|
+
|
|
254
|
+
# The resource name of the folder or organization we are creating the folder
|
|
255
|
+
# under.
|
|
256
|
+
# Corresponds to the JSON property `parent`
|
|
257
|
+
# @return [String]
|
|
258
|
+
attr_accessor :parent
|
|
259
|
+
|
|
260
|
+
def initialize(**args)
|
|
261
|
+
update!(**args)
|
|
262
|
+
end
|
|
263
|
+
|
|
264
|
+
# Update properties of this object
|
|
265
|
+
def update!(**args)
|
|
266
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
267
|
+
@parent = args[:parent] if args.key?(:parent)
|
|
268
|
+
end
|
|
269
|
+
end
|
|
270
|
+
|
|
271
|
+
# A status object which is used as the `metadata` field for the Operation
|
|
272
|
+
# returned by CreateProject. It provides insight for when significant phases of
|
|
273
|
+
# Project creation have completed.
|
|
274
|
+
class CreateProjectMetadata
|
|
275
|
+
include Google::Apis::Core::Hashable
|
|
276
|
+
|
|
277
|
+
# Creation time of the project creation workflow.
|
|
278
|
+
# Corresponds to the JSON property `createTime`
|
|
279
|
+
# @return [String]
|
|
280
|
+
attr_accessor :create_time
|
|
281
|
+
|
|
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
|
+
# Corresponds to the JSON property `gettable`
|
|
285
|
+
# @return [Boolean]
|
|
286
|
+
attr_accessor :gettable
|
|
287
|
+
alias_method :gettable?, :gettable
|
|
288
|
+
|
|
289
|
+
# True if the project creation process is complete.
|
|
290
|
+
# Corresponds to the JSON property `ready`
|
|
291
|
+
# @return [Boolean]
|
|
292
|
+
attr_accessor :ready
|
|
293
|
+
alias_method :ready?, :ready
|
|
294
|
+
|
|
295
|
+
def initialize(**args)
|
|
296
|
+
update!(**args)
|
|
297
|
+
end
|
|
298
|
+
|
|
299
|
+
# Update properties of this object
|
|
300
|
+
def update!(**args)
|
|
301
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
302
|
+
@gettable = args[:gettable] if args.key?(:gettable)
|
|
303
|
+
@ready = args[:ready] if args.key?(:ready)
|
|
304
|
+
end
|
|
305
|
+
end
|
|
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
|
+
|
|
245
320
|
# Runtime operation information for creating a TagKey.
|
|
246
321
|
class CreateTagKeyMetadata
|
|
247
322
|
include Google::Apis::Core::Hashable
|
|
@@ -268,6 +343,61 @@ module Google
|
|
|
268
343
|
end
|
|
269
344
|
end
|
|
270
345
|
|
|
346
|
+
# A status object which is used as the `metadata` field for the `Operation`
|
|
347
|
+
# returned by `DeleteFolder`.
|
|
348
|
+
class DeleteFolderMetadata
|
|
349
|
+
include Google::Apis::Core::Hashable
|
|
350
|
+
|
|
351
|
+
def initialize(**args)
|
|
352
|
+
update!(**args)
|
|
353
|
+
end
|
|
354
|
+
|
|
355
|
+
# Update properties of this object
|
|
356
|
+
def update!(**args)
|
|
357
|
+
end
|
|
358
|
+
end
|
|
359
|
+
|
|
360
|
+
# A status object which is used as the `metadata` field for the operation
|
|
361
|
+
# returned by DeleteOrganization.
|
|
362
|
+
class DeleteOrganizationMetadata
|
|
363
|
+
include Google::Apis::Core::Hashable
|
|
364
|
+
|
|
365
|
+
def initialize(**args)
|
|
366
|
+
update!(**args)
|
|
367
|
+
end
|
|
368
|
+
|
|
369
|
+
# Update properties of this object
|
|
370
|
+
def update!(**args)
|
|
371
|
+
end
|
|
372
|
+
end
|
|
373
|
+
|
|
374
|
+
# A status object which is used as the `metadata` field for the Operation
|
|
375
|
+
# returned by `DeleteProject`.
|
|
376
|
+
class DeleteProjectMetadata
|
|
377
|
+
include Google::Apis::Core::Hashable
|
|
378
|
+
|
|
379
|
+
def initialize(**args)
|
|
380
|
+
update!(**args)
|
|
381
|
+
end
|
|
382
|
+
|
|
383
|
+
# Update properties of this object
|
|
384
|
+
def update!(**args)
|
|
385
|
+
end
|
|
386
|
+
end
|
|
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
|
+
|
|
271
401
|
# Runtime operation information for deleting a TagKey.
|
|
272
402
|
class DeleteTagKeyMetadata
|
|
273
403
|
include Google::Apis::Core::Hashable
|
|
@@ -365,6 +495,78 @@ module Google
|
|
|
365
495
|
end
|
|
366
496
|
end
|
|
367
497
|
|
|
498
|
+
# A folder in an organization's resource hierarchy, used to organize that
|
|
499
|
+
# organization's resources.
|
|
500
|
+
class Folder
|
|
501
|
+
include Google::Apis::Core::Hashable
|
|
502
|
+
|
|
503
|
+
# Output only. Timestamp when the folder was created.
|
|
504
|
+
# Corresponds to the JSON property `createTime`
|
|
505
|
+
# @return [String]
|
|
506
|
+
attr_accessor :create_time
|
|
507
|
+
|
|
508
|
+
# Output only. Timestamp when the folder was requested to be deleted.
|
|
509
|
+
# Corresponds to the JSON property `deleteTime`
|
|
510
|
+
# @return [String]
|
|
511
|
+
attr_accessor :delete_time
|
|
512
|
+
|
|
513
|
+
# The folder's display name. A folder's display name must be unique amongst its
|
|
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`])?`.
|
|
519
|
+
# Corresponds to the JSON property `displayName`
|
|
520
|
+
# @return [String]
|
|
521
|
+
attr_accessor :display_name
|
|
522
|
+
|
|
523
|
+
# Output only. A checksum computed by the server based on the current value of
|
|
524
|
+
# the folder resource. This may be sent on update and delete requests to ensure
|
|
525
|
+
# the client has an up-to-date value before proceeding.
|
|
526
|
+
# Corresponds to the JSON property `etag`
|
|
527
|
+
# @return [String]
|
|
528
|
+
attr_accessor :etag
|
|
529
|
+
|
|
530
|
+
# Output only. The resource name of the folder. Its format is `folders/`
|
|
531
|
+
# folder_id``, for example: "folders/1234".
|
|
532
|
+
# Corresponds to the JSON property `name`
|
|
533
|
+
# @return [String]
|
|
534
|
+
attr_accessor :name
|
|
535
|
+
|
|
536
|
+
# Required. The folder's parent's resource name. Updates to the folder's parent
|
|
537
|
+
# must be performed using MoveFolder.
|
|
538
|
+
# Corresponds to the JSON property `parent`
|
|
539
|
+
# @return [String]
|
|
540
|
+
attr_accessor :parent
|
|
541
|
+
|
|
542
|
+
# Output only. The lifecycle state of the folder. Updates to the state must be
|
|
543
|
+
# performed using DeleteFolder and UndeleteFolder.
|
|
544
|
+
# Corresponds to the JSON property `state`
|
|
545
|
+
# @return [String]
|
|
546
|
+
attr_accessor :state
|
|
547
|
+
|
|
548
|
+
# Output only. Timestamp when the folder was last modified.
|
|
549
|
+
# Corresponds to the JSON property `updateTime`
|
|
550
|
+
# @return [String]
|
|
551
|
+
attr_accessor :update_time
|
|
552
|
+
|
|
553
|
+
def initialize(**args)
|
|
554
|
+
update!(**args)
|
|
555
|
+
end
|
|
556
|
+
|
|
557
|
+
# Update properties of this object
|
|
558
|
+
def update!(**args)
|
|
559
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
560
|
+
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
|
561
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
562
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
563
|
+
@name = args[:name] if args.key?(:name)
|
|
564
|
+
@parent = args[:parent] if args.key?(:parent)
|
|
565
|
+
@state = args[:state] if args.key?(:state)
|
|
566
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
567
|
+
end
|
|
568
|
+
end
|
|
569
|
+
|
|
368
570
|
# Metadata describing a long running folder operation
|
|
369
571
|
class FolderOperation
|
|
370
572
|
include Google::Apis::Core::Hashable
|
|
@@ -525,6 +727,33 @@ module Google
|
|
|
525
727
|
end
|
|
526
728
|
end
|
|
527
729
|
|
|
730
|
+
# The ListFolders response message.
|
|
731
|
+
class ListFoldersResponse
|
|
732
|
+
include Google::Apis::Core::Hashable
|
|
733
|
+
|
|
734
|
+
# A possibly paginated list of folders that are direct descendants of the
|
|
735
|
+
# specified parent resource.
|
|
736
|
+
# Corresponds to the JSON property `folders`
|
|
737
|
+
# @return [Array<Google::Apis::CloudresourcemanagerV3::Folder>]
|
|
738
|
+
attr_accessor :folders
|
|
739
|
+
|
|
740
|
+
# A pagination token returned from a previous call to `ListFolders` that
|
|
741
|
+
# indicates from where listing should continue.
|
|
742
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
743
|
+
# @return [String]
|
|
744
|
+
attr_accessor :next_page_token
|
|
745
|
+
|
|
746
|
+
def initialize(**args)
|
|
747
|
+
update!(**args)
|
|
748
|
+
end
|
|
749
|
+
|
|
750
|
+
# Update properties of this object
|
|
751
|
+
def update!(**args)
|
|
752
|
+
@folders = args[:folders] if args.key?(:folders)
|
|
753
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
754
|
+
end
|
|
755
|
+
end
|
|
756
|
+
|
|
528
757
|
# The response message for Liens.ListLiens.
|
|
529
758
|
class ListLiensResponse
|
|
530
759
|
include Google::Apis::Core::Hashable
|
|
@@ -551,12 +780,50 @@ module Google
|
|
|
551
780
|
end
|
|
552
781
|
end
|
|
553
782
|
|
|
783
|
+
# A page of the response received from the ListProjects method. A paginated
|
|
784
|
+
# response where more pages are available has `next_page_token` set. This token
|
|
785
|
+
# can be used in a subsequent request to retrieve the next request page. NOTE: A
|
|
786
|
+
# response may contain fewer elements than the request `page_size` and still
|
|
787
|
+
# have a `next_page_token`.
|
|
788
|
+
class ListProjectsResponse
|
|
789
|
+
include Google::Apis::Core::Hashable
|
|
790
|
+
|
|
791
|
+
# Pagination token. If the result set is too large to fit in a single response,
|
|
792
|
+
# this token is returned. It encodes the position of the current result cursor.
|
|
793
|
+
# Feeding this value into a new list request with the `page_token` parameter
|
|
794
|
+
# gives the next page of the results. When `next_page_token` is not filled in,
|
|
795
|
+
# there is no next page and the list returned is the last page in the result set.
|
|
796
|
+
# Pagination tokens have a limited lifetime.
|
|
797
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
798
|
+
# @return [String]
|
|
799
|
+
attr_accessor :next_page_token
|
|
800
|
+
|
|
801
|
+
# The list of Projects under the parent. This list can be paginated.
|
|
802
|
+
# Corresponds to the JSON property `projects`
|
|
803
|
+
# @return [Array<Google::Apis::CloudresourcemanagerV3::Project>]
|
|
804
|
+
attr_accessor :projects
|
|
805
|
+
|
|
806
|
+
def initialize(**args)
|
|
807
|
+
update!(**args)
|
|
808
|
+
end
|
|
809
|
+
|
|
810
|
+
# Update properties of this object
|
|
811
|
+
def update!(**args)
|
|
812
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
813
|
+
@projects = args[:projects] if args.key?(:projects)
|
|
814
|
+
end
|
|
815
|
+
end
|
|
816
|
+
|
|
554
817
|
# The ListTagBindings response.
|
|
555
818
|
class ListTagBindingsResponse
|
|
556
819
|
include Google::Apis::Core::Hashable
|
|
557
820
|
|
|
558
|
-
#
|
|
559
|
-
#
|
|
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.
|
|
560
827
|
# Corresponds to the JSON property `nextPageToken`
|
|
561
828
|
# @return [String]
|
|
562
829
|
attr_accessor :next_page_token
|
|
@@ -632,6 +899,91 @@ module Google
|
|
|
632
899
|
end
|
|
633
900
|
end
|
|
634
901
|
|
|
902
|
+
# Metadata pertaining to the folder move process.
|
|
903
|
+
class MoveFolderMetadata
|
|
904
|
+
include Google::Apis::Core::Hashable
|
|
905
|
+
|
|
906
|
+
# The resource name of the folder or organization to move the folder to.
|
|
907
|
+
# Corresponds to the JSON property `destinationParent`
|
|
908
|
+
# @return [String]
|
|
909
|
+
attr_accessor :destination_parent
|
|
910
|
+
|
|
911
|
+
# The display name of the folder.
|
|
912
|
+
# Corresponds to the JSON property `displayName`
|
|
913
|
+
# @return [String]
|
|
914
|
+
attr_accessor :display_name
|
|
915
|
+
|
|
916
|
+
# The resource name of the folder's parent.
|
|
917
|
+
# Corresponds to the JSON property `sourceParent`
|
|
918
|
+
# @return [String]
|
|
919
|
+
attr_accessor :source_parent
|
|
920
|
+
|
|
921
|
+
def initialize(**args)
|
|
922
|
+
update!(**args)
|
|
923
|
+
end
|
|
924
|
+
|
|
925
|
+
# Update properties of this object
|
|
926
|
+
def update!(**args)
|
|
927
|
+
@destination_parent = args[:destination_parent] if args.key?(:destination_parent)
|
|
928
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
929
|
+
@source_parent = args[:source_parent] if args.key?(:source_parent)
|
|
930
|
+
end
|
|
931
|
+
end
|
|
932
|
+
|
|
933
|
+
# The MoveFolder request message.
|
|
934
|
+
class MoveFolderRequest
|
|
935
|
+
include Google::Apis::Core::Hashable
|
|
936
|
+
|
|
937
|
+
# Required. The resource name of the folder or organization which should be the
|
|
938
|
+
# folder's new parent. Must be of the form `folders/`folder_id`` or `
|
|
939
|
+
# organizations/`org_id``.
|
|
940
|
+
# Corresponds to the JSON property `destinationParent`
|
|
941
|
+
# @return [String]
|
|
942
|
+
attr_accessor :destination_parent
|
|
943
|
+
|
|
944
|
+
def initialize(**args)
|
|
945
|
+
update!(**args)
|
|
946
|
+
end
|
|
947
|
+
|
|
948
|
+
# Update properties of this object
|
|
949
|
+
def update!(**args)
|
|
950
|
+
@destination_parent = args[:destination_parent] if args.key?(:destination_parent)
|
|
951
|
+
end
|
|
952
|
+
end
|
|
953
|
+
|
|
954
|
+
# A status object which is used as the `metadata` field for the Operation
|
|
955
|
+
# returned by MoveProject.
|
|
956
|
+
class MoveProjectMetadata
|
|
957
|
+
include Google::Apis::Core::Hashable
|
|
958
|
+
|
|
959
|
+
def initialize(**args)
|
|
960
|
+
update!(**args)
|
|
961
|
+
end
|
|
962
|
+
|
|
963
|
+
# Update properties of this object
|
|
964
|
+
def update!(**args)
|
|
965
|
+
end
|
|
966
|
+
end
|
|
967
|
+
|
|
968
|
+
# The request sent to MoveProject method.
|
|
969
|
+
class MoveProjectRequest
|
|
970
|
+
include Google::Apis::Core::Hashable
|
|
971
|
+
|
|
972
|
+
# Required. The new parent to move the Project under.
|
|
973
|
+
# Corresponds to the JSON property `destinationParent`
|
|
974
|
+
# @return [String]
|
|
975
|
+
attr_accessor :destination_parent
|
|
976
|
+
|
|
977
|
+
def initialize(**args)
|
|
978
|
+
update!(**args)
|
|
979
|
+
end
|
|
980
|
+
|
|
981
|
+
# Update properties of this object
|
|
982
|
+
def update!(**args)
|
|
983
|
+
@destination_parent = args[:destination_parent] if args.key?(:destination_parent)
|
|
984
|
+
end
|
|
985
|
+
end
|
|
986
|
+
|
|
635
987
|
# This resource represents a long-running operation that is the result of a
|
|
636
988
|
# network API call.
|
|
637
989
|
class Operation
|
|
@@ -694,6 +1046,75 @@ module Google
|
|
|
694
1046
|
end
|
|
695
1047
|
end
|
|
696
1048
|
|
|
1049
|
+
# The root node in the resource hierarchy to which a particular entity's (a
|
|
1050
|
+
# company, for example) resources belong.
|
|
1051
|
+
class Organization
|
|
1052
|
+
include Google::Apis::Core::Hashable
|
|
1053
|
+
|
|
1054
|
+
# Output only. Timestamp when the Organization was created.
|
|
1055
|
+
# Corresponds to the JSON property `createTime`
|
|
1056
|
+
# @return [String]
|
|
1057
|
+
attr_accessor :create_time
|
|
1058
|
+
|
|
1059
|
+
# Output only. Timestamp when the Organization was requested for deletion.
|
|
1060
|
+
# Corresponds to the JSON property `deleteTime`
|
|
1061
|
+
# @return [String]
|
|
1062
|
+
attr_accessor :delete_time
|
|
1063
|
+
|
|
1064
|
+
# Immutable. The G Suite / Workspace customer id used in the Directory API.
|
|
1065
|
+
# Corresponds to the JSON property `directoryCustomerId`
|
|
1066
|
+
# @return [String]
|
|
1067
|
+
attr_accessor :directory_customer_id
|
|
1068
|
+
|
|
1069
|
+
# Output only. A human-readable string that refers to the organization in the
|
|
1070
|
+
# Google Cloud Console. This string is set by the server and cannot be changed.
|
|
1071
|
+
# The string will be set to the primary domain (for example, "google.com") of
|
|
1072
|
+
# the Google Workspace customer that owns the organization.
|
|
1073
|
+
# Corresponds to the JSON property `displayName`
|
|
1074
|
+
# @return [String]
|
|
1075
|
+
attr_accessor :display_name
|
|
1076
|
+
|
|
1077
|
+
# Output only. A checksum computed by the server based on the current value of
|
|
1078
|
+
# the Organization resource. This may be sent on update and delete requests to
|
|
1079
|
+
# ensure the client has an up-to-date value before proceeding.
|
|
1080
|
+
# Corresponds to the JSON property `etag`
|
|
1081
|
+
# @return [String]
|
|
1082
|
+
attr_accessor :etag
|
|
1083
|
+
|
|
1084
|
+
# Output only. The resource name of the organization. This is the organization's
|
|
1085
|
+
# relative path in the API. Its format is "organizations/[organization_id]". For
|
|
1086
|
+
# example, "organizations/1234".
|
|
1087
|
+
# Corresponds to the JSON property `name`
|
|
1088
|
+
# @return [String]
|
|
1089
|
+
attr_accessor :name
|
|
1090
|
+
|
|
1091
|
+
# Output only. The organization's current lifecycle state.
|
|
1092
|
+
# Corresponds to the JSON property `state`
|
|
1093
|
+
# @return [String]
|
|
1094
|
+
attr_accessor :state
|
|
1095
|
+
|
|
1096
|
+
# Output only. Timestamp when the Organization was last modified.
|
|
1097
|
+
# Corresponds to the JSON property `updateTime`
|
|
1098
|
+
# @return [String]
|
|
1099
|
+
attr_accessor :update_time
|
|
1100
|
+
|
|
1101
|
+
def initialize(**args)
|
|
1102
|
+
update!(**args)
|
|
1103
|
+
end
|
|
1104
|
+
|
|
1105
|
+
# Update properties of this object
|
|
1106
|
+
def update!(**args)
|
|
1107
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
1108
|
+
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
|
1109
|
+
@directory_customer_id = args[:directory_customer_id] if args.key?(:directory_customer_id)
|
|
1110
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
1111
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
1112
|
+
@name = args[:name] if args.key?(:name)
|
|
1113
|
+
@state = args[:state] if args.key?(:state)
|
|
1114
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
1115
|
+
end
|
|
1116
|
+
end
|
|
1117
|
+
|
|
697
1118
|
# An Identity and Access Management (IAM) policy, which specifies access
|
|
698
1119
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
|
699
1120
|
# A `binding` binds one or more `members` to a single `role`. Members can be
|
|
@@ -784,6 +1205,96 @@ module Google
|
|
|
784
1205
|
end
|
|
785
1206
|
end
|
|
786
1207
|
|
|
1208
|
+
# A project is a high-level Google Cloud entity. It is a container for ACLs,
|
|
1209
|
+
# APIs, App Engine Apps, VMs, and other Google Cloud Platform resources.
|
|
1210
|
+
class Project
|
|
1211
|
+
include Google::Apis::Core::Hashable
|
|
1212
|
+
|
|
1213
|
+
# Output only. Creation time.
|
|
1214
|
+
# Corresponds to the JSON property `createTime`
|
|
1215
|
+
# @return [String]
|
|
1216
|
+
attr_accessor :create_time
|
|
1217
|
+
|
|
1218
|
+
# Output only. The time at which this resource was requested for deletion.
|
|
1219
|
+
# Corresponds to the JSON property `deleteTime`
|
|
1220
|
+
# @return [String]
|
|
1221
|
+
attr_accessor :delete_time
|
|
1222
|
+
|
|
1223
|
+
# Optional. A user-assigned display name of the project. When present it must be
|
|
1224
|
+
# between 4 to 30 characters. Allowed characters are: lowercase and uppercase
|
|
1225
|
+
# letters, numbers, hyphen, single-quote, double-quote, space, and exclamation
|
|
1226
|
+
# point. Example: `My Project`
|
|
1227
|
+
# Corresponds to the JSON property `displayName`
|
|
1228
|
+
# @return [String]
|
|
1229
|
+
attr_accessor :display_name
|
|
1230
|
+
|
|
1231
|
+
# Output only. A checksum computed by the server based on the current value of
|
|
1232
|
+
# the Project resource. This may be sent on update and delete requests to ensure
|
|
1233
|
+
# the client has an up-to-date value before proceeding.
|
|
1234
|
+
# Corresponds to the JSON property `etag`
|
|
1235
|
+
# @return [String]
|
|
1236
|
+
attr_accessor :etag
|
|
1237
|
+
|
|
1238
|
+
# Optional. The labels associated with this project. Label keys must be between
|
|
1239
|
+
# 1 and 63 characters long and must conform to the following regular expression:
|
|
1240
|
+
# \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. Label values must be between 0 and 63
|
|
1241
|
+
# characters long and must conform to the regular expression (\[a-z\](\[-a-z0-9\]
|
|
1242
|
+
# *\[a-z0-9\])?)?. No more than 256 labels can be associated with a given
|
|
1243
|
+
# resource. Clients should store labels in a representation such as JSON that
|
|
1244
|
+
# does not depend on specific characters being disallowed. Example: `"
|
|
1245
|
+
# myBusinessDimension" : "businessValue"`
|
|
1246
|
+
# Corresponds to the JSON property `labels`
|
|
1247
|
+
# @return [Hash<String,String>]
|
|
1248
|
+
attr_accessor :labels
|
|
1249
|
+
|
|
1250
|
+
# Output only. The unique resource name of the project. It is an int64 generated
|
|
1251
|
+
# number prefixed by "projects/". Example: `projects/415104041262`
|
|
1252
|
+
# Corresponds to the JSON property `name`
|
|
1253
|
+
# @return [String]
|
|
1254
|
+
attr_accessor :name
|
|
1255
|
+
|
|
1256
|
+
# Optional. A reference to a parent Resource. eg., `organizations/123` or `
|
|
1257
|
+
# folders/876`.
|
|
1258
|
+
# Corresponds to the JSON property `parent`
|
|
1259
|
+
# @return [String]
|
|
1260
|
+
attr_accessor :parent
|
|
1261
|
+
|
|
1262
|
+
# Immutable. The unique, user-assigned id of the project. It must be 6 to 30
|
|
1263
|
+
# lowercase ASCII letters, digits, or hyphens. It must start with a letter.
|
|
1264
|
+
# Trailing hyphens are prohibited. Example: `tokyo-rain-123`
|
|
1265
|
+
# Corresponds to the JSON property `projectId`
|
|
1266
|
+
# @return [String]
|
|
1267
|
+
attr_accessor :project_id
|
|
1268
|
+
|
|
1269
|
+
# Output only. The project lifecycle state.
|
|
1270
|
+
# Corresponds to the JSON property `state`
|
|
1271
|
+
# @return [String]
|
|
1272
|
+
attr_accessor :state
|
|
1273
|
+
|
|
1274
|
+
# Output only. The most recent time this resource was modified.
|
|
1275
|
+
# Corresponds to the JSON property `updateTime`
|
|
1276
|
+
# @return [String]
|
|
1277
|
+
attr_accessor :update_time
|
|
1278
|
+
|
|
1279
|
+
def initialize(**args)
|
|
1280
|
+
update!(**args)
|
|
1281
|
+
end
|
|
1282
|
+
|
|
1283
|
+
# Update properties of this object
|
|
1284
|
+
def update!(**args)
|
|
1285
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
1286
|
+
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
|
1287
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
1288
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
1289
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
1290
|
+
@name = args[:name] if args.key?(:name)
|
|
1291
|
+
@parent = args[:parent] if args.key?(:parent)
|
|
1292
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
|
1293
|
+
@state = args[:state] if args.key?(:state)
|
|
1294
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
1295
|
+
end
|
|
1296
|
+
end
|
|
1297
|
+
|
|
787
1298
|
# A status object which is used as the `metadata` field for the Operation
|
|
788
1299
|
# returned by CreateProject. It provides insight for when significant phases of
|
|
789
1300
|
# Project creation have completed.
|
|
@@ -820,6 +1331,94 @@ module Google
|
|
|
820
1331
|
end
|
|
821
1332
|
end
|
|
822
1333
|
|
|
1334
|
+
# The response message for searching folders.
|
|
1335
|
+
class SearchFoldersResponse
|
|
1336
|
+
include Google::Apis::Core::Hashable
|
|
1337
|
+
|
|
1338
|
+
# A possibly paginated folder search results. the specified parent resource.
|
|
1339
|
+
# Corresponds to the JSON property `folders`
|
|
1340
|
+
# @return [Array<Google::Apis::CloudresourcemanagerV3::Folder>]
|
|
1341
|
+
attr_accessor :folders
|
|
1342
|
+
|
|
1343
|
+
# A pagination token returned from a previous call to `SearchFolders` that
|
|
1344
|
+
# indicates from where searching should continue.
|
|
1345
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
1346
|
+
# @return [String]
|
|
1347
|
+
attr_accessor :next_page_token
|
|
1348
|
+
|
|
1349
|
+
def initialize(**args)
|
|
1350
|
+
update!(**args)
|
|
1351
|
+
end
|
|
1352
|
+
|
|
1353
|
+
# Update properties of this object
|
|
1354
|
+
def update!(**args)
|
|
1355
|
+
@folders = args[:folders] if args.key?(:folders)
|
|
1356
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1357
|
+
end
|
|
1358
|
+
end
|
|
1359
|
+
|
|
1360
|
+
# The response returned from the `SearchOrganizations` method.
|
|
1361
|
+
class SearchOrganizationsResponse
|
|
1362
|
+
include Google::Apis::Core::Hashable
|
|
1363
|
+
|
|
1364
|
+
# A pagination token to be used to retrieve the next page of results. If the
|
|
1365
|
+
# result is too large to fit within the page size specified in the request, this
|
|
1366
|
+
# field will be set with a token that can be used to fetch the next page of
|
|
1367
|
+
# results. If this field is empty, it indicates that this response contains the
|
|
1368
|
+
# last page of results.
|
|
1369
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
1370
|
+
# @return [String]
|
|
1371
|
+
attr_accessor :next_page_token
|
|
1372
|
+
|
|
1373
|
+
# The list of Organizations that matched the search query, possibly paginated.
|
|
1374
|
+
# Corresponds to the JSON property `organizations`
|
|
1375
|
+
# @return [Array<Google::Apis::CloudresourcemanagerV3::Organization>]
|
|
1376
|
+
attr_accessor :organizations
|
|
1377
|
+
|
|
1378
|
+
def initialize(**args)
|
|
1379
|
+
update!(**args)
|
|
1380
|
+
end
|
|
1381
|
+
|
|
1382
|
+
# Update properties of this object
|
|
1383
|
+
def update!(**args)
|
|
1384
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1385
|
+
@organizations = args[:organizations] if args.key?(:organizations)
|
|
1386
|
+
end
|
|
1387
|
+
end
|
|
1388
|
+
|
|
1389
|
+
# A page of the response received from the SearchProjects method. A paginated
|
|
1390
|
+
# response where more pages are available has `next_page_token` set. This token
|
|
1391
|
+
# can be used in a subsequent request to retrieve the next request page.
|
|
1392
|
+
class SearchProjectsResponse
|
|
1393
|
+
include Google::Apis::Core::Hashable
|
|
1394
|
+
|
|
1395
|
+
# Pagination token. If the result set is too large to fit in a single response,
|
|
1396
|
+
# this token is returned. It encodes the position of the current result cursor.
|
|
1397
|
+
# Feeding this value into a new list request with the `page_token` parameter
|
|
1398
|
+
# gives the next page of the results. When `next_page_token` is not filled in,
|
|
1399
|
+
# there is no next page and the list returned is the last page in the result set.
|
|
1400
|
+
# Pagination tokens have a limited lifetime.
|
|
1401
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
1402
|
+
# @return [String]
|
|
1403
|
+
attr_accessor :next_page_token
|
|
1404
|
+
|
|
1405
|
+
# The list of Projects that matched the list filter query. This list can be
|
|
1406
|
+
# paginated.
|
|
1407
|
+
# Corresponds to the JSON property `projects`
|
|
1408
|
+
# @return [Array<Google::Apis::CloudresourcemanagerV3::Project>]
|
|
1409
|
+
attr_accessor :projects
|
|
1410
|
+
|
|
1411
|
+
def initialize(**args)
|
|
1412
|
+
update!(**args)
|
|
1413
|
+
end
|
|
1414
|
+
|
|
1415
|
+
# Update properties of this object
|
|
1416
|
+
def update!(**args)
|
|
1417
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1418
|
+
@projects = args[:projects] if args.key?(:projects)
|
|
1419
|
+
end
|
|
1420
|
+
end
|
|
1421
|
+
|
|
823
1422
|
# Request message for `SetIamPolicy` method.
|
|
824
1423
|
class SetIamPolicyRequest
|
|
825
1424
|
include Google::Apis::Core::Hashable
|
|
@@ -1127,6 +1726,102 @@ module Google
|
|
|
1127
1726
|
end
|
|
1128
1727
|
end
|
|
1129
1728
|
|
|
1729
|
+
# A status object which is used as the `metadata` field for the `Operation`
|
|
1730
|
+
# returned by `UndeleteFolder`.
|
|
1731
|
+
class UndeleteFolderMetadata
|
|
1732
|
+
include Google::Apis::Core::Hashable
|
|
1733
|
+
|
|
1734
|
+
def initialize(**args)
|
|
1735
|
+
update!(**args)
|
|
1736
|
+
end
|
|
1737
|
+
|
|
1738
|
+
# Update properties of this object
|
|
1739
|
+
def update!(**args)
|
|
1740
|
+
end
|
|
1741
|
+
end
|
|
1742
|
+
|
|
1743
|
+
# The UndeleteFolder request message.
|
|
1744
|
+
class UndeleteFolderRequest
|
|
1745
|
+
include Google::Apis::Core::Hashable
|
|
1746
|
+
|
|
1747
|
+
def initialize(**args)
|
|
1748
|
+
update!(**args)
|
|
1749
|
+
end
|
|
1750
|
+
|
|
1751
|
+
# Update properties of this object
|
|
1752
|
+
def update!(**args)
|
|
1753
|
+
end
|
|
1754
|
+
end
|
|
1755
|
+
|
|
1756
|
+
# A status object which is used as the `metadata` field for the Operation
|
|
1757
|
+
# returned by UndeleteOrganization.
|
|
1758
|
+
class UndeleteOrganizationMetadata
|
|
1759
|
+
include Google::Apis::Core::Hashable
|
|
1760
|
+
|
|
1761
|
+
def initialize(**args)
|
|
1762
|
+
update!(**args)
|
|
1763
|
+
end
|
|
1764
|
+
|
|
1765
|
+
# Update properties of this object
|
|
1766
|
+
def update!(**args)
|
|
1767
|
+
end
|
|
1768
|
+
end
|
|
1769
|
+
|
|
1770
|
+
# A status object which is used as the `metadata` field for the Operation
|
|
1771
|
+
# returned by `UndeleteProject`.
|
|
1772
|
+
class UndeleteProjectMetadata
|
|
1773
|
+
include Google::Apis::Core::Hashable
|
|
1774
|
+
|
|
1775
|
+
def initialize(**args)
|
|
1776
|
+
update!(**args)
|
|
1777
|
+
end
|
|
1778
|
+
|
|
1779
|
+
# Update properties of this object
|
|
1780
|
+
def update!(**args)
|
|
1781
|
+
end
|
|
1782
|
+
end
|
|
1783
|
+
|
|
1784
|
+
# The request sent to the UndeleteProject method.
|
|
1785
|
+
class UndeleteProjectRequest
|
|
1786
|
+
include Google::Apis::Core::Hashable
|
|
1787
|
+
|
|
1788
|
+
def initialize(**args)
|
|
1789
|
+
update!(**args)
|
|
1790
|
+
end
|
|
1791
|
+
|
|
1792
|
+
# Update properties of this object
|
|
1793
|
+
def update!(**args)
|
|
1794
|
+
end
|
|
1795
|
+
end
|
|
1796
|
+
|
|
1797
|
+
# A status object which is used as the `metadata` field for the Operation
|
|
1798
|
+
# returned by UpdateFolder.
|
|
1799
|
+
class UpdateFolderMetadata
|
|
1800
|
+
include Google::Apis::Core::Hashable
|
|
1801
|
+
|
|
1802
|
+
def initialize(**args)
|
|
1803
|
+
update!(**args)
|
|
1804
|
+
end
|
|
1805
|
+
|
|
1806
|
+
# Update properties of this object
|
|
1807
|
+
def update!(**args)
|
|
1808
|
+
end
|
|
1809
|
+
end
|
|
1810
|
+
|
|
1811
|
+
# A status object which is used as the `metadata` field for the Operation
|
|
1812
|
+
# returned by UpdateProject.
|
|
1813
|
+
class UpdateProjectMetadata
|
|
1814
|
+
include Google::Apis::Core::Hashable
|
|
1815
|
+
|
|
1816
|
+
def initialize(**args)
|
|
1817
|
+
update!(**args)
|
|
1818
|
+
end
|
|
1819
|
+
|
|
1820
|
+
# Update properties of this object
|
|
1821
|
+
def update!(**args)
|
|
1822
|
+
end
|
|
1823
|
+
end
|
|
1824
|
+
|
|
1130
1825
|
# Runtime operation information for updating a TagKey.
|
|
1131
1826
|
class UpdateTagKeyMetadata
|
|
1132
1827
|
include Google::Apis::Core::Hashable
|