google-apis-cloudresourcemanager_v3 0.2.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b516b458ae2eab82d0dcdfd4d116094127afe82d530ec41e6296e4251fca5dc7
4
- data.tar.gz: 42d394fab0815191a7dcc5df092c18d40c6aa7de4a03011492f15f753d102884
3
+ metadata.gz: e6388aadea374b5da741c1ffc6e777afe141de6a2dda2e725433e7f57dcff95a
4
+ data.tar.gz: f3d562fc117be6c0213cdaf696d3d42c9df33d686999264f2f9ea2ad46d178ba
5
5
  SHA512:
6
- metadata.gz: 2ff56510e3013abacc534861b7ca969d9c70ab4b7996b224db8458fb7875a7942561a2bbccae7940c62ffca5a8459bc89de00b8d91e8727738b52ac02aca9988
7
- data.tar.gz: b533baca606a8f5383e67870fe348dc75fc23ba55675b4ed52be5414905b575f21aa83f8284c9c647d3a11130e5df76a2726a856fad76d3055c78de7dbab3b50
6
+ metadata.gz: ad5ce9abafb39afe1ee3eb04f1e1335c122abbd2b2bba846351074e5448522d60bfa6d2ecd369fa2217fe07374dbe1a7a8c6f88ee00b84590666c07e01f9932e
7
+ data.tar.gz: fac4a0a9a893cb9602b86410625c3964ec5ca64af65b3ac5e3e88e96d76865cee9c7adb047dcbdc67c5bf4ac148de4eca81bc2ce68d4f2ffac9cd85cbc214d06
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-cloudresourcemanager_v3
2
2
 
3
+ ### v0.7.0 (2021-04-02)
4
+
5
+ * Regenerated from discovery document revision 20210328
6
+
7
+ ### v0.6.0 (2021-03-27)
8
+
9
+ * Regenerated from discovery document revision 20210322
10
+
11
+ ### v0.5.0 (2021-03-19)
12
+
13
+ * Regenerated from discovery document revision 20210314
14
+
15
+ ### v0.4.0 (2021-03-13)
16
+
17
+ * Regenerated from discovery document revision 20210309
18
+ * Regenerated using generator version 0.2.0
19
+
20
+ ### v0.3.0 (2021-03-04)
21
+
22
+ * Unspecified changes
23
+
3
24
  ### v0.2.0 (2021-02-26)
4
25
 
5
26
  * Regenerated from discovery document revision 20210222
@@ -30,7 +30,7 @@ module Google
30
30
  # This is NOT the gem version.
31
31
  VERSION = 'V3'
32
32
 
33
- # View and manage your data across Google Cloud Platform services
33
+ # See, edit, configure, and delete your Google Cloud Platform data
34
34
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
35
35
 
36
36
  # View your data across Google Cloud Platform services
@@ -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
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
+
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. For example, no two folders with the same parent can share the same
489
+ # display name. The display name must start and end with a letter or digit, may
490
+ # contain letters, digits, spaces, hyphens and underscores and can be no longer
491
+ # than 30 characters. This is captured by the regular expression: `[\p`L`\p`N`]([
492
+ # \p`L`\p`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 using 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 using 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,13 +754,50 @@ 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
557
794
 
558
- # A pagination token returned from a previous call to `ListTagBindings` that
559
- # indicates from where listing should continue. This is currently not used, but
560
- # the server may at any point start supplying a valid token.
795
+ # Pagination token. If the result set is too large to fit in a single response,
796
+ # this token is returned. It encodes the position of the current result cursor.
797
+ # Feeding this value into a new list request with the `page_token` parameter
798
+ # gives the next page of the results. When `next_page_token` is not filled in,
799
+ # there is no next page and the list returned is the last page in the result set.
800
+ # Pagination tokens have a limited lifetime.
561
801
  # Corresponds to the JSON property `nextPageToken`
562
802
  # @return [String]
563
803
  attr_accessor :next_page_token
@@ -584,8 +824,7 @@ module Google
584
824
  include Google::Apis::Core::Hashable
585
825
 
586
826
  # A pagination token returned from a previous call to `ListTagKeys` that
587
- # indicates from where listing should continue. This is currently not used, but
588
- # the server may at any point start supplying a valid token.
827
+ # indicates from where listing should continue.
589
828
  # Corresponds to the JSON property `nextPageToken`
590
829
  # @return [String]
591
830
  attr_accessor :next_page_token
@@ -634,6 +873,91 @@ module Google
634
873
  end
635
874
  end
636
875
 
