google-apis-cloudresourcemanager_v2 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: def051db55f356950baceef16345852d33b3766ef30f2fc15aa89699999520be
4
- data.tar.gz: fabd7d1acdfea9226163a4b3fcb20a647a1f4404ecefcd867c4314a78c7b566f
3
+ metadata.gz: ae02059d0fcb54e2633fe54b1d44affe0734cd25fac9b8881fb327858f8d87b0
4
+ data.tar.gz: 6a5deff630cb7a1fa70c4a942a6d4bb714b87f4c243e3119a7118dd9658c1f61
5
5
  SHA512:
6
- metadata.gz: ee8945a3c66ea92e38939f25d3b1596309cc10b273c58ab557561744048e33c5e12df6719cd5531ce05d1468fd72f30a8766d89d621f9798250fe39fedf028a5
7
- data.tar.gz: c692dff6b378fc4deec6274e825d5d4efa121dd103027ccc8304fbc54510f2a4d199b7168cf85ada6675de27cb25dd5340299097c7031fefd7e1f7519342a02a
6
+ metadata.gz: 8c3ffcf171319a9e07696eea3ff22be97a88f78b4acc71484662bd05e2c4007528785573e670c303631f6320d857c8d04099d757d77d3691de1e21e81b3c4652
7
+ data.tar.gz: 863fa5d56286615868d50f3455310d90ce4ec9f75a612f7e5a54b206e3502e1521ada440a10edd7e76dfa2781387c914b8e1076887c16e2392970a99c2decf48
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-cloudresourcemanager_v2
2
2
 
3
+ ### v0.5.0 (2021-03-19)
4
+
5
+ * Regenerated from discovery document revision 20210314
6
+ * Regenerated using generator version 0.2.0
7
+
3
8
  ### v0.4.0 (2021-03-04)
4
9
 
5
10
  * Unspecified changes
@@ -30,7 +30,7 @@ module Google
30
30
  # This is NOT the gem version.
31
31
  VERSION = 'V2'
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 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
@@ -529,6 +633,37 @@ module Google
529
633
  end
530
634
  end
531
635
 
636
+ # Metadata pertaining to the Folder move process.
637
+ class MoveFolderMetadata
638
+ include Google::Apis::Core::Hashable
639
+
640
+ # The resource name of the folder or organization to move the folder to.
641
+ # Corresponds to the JSON property `destinationParent`
642
+ # @return [String]
643
+ attr_accessor :destination_parent
644
+
645
+ # The display name of the folder.
646
+ # Corresponds to the JSON property `displayName`
647
+ # @return [String]
648
+ attr_accessor :display_name
649
+
650
+ # The resource name of the folder's parent.
651
+ # Corresponds to the JSON property `sourceParent`
652
+ # @return [String]
653
+ attr_accessor :source_parent
654
+
655
+ def initialize(**args)
656
+ update!(**args)
657
+ end
658
+
659
+ # Update properties of this object
660
+ def update!(**args)
661
+ @destination_parent = args[:destination_parent] if args.key?(:destination_parent)
662
+ @display_name = args[:display_name] if args.key?(:display_name)
663
+ @source_parent = args[:source_parent] if args.key?(:source_parent)
664
+ end
665
+ end
666
+
532
667
  # The MoveFolder request message.
533
668
  class MoveFolderRequest
534
669
  include Google::Apis::Core::Hashable
@@ -550,6 +685,20 @@ module Google
550
685
  end
551
686
  end
552
687
 
688
+ # A status object which is used as the `metadata` field for the Operation
689
+ # returned by MoveProject.
690
+ class MoveProjectMetadata
691
+ include Google::Apis::Core::Hashable
692
+
693
+ def initialize(**args)
694
+ update!(**args)
695
+ end
696
+
697
+ # Update properties of this object
698
+ def update!(**args)
699
+ end
700
+ end
701
+
553
702
  # This resource represents a long-running operation that is the result of a
554
703
  # network API call.
555
704
  class Operation
@@ -941,6 +1090,20 @@ module Google
941
1090
  end
942
1091
  end
943
1092
 
