google-apis-cloudresourcemanager_v3 0.4.0 → 0.5.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 +4 -0
- data/lib/google/apis/cloudresourcemanager_v3/classes.rb +665 -0
- data/lib/google/apis/cloudresourcemanager_v3/gem_version.rb +2 -2
- data/lib/google/apis/cloudresourcemanager_v3/representations.rb +339 -0
- data/lib/google/apis/cloudresourcemanager_v3/service.rb +1168 -46
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 84f11cb1a7ffb186c67d681ace4ec73786303173a05c62d9d442c66fc273989c
|
4
|
+
data.tar.gz: 62da0944ef623708a190b8b1e1f2660e285637d13641434b93319a8f173a9c18
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 013006c288eeaee943ca119a16413f8d6d689e3088560a3fbf3a5c1c42f9162a5aafb244dd31c695951c8d27c1b3f1f30e59391a882fbbb312a5b4ae525a15dd
|
7
|
+
data.tar.gz: 7a31d9fe3a7d84909d760a77ff68c7d8f599f0fff32a4e7b9371fd3c1fb4470c0634fb14389df0bbd5953be251054395a6e8462bc000e2df1ed4417f76b6a44e
|
data/CHANGELOG.md
CHANGED
@@ -242,6 +242,68 @@ 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 on
|
283
|
+
# 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
|
+
|
245
307
|
# Runtime operation information for creating a TagKey.
|
246
308
|
class CreateTagKeyMetadata
|
247
309
|
include Google::Apis::Core::Hashable
|
@@ -268,6 +330,48 @@ module Google
|
|
268
330
|
end
|
269
331
|
end
|
270
332
|
|
333
|
+
# A status object which is used as the `metadata` field for the Operation
|
334
|
+
# returned by DeleteFolder.
|
335
|
+
class DeleteFolderMetadata
|
336
|
+
include Google::Apis::Core::Hashable
|
337
|
+
|
338
|
+
def initialize(**args)
|
339
|
+
update!(**args)
|
340
|
+
end
|
341
|
+
|
342
|
+
# Update properties of this object
|
343
|
+
def update!(**args)
|
344
|
+
end
|
345
|
+
end
|
346
|
+
|
347
|
+
# A status object which is used as the `metadata` field for the Operation
|
348
|
+
# returned by DeleteOrganization.
|
349
|
+
class DeleteOrganizationMetadata
|
350
|
+
include Google::Apis::Core::Hashable
|
351
|
+
|
352
|
+
def initialize(**args)
|
353
|
+
update!(**args)
|
354
|
+
end
|
355
|
+
|
356
|
+
# Update properties of this object
|
357
|
+
def update!(**args)
|
358
|
+
end
|
359
|
+
end
|
360
|
+
|
361
|
+
# A status object which is used as the `metadata` field for the Operation
|
362
|
+
# returned by DeleteProject.
|
363
|
+
class DeleteProjectMetadata
|
364
|
+
include Google::Apis::Core::Hashable
|
365
|
+
|
366
|
+
def initialize(**args)
|
367
|
+
update!(**args)
|
368
|
+
end
|
369
|
+
|
370
|
+
# Update properties of this object
|
371
|
+
def update!(**args)
|
372
|
+
end
|
373
|
+
end
|
374
|
+
|
271
375
|
# Runtime operation information for deleting a TagKey.
|
272
376
|
class DeleteTagKeyMetadata
|
273
377
|
include Google::Apis::Core::Hashable
|
@@ -365,6 +469,78 @@ module Google
|
|
365
469
|
end
|
366
470
|
end
|
367
471
|
|
472
|
+
# A Folder in an Organization's resource hierarchy, used to organize that
|
473
|
+
# Organization's resources.
|
474
|
+
class Folder
|
475
|
+
include Google::Apis::Core::Hashable
|
476
|
+
|
477
|
+
# Output only. Timestamp when the Folder was created.
|
478
|
+
# Corresponds to the JSON property `createTime`
|
479
|
+
# @return [String]
|
480
|
+
attr_accessor :create_time
|
481
|
+
|
482
|
+
# Output only. Timestamp when the Folder was requested to be deleted.
|
483
|
+
# Corresponds to the JSON property `deleteTime`
|
484
|
+
# @return [String]
|
485
|
+
attr_accessor :delete_time
|
486
|
+
|
487
|
+
# The folder's display name. A folder's display name must be unique amongst its
|
488
|
+
# siblings, e.g. no two folders with the same parent can share the same display
|
489
|
+
# name. The display name must start and end with a letter or digit, may contain
|
490
|
+
# letters, digits, spaces, hyphens and underscores and can be no longer than 30
|
491
|
+
# characters. This is captured by the regular expression: `[\p`L`\p`N`]([\p`L`\p`
|
492
|
+
# N`_- ]`0,28`[\p`L`\p`N`])?`.
|
493
|
+
# Corresponds to the JSON property `displayName`
|
494
|
+
# @return [String]
|
495
|
+
attr_accessor :display_name
|
496
|
+
|
497
|
+
# Output only. A checksum computed by the server based on the current value of
|
498
|
+
# the Folder resource. This may be sent on update and delete requests to ensure
|
499
|
+
# the client has an up-to-date value before proceeding.
|
500
|
+
# Corresponds to the JSON property `etag`
|
501
|
+
# @return [String]
|
502
|
+
attr_accessor :etag
|
503
|
+
|
504
|
+
# Output only. The resource name of the Folder. Its format is `folders/`
|
505
|
+
# folder_id``, for example: "folders/1234".
|
506
|
+
# Corresponds to the JSON property `name`
|
507
|
+
# @return [String]
|
508
|
+
attr_accessor :name
|
509
|
+
|
510
|
+
# Required. The Folder's parent's resource name. Updates to the folder's parent
|
511
|
+
# must be performed via MoveFolder.
|
512
|
+
# Corresponds to the JSON property `parent`
|
513
|
+
# @return [String]
|
514
|
+
attr_accessor :parent
|
515
|
+
|
516
|
+
# Output only. The lifecycle state of the folder. Updates to the state must be
|
517
|
+
# performed via DeleteFolder and UndeleteFolder.
|
518
|
+
# Corresponds to the JSON property `state`
|
519
|
+
# @return [String]
|
520
|
+
attr_accessor :state
|
521
|
+
|
522
|
+
# Output only. Timestamp when the Folder was last modified.
|
523
|
+
# Corresponds to the JSON property `updateTime`
|
524
|
+
# @return [String]
|
525
|
+
attr_accessor :update_time
|
526
|
+
|
527
|
+
def initialize(**args)
|
528
|
+
update!(**args)
|
529
|
+
end
|
530
|
+
|
531
|
+
# Update properties of this object
|
532
|
+
def update!(**args)
|
533
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
534
|
+
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
535
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
536
|
+
@etag = args[:etag] if args.key?(:etag)
|
537
|
+
@name = args[:name] if args.key?(:name)
|
538
|
+
@parent = args[:parent] if args.key?(:parent)
|
539
|
+
@state = args[:state] if args.key?(:state)
|
540
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
541
|
+
end
|
542
|
+
end
|
543
|
+
|
368
544
|
# Metadata describing a long running folder operation
|
369
545
|
class FolderOperation
|
370
546
|
include Google::Apis::Core::Hashable
|
@@ -525,6 +701,33 @@ module Google
|
|
525
701
|
end
|
526
702
|
end
|
527
703
|
|
704
|
+
# The ListFolders response message.
|
705
|
+
class ListFoldersResponse
|
706
|
+
include Google::Apis::Core::Hashable
|
707
|
+
|
708
|
+
# A possibly paginated list of Folders that are direct descendants of the
|
709
|
+
# specified parent resource.
|
710
|
+
# Corresponds to the JSON property `folders`
|
711
|
+
# @return [Array<Google::Apis::CloudresourcemanagerV3::Folder>]
|
712
|
+
attr_accessor :folders
|
713
|
+
|
714
|
+
# A pagination token returned from a previous call to `ListFolders` that
|
715
|
+
# indicates from where listing should continue.
|
716
|
+
# Corresponds to the JSON property `nextPageToken`
|
717
|
+
# @return [String]
|
718
|
+
attr_accessor :next_page_token
|
719
|
+
|
720
|
+
def initialize(**args)
|
721
|
+
update!(**args)
|
722
|
+
end
|
723
|
+
|
724
|
+
# Update properties of this object
|
725
|
+
def update!(**args)
|
726
|
+
@folders = args[:folders] if args.key?(:folders)
|
727
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
728
|
+
end
|
729
|
+
end
|
730
|
+
|
528
731
|
# The response message for Liens.ListLiens.
|
529
732
|
class ListLiensResponse
|
530
733
|
include Google::Apis::Core::Hashable
|
@@ -551,6 +754,40 @@ module Google
|
|
551
754
|
end
|
552
755
|
end
|
553
756
|
|
757
|
+
# A page of the response received from the ListProjects method. A paginated
|
758
|
+
# response where more pages are available has `next_page_token` set. This token
|
759
|
+
# can be used in a subsequent request to retrieve the next request page. NOTE: A
|
760
|
+
# response may contain fewer elements than the request `page_size` and still
|
761
|
+
# have a `next_page_token`.
|
762
|
+
class ListProjectsResponse
|
763
|
+
include Google::Apis::Core::Hashable
|
764
|
+
|
765
|
+
# Pagination token. If the result set is too large to fit in a single response,
|
766
|
+
# this token is returned. It encodes the position of the current result cursor.
|
767
|
+
# Feeding this value into a new list request with the `page_token` parameter
|
768
|
+
# gives the next page of the results. When `next_page_token` is not filled in,
|
769
|
+
# there is no next page and the list returned is the last page in the result set.
|
770
|
+
# Pagination tokens have a limited lifetime.
|
771
|
+
# Corresponds to the JSON property `nextPageToken`
|
772
|
+
# @return [String]
|
773
|
+
attr_accessor :next_page_token
|
774
|
+
|
775
|
+
# The list of Projects under the parent. This list can be paginated.
|
776
|
+
# Corresponds to the JSON property `projects`
|
777
|
+
# @return [Array<Google::Apis::CloudresourcemanagerV3::Project>]
|
778
|
+
attr_accessor :projects
|
779
|
+
|
780
|
+
def initialize(**args)
|
781
|
+
update!(**args)
|
782
|
+
end
|
783
|
+
|
784
|
+
# Update properties of this object
|
785
|
+
def update!(**args)
|
786
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
787
|
+
@projects = args[:projects] if args.key?(:projects)
|
788
|
+
end
|
789
|
+
end
|
790
|
+
|
554
791
|
# The ListTagBindings response.
|
555
792
|
class ListTagBindingsResponse
|
556
793
|
include Google::Apis::Core::Hashable
|
@@ -632,6 +869,91 @@ module Google
|
|
632
869
|
end
|
633
870
|
end
|
634
871
|
|
872
|
+
# Metadata pertaining to the Folder move process.
|
873
|
+
class MoveFolderMetadata
|
874
|
+
include Google::Apis::Core::Hashable
|
875
|
+
|
876
|
+
# The resource name of the folder or organization to move the folder to.
|
877
|
+
# Corresponds to the JSON property `destinationParent`
|
878
|
+
# @return [String]
|
879
|
+
attr_accessor :destination_parent
|
880
|
+
|
881
|
+
# The display name of the folder.
|
882
|
+
# Corresponds to the JSON property `displayName`
|
883
|
+
# @return [String]
|
884
|
+
attr_accessor :display_name
|
885
|
+
|
886
|
+
# The resource name of the folder's parent.
|
887
|
+
# Corresponds to the JSON property `sourceParent`
|
888
|
+
# @return [String]
|
889
|
+
attr_accessor :source_parent
|
890
|
+
|
891
|
+
def initialize(**args)
|
892
|
+
update!(**args)
|
893
|
+
end
|
894
|
+
|
895
|
+
# Update properties of this object
|
896
|
+
def update!(**args)
|
897
|
+
@destination_parent = args[:destination_parent] if args.key?(:destination_parent)
|
898
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
899
|
+
@source_parent = args[:source_parent] if args.key?(:source_parent)
|
900
|
+
end
|
901
|
+
end
|
902
|
+
|
903
|
+
# The MoveFolder request message.
|
904
|
+
class MoveFolderRequest
|
905
|
+
include Google::Apis::Core::Hashable
|
906
|
+
|
907
|
+
# Required. The resource name of the Folder or Organization to reparent the
|
908
|
+
# folder under. Must be of the form `folders/`folder_id`` or `organizations/`
|
909
|
+
# org_id``.
|
910
|
+
# Corresponds to the JSON property `destinationParent`
|
911
|
+
# @return [String]
|
912
|
+
attr_accessor :destination_parent
|
913
|
+
|
914
|
+
def initialize(**args)
|
915
|
+
update!(**args)
|
916
|
+
end
|
917
|
+
|
918
|
+
# Update properties of this object
|
919
|
+
def update!(**args)
|
920
|
+
@destination_parent = args[:destination_parent] if args.key?(:destination_parent)
|
921
|
+
end
|
922
|
+
end
|
923
|
+
|
924
|
+
# A status object which is used as the `metadata` field for the Operation
|
925
|
+
# returned by MoveProject.
|
926
|
+
class MoveProjectMetadata
|
927
|
+
include Google::Apis::Core::Hashable
|
928
|
+
|
929
|
+
def initialize(**args)
|
930
|
+
update!(**args)
|
931
|
+
end
|
932
|
+
|
933
|
+
# Update properties of this object
|
934
|
+
def update!(**args)
|
935
|
+
end
|
936
|
+
end
|
937
|
+
|
938
|
+
# The request sent to MoveProject method.
|
939
|
+
class MoveProjectRequest
|
940
|
+
include Google::Apis::Core::Hashable
|
941
|
+
|
942
|
+
# Required. The new parent to move the Project under.
|
943
|
+
# Corresponds to the JSON property `destinationParent`
|
944
|
+
# @return [String]
|
945
|
+
attr_accessor :destination_parent
|
946
|
+
|
947
|
+
def initialize(**args)
|
948
|
+
update!(**args)
|
949
|
+
end
|
950
|
+
|
951
|
+
# Update properties of this object
|
952
|
+
def update!(**args)
|
953
|
+
@destination_parent = args[:destination_parent] if args.key?(:destination_parent)
|
954
|
+
end
|
955
|
+
end
|
956
|
+
|
635
957
|
# This resource represents a long-running operation that is the result of a
|
636
958
|
# network API call.
|
637
959
|
class Operation
|
@@ -694,6 +1016,75 @@ module Google
|
|
694
1016
|
end
|
695
1017
|
end
|
696
1018
|
|
1019
|
+
# The root node in the resource hierarchy to which a particular entity's (e.g.,
|
1020
|
+
# company) resources belong.
|
1021
|
+
class Organization
|
1022
|
+
include Google::Apis::Core::Hashable
|
1023
|
+
|
1024
|
+
# Output only. Timestamp when the Organization was created.
|
1025
|
+
# Corresponds to the JSON property `createTime`
|
1026
|
+
# @return [String]
|
1027
|
+
attr_accessor :create_time
|
1028
|
+
|
1029
|
+
# Output only. Timestamp when the Organization was requested for deletion.
|
1030
|
+
# Corresponds to the JSON property `deleteTime`
|
1031
|
+
# @return [String]
|
1032
|
+
attr_accessor :delete_time
|
1033
|
+
|
1034
|
+
# Immutable. The G Suite / Workspace customer id used in the Directory API.
|
1035
|
+
# Corresponds to the JSON property `directoryCustomerId`
|
1036
|
+
# @return [String]
|
1037
|
+
attr_accessor :directory_customer_id
|
1038
|
+
|
1039
|
+
# Output only. A human-readable string that refers to the Organization in the
|
1040
|
+
# GCP Console UI. This string is set by the server and cannot be changed. The
|
1041
|
+
# string will be set to the primary domain (for example, "google.com") of the G
|
1042
|
+
# Suite customer that owns the organization.
|
1043
|
+
# Corresponds to the JSON property `displayName`
|
1044
|
+
# @return [String]
|
1045
|
+
attr_accessor :display_name
|
1046
|
+
|
1047
|
+
# Output only. A checksum computed by the server based on the current value of
|
1048
|
+
# the Organization resource. This may be sent on update and delete requests to
|
1049
|
+
# ensure the client has an up-to-date value before proceeding.
|
1050
|
+
# Corresponds to the JSON property `etag`
|
1051
|
+
# @return [String]
|
1052
|
+
attr_accessor :etag
|
1053
|
+
|
1054
|
+
# Output only. The resource name of the organization. This is the organization's
|
1055
|
+
# relative path in the API. Its format is "organizations/[organization_id]". For
|
1056
|
+
# example, "organizations/1234".
|
1057
|
+
# Corresponds to the JSON property `name`
|
1058
|
+
# @return [String]
|
1059
|
+
attr_accessor :name
|
1060
|
+
|
1061
|
+
# Output only. The organization's current lifecycle state.
|
1062
|
+
# Corresponds to the JSON property `state`
|
1063
|
+
# @return [String]
|
1064
|
+
attr_accessor :state
|
1065
|
+
|
1066
|
+
# Output only. Timestamp when the Organization was last modified.
|
1067
|
+
# Corresponds to the JSON property `updateTime`
|
1068
|
+
# @return [String]
|
1069
|
+
attr_accessor :update_time
|
1070
|
+
|
1071
|
+
def initialize(**args)
|
1072
|
+
update!(**args)
|
1073
|
+
end
|
1074
|
+
|
1075
|
+
# Update properties of this object
|
1076
|
+
def update!(**args)
|
1077
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1078
|
+
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
1079
|
+
@directory_customer_id = args[:directory_customer_id] if args.key?(:directory_customer_id)
|
1080
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
1081
|
+
@etag = args[:etag] if args.key?(:etag)
|
1082
|
+
@name = args[:name] if args.key?(:name)
|
1083
|
+
@state = args[:state] if args.key?(:state)
|
1084
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
1085
|
+
end
|
1086
|
+
end
|
1087
|
+
|
697
1088
|
# An Identity and Access Management (IAM) policy, which specifies access
|
698
1089
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
699
1090
|
# A `binding` binds one or more `members` to a single `role`. Members can be
|
@@ -784,6 +1175,96 @@ module Google
|
|
784
1175
|
end
|
785
1176
|
end
|
786
1177
|
|
1178
|
+
# A Project is a high-level Google Cloud Platform entity. It is a container for
|
1179
|
+
# ACLs, APIs, App Engine Apps, VMs, and other Google Cloud Platform resources.
|
1180
|
+
class Project
|
1181
|
+
include Google::Apis::Core::Hashable
|
1182
|
+
|
1183
|
+
# Output only. Creation time.
|
1184
|
+
# Corresponds to the JSON property `createTime`
|
1185
|
+
# @return [String]
|
1186
|
+
attr_accessor :create_time
|
1187
|
+
|
1188
|
+
# Output only. The time at which this resource was requested for deletion.
|
1189
|
+
# Corresponds to the JSON property `deleteTime`
|
1190
|
+
# @return [String]
|
1191
|
+
attr_accessor :delete_time
|
1192
|
+
|
1193
|
+
# Optional. A user-assigned display name of the Project. When present it must be
|
1194
|
+
# between 4 to 30 characters. Allowed characters are: lowercase and uppercase
|
1195
|
+
# letters, numbers, hyphen, single-quote, double-quote, space, and exclamation
|
1196
|
+
# point. Example: `My Project`
|
1197
|
+
# Corresponds to the JSON property `displayName`
|
1198
|
+
# @return [String]
|
1199
|
+
attr_accessor :display_name
|
1200
|
+
|
1201
|
+
# Output only. A checksum computed by the server based on the current value of
|
1202
|
+
# the Project resource. This may be sent on update and delete requests to ensure
|
1203
|
+
# the client has an up-to-date value before proceeding.
|
1204
|
+
# Corresponds to the JSON property `etag`
|
1205
|
+
# @return [String]
|
1206
|
+
attr_accessor :etag
|
1207
|
+
|
1208
|
+
# Optional. The labels associated with this Project. Label keys must be between
|
1209
|
+
# 1 and 63 characters long and must conform to the following regular expression:
|
1210
|
+
# \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. Label values must be between 0 and 63
|
1211
|
+
# characters long and must conform to the regular expression (\[a-z\](\[-a-z0-9\]
|
1212
|
+
# *\[a-z0-9\])?)?. No more than 256 labels can be associated with a given
|
1213
|
+
# resource. Clients should store labels in a representation such as JSON that
|
1214
|
+
# does not depend on specific characters being disallowed. Example: `"
|
1215
|
+
# myBusinessDimension" : "businessValue"`
|
1216
|
+
# Corresponds to the JSON property `labels`
|
1217
|
+
# @return [Hash<String,String>]
|
1218
|
+
attr_accessor :labels
|
1219
|
+
|
1220
|
+
# Output only. The unique resource name of the Project. It is an int64 generated
|
1221
|
+
# number prefixed by "projects/". Example: `projects/415104041262`
|
1222
|
+
# Corresponds to the JSON property `name`
|
1223
|
+
# @return [String]
|
1224
|
+
attr_accessor :name
|
1225
|
+
|
1226
|
+
# Optional. A reference to a parent Resource. eg., `organizations/123` or `
|
1227
|
+
# folders/876`.
|
1228
|
+
# Corresponds to the JSON property `parent`
|
1229
|
+
# @return [String]
|
1230
|
+
attr_accessor :parent
|
1231
|
+
|
1232
|
+
# Immutable. The unique, user-assigned id of the Project. It must be 6 to 30
|
1233
|
+
# lowercase ASCII letters, digits, or hyphens. It must start with a letter.
|
1234
|
+
# Trailing hyphens are prohibited. Example: `tokyo-rain-123`
|
1235
|
+
# Corresponds to the JSON property `projectId`
|
1236
|
+
# @return [String]
|
1237
|
+
attr_accessor :project_id
|
1238
|
+
|
1239
|
+
# Output only. The Project lifecycle state.
|
1240
|
+
# Corresponds to the JSON property `state`
|
1241
|
+
# @return [String]
|
1242
|
+
attr_accessor :state
|
1243
|
+
|
1244
|
+
# Output only. The most recent time this resource was modified.
|
1245
|
+
# Corresponds to the JSON property `updateTime`
|
1246
|
+
# @return [String]
|
1247
|
+
attr_accessor :update_time
|
1248
|
+
|
1249
|
+
def initialize(**args)
|
1250
|
+
update!(**args)
|
1251
|
+
end
|
1252
|
+
|
1253
|
+
# Update properties of this object
|
1254
|
+
def update!(**args)
|
1255
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1256
|
+
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
1257
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
1258
|
+
@etag = args[:etag] if args.key?(:etag)
|
1259
|
+
@labels = args[:labels] if args.key?(:labels)
|
1260
|
+
@name = args[:name] if args.key?(:name)
|
1261
|
+
@parent = args[:parent] if args.key?(:parent)
|
1262
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
1263
|
+
@state = args[:state] if args.key?(:state)
|
1264
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
1265
|
+
end
|
1266
|
+
end
|
1267
|
+
|
787
1268
|
# A status object which is used as the `metadata` field for the Operation
|
788
1269
|
# returned by CreateProject. It provides insight for when significant phases of
|
789
1270
|
# Project creation have completed.
|
@@ -820,6 +1301,94 @@ module Google
|
|
820
1301
|
end
|
821
1302
|
end
|
822
1303
|
|
1304
|
+
# The response message for searching folders.
|
1305
|
+
class SearchFoldersResponse
|
1306
|
+
include Google::Apis::Core::Hashable
|
1307
|
+
|
1308
|
+
# A possibly paginated folder search results. the specified parent resource.
|
1309
|
+
# Corresponds to the JSON property `folders`
|
1310
|
+
# @return [Array<Google::Apis::CloudresourcemanagerV3::Folder>]
|
1311
|
+
attr_accessor :folders
|
1312
|
+
|
1313
|
+
# A pagination token returned from a previous call to `SearchFolders` that
|
1314
|
+
# indicates from where searching should continue.
|
1315
|
+
# Corresponds to the JSON property `nextPageToken`
|
1316
|
+
# @return [String]
|
1317
|
+
attr_accessor :next_page_token
|
1318
|
+
|
1319
|
+
def initialize(**args)
|
1320
|
+
update!(**args)
|
1321
|
+
end
|
1322
|
+
|
1323
|
+
# Update properties of this object
|
1324
|
+
def update!(**args)
|
1325
|
+
@folders = args[:folders] if args.key?(:folders)
|
1326
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1327
|
+
end
|
1328
|
+
end
|
1329
|
+
|
1330
|
+
# The response returned from the `SearchOrganizations` method.
|
1331
|
+
class SearchOrganizationsResponse
|
1332
|
+
include Google::Apis::Core::Hashable
|
1333
|
+
|
1334
|
+
# A pagination token to be used to retrieve the next page of results. If the
|
1335
|
+
# result is too large to fit within the page size specified in the request, this
|
1336
|
+
# field will be set with a token that can be used to fetch the next page of
|
1337
|
+
# results. If this field is empty, it indicates that this response contains the
|
1338
|
+
# last page of results.
|
1339
|
+
# Corresponds to the JSON property `nextPageToken`
|
1340
|
+
# @return [String]
|
1341
|
+
attr_accessor :next_page_token
|
1342
|
+
|
1343
|
+
# The list of Organizations that matched the search query, possibly paginated.
|
1344
|
+
# Corresponds to the JSON property `organizations`
|
1345
|
+
# @return [Array<Google::Apis::CloudresourcemanagerV3::Organization>]
|
1346
|
+
attr_accessor :organizations
|
1347
|
+
|
1348
|
+
def initialize(**args)
|
1349
|
+
update!(**args)
|
1350
|
+
end
|
1351
|
+
|
1352
|
+
# Update properties of this object
|
1353
|
+
def update!(**args)
|
1354
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1355
|
+
@organizations = args[:organizations] if args.key?(:organizations)
|
1356
|
+
end
|
1357
|
+
end
|
1358
|
+
|
1359
|
+
# A page of the response received from the SearchProjects method. A paginated
|
1360
|
+
# response where more pages are available has `next_page_token` set. This token
|
1361
|
+
# can be used in a subsequent request to retrieve the next request page.
|
1362
|
+
class SearchProjectsResponse
|
1363
|
+
include Google::Apis::Core::Hashable
|
1364
|
+
|
1365
|
+
# Pagination token. If the result set is too large to fit in a single response,
|
1366
|
+
# this token is returned. It encodes the position of the current result cursor.
|
1367
|
+
# Feeding this value into a new list request with the `page_token` parameter
|
1368
|
+
# gives the next page of the results. When `next_page_token` is not filled in,
|
1369
|
+
# there is no next page and the list returned is the last page in the result set.
|
1370
|
+
# Pagination tokens have a limited lifetime.
|
1371
|
+
# Corresponds to the JSON property `nextPageToken`
|
1372
|
+
# @return [String]
|
1373
|
+
attr_accessor :next_page_token
|
1374
|
+
|
1375
|
+
# The list of Projects that matched the list filter query. This list can be
|
1376
|
+
# paginated.
|
1377
|
+
# Corresponds to the JSON property `projects`
|
1378
|
+
# @return [Array<Google::Apis::CloudresourcemanagerV3::Project>]
|
1379
|
+
attr_accessor :projects
|
1380
|
+
|
1381
|
+
def initialize(**args)
|
1382
|
+
update!(**args)
|
1383
|
+
end
|
1384
|
+
|
1385
|
+
# Update properties of this object
|
1386
|
+
def update!(**args)
|
1387
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1388
|
+
@projects = args[:projects] if args.key?(:projects)
|
1389
|
+
end
|
1390
|
+
end
|
1391
|
+
|
823
1392
|
# Request message for `SetIamPolicy` method.
|
824
1393
|
class SetIamPolicyRequest
|
825
1394
|
include Google::Apis::Core::Hashable
|
@@ -1127,6 +1696,102 @@ module Google
|
|
1127
1696
|
end
|
1128
1697
|
end
|
1129
1698
|
|
1699
|
+
# A status object which is used as the `metadata` field for the Operation
|
1700
|
+
# returned by UndeleteFolder.
|
1701
|
+
class UndeleteFolderMetadata
|
1702
|
+
include Google::Apis::Core::Hashable
|
1703
|
+
|
1704
|
+
def initialize(**args)
|
1705
|
+
update!(**args)
|
1706
|
+
end
|
1707
|
+
|
1708
|
+
# Update properties of this object
|
1709
|
+
def update!(**args)
|
1710
|
+
end
|
1711
|
+
end
|
1712
|
+
|
1713
|
+
# The UndeleteFolder request message.
|
1714
|
+
class UndeleteFolderRequest
|
1715
|
+
include Google::Apis::Core::Hashable
|
1716
|
+
|
1717
|
+
def initialize(**args)
|
1718
|
+
update!(**args)
|
1719
|
+
end
|
1720
|
+
|
1721
|
+
# Update properties of this object
|
1722
|
+
def update!(**args)
|
1723
|
+
end
|
1724
|
+
end
|
1725
|
+
|
1726
|
+
# A status object which is used as the `metadata` field for the Operation
|
1727
|
+
# returned by UndeleteOrganization.
|
1728
|
+
class UndeleteOrganizationMetadata
|
1729
|
+
include Google::Apis::Core::Hashable
|
1730
|
+
|
1731
|
+
def initialize(**args)
|
1732
|
+
update!(**args)
|
1733
|
+
end
|
1734
|
+
|
1735
|
+
# Update properties of this object
|
1736
|
+
def update!(**args)
|
1737
|
+
end
|
1738
|
+
end
|
1739
|
+
|
1740
|
+
# A status object which is used as the `metadata` field for the Operation
|
1741
|
+
# returned by UndeleteProject.
|
1742
|
+
class UndeleteProjectMetadata
|
1743
|
+
include Google::Apis::Core::Hashable
|
1744
|
+
|
1745
|
+
def initialize(**args)
|
1746
|
+
update!(**args)
|
1747
|
+
end
|
1748
|
+
|
1749
|
+
# Update properties of this object
|
1750
|
+
def update!(**args)
|
1751
|
+
end
|
1752
|
+
end
|
1753
|
+
|
1754
|
+
# The request sent to the UndeleteProject method.
|
1755
|
+
class UndeleteProjectRequest
|
1756
|
+
include Google::Apis::Core::Hashable
|
1757
|
+
|
1758
|
+
def initialize(**args)
|
1759
|
+
update!(**args)
|
1760
|
+
end
|
1761
|
+
|
1762
|
+
# Update properties of this object
|
1763
|
+
def update!(**args)
|
1764
|
+
end
|
1765
|
+
end
|
1766
|
+
|
1767
|
+
# A status object which is used as the `metadata` field for the Operation
|
1768
|
+
# returned by UpdateFolder.
|
1769
|
+
class UpdateFolderMetadata
|
1770
|
+
include Google::Apis::Core::Hashable
|
1771
|
+
|
1772
|
+
def initialize(**args)
|
1773
|
+
update!(**args)
|
1774
|
+
end
|
1775
|
+
|
1776
|
+
# Update properties of this object
|
1777
|
+
def update!(**args)
|
1778
|
+
end
|
1779
|
+
end
|
1780
|
+
|
1781
|
+
# A status object which is used as the `metadata` field for the Operation
|
1782
|
+
# returned by UpdateProject.
|
1783
|
+
class UpdateProjectMetadata
|
1784
|
+
include Google::Apis::Core::Hashable
|
1785
|
+
|
1786
|
+
def initialize(**args)
|
1787
|
+
update!(**args)
|
1788
|
+
end
|
1789
|
+
|
1790
|
+
# Update properties of this object
|
1791
|
+
def update!(**args)
|
1792
|
+
end
|
1793
|
+
end
|
1794
|
+
|
1130
1795
|
# Runtime operation information for updating a TagKey.
|
1131
1796
|
class UpdateTagKeyMetadata
|
1132
1797
|
include Google::Apis::Core::Hashable
|