876
+ # Metadata pertaining to the folder move process.
877
+ class MoveFolderMetadata
878
+ include Google::Apis::Core::Hashable
879
+
880
+ # The resource name of the folder or organization to move the folder to.
881
+ # Corresponds to the JSON property `destinationParent`
882
+ # @return [String]
883
+ attr_accessor :destination_parent
884
+
885
+ # The display name of the folder.
886
+ # Corresponds to the JSON property `displayName`
887
+ # @return [String]
888
+ attr_accessor :display_name
889
+
890
+ # The resource name of the folder's parent.
891
+ # Corresponds to the JSON property `sourceParent`
892
+ # @return [String]
893
+ attr_accessor :source_parent
894
+
895
+ def initialize(**args)
896
+ update!(**args)
897
+ end
898
+
899
+ # Update properties of this object
900
+ def update!(**args)
901
+ @destination_parent = args[:destination_parent] if args.key?(:destination_parent)
902
+ @display_name = args[:display_name] if args.key?(:display_name)
903
+ @source_parent = args[:source_parent] if args.key?(:source_parent)
904
+ end
905
+ end
906
+
907
+ # The MoveFolder request message.
908
+ class MoveFolderRequest
909
+ include Google::Apis::Core::Hashable
910
+
911
+ # Required. The resource name of the folder or organization which should be the
912
+ # folder's new parent. Must be of the form `folders/`folder_id`` or `
913
+ # organizations/`org_id``.
914
+ # Corresponds to the JSON property `destinationParent`
915
+ # @return [String]
916
+ attr_accessor :destination_parent
917
+
918
+ def initialize(**args)
919
+ update!(**args)
920
+ end
921
+
922
+ # Update properties of this object
923
+ def update!(**args)
924
+ @destination_parent = args[:destination_parent] if args.key?(:destination_parent)
925
+ end
926
+ end
927
+
928
+ # A status object which is used as the `metadata` field for the Operation
929
+ # returned by MoveProject.
930
+ class MoveProjectMetadata
931
+ include Google::Apis::Core::Hashable
932
+
933
+ def initialize(**args)
934
+ update!(**args)
935
+ end
936
+
937
+ # Update properties of this object
938
+ def update!(**args)
939
+ end
940
+ end
941
+
942
+ # The request sent to MoveProject method.
943
+ class MoveProjectRequest
944
+ include Google::Apis::Core::Hashable
945
+
946
+ # Required. The new parent to move the Project under.
947
+ # Corresponds to the JSON property `destinationParent`
948
+ # @return [String]
949
+ attr_accessor :destination_parent
950
+
951
+ def initialize(**args)
952
+ update!(**args)
953
+ end
954
+
955
+ # Update properties of this object
956
+ def update!(**args)
957
+ @destination_parent = args[:destination_parent] if args.key?(:destination_parent)
958
+ end
959
+ end
960
+
637
961
  # This resource represents a long-running operation that is the result of a
638
962
  # network API call.
639
963
  class Operation
@@ -696,6 +1020,75 @@ module Google
696
1020
  end
697
1021
  end
698
1022
 