1093
+ # A status object which is used as the `metadata` field for the Operation
1094
+ # returned by UndeleteFolder.
1095
+ class UndeleteFolderMetadata
1096
+ include Google::Apis::Core::Hashable
1097
+
1098
+ def initialize(**args)
1099
+ update!(**args)
1100
+ end
1101
+
1102
+ # Update properties of this object
1103
+ def update!(**args)
1104
+ end
1105
+ end
1106
+
944
1107
  # The UndeleteFolder request message.
945
1108
  class UndeleteFolderRequest
946
1109
  include Google::Apis::Core::Hashable
@@ -954,6 +1117,62 @@ module Google
954
1117
  end
955
1118
  end
956
1119
 
1120
+ # A status object which is used as the `metadata` field for the Operation
1121
+ # returned by UndeleteOrganization.
1122
+ class UndeleteOrganizationMetadata
1123
+ include Google::Apis::Core::Hashable
1124
+
1125
+ def initialize(**args)
1126
+ update!(**args)
1127
+ end
1128
+
1129
+ # Update properties of this object
1130
+ def update!(**args)
1131
+ end
1132
+ end
1133
+
1134
+ # A status object which is used as the `metadata` field for the Operation
1135
+ # returned by UndeleteProject.
1136
+ class UndeleteProjectMetadata
1137
+ include Google::Apis::Core::Hashable
1138
+
1139
+ def initialize(**args)
1140
+ update!(**args)
1141
+ end
1142
+
1143
+ # Update properties of this object
1144
+ def update!(**args)
1145
+ end
1146
+ end
1147
+
1148
+ # A status object which is used as the `metadata` field for the Operation
1149
+ # returned by UpdateFolder.
1150
+ class UpdateFolderMetadata
1151
+ include Google::Apis::Core::Hashable
1152
+
1153
+ def initialize(**args)
1154
+ update!(**args)
1155
+ end
1156
+
1157
+ # Update properties of this object
1158
+ def update!(**args)
1159
+ end
1160
+ end
1161
+
1162
+ # A status object which is used as the `metadata` field for the Operation
1163
+ # returned by UpdateProject.
1164
+ class UpdateProjectMetadata
1165
+ include Google::Apis::Core::Hashable
1166
+
1167
+ def initialize(**args)
1168
+ update!(**args)
1169
+ end
1170
+
1171
+ # Update properties of this object
1172
+ def update!(**args)
1173
+ end
1174
+ end
1175
+
957
1176
  # Runtime operation information for updating a TagKey.
958
1177
  class UpdateTagKeyMetadata
959
1178
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudresourcemanagerV2
18
18
  # Version of the google-apis-cloudresourcemanager_v2 gem
19
- GEM_VERSION = "0.4.0"
19
+ GEM_VERSION = "0.5.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.2"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210215"
25
+ REVISION = "20210314"
26
26
  end
27
27
  end
28
28
  end
@@ -52,6 +52,18 @@ module Google
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
+ class CreateFolderMetadata
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class CreateProjectMetadata
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
55
67
  class CreateTagKeyMetadata
56
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
69
 
@@ -64,6 +76,24 @@ module Google
64
76
  include Google::Apis::Core::JsonObjectSupport
65
77
  end
66
78
 
79
+ class DeleteFolderMetadata
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class DeleteOrganizationMetadata
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class DeleteProjectMetadata
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
67
97
  class DeleteTagKeyMetadata
68
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
99
 
@@ -118,12 +148,24 @@ module Google
118
148
  include Google::Apis::Core::JsonObjectSupport
119
149
  end
120
150
 
151
+ class MoveFolderMetadata
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
121
157
  class MoveFolderRequest
122
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
159
 
124
160
  include Google::Apis::Core::JsonObjectSupport
125
161
  end
126
162
 
163
+ class MoveProjectMetadata
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
127
169
  class Operation
128
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
171
 
@@ -178,12 +220,42 @@ module Google
178
220
  include Google::Apis::Core::JsonObjectSupport
179
221
  end
180
222
 
223
+ class UndeleteFolderMetadata
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
181
229
  class UndeleteFolderRequest
182
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
231
 
184
232
  include Google::Apis::Core::JsonObjectSupport
