google-api-client 0.9.28 → 0.10.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/.travis.yml +7 -4
- data/CHANGELOG.md +10 -0
- data/api_names.yaml +36512 -36326
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +41 -41
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +13 -13
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +110 -110
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4.rb +3 -3
- data/generated/google/apis/analyticsreporting_v4/classes.rb +845 -845
- data/generated/google/apis/analyticsreporting_v4/representations.rb +184 -184
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +5 -5
- data/generated/google/apis/androidenterprise_v1/service.rb +3 -1
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +22 -25
- data/generated/google/apis/classroom_v1/classes.rb +998 -907
- data/generated/google/apis/classroom_v1/representations.rb +240 -240
- data/generated/google/apis/classroom_v1/service.rb +1269 -1061
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +322 -322
- data/generated/google/apis/cloudbuild_v1/representations.rb +88 -88
- data/generated/google/apis/cloudbuild_v1/service.rb +57 -57
- data/generated/google/apis/clouddebugger_v2.rb +4 -4
- data/generated/google/apis/clouddebugger_v2/classes.rb +311 -311
- data/generated/google/apis/clouddebugger_v2/representations.rb +92 -92
- data/generated/google/apis/clouddebugger_v2/service.rb +41 -41
- data/generated/google/apis/cloudkms_v1beta1.rb +1 -1
- data/generated/google/apis/cloudkms_v1beta1/classes.rb +611 -611
- data/generated/google/apis/cloudkms_v1beta1/representations.rb +124 -124
- data/generated/google/apis/cloudkms_v1beta1/service.rb +254 -248
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +116 -116
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +28 -28
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +257 -257
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +394 -394
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +79 -79
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +269 -269
- data/generated/google/apis/cloudtrace_v1.rb +8 -8
- data/generated/google/apis/cloudtrace_v1/classes.rb +90 -84
- data/generated/google/apis/cloudtrace_v1/representations.rb +22 -22
- data/generated/google/apis/cloudtrace_v1/service.rb +40 -35
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +406 -31
- data/generated/google/apis/compute_beta/representations.rb +154 -0
- data/generated/google/apis/compute_beta/service.rb +262 -9
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +17 -20
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +3226 -2847
- data/generated/google/apis/dataflow_v1b3/representations.rb +825 -677
- data/generated/google/apis/dataflow_v1b3/service.rb +175 -175
- data/generated/google/apis/dataproc_v1.rb +2 -2
- data/generated/google/apis/dataproc_v1/classes.rb +1213 -1136
- data/generated/google/apis/dataproc_v1/representations.rb +262 -244
- data/generated/google/apis/dataproc_v1/service.rb +298 -243
- data/generated/google/apis/datastore_v1.rb +4 -4
- data/generated/google/apis/datastore_v1/classes.rb +728 -728
- data/generated/google/apis/datastore_v1/representations.rb +167 -167
- data/generated/google/apis/datastore_v1/service.rb +68 -68
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +7 -7
- data/generated/google/apis/genomics_v1/classes.rb +932 -932
- data/generated/google/apis/genomics_v1/representations.rb +205 -205
- data/generated/google/apis/genomics_v1/service.rb +1228 -1228
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +440 -440
- data/generated/google/apis/iam_v1/representations.rb +94 -94
- data/generated/google/apis/iam_v1/service.rb +60 -60
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +21 -1
- data/generated/google/apis/identitytoolkit_v3/representations.rb +3 -0
- data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
- data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +21 -21
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +232 -232
- data/generated/google/apis/language_v1beta1/representations.rb +75 -75
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +345 -337
- data/generated/google/apis/logging_v2beta1/representations.rb +55 -55
- data/generated/google/apis/logging_v2beta1/service.rb +331 -306
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +253 -253
- data/generated/google/apis/monitoring_v3/representations.rb +58 -58
- data/generated/google/apis/monitoring_v3/service.rb +135 -135
- data/generated/google/apis/people_v1.rb +15 -16
- data/generated/google/apis/people_v1/classes.rb +985 -855
- data/generated/google/apis/people_v1/representations.rb +227 -220
- data/generated/google/apis/people_v1/service.rb +58 -52
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +257 -257
- data/generated/google/apis/pubsub_v1/representations.rb +83 -83
- data/generated/google/apis/pubsub_v1/service.rb +390 -390
- data/generated/google/apis/script_v1.rb +17 -17
- data/generated/google/apis/script_v1/classes.rb +149 -141
- data/generated/google/apis/script_v1/representations.rb +26 -27
- data/generated/google/apis/script_v1/service.rb +9 -8
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +4223 -4188
- data/generated/google/apis/sheets_v4/representations.rb +850 -834
- data/generated/google/apis/sheets_v4/service.rb +192 -192
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +927 -800
- data/generated/google/apis/slides_v1/representations.rb +253 -211
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +94 -107
- data/generated/google/apis/speech_v1beta1/representations.rb +24 -36
- data/generated/google/apis/speech_v1beta1/service.rb +51 -54
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +888 -885
- data/generated/google/apis/vision_v1/representations.rb +139 -139
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/service.rb +5 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +80 -80
- data/generated/google/apis/youtubereporting_v1/representations.rb +23 -23
- data/generated/google/apis/youtubereporting_v1/service.rb +51 -51
- data/google-api-client.gemspec +2 -2
- data/lib/google/apis/core/api_command.rb +1 -1
- data/lib/google/apis/core/json_representation.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- data/samples/cli/lib/samples/you_tube.rb +4 -1
- metadata +36 -30
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/resource-manager
|
|
27
27
|
module CloudresourcemanagerV1
|
|
28
28
|
VERSION = 'V1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20170208'
|
|
30
30
|
|
|
31
31
|
# View your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
|
|
@@ -108,6 +108,12 @@ module Google
|
|
|
108
108
|
class Status
|
|
109
109
|
include Google::Apis::Core::Hashable
|
|
110
110
|
|
|
111
|
+
# A list of messages that carry the error details. There will be a
|
|
112
|
+
# common set of message types for APIs to use.
|
|
113
|
+
# Corresponds to the JSON property `details`
|
|
114
|
+
# @return [Array<Hash<String,Object>>]
|
|
115
|
+
attr_accessor :details
|
|
116
|
+
|
|
111
117
|
# The status code, which should be an enum value of google.rpc.Code.
|
|
112
118
|
# Corresponds to the JSON property `code`
|
|
113
119
|
# @return [Fixnum]
|
|
@@ -120,21 +126,15 @@ module Google
|
|
|
120
126
|
# @return [String]
|
|
121
127
|
attr_accessor :message
|
|
122
128
|
|
|
123
|
-
# A list of messages that carry the error details. There will be a
|
|
124
|
-
# common set of message types for APIs to use.
|
|
125
|
-
# Corresponds to the JSON property `details`
|
|
126
|
-
# @return [Array<Hash<String,Object>>]
|
|
127
|
-
attr_accessor :details
|
|
128
|
-
|
|
129
129
|
def initialize(**args)
|
|
130
130
|
update!(**args)
|
|
131
131
|
end
|
|
132
132
|
|
|
133
133
|
# Update properties of this object
|
|
134
134
|
def update!(**args)
|
|
135
|
+
@details = args[:details] if args.key?(:details)
|
|
135
136
|
@code = args[:code] if args.key?(:code)
|
|
136
137
|
@message = args[:message] if args.key?(:message)
|
|
137
|
-
@details = args[:details] if args.key?(:details)
|
|
138
138
|
end
|
|
139
139
|
end
|
|
140
140
|
|
|
@@ -216,14 +216,6 @@ module Google
|
|
|
216
216
|
class Organization
|
|
217
217
|
include Google::Apis::Core::Hashable
|
|
218
218
|
|
|
219
|
-
# A friendly string to be used to refer to the Organization in the UI.
|
|
220
|
-
# Assigned by the server, set to the firm name of the Google For Work
|
|
221
|
-
# customer that owns this organization.
|
|
222
|
-
# @OutputOnly
|
|
223
|
-
# Corresponds to the JSON property `displayName`
|
|
224
|
-
# @return [String]
|
|
225
|
-
attr_accessor :display_name
|
|
226
|
-
|
|
227
219
|
# Timestamp when the Organization was created. Assigned by the server.
|
|
228
220
|
# @OutputOnly
|
|
229
221
|
# Corresponds to the JSON property `creationTime`
|
|
@@ -251,17 +243,25 @@ module Google
|
|
|
251
243
|
# @return [String]
|
|
252
244
|
attr_accessor :name
|
|
253
245
|
|
|
246
|
+
# A friendly string to be used to refer to the Organization in the UI.
|
|
247
|
+
# Assigned by the server, set to the primary domain of the G Suite
|
|
248
|
+
# customer that owns the organization.
|
|
249
|
+
# @OutputOnly
|
|
250
|
+
# Corresponds to the JSON property `displayName`
|
|
251
|
+
# @return [String]
|
|
252
|
+
attr_accessor :display_name
|
|
253
|
+
|
|
254
254
|
def initialize(**args)
|
|
255
255
|
update!(**args)
|
|
256
256
|
end
|
|
257
257
|
|
|
258
258
|
# Update properties of this object
|
|
259
259
|
def update!(**args)
|
|
260
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
|
261
260
|
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
|
262
261
|
@owner = args[:owner] if args.key?(:owner)
|
|
263
262
|
@lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state)
|
|
264
263
|
@name = args[:name] if args.key?(:name)
|
|
264
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
265
265
|
end
|
|
266
266
|
end
|
|
267
267
|
|
|
@@ -335,16 +335,17 @@ module Google
|
|
|
335
335
|
end
|
|
336
336
|
end
|
|
337
337
|
|
|
338
|
-
#
|
|
339
|
-
|
|
338
|
+
# The entity that owns an Organization. The lifetime of the Organization and
|
|
339
|
+
# all of its descendants are bound to the `OrganizationOwner`. If the
|
|
340
|
+
# `OrganizationOwner` is deleted, the Organization and all its descendants will
|
|
341
|
+
# be deleted.
|
|
342
|
+
class OrganizationOwner
|
|
340
343
|
include Google::Apis::Core::Hashable
|
|
341
344
|
|
|
342
|
-
#
|
|
343
|
-
#
|
|
344
|
-
#
|
|
345
|
-
|
|
346
|
-
# @return [Array<Google::Apis::CloudresourcemanagerV1::Ancestor>]
|
|
347
|
-
attr_accessor :ancestor
|
|
345
|
+
# The Google for Work customer id used in the Directory API.
|
|
346
|
+
# Corresponds to the JSON property `directoryCustomerId`
|
|
347
|
+
# @return [String]
|
|
348
|
+
attr_accessor :directory_customer_id
|
|
348
349
|
|
|
349
350
|
def initialize(**args)
|
|
350
351
|
update!(**args)
|
|
@@ -352,21 +353,20 @@ module Google
|
|
|
352
353
|
|
|
353
354
|
# Update properties of this object
|
|
354
355
|
def update!(**args)
|
|
355
|
-
@
|
|
356
|
+
@directory_customer_id = args[:directory_customer_id] if args.key?(:directory_customer_id)
|
|
356
357
|
end
|
|
357
358
|
end
|
|
358
359
|
|
|
359
|
-
#
|
|
360
|
-
|
|
361
|
-
# `OrganizationOwner` is deleted, the Organization and all its descendants will
|
|
362
|
-
# be deleted.
|
|
363
|
-
class OrganizationOwner
|
|
360
|
+
# Response from the GetAncestry method.
|
|
361
|
+
class GetAncestryResponse
|
|
364
362
|
include Google::Apis::Core::Hashable
|
|
365
363
|
|
|
366
|
-
#
|
|
367
|
-
#
|
|
368
|
-
#
|
|
369
|
-
|
|
364
|
+
# Ancestors are ordered from bottom to top of the resource hierarchy. The
|
|
365
|
+
# first ancestor is the project itself, followed by the project's parent,
|
|
366
|
+
# etc.
|
|
367
|
+
# Corresponds to the JSON property `ancestor`
|
|
368
|
+
# @return [Array<Google::Apis::CloudresourcemanagerV1::Ancestor>]
|
|
369
|
+
attr_accessor :ancestor
|
|
370
370
|
|
|
371
371
|
def initialize(**args)
|
|
372
372
|
update!(**args)
|
|
@@ -374,7 +374,7 @@ module Google
|
|
|
374
374
|
|
|
375
375
|
# Update properties of this object
|
|
376
376
|
def update!(**args)
|
|
377
|
-
@
|
|
377
|
+
@ancestor = args[:ancestor] if args.key?(:ancestor)
|
|
378
378
|
end
|
|
379
379
|
end
|
|
380
380
|
|
|
@@ -387,12 +387,6 @@ module Google
|
|
|
387
387
|
class ListProjectsResponse
|
|
388
388
|
include Google::Apis::Core::Hashable
|
|
389
389
|
|
|
390
|
-
# The list of Projects that matched the list filter. This list can
|
|
391
|
-
# be paginated.
|
|
392
|
-
# Corresponds to the JSON property `projects`
|
|
393
|
-
# @return [Array<Google::Apis::CloudresourcemanagerV1::Project>]
|
|
394
|
-
attr_accessor :projects
|
|
395
|
-
|
|
396
390
|
# Pagination token.
|
|
397
391
|
# If the result set is too large to fit in a single response, this token
|
|
398
392
|
# is returned. It encodes the position of the current result cursor.
|
|
@@ -405,14 +399,20 @@ module Google
|
|
|
405
399
|
# @return [String]
|
|
406
400
|
attr_accessor :next_page_token
|
|
407
401
|
|
|
402
|
+
# The list of Projects that matched the list filter. This list can
|
|
403
|
+
# be paginated.
|
|
404
|
+
# Corresponds to the JSON property `projects`
|
|
405
|
+
# @return [Array<Google::Apis::CloudresourcemanagerV1::Project>]
|
|
406
|
+
attr_accessor :projects
|
|
407
|
+
|
|
408
408
|
def initialize(**args)
|
|
409
409
|
update!(**args)
|
|
410
410
|
end
|
|
411
411
|
|
|
412
412
|
# Update properties of this object
|
|
413
413
|
def update!(**args)
|
|
414
|
-
@projects = args[:projects] if args.key?(:projects)
|
|
415
414
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
415
|
+
@projects = args[:projects] if args.key?(:projects)
|
|
416
416
|
end
|
|
417
417
|
end
|
|
418
418
|
|
|
@@ -557,6 +557,36 @@ module Google
|
|
|
557
557
|
end
|
|
558
558
|
end
|
|
559
559
|
|
|
560
|
+
# The response returned from the `SearchOrganizations` method.
|
|
561
|
+
class SearchOrganizationsResponse
|
|
562
|
+
include Google::Apis::Core::Hashable
|
|
563
|
+
|
|
564
|
+
# A pagination token to be used to retrieve the next page of results. If the
|
|
565
|
+
# result is too large to fit within the page size specified in the request,
|
|
566
|
+
# this field will be set with a token that can be used to fetch the next page
|
|
567
|
+
# of results. If this field is empty, it indicates that this response
|
|
568
|
+
# contains the last page of results.
|
|
569
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
570
|
+
# @return [String]
|
|
571
|
+
attr_accessor :next_page_token
|
|
572
|
+
|
|
573
|
+
# The list of Organizations that matched the search query, possibly
|
|
574
|
+
# paginated.
|
|
575
|
+
# Corresponds to the JSON property `organizations`
|
|
576
|
+
# @return [Array<Google::Apis::CloudresourcemanagerV1::Organization>]
|
|
577
|
+
attr_accessor :organizations
|
|
578
|
+
|
|
579
|
+
def initialize(**args)
|
|
580
|
+
update!(**args)
|
|
581
|
+
end
|
|
582
|
+
|
|
583
|
+
# Update properties of this object
|
|
584
|
+
def update!(**args)
|
|
585
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
586
|
+
@organizations = args[:organizations] if args.key?(:organizations)
|
|
587
|
+
end
|
|
588
|
+
end
|
|
589
|
+
|
|
560
590
|
# Request message for `TestIamPermissions` method.
|
|
561
591
|
class TestIamPermissionsRequest
|
|
562
592
|
include Google::Apis::Core::Hashable
|
|
@@ -579,24 +609,50 @@ module Google
|
|
|
579
609
|
end
|
|
580
610
|
end
|
|
581
611
|
|
|
582
|
-
#
|
|
583
|
-
class
|
|
612
|
+
# A classification of the Folder Operation error.
|
|
613
|
+
class FolderOperationError
|
|
584
614
|
include Google::Apis::Core::Hashable
|
|
585
615
|
|
|
586
|
-
#
|
|
587
|
-
#
|
|
588
|
-
# this field will be set with a token that can be used to fetch the next page
|
|
589
|
-
# of results. If this field is empty, it indicates that this response
|
|
590
|
-
# contains the last page of results.
|
|
591
|
-
# Corresponds to the JSON property `nextPageToken`
|
|
616
|
+
# The type of operation error experienced.
|
|
617
|
+
# Corresponds to the JSON property `errorMessageId`
|
|
592
618
|
# @return [String]
|
|
593
|
-
attr_accessor :
|
|
619
|
+
attr_accessor :error_message_id
|
|
594
620
|
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
621
|
+
def initialize(**args)
|
|
622
|
+
update!(**args)
|
|
623
|
+
end
|
|
624
|
+
|
|
625
|
+
# Update properties of this object
|
|
626
|
+
def update!(**args)
|
|
627
|
+
@error_message_id = args[:error_message_id] if args.key?(:error_message_id)
|
|
628
|
+
end
|
|
629
|
+
end
|
|
630
|
+
|
|
631
|
+
# Metadata describing a long running folder operation
|
|
632
|
+
class FolderOperation
|
|
633
|
+
include Google::Apis::Core::Hashable
|
|
634
|
+
|
|
635
|
+
# The display name of the folder.
|
|
636
|
+
# Corresponds to the JSON property `displayName`
|
|
637
|
+
# @return [String]
|
|
638
|
+
attr_accessor :display_name
|
|
639
|
+
|
|
640
|
+
# The resource name of the folder's parent.
|
|
641
|
+
# Only applicable when the operation_type is MOVE.
|
|
642
|
+
# Corresponds to the JSON property `sourceParent`
|
|
643
|
+
# @return [String]
|
|
644
|
+
attr_accessor :source_parent
|
|
645
|
+
|
|
646
|
+
# The resource name of the folder or organization we are either creating
|
|
647
|
+
# the folder under or moving the folder to.
|
|
648
|
+
# Corresponds to the JSON property `destinationParent`
|
|
649
|
+
# @return [String]
|
|
650
|
+
attr_accessor :destination_parent
|
|
651
|
+
|
|
652
|
+
# The type of this operation.
|
|
653
|
+
# Corresponds to the JSON property `operationType`
|
|
654
|
+
# @return [String]
|
|
655
|
+
attr_accessor :operation_type
|
|
600
656
|
|
|
601
657
|
def initialize(**args)
|
|
602
658
|
update!(**args)
|
|
@@ -604,8 +660,10 @@ module Google
|
|
|
604
660
|
|
|
605
661
|
# Update properties of this object
|
|
606
662
|
def update!(**args)
|
|
607
|
-
@
|
|
608
|
-
@
|
|
663
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
664
|
+
@source_parent = args[:source_parent] if args.key?(:source_parent)
|
|
665
|
+
@destination_parent = args[:destination_parent] if args.key?(:destination_parent)
|
|
666
|
+
@operation_type = args[:operation_type] if args.key?(:operation_type)
|
|
609
667
|
end
|
|
610
668
|
end
|
|
611
669
|
|
|
@@ -675,64 +733,6 @@ module Google
|
|
|
675
733
|
end
|
|
676
734
|
end
|
|
677
735
|
|
|
678
|
-
# Metadata describing a long running folder operation
|
|
679
|
-
class FolderOperation
|
|
680
|
-
include Google::Apis::Core::Hashable
|
|
681
|
-
|
|
682
|
-
# The type of this operation.
|
|
683
|
-
# Corresponds to the JSON property `operationType`
|
|
684
|
-
# @return [String]
|
|
685
|
-
attr_accessor :operation_type
|
|
686
|
-
|
|
687
|
-
# The display name of the folder.
|
|
688
|
-
# Corresponds to the JSON property `displayName`
|
|
689
|
-
# @return [String]
|
|
690
|
-
attr_accessor :display_name
|
|
691
|
-
|
|
692
|
-
# The resource name of the folder's parent.
|
|
693
|
-
# Only applicable when the operation_type is MOVE.
|
|
694
|
-
# Corresponds to the JSON property `sourceParent`
|
|
695
|
-
# @return [String]
|
|
696
|
-
attr_accessor :source_parent
|
|
697
|
-
|
|
698
|
-
# The resource name of the folder or organization we are either creating
|
|
699
|
-
# the folder under or moving the folder to.
|
|
700
|
-
# Corresponds to the JSON property `destinationParent`
|
|
701
|
-
# @return [String]
|
|
702
|
-
attr_accessor :destination_parent
|
|
703
|
-
|
|
704
|
-
def initialize(**args)
|
|
705
|
-
update!(**args)
|
|
706
|
-
end
|
|
707
|
-
|
|
708
|
-
# Update properties of this object
|
|
709
|
-
def update!(**args)
|
|
710
|
-
@operation_type = args[:operation_type] if args.key?(:operation_type)
|
|
711
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
|
712
|
-
@source_parent = args[:source_parent] if args.key?(:source_parent)
|
|
713
|
-
@destination_parent = args[:destination_parent] if args.key?(:destination_parent)
|
|
714
|
-
end
|
|
715
|
-
end
|
|
716
|
-
|
|
717
|
-
# A classification of the Folder Operation error.
|
|
718
|
-
class FolderOperationError
|
|
719
|
-
include Google::Apis::Core::Hashable
|
|
720
|
-
|
|
721
|
-
# The type of operation error experienced.
|
|
722
|
-
# Corresponds to the JSON property `errorMessageId`
|
|
723
|
-
# @return [String]
|
|
724
|
-
attr_accessor :error_message_id
|
|
725
|
-
|
|
726
|
-
def initialize(**args)
|
|
727
|
-
update!(**args)
|
|
728
|
-
end
|
|
729
|
-
|
|
730
|
-
# Update properties of this object
|
|
731
|
-
def update!(**args)
|
|
732
|
-
@error_message_id = args[:error_message_id] if args.key?(:error_message_id)
|
|
733
|
-
end
|
|
734
|
-
end
|
|
735
|
-
|
|
736
736
|
# A container to reference an id for any resource type. A `resource` in Google
|
|
737
737
|
# Cloud Platform is a generic term for something you (a developer) may want to
|
|
738
738
|
# interact with through one of our API's. Some examples are an AppEngine app,
|
|
@@ -76,13 +76,13 @@ module Google
|
|
|
76
76
|
include Google::Apis::Core::JsonObjectSupport
|
|
77
77
|
end
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class OrganizationOwner
|
|
80
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
81
81
|
|
|
82
82
|
include Google::Apis::Core::JsonObjectSupport
|
|
83
83
|
end
|
|
84
84
|
|
|
85
|
-
class
|
|
85
|
+
class GetAncestryResponse
|
|
86
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
87
87
|
|
|
88
88
|
include Google::Apis::Core::JsonObjectSupport
|
|
@@ -112,19 +112,19 @@ module Google
|
|
|
112
112
|
include Google::Apis::Core::JsonObjectSupport
|
|
113
113
|
end
|
|
114
114
|
|
|
115
|
-
class
|
|
115
|
+
class SearchOrganizationsResponse
|
|
116
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
117
117
|
|
|
118
118
|
include Google::Apis::Core::JsonObjectSupport
|
|
119
119
|
end
|
|
120
120
|
|
|
121
|
-
class
|
|
121
|
+
class TestIamPermissionsRequest
|
|
122
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
123
123
|
|
|
124
124
|
include Google::Apis::Core::JsonObjectSupport
|
|
125
125
|
end
|
|
126
126
|
|
|
127
|
-
class
|
|
127
|
+
class FolderOperationError
|
|
128
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
129
129
|
|
|
130
130
|
include Google::Apis::Core::JsonObjectSupport
|
|
@@ -136,7 +136,7 @@ module Google
|
|
|
136
136
|
include Google::Apis::Core::JsonObjectSupport
|
|
137
137
|
end
|
|
138
138
|
|
|
139
|
-
class
|
|
139
|
+
class Policy
|
|
140
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
141
141
|
|
|
142
142
|
include Google::Apis::Core::JsonObjectSupport
|
|
@@ -171,9 +171,9 @@ module Google
|
|
|
171
171
|
class Status
|
|
172
172
|
# @private
|
|
173
173
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
174
|
+
collection :details, as: 'details'
|
|
174
175
|
property :code, as: 'code'
|
|
175
176
|
property :message, as: 'message'
|
|
176
|
-
collection :details, as: 'details'
|
|
177
177
|
end
|
|
178
178
|
end
|
|
179
179
|
|
|
@@ -200,12 +200,12 @@ module Google
|
|
|
200
200
|
class Organization
|
|
201
201
|
# @private
|
|
202
202
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
203
|
-
property :display_name, as: 'displayName'
|
|
204
203
|
property :creation_time, as: 'creationTime'
|
|
205
204
|
property :owner, as: 'owner', class: Google::Apis::CloudresourcemanagerV1::OrganizationOwner, decorator: Google::Apis::CloudresourcemanagerV1::OrganizationOwner::Representation
|
|
206
205
|
|
|
207
206
|
property :lifecycle_state, as: 'lifecycleState'
|
|
208
207
|
property :name, as: 'name'
|
|
208
|
+
property :display_name, as: 'displayName'
|
|
209
209
|
end
|
|
210
210
|
end
|
|
211
211
|
|
|
@@ -231,27 +231,27 @@ module Google
|
|
|
231
231
|
end
|
|
232
232
|
end
|
|
233
233
|
|
|
234
|
-
class
|
|
234
|
+
class OrganizationOwner
|
|
235
235
|
# @private
|
|
236
236
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
237
|
-
|
|
238
|
-
|
|
237
|
+
property :directory_customer_id, as: 'directoryCustomerId'
|
|
239
238
|
end
|
|
240
239
|
end
|
|
241
240
|
|
|
242
|
-
class
|
|
241
|
+
class GetAncestryResponse
|
|
243
242
|
# @private
|
|
244
243
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
245
|
-
|
|
244
|
+
collection :ancestor, as: 'ancestor', class: Google::Apis::CloudresourcemanagerV1::Ancestor, decorator: Google::Apis::CloudresourcemanagerV1::Ancestor::Representation
|
|
245
|
+
|
|
246
246
|
end
|
|
247
247
|
end
|
|
248
248
|
|
|
249
249
|
class ListProjectsResponse
|
|
250
250
|
# @private
|
|
251
251
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
252
|
+
property :next_page_token, as: 'nextPageToken'
|
|
252
253
|
collection :projects, as: 'projects', class: Google::Apis::CloudresourcemanagerV1::Project, decorator: Google::Apis::CloudresourcemanagerV1::Project::Representation
|
|
253
254
|
|
|
254
|
-
property :next_page_token, as: 'nextPageToken'
|
|
255
255
|
end
|
|
256
256
|
end
|
|
257
257
|
|
|
@@ -284,13 +284,6 @@ module Google
|
|
|
284
284
|
end
|
|
285
285
|
end
|
|
286
286
|
|
|
287
|
-
class TestIamPermissionsRequest
|
|
288
|
-
# @private
|
|
289
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
290
|
-
collection :permissions, as: 'permissions'
|
|
291
|
-
end
|
|
292
|
-
end
|
|
293
|
-
|
|
294
287
|
class SearchOrganizationsResponse
|
|
295
288
|
# @private
|
|
296
289
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -300,30 +293,37 @@ module Google
|
|
|
300
293
|
end
|
|
301
294
|
end
|
|
302
295
|
|
|
303
|
-
class
|
|
296
|
+
class TestIamPermissionsRequest
|
|
304
297
|
# @private
|
|
305
298
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
299
|
+
collection :permissions, as: 'permissions'
|
|
300
|
+
end
|
|
301
|
+
end
|
|
309
302
|
|
|
303
|
+
class FolderOperationError
|
|
304
|
+
# @private
|
|
305
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
306
|
+
property :error_message_id, as: 'errorMessageId'
|
|
310
307
|
end
|
|
311
308
|
end
|
|
312
309
|
|
|
313
310
|
class FolderOperation
|
|
314
311
|
# @private
|
|
315
312
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
316
|
-
property :operation_type, as: 'operationType'
|
|
317
313
|
property :display_name, as: 'displayName'
|
|
318
314
|
property :source_parent, as: 'sourceParent'
|
|
319
315
|
property :destination_parent, as: 'destinationParent'
|
|
316
|
+
property :operation_type, as: 'operationType'
|
|
320
317
|
end
|
|
321
318
|
end
|
|
322
319
|
|
|
323
|
-
class
|
|
320
|
+
class Policy
|
|
324
321
|
# @private
|
|
325
322
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
326
|
-
property :
|
|
323
|
+
property :etag, :base64 => true, as: 'etag'
|
|
324
|
+
property :version, as: 'version'
|
|
325
|
+
collection :bindings, as: 'bindings', class: Google::Apis::CloudresourcemanagerV1::Binding, decorator: Google::Apis::CloudresourcemanagerV1::Binding::Representation
|
|
326
|
+
|
|
327
327
|
end
|
|
328
328
|
end
|
|
329
329
|
|