1023
+ # The root node in the resource hierarchy to which a particular entity's (a
1024
+ # company, for example) resources belong.
1025
+ class Organization
1026
+ include Google::Apis::Core::Hashable
1027
+
1028
+ # Output only. Timestamp when the Organization was created.
1029
+ # Corresponds to the JSON property `createTime`
1030
+ # @return [String]
1031
+ attr_accessor :create_time
1032
+
1033
+ # Output only. Timestamp when the Organization was requested for deletion.
1034
+ # Corresponds to the JSON property `deleteTime`
1035
+ # @return [String]
1036
+ attr_accessor :delete_time
1037
+
1038
+ # Immutable. The G Suite / Workspace customer id used in the Directory API.
1039
+ # Corresponds to the JSON property `directoryCustomerId`
1040
+ # @return [String]
1041
+ attr_accessor :directory_customer_id
1042
+
1043
+ # Output only. A human-readable string that refers to the organization in the
1044
+ # Google Cloud Console. This string is set by the server and cannot be changed.
1045
+ # The string will be set to the primary domain (for example, "google.com") of
1046
+ # the Google Workspace customer that owns the organization.
1047
+ # Corresponds to the JSON property `displayName`
1048
+ # @return [String]
1049
+ attr_accessor :display_name
1050
+
1051
+ # Output only. A checksum computed by the server based on the current value of
1052
+ # the Organization resource. This may be sent on update and delete requests to
1053
+ # ensure the client has an up-to-date value before proceeding.
1054
+ # Corresponds to the JSON property `etag`
1055
+ # @return [String]
1056
+ attr_accessor :etag
1057
+
1058
+ # Output only. The resource name of the organization. This is the organization's
1059
+ # relative path in the API. Its format is "organizations/[organization_id]". For
1060
+ # example, "organizations/1234".
1061
+ # Corresponds to the JSON property `name`
1062
+ # @return [String]
1063
+ attr_accessor :name
1064
+
1065
+ # Output only. The organization's current lifecycle state.
1066
+ # Corresponds to the JSON property `state`
1067
+ # @return [String]
1068
+ attr_accessor :state
1069
+
1070
+ # Output only. Timestamp when the Organization was last modified.
1071
+ # Corresponds to the JSON property `updateTime`
1072
+ # @return [String]
1073
+ attr_accessor :update_time
1074
+
1075
+ def initialize(**args)
1076
+ update!(**args)
1077
+ end
1078
+
1079
+ # Update properties of this object
1080
+ def update!(**args)
1081
+ @create_time = args[:create_time] if args.key?(:create_time)
1082
+ @delete_time = args[:delete_time] if args.key?(:delete_time)
1083
+ @directory_customer_id = args[:directory_customer_id] if args.key?(:directory_customer_id)
1084
+ @display_name = args[:display_name] if args.key?(:display_name)
1085
+ @etag = args[:etag] if args.key?(:etag)
1086
+ @name = args[:name] if args.key?(:name)
1087
+ @state = args[:state] if args.key?(:state)
1088
+ @update_time = args[:update_time] if args.key?(:update_time)
1089
+ end
1090
+ end
1091
+
699
1092
  # An Identity and Access Management (IAM) policy, which specifies access
700
1093
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
701
1094
  # A `binding` binds one or more `members` to a single `role`. Members can be
@@ -786,6 +1179,96 @@ module Google
786
1179
  end
787
1180
  end
788
1181
 
1182
+ # A project is a high-level Google Cloud entity. It is a container for ACLs,
1183
+ # APIs, App Engine Apps, VMs, and other Google Cloud Platform resources.
1184
+ class Project
1185
+ include Google::Apis::Core::Hashable
1186
+
1187
+ # Output only. Creation time.
1188
+ # Corresponds to the JSON property `createTime`
1189
+ # @return [String]
1190
+ attr_accessor :create_time
1191
+
1192
+ # Output only. The time at which this resource was requested for deletion.
1193
+ # Corresponds to the JSON property `deleteTime`
1194
+ # @return [String]
1195
+ attr_accessor :delete_time
1196
+
1197
+ # Optional. A user-assigned display name of the project. When present it must be
1198
+ # between 4 to 30 characters. Allowed characters are: lowercase and uppercase
1199
+ # letters, numbers, hyphen, single-quote, double-quote, space, and exclamation
1200
+ # point. Example: `My Project`
1201
+ # Corresponds to the JSON property `displayName`
1202
+ # @return [String]
1203
+ attr_accessor :display_name
1204
+
1205
+ # Output only. A checksum computed by the server based on the current value of
1206
+ # the Project resource. This may be sent on update and delete requests to ensure
1207
+ # the client has an up-to-date value before proceeding.
1208
+ # Corresponds to the JSON property `etag`
1209
+ # @return [String]
1210
+ attr_accessor :etag
1211
+
1212
+ # Optional. The labels associated with this project. Label keys must be between
1213
+ # 1 and 63 characters long and must conform to the following regular expression:
1214
+ # \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. Label values must be between 0 and 63
1215
+ # characters long and must conform to the regular expression (\[a-z\](\[-a-z0-9\]
1216
+ # *\[a-z0-9\])?)?. No more than 256 labels can be associated with a given
1217
+ # resource. Clients should store labels in a representation such as JSON that
1218
+ # does not depend on specific characters being disallowed. Example: `"
1219
+ # myBusinessDimension" : "businessValue"`
1220
+ # Corresponds to the JSON property `labels`
1221
+ # @return [Hash<String,String>]
1222
+ attr_accessor :labels
1223
+
1224
+ # Output only. The unique resource name of the project. It is an int64 generated
1225
+ # number prefixed by "projects/". Example: `projects/415104041262`
1226
+ # Corresponds to the JSON property `name`
1227
+ # @return [String]
1228
+ attr_accessor :name
1229
+
1230
+ # Optional. A reference to a parent Resource. eg., `organizations/123` or `
1231
+ # folders/876`.
1232
+ # Corresponds to the JSON property `parent`
1233
+ # @return [String]
1234
+ attr_accessor :parent
1235
+
1236
+ # Immutable. The unique, user-assigned id of the project. It must be 6 to 30
1237
+ # lowercase ASCII letters, digits, or hyphens. It must start with a letter.
1238
+ # Trailing hyphens are prohibited. Example: `tokyo-rain-123`
1239
+ # Corresponds to the JSON property `projectId`
1240
+ # @return [String]
1241
+ attr_accessor :project_id
1242
+
1243
+ # Output only. The project lifecycle state.
1244
+ # Corresponds to the JSON property `state`
1245
+ # @return [String]
1246
+ attr_accessor :state
1247
+
1248
+ # Output only. The most recent time this resource was modified.
1249
+ # Corresponds to the JSON property `updateTime`
1250
+ # @return [String]
1251
+ attr_accessor :update_time
1252
+
1253
+ def initialize(**args)
1254
+ update!(**args)
1255
+ end
1256
+
1257
+ # Update properties of this object
1258
+ def update!(**args)
1259
+ @create_time = args[:create_time] if args.key?(:create_time)
1260
+ @delete_time = args[:delete_time] if args.key?(:delete_time)
1261
+ @display_name = args[:display_name] if args.key?(:display_name)
1262
+ @etag = args[:etag] if args.key?(:etag)
1263
+ @labels = args[:labels] if args.key?(:labels)
1264
+ @name = args[:name] if args.key?(:name)
1265
+ @parent = args[:parent] if args.key?(:parent)
1266
+ @project_id = args[:project_id] if args.key?(:project_id)
1267
+ @state = args[:state] if args.key?(:state)
1268
+ @update_time = args[:update_time] if args.key?(:update_time)
1269
+ end
1270
+ end
1271
+
789
1272
  # A status object which is used as the `metadata` field for the Operation