185
233
  end
186
234
 
235
+ class UndeleteOrganizationMetadata
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class UndeleteProjectMetadata
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class UpdateFolderMetadata
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class UpdateProjectMetadata
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
187
259
  class UpdateTagKeyMetadata
188
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
261
 
@@ -243,6 +315,23 @@ module Google
243
315
  end
244
316
  end
245
317
 
318
+ class CreateFolderMetadata
319
+ # @private
320
+ class Representation < Google::Apis::Core::JsonRepresentation
321
+ property :display_name, as: 'displayName'
322
+ property :parent, as: 'parent'
323
+ end
324
+ end
325
+
326
+ class CreateProjectMetadata
327
+ # @private
328
+ class Representation < Google::Apis::Core::JsonRepresentation
329
+ property :create_time, as: 'createTime'
330
+ property :gettable, as: 'gettable'
331
+ property :ready, as: 'ready'
332
+ end
333
+ end
334
+
246
335
  class CreateTagKeyMetadata
247
336
  # @private
248
337
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -255,6 +344,24 @@ module Google
255
344
  end
256
345
  end
257
346
 
347
+ class DeleteFolderMetadata
348
+ # @private
349
+ class Representation < Google::Apis::Core::JsonRepresentation
350
+ end
351
+ end
352
+
353
+ class DeleteOrganizationMetadata
354
+ # @private
355
+ class Representation < Google::Apis::Core::JsonRepresentation
356
+ end
357
+ end
358
+
359
+ class DeleteProjectMetadata
360
+ # @private
361
+ class Representation < Google::Apis::Core::JsonRepresentation
362
+ end
363
+ end
364
+
258
365
  class DeleteTagKeyMetadata
259
366
  # @private
260
367
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -329,6 +436,15 @@ module Google
329
436
  end
330
437
  end
331
438
 
439
+ class MoveFolderMetadata
440
+ # @private
441
+ class Representation < Google::Apis::Core::JsonRepresentation
442
+ property :destination_parent, as: 'destinationParent'
443
+ property :display_name, as: 'displayName'
444
+ property :source_parent, as: 'sourceParent'
445
+ end
446
+ end
447
+
332
448
  class MoveFolderRequest
333
449
  # @private
334
450
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -336,6 +452,12 @@ module Google
336
452
  end
337
453
  end
338
454
 
455
+ class MoveProjectMetadata
456
+ # @private
457
+ class Representation < Google::Apis::Core::JsonRepresentation
458
+ end
459
+ end
460
+
339
461
  class Operation
340
462
  # @private
341
463
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -419,12 +541,42 @@ module Google
419
541
  end
420
542
  end
421
543
 
544
+ class UndeleteFolderMetadata
545
+ # @private
546
+ class Representation < Google::Apis::Core::JsonRepresentation
547
+ end
548
+ end
549
+
422
550
  class UndeleteFolderRequest
423
551
  # @private
424
552
  class Representation < Google::Apis::Core::JsonRepresentation
425
553
  end
426
554
  end
427
555
 
556
+ class UndeleteOrganizationMetadata
557
+ # @private
558
+ class Representation < Google::Apis::Core::JsonRepresentation
559
+ end
560
+ end
561
+
562
+ class UndeleteProjectMetadata
563
+ # @private
564
+ class Representation < Google::Apis::Core::JsonRepresentation
565
+ end
566
+ end
567
+
568
+ class UpdateFolderMetadata
569
+ # @private
570
+ class Representation < Google::Apis::Core::JsonRepresentation
571
+ end
572
+ end
573
+
574
+ class UpdateProjectMetadata
575
+ # @private
576
+ class Representation < Google::Apis::Core::JsonRepresentation
577
+ end
578
+ end
579
+
428
580
  class UpdateTagKeyMetadata
429
581
  # @private
430
582
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudresourcemanager_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-08 00:00:00.000000000 Z
11
+ date: 2021-03-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudresourcemanager_v2/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudresourcemanager_v2/v0.4.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudresourcemanager_v2/v0.5.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudresourcemanager_v2
57
57
  post_install_message:
58
58
  rdoc_options: []