790
1273
  # returned by CreateProject. It provides insight for when significant phases of
791
1274
  # Project creation have completed.
@@ -822,6 +1305,94 @@ module Google
822
1305
  end
823
1306
  end
824
1307
 
1308
+ # The response message for searching folders.
1309
+ class SearchFoldersResponse
1310
+ include Google::Apis::Core::Hashable
1311
+
1312
+ # A possibly paginated folder search results. the specified parent resource.
1313
+ # Corresponds to the JSON property `folders`
1314
+ # @return [Array<Google::Apis::CloudresourcemanagerV3::Folder>]
1315
+ attr_accessor :folders
1316
+
1317
+ # A pagination token returned from a previous call to `SearchFolders` that
1318
+ # indicates from where searching should continue.
1319
+ # Corresponds to the JSON property `nextPageToken`
1320
+ # @return [String]
1321
+ attr_accessor :next_page_token
1322
+
1323
+ def initialize(**args)
1324
+ update!(**args)
1325
+ end
1326
+
1327
+ # Update properties of this object
1328
+ def update!(**args)
1329
+ @folders = args[:folders] if args.key?(:folders)
1330
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1331
+ end
1332
+ end
1333
+
1334
+ # The response returned from the `SearchOrganizations` method.
1335
+ class SearchOrganizationsResponse
1336
+ include Google::Apis::Core::Hashable
1337
+
1338
+ # A pagination token to be used to retrieve the next page of results. If the
1339
+ # result is too large to fit within the page size specified in the request, this
1340
+ # field will be set with a token that can be used to fetch the next page of
1341
+ # results. If this field is empty, it indicates that this response contains the
1342
+ # last page of results.
1343
+ # Corresponds to the JSON property `nextPageToken`
1344
+ # @return [String]
1345
+ attr_accessor :next_page_token
1346
+
1347
+ # The list of Organizations that matched the search query, possibly paginated.
1348
+ # Corresponds to the JSON property `organizations`
1349
+ # @return [Array<Google::Apis::CloudresourcemanagerV3::Organization>]
1350
+ attr_accessor :organizations
1351
+
1352
+ def initialize(**args)
1353
+ update!(**args)
1354
+ end
1355
+
1356
+ # Update properties of this object
1357
+ def update!(**args)
1358
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1359
+ @organizations = args[:organizations] if args.key?(:organizations)
1360
+ end
1361
+ end
1362
+
1363
+ # A page of the response received from the SearchProjects method. A paginated
1364
+ # response where more pages are available has `next_page_token` set. This token
1365
+ # can be used in a subsequent request to retrieve the next request page.
1366
+ class SearchProjectsResponse
1367
+ include Google::Apis::Core::Hashable
1368
+
1369
+ # Pagination token. If the result set is too large to fit in a single response,
1370
+ # this token is returned. It encodes the position of the current result cursor.
1371
+ # Feeding this value into a new list request with the `page_token` parameter
1372
+ # gives the next page of the results. When `next_page_token` is not filled in,
1373
+ # there is no next page and the list returned is the last page in the result set.
1374
+ # Pagination tokens have a limited lifetime.
1375
+ # Corresponds to the JSON property `nextPageToken`
1376
+ # @return [String]
1377
+ attr_accessor :next_page_token
1378
+
1379
+ # The list of Projects that matched the list filter query. This list can be
1380
+ # paginated.
1381
+ # Corresponds to the JSON property `projects`
1382
+ # @return [Array<Google::Apis::CloudresourcemanagerV3::Project>]
1383
+ attr_accessor :projects
1384
+
1385
+ def initialize(**args)
1386
+ update!(**args)
1387
+ end
1388
+
1389
+ # Update properties of this object
1390
+ def update!(**args)
1391
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1392
+ @projects = args[:projects] if args.key?(:projects)
1393
+ end
1394
+ end
1395
+
825
1396
  # Request message for `SetIamPolicy` method.
826
1397
  class SetIamPolicyRequest
827
1398
  include Google::Apis::Core::Hashable
@@ -1129,6 +1700,102 @@ module Google
1129
1700
  end
1130
1701
  end
1131
1702
 
1703
+ # A status object which is used as the `metadata` field for the `Operation`
1704
+ # returned by `UndeleteFolder`.
1705
+ class UndeleteFolderMetadata
1706
+ include Google::Apis::Core::Hashable
1707
+
1708
+ def initialize(**args)
1709
+ update!(**args)
1710
+ end
1711
+
1712
+ # Update properties of this object
1713
+ def update!(**args)
1714
+ end
1715
+ end
1716
+
1717
+ # The UndeleteFolder request message.
1718
+ class UndeleteFolderRequest
1719
+ include Google::Apis::Core::Hashable
1720
+
1721
+ def initialize(**args)
1722
+ update!(**args)
1723
+ end
1724
+
1725
+ # Update properties of this object
1726
+ def update!(**args)
1727
+ end
1728
+ end
1729
+
1730
+ # A status object which is used as the `metadata` field for the Operation
1731
+ # returned by UndeleteOrganization.
1732
+ class UndeleteOrganizationMetadata
1733
+ include Google::Apis::Core::Hashable
1734
+
1735
+ def initialize(**args)
1736
+ update!(**args)
1737
+ end
1738
+
1739
+ # Update properties of this object
1740
+ def update!(**args)
1741
+ end
1742
+ end
1743
+
1744
+ # A status object which is used as the `metadata` field for the Operation
1745
+ # returned by `UndeleteProject`.
1746
+ class UndeleteProjectMetadata
1747
+ include Google::Apis::Core::Hashable
1748
+
1749
+ def initialize(**args)
1750
+ update!(**args)
1751
+ end
1752
+
1753
+ # Update properties of this object
1754
+ def update!(**args)
1755
+ end
1756
+ end
1757
+
1758
+ # The request sent to the UndeleteProject method.
1759
+ class UndeleteProjectRequest
1760
+ include Google::Apis::Core::Hashable
1761
+
1762
+ def initialize(**args)
1763
+ update!(**args)
1764
+ end
1765
+
1766
+ # Update properties of this object
1767
+ def update!(**args)
1768
+ end
1769
+ end
1770
+
1771
+ # A status object which is used as the `metadata` field for the Operation
1772
+ # returned by UpdateFolder.
1773
+ class UpdateFolderMetadata
1774
+ include Google::Apis::Core::Hashable
1775
+
1776
+ def initialize(**args)
1777
+ update!(**args)
1778
+ end
1779
+
1780
+ # Update properties of this object
1781
+ def update!(**args)
1782
+ end
1783
+ end
1784
+
1785
+ # A status object which is used as the `metadata` field for the Operation
1786
+ # returned by UpdateProject.
1787
+ class UpdateProjectMetadata
1788
+ include Google::Apis::Core::Hashable
1789
+
1790
+ def initialize(**args)
1791
+ update!(**args)
1792
+ end
1793
+
1794
+ # Update properties of this object
1795
+ def update!(**args)
1796
+ end
1797
+ end
1798
+
1132
1799
  # Runtime operation information for updating a TagKey.
1133
1800
  class UpdateTagKeyMetadata
1134
1801
  include Google::Apis::Core::Hashable