| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  | # Copyright 2015 Google Inc. | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | # Licensed under the Apache License, Version 2.0 (the "License"); | 
					
						
							|  |  |  | # you may not use this file except in compliance with the License. | 
					
						
							|  |  |  | # You may obtain a copy of the License at | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | #      http://www.apache.org/licenses/LICENSE-2.0 | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | # Unless required by applicable law or agreed to in writing, software | 
					
						
							|  |  |  | # distributed under the License is distributed on an "AS IS" BASIS, | 
					
						
							|  |  |  | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 
					
						
							|  |  |  | # See the License for the specific language governing permissions and | 
					
						
							|  |  |  | # limitations under the License. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | require 'date' | 
					
						
							|  |  |  | require 'google/apis/core/base_service' | 
					
						
							|  |  |  | require 'google/apis/core/json_representation' | 
					
						
							|  |  |  | require 'google/apis/core/hashable' | 
					
						
							|  |  |  | require 'google/apis/errors' | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | module Google | 
					
						
							|  |  |  |   module Apis | 
					
						
							|  |  |  |     module DriveV2 | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |       class About | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         class AdditionalRoleInfo | 
					
						
							|  |  |  |           class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							|  |  |  |            | 
					
						
							|  |  |  |           class RoleSet | 
					
						
							|  |  |  |             class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							| 
									
										
										
										
											2016-02-25 23:16:53 +00:00
										 |  |  |            | 
					
						
							|  |  |  |             include Google::Apis::Core::JsonObjectSupport | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |           end | 
					
						
							| 
									
										
										
										
											2016-02-25 23:16:53 +00:00
										 |  |  |          | 
					
						
							|  |  |  |           include Google::Apis::Core::JsonObjectSupport | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2019-04-25 00:37:02 +00:00
										 |  |  |         class DriveTheme | 
					
						
							|  |  |  |           class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |           include Google::Apis::Core::JsonObjectSupport | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |         class ExportFormat | 
					
						
							|  |  |  |           class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							| 
									
										
										
										
											2016-02-25 23:16:53 +00:00
										 |  |  |          | 
					
						
							|  |  |  |           include Google::Apis::Core::JsonObjectSupport | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         class Feature | 
					
						
							|  |  |  |           class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							| 
									
										
										
										
											2016-02-25 23:16:53 +00:00
										 |  |  |          | 
					
						
							|  |  |  |           include Google::Apis::Core::JsonObjectSupport | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         class ImportFormat | 
					
						
							|  |  |  |           class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							| 
									
										
										
										
											2016-02-25 23:16:53 +00:00
										 |  |  |          | 
					
						
							|  |  |  |           include Google::Apis::Core::JsonObjectSupport | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         class MaxUploadSize | 
					
						
							|  |  |  |           class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							| 
									
										
										
										
											2016-02-25 23:16:53 +00:00
										 |  |  |          | 
					
						
							|  |  |  |           include Google::Apis::Core::JsonObjectSupport | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         class QuotaBytesByService | 
					
						
							|  |  |  |           class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							| 
									
										
										
										
											2016-02-25 23:16:53 +00:00
										 |  |  |          | 
					
						
							|  |  |  |           include Google::Apis::Core::JsonObjectSupport | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |         end | 
					
						
							| 
									
										
										
										
											2017-03-31 19:53:27 +00:00
										 |  |  |          | 
					
						
							|  |  |  |         class TeamDriveTheme | 
					
						
							|  |  |  |           class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |           include Google::Apis::Core::JsonObjectSupport | 
					
						
							|  |  |  |         end | 
					
						
							| 
									
										
										
										
											2016-02-25 23:16:53 +00:00
										 |  |  |        | 
					
						
							|  |  |  |         include Google::Apis::Core::JsonObjectSupport | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |       class App | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         class Icon | 
					
						
							|  |  |  |           class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							| 
									
										
										
										
											2016-02-25 23:16:53 +00:00
										 |  |  |          | 
					
						
							|  |  |  |           include Google::Apis::Core::JsonObjectSupport | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |         end | 
					
						
							| 
									
										
										
										
											2016-02-25 23:16:53 +00:00
										 |  |  |        | 
					
						
							|  |  |  |         include Google::Apis::Core::JsonObjectSupport | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |       class AppList | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							| 
									
										
										
										
											2016-02-25 23:16:53 +00:00
										 |  |  |        | 
					
						
							|  |  |  |         include Google::Apis::Core::JsonObjectSupport | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |       class Change | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							| 
									
										
										
										
											2016-02-25 23:16:53 +00:00
										 |  |  |        | 
					
						
							|  |  |  |         include Google::Apis::Core::JsonObjectSupport | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |       class ChangeList | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							| 
									
										
										
										
											2016-02-25 23:16:53 +00:00
										 |  |  |        | 
					
						
							|  |  |  |         include Google::Apis::Core::JsonObjectSupport | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |       class Channel | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							| 
									
										
										
										
											2016-02-25 23:16:53 +00:00
										 |  |  |        | 
					
						
							|  |  |  |         include Google::Apis::Core::JsonObjectSupport | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |       class ChildList | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							| 
									
										
										
										
											2016-02-25 23:16:53 +00:00
										 |  |  |        | 
					
						
							|  |  |  |         include Google::Apis::Core::JsonObjectSupport | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |       class ChildReference | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							| 
									
										
										
										
											2016-02-25 23:16:53 +00:00
										 |  |  |        | 
					
						
							|  |  |  |         include Google::Apis::Core::JsonObjectSupport | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |       class Comment | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         class Context | 
					
						
							|  |  |  |           class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							| 
									
										
										
										
											2016-02-25 23:16:53 +00:00
										 |  |  |          | 
					
						
							|  |  |  |           include Google::Apis::Core::JsonObjectSupport | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |         end | 
					
						
							| 
									
										
										
										
											2016-02-25 23:16:53 +00:00
										 |  |  |        | 
					
						
							|  |  |  |         include Google::Apis::Core::JsonObjectSupport | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |       class CommentList | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							| 
									
										
										
										
											2016-02-25 23:16:53 +00:00
										 |  |  |        | 
					
						
							|  |  |  |         include Google::Apis::Core::JsonObjectSupport | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |       class CommentReply | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							| 
									
										
										
										
											2016-02-25 23:16:53 +00:00
										 |  |  |        | 
					
						
							|  |  |  |         include Google::Apis::Core::JsonObjectSupport | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |       class CommentReplyList | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							| 
									
										
										
										
											2016-02-25 23:16:53 +00:00
										 |  |  |        | 
					
						
							|  |  |  |         include Google::Apis::Core::JsonObjectSupport | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-07-16 00:38:22 +00:00
										 |  |  |       class ContentRestriction | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         include Google::Apis::Core::JsonObjectSupport | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2019-04-25 00:37:02 +00:00
										 |  |  |       class Drive | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         class BackgroundImageFile | 
					
						
							|  |  |  |           class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |           include Google::Apis::Core::JsonObjectSupport | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         class Capabilities | 
					
						
							|  |  |  |           class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |           include Google::Apis::Core::JsonObjectSupport | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         class Restrictions | 
					
						
							|  |  |  |           class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |           include Google::Apis::Core::JsonObjectSupport | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         include Google::Apis::Core::JsonObjectSupport | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |       class DriveList | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         include Google::Apis::Core::JsonObjectSupport | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |       class File | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2017-03-10 21:11:09 +00:00
										 |  |  |         class Capabilities | 
					
						
							|  |  |  |           class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |           include Google::Apis::Core::JsonObjectSupport | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |         class ImageMediaMetadata | 
					
						
							|  |  |  |           class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							|  |  |  |            | 
					
						
							|  |  |  |           class Location | 
					
						
							|  |  |  |             class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							| 
									
										
										
										
											2016-02-25 23:16:53 +00:00
										 |  |  |            | 
					
						
							|  |  |  |             include Google::Apis::Core::JsonObjectSupport | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |           end | 
					
						
							| 
									
										
										
										
											2016-02-25 23:16:53 +00:00
										 |  |  |          | 
					
						
							|  |  |  |           include Google::Apis::Core::JsonObjectSupport | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         class IndexableText | 
					
						
							|  |  |  |           class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							| 
									
										
										
										
											2016-02-25 23:16:53 +00:00
										 |  |  |          | 
					
						
							|  |  |  |           include Google::Apis::Core::JsonObjectSupport | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         class Labels | 
					
						
							|  |  |  |           class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							| 
									
										
										
										
											2016-02-25 23:16:53 +00:00
										 |  |  |          | 
					
						
							|  |  |  |           include Google::Apis::Core::JsonObjectSupport | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2020-04-13 16:49:10 +00:00
										 |  |  |         class ShortcutDetails | 
					
						
							|  |  |  |           class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |           include Google::Apis::Core::JsonObjectSupport | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |         class Thumbnail | 
					
						
							|  |  |  |           class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							| 
									
										
										
										
											2016-02-25 23:16:53 +00:00
										 |  |  |          | 
					
						
							|  |  |  |           include Google::Apis::Core::JsonObjectSupport | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         class VideoMediaMetadata | 
					
						
							|  |  |  |           class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							| 
									
										
										
										
											2016-02-25 23:16:53 +00:00
										 |  |  |          | 
					
						
							|  |  |  |           include Google::Apis::Core::JsonObjectSupport | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |         end | 
					
						
							| 
									
										
										
										
											2016-02-25 23:16:53 +00:00
										 |  |  |        | 
					
						
							|  |  |  |         include Google::Apis::Core::JsonObjectSupport | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |       class FileList | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							| 
									
										
										
										
											2016-02-25 23:16:53 +00:00
										 |  |  |        | 
					
						
							|  |  |  |         include Google::Apis::Core::JsonObjectSupport | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2015-12-03 01:10:07 +00:00
										 |  |  |       class GeneratedIds | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							| 
									
										
										
										
											2016-02-25 23:16:53 +00:00
										 |  |  |        | 
					
						
							|  |  |  |         include Google::Apis::Core::JsonObjectSupport | 
					
						
							| 
									
										
										
										
											2015-12-03 01:10:07 +00:00
										 |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |       class ParentList | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							| 
									
										
										
										
											2016-02-25 23:16:53 +00:00
										 |  |  |        | 
					
						
							|  |  |  |         include Google::Apis::Core::JsonObjectSupport | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |       class ParentReference | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							| 
									
										
										
										
											2016-02-25 23:16:53 +00:00
										 |  |  |        | 
					
						
							|  |  |  |         include Google::Apis::Core::JsonObjectSupport | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |       class Permission | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							| 
									
										
										
										
											2017-03-10 21:11:09 +00:00
										 |  |  |          | 
					
						
							| 
									
										
										
										
											2019-04-25 00:37:02 +00:00
										 |  |  |         class PermissionDetail | 
					
						
							|  |  |  |           class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |           include Google::Apis::Core::JsonObjectSupport | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2017-03-10 21:11:09 +00:00
										 |  |  |         class TeamDrivePermissionDetail | 
					
						
							|  |  |  |           class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |           include Google::Apis::Core::JsonObjectSupport | 
					
						
							|  |  |  |         end | 
					
						
							| 
									
										
										
										
											2016-02-25 23:16:53 +00:00
										 |  |  |        | 
					
						
							|  |  |  |         include Google::Apis::Core::JsonObjectSupport | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |       class PermissionId | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							| 
									
										
										
										
											2016-02-25 23:16:53 +00:00
										 |  |  |        | 
					
						
							|  |  |  |         include Google::Apis::Core::JsonObjectSupport | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |       class PermissionList | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							| 
									
										
										
										
											2016-02-25 23:16:53 +00:00
										 |  |  |        | 
					
						
							|  |  |  |         include Google::Apis::Core::JsonObjectSupport | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |       class Property | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							| 
									
										
										
										
											2016-02-25 23:16:53 +00:00
										 |  |  |        | 
					
						
							|  |  |  |         include Google::Apis::Core::JsonObjectSupport | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |       class PropertyList | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							| 
									
										
										
										
											2016-02-25 23:16:53 +00:00
										 |  |  |        | 
					
						
							|  |  |  |         include Google::Apis::Core::JsonObjectSupport | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |       class Revision | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							| 
									
										
										
										
											2016-02-25 23:16:53 +00:00
										 |  |  |        | 
					
						
							|  |  |  |         include Google::Apis::Core::JsonObjectSupport | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |       class RevisionList | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							| 
									
										
										
										
											2016-02-25 23:16:53 +00:00
										 |  |  |        | 
					
						
							|  |  |  |         include Google::Apis::Core::JsonObjectSupport | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-02-03 19:29:28 +00:00
										 |  |  |       class StartPageToken | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         include Google::Apis::Core::JsonObjectSupport | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-03-10 21:11:09 +00:00
										 |  |  |       class TeamDrive | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2017-03-31 19:53:27 +00:00
										 |  |  |         class BackgroundImageFile | 
					
						
							|  |  |  |           class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |           include Google::Apis::Core::JsonObjectSupport | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2017-03-10 21:11:09 +00:00
										 |  |  |         class Capabilities | 
					
						
							|  |  |  |           class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |           include Google::Apis::Core::JsonObjectSupport | 
					
						
							|  |  |  |         end | 
					
						
							| 
									
										
										
										
											2018-07-11 00:36:18 +00:00
										 |  |  |          | 
					
						
							|  |  |  |         class Restrictions | 
					
						
							|  |  |  |           class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |           include Google::Apis::Core::JsonObjectSupport | 
					
						
							|  |  |  |         end | 
					
						
							| 
									
										
										
										
											2017-03-10 21:11:09 +00:00
										 |  |  |        | 
					
						
							|  |  |  |         include Google::Apis::Core::JsonObjectSupport | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |       class TeamDriveList | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         include Google::Apis::Core::JsonObjectSupport | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |       class User | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         class Picture | 
					
						
							|  |  |  |           class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							| 
									
										
										
										
											2016-02-25 23:16:53 +00:00
										 |  |  |          | 
					
						
							|  |  |  |           include Google::Apis::Core::JsonObjectSupport | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |         end | 
					
						
							| 
									
										
										
										
											2016-02-25 23:16:53 +00:00
										 |  |  |        | 
					
						
							|  |  |  |         include Google::Apis::Core::JsonObjectSupport | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |       class About | 
					
						
							| 
									
										
										
										
											2015-06-25 23:12:26 +00:00
										 |  |  |         # @private | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |         class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |           collection :additional_role_info, as: 'additionalRoleInfo', class: Google::Apis::DriveV2::About::AdditionalRoleInfo, decorator: Google::Apis::DriveV2::About::AdditionalRoleInfo::Representation | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2019-04-25 00:37:02 +00:00
										 |  |  |           property :can_create_drives, as: 'canCreateDrives' | 
					
						
							| 
									
										
										
										
											2018-01-26 00:35:55 +00:00
										 |  |  |           property :can_create_team_drives, as: 'canCreateTeamDrives' | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |           property :domain_sharing_policy, as: 'domainSharingPolicy' | 
					
						
							| 
									
										
										
										
											2019-04-25 00:37:02 +00:00
										 |  |  |           collection :drive_themes, as: 'driveThemes', class: Google::Apis::DriveV2::About::DriveTheme, decorator: Google::Apis::DriveV2::About::DriveTheme::Representation | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |           property :etag, as: 'etag' | 
					
						
							|  |  |  |           collection :export_formats, as: 'exportFormats', class: Google::Apis::DriveV2::About::ExportFormat, decorator: Google::Apis::DriveV2::About::ExportFormat::Representation | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           collection :features, as: 'features', class: Google::Apis::DriveV2::About::Feature, decorator: Google::Apis::DriveV2::About::Feature::Representation | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           collection :folder_color_palette, as: 'folderColorPalette' | 
					
						
							|  |  |  |           collection :import_formats, as: 'importFormats', class: Google::Apis::DriveV2::About::ImportFormat, decorator: Google::Apis::DriveV2::About::ImportFormat::Representation | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :is_current_app_installed, as: 'isCurrentAppInstalled' | 
					
						
							|  |  |  |           property :kind, as: 'kind' | 
					
						
							|  |  |  |           property :language_code, as: 'languageCode' | 
					
						
							| 
									
										
										
										
											2017-04-03 20:18:48 +00:00
										 |  |  |           property :largest_change_id, :numeric_string => true, as: 'largestChangeId' | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |           collection :max_upload_sizes, as: 'maxUploadSizes', class: Google::Apis::DriveV2::About::MaxUploadSize, decorator: Google::Apis::DriveV2::About::MaxUploadSize::Representation | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :name, as: 'name' | 
					
						
							|  |  |  |           property :permission_id, as: 'permissionId' | 
					
						
							|  |  |  |           collection :quota_bytes_by_service, as: 'quotaBytesByService', class: Google::Apis::DriveV2::About::QuotaBytesByService, decorator: Google::Apis::DriveV2::About::QuotaBytesByService::Representation | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-04-03 20:18:48 +00:00
										 |  |  |           property :quota_bytes_total, :numeric_string => true, as: 'quotaBytesTotal' | 
					
						
							|  |  |  |           property :quota_bytes_used, :numeric_string => true, as: 'quotaBytesUsed' | 
					
						
							|  |  |  |           property :quota_bytes_used_aggregate, :numeric_string => true, as: 'quotaBytesUsedAggregate' | 
					
						
							|  |  |  |           property :quota_bytes_used_in_trash, :numeric_string => true, as: 'quotaBytesUsedInTrash' | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |           property :quota_type, as: 'quotaType' | 
					
						
							| 
									
										
										
										
											2017-04-03 20:18:48 +00:00
										 |  |  |           property :remaining_change_ids, :numeric_string => true, as: 'remainingChangeIds' | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |           property :root_folder_id, as: 'rootFolderId' | 
					
						
							|  |  |  |           property :self_link, as: 'selfLink' | 
					
						
							| 
									
										
										
										
											2017-03-31 19:53:27 +00:00
										 |  |  |           collection :team_drive_themes, as: 'teamDriveThemes', class: Google::Apis::DriveV2::About::TeamDriveTheme, decorator: Google::Apis::DriveV2::About::TeamDriveTheme::Representation | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |           property :user, as: 'user', class: Google::Apis::DriveV2::User, decorator: Google::Apis::DriveV2::User::Representation | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         class AdditionalRoleInfo | 
					
						
							| 
									
										
										
										
											2015-06-25 23:12:26 +00:00
										 |  |  |           # @private | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |           class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |             collection :role_sets, as: 'roleSets', class: Google::Apis::DriveV2::About::AdditionalRoleInfo::RoleSet, decorator: Google::Apis::DriveV2::About::AdditionalRoleInfo::RoleSet::Representation | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |             property :type, as: 'type' | 
					
						
							|  |  |  |           end | 
					
						
							|  |  |  |            | 
					
						
							|  |  |  |           class RoleSet | 
					
						
							| 
									
										
										
										
											2015-06-25 23:12:26 +00:00
										 |  |  |             # @private | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |             class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |               collection :additional_roles, as: 'additionalRoles' | 
					
						
							|  |  |  |               property :primary_role, as: 'primaryRole' | 
					
						
							|  |  |  |             end | 
					
						
							|  |  |  |           end | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2019-04-25 00:37:02 +00:00
										 |  |  |         class DriveTheme | 
					
						
							|  |  |  |           # @private | 
					
						
							|  |  |  |           class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |             property :background_image_link, as: 'backgroundImageLink' | 
					
						
							|  |  |  |             property :color_rgb, as: 'colorRgb' | 
					
						
							|  |  |  |             property :id, as: 'id' | 
					
						
							|  |  |  |           end | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |         class ExportFormat | 
					
						
							| 
									
										
										
										
											2015-06-25 23:12:26 +00:00
										 |  |  |           # @private | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |           class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |             property :source, as: 'source' | 
					
						
							|  |  |  |             collection :targets, as: 'targets' | 
					
						
							|  |  |  |           end | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         class Feature | 
					
						
							| 
									
										
										
										
											2015-06-25 23:12:26 +00:00
										 |  |  |           # @private | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |           class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |             property :feature_name, as: 'featureName' | 
					
						
							|  |  |  |             property :feature_rate, as: 'featureRate' | 
					
						
							|  |  |  |           end | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         class ImportFormat | 
					
						
							| 
									
										
										
										
											2015-06-25 23:12:26 +00:00
										 |  |  |           # @private | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |           class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |             property :source, as: 'source' | 
					
						
							|  |  |  |             collection :targets, as: 'targets' | 
					
						
							|  |  |  |           end | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         class MaxUploadSize | 
					
						
							| 
									
										
										
										
											2015-06-25 23:12:26 +00:00
										 |  |  |           # @private | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |           class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							| 
									
										
										
										
											2017-04-03 20:18:48 +00:00
										 |  |  |             property :size, :numeric_string => true, as: 'size' | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |             property :type, as: 'type' | 
					
						
							|  |  |  |           end | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         class QuotaBytesByService | 
					
						
							| 
									
										
										
										
											2015-06-25 23:12:26 +00:00
										 |  |  |           # @private | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |           class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							| 
									
										
										
										
											2017-04-03 20:18:48 +00:00
										 |  |  |             property :bytes_used, :numeric_string => true, as: 'bytesUsed' | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |             property :service_name, as: 'serviceName' | 
					
						
							|  |  |  |           end | 
					
						
							|  |  |  |         end | 
					
						
							| 
									
										
										
										
											2017-03-31 19:53:27 +00:00
										 |  |  |          | 
					
						
							|  |  |  |         class TeamDriveTheme | 
					
						
							|  |  |  |           # @private | 
					
						
							|  |  |  |           class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |             property :background_image_link, as: 'backgroundImageLink' | 
					
						
							|  |  |  |             property :color_rgb, as: 'colorRgb' | 
					
						
							|  |  |  |             property :id, as: 'id' | 
					
						
							|  |  |  |           end | 
					
						
							|  |  |  |         end | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |       class App | 
					
						
							| 
									
										
										
										
											2015-06-25 23:12:26 +00:00
										 |  |  |         # @private | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |         class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |           property :authorized, as: 'authorized' | 
					
						
							|  |  |  |           property :create_in_folder_template, as: 'createInFolderTemplate' | 
					
						
							|  |  |  |           property :create_url, as: 'createUrl' | 
					
						
							|  |  |  |           property :has_drive_wide_scope, as: 'hasDriveWideScope' | 
					
						
							|  |  |  |           collection :icons, as: 'icons', class: Google::Apis::DriveV2::App::Icon, decorator: Google::Apis::DriveV2::App::Icon::Representation | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :id, as: 'id' | 
					
						
							|  |  |  |           property :installed, as: 'installed' | 
					
						
							|  |  |  |           property :kind, as: 'kind' | 
					
						
							|  |  |  |           property :long_description, as: 'longDescription' | 
					
						
							|  |  |  |           property :name, as: 'name' | 
					
						
							|  |  |  |           property :object_type, as: 'objectType' | 
					
						
							|  |  |  |           property :open_url_template, as: 'openUrlTemplate' | 
					
						
							|  |  |  |           collection :primary_file_extensions, as: 'primaryFileExtensions' | 
					
						
							|  |  |  |           collection :primary_mime_types, as: 'primaryMimeTypes' | 
					
						
							|  |  |  |           property :product_id, as: 'productId' | 
					
						
							|  |  |  |           property :product_url, as: 'productUrl' | 
					
						
							|  |  |  |           collection :secondary_file_extensions, as: 'secondaryFileExtensions' | 
					
						
							|  |  |  |           collection :secondary_mime_types, as: 'secondaryMimeTypes' | 
					
						
							|  |  |  |           property :short_description, as: 'shortDescription' | 
					
						
							|  |  |  |           property :supports_create, as: 'supportsCreate' | 
					
						
							|  |  |  |           property :supports_import, as: 'supportsImport' | 
					
						
							|  |  |  |           property :supports_multi_open, as: 'supportsMultiOpen' | 
					
						
							|  |  |  |           property :supports_offline_create, as: 'supportsOfflineCreate' | 
					
						
							|  |  |  |           property :use_by_default, as: 'useByDefault' | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         class Icon | 
					
						
							| 
									
										
										
										
											2015-06-25 23:12:26 +00:00
										 |  |  |           # @private | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |           class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |             property :category, as: 'category' | 
					
						
							|  |  |  |             property :icon_url, as: 'iconUrl' | 
					
						
							|  |  |  |             property :size, as: 'size' | 
					
						
							|  |  |  |           end | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |       class AppList | 
					
						
							| 
									
										
										
										
											2015-06-25 23:12:26 +00:00
										 |  |  |         # @private | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |         class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |           collection :default_app_ids, as: 'defaultAppIds' | 
					
						
							|  |  |  |           property :etag, as: 'etag' | 
					
						
							|  |  |  |           collection :items, as: 'items', class: Google::Apis::DriveV2::App, decorator: Google::Apis::DriveV2::App::Representation | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :kind, as: 'kind' | 
					
						
							|  |  |  |           property :self_link, as: 'selfLink' | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |       class Change | 
					
						
							| 
									
										
										
										
											2015-06-25 23:12:26 +00:00
										 |  |  |         # @private | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |         class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							| 
									
										
										
										
											2019-04-25 00:37:02 +00:00
										 |  |  |           property :change_type, as: 'changeType' | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |           property :deleted, as: 'deleted' | 
					
						
							| 
									
										
										
										
											2019-04-25 00:37:02 +00:00
										 |  |  |           property :drive, as: 'drive', class: Google::Apis::DriveV2::Drive, decorator: Google::Apis::DriveV2::Drive::Representation | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :drive_id, as: 'driveId' | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |           property :file, as: 'file', class: Google::Apis::DriveV2::File, decorator: Google::Apis::DriveV2::File::Representation | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :file_id, as: 'fileId' | 
					
						
							| 
									
										
										
										
											2017-04-03 20:18:48 +00:00
										 |  |  |           property :id, :numeric_string => true, as: 'id' | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |           property :kind, as: 'kind' | 
					
						
							|  |  |  |           property :modification_date, as: 'modificationDate', type: DateTime | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :self_link, as: 'selfLink' | 
					
						
							| 
									
										
										
										
											2017-03-10 21:11:09 +00:00
										 |  |  |           property :team_drive, as: 'teamDrive', class: Google::Apis::DriveV2::TeamDrive, decorator: Google::Apis::DriveV2::TeamDrive::Representation | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :team_drive_id, as: 'teamDriveId' | 
					
						
							|  |  |  |           property :type, as: 'type' | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |       class ChangeList | 
					
						
							| 
									
										
										
										
											2015-06-25 23:12:26 +00:00
										 |  |  |         # @private | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |         class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |           property :etag, as: 'etag' | 
					
						
							|  |  |  |           collection :items, as: 'items', class: Google::Apis::DriveV2::Change, decorator: Google::Apis::DriveV2::Change::Representation | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :kind, as: 'kind' | 
					
						
							| 
									
										
										
										
											2017-04-03 20:18:48 +00:00
										 |  |  |           property :largest_change_id, :numeric_string => true, as: 'largestChangeId' | 
					
						
							| 
									
										
										
										
											2017-03-10 21:11:09 +00:00
										 |  |  |           property :new_start_page_token, as: 'newStartPageToken' | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |           property :next_link, as: 'nextLink' | 
					
						
							|  |  |  |           property :next_page_token, as: 'nextPageToken' | 
					
						
							|  |  |  |           property :self_link, as: 'selfLink' | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |       class Channel | 
					
						
							| 
									
										
										
										
											2015-06-25 23:12:26 +00:00
										 |  |  |         # @private | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |         class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |           property :address, as: 'address' | 
					
						
							| 
									
										
										
										
											2017-04-03 20:18:48 +00:00
										 |  |  |           property :expiration, :numeric_string => true, as: 'expiration' | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |           property :id, as: 'id' | 
					
						
							|  |  |  |           property :kind, as: 'kind' | 
					
						
							|  |  |  |           hash :params, as: 'params' | 
					
						
							|  |  |  |           property :payload, as: 'payload' | 
					
						
							|  |  |  |           property :resource_id, as: 'resourceId' | 
					
						
							|  |  |  |           property :resource_uri, as: 'resourceUri' | 
					
						
							|  |  |  |           property :token, as: 'token' | 
					
						
							|  |  |  |           property :type, as: 'type' | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |       class ChildList | 
					
						
							| 
									
										
										
										
											2015-06-25 23:12:26 +00:00
										 |  |  |         # @private | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |         class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |           property :etag, as: 'etag' | 
					
						
							|  |  |  |           collection :items, as: 'items', class: Google::Apis::DriveV2::ChildReference, decorator: Google::Apis::DriveV2::ChildReference::Representation | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :kind, as: 'kind' | 
					
						
							|  |  |  |           property :next_link, as: 'nextLink' | 
					
						
							|  |  |  |           property :next_page_token, as: 'nextPageToken' | 
					
						
							|  |  |  |           property :self_link, as: 'selfLink' | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |       class ChildReference | 
					
						
							| 
									
										
										
										
											2015-06-25 23:12:26 +00:00
										 |  |  |         # @private | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |         class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |           property :child_link, as: 'childLink' | 
					
						
							|  |  |  |           property :id, as: 'id' | 
					
						
							|  |  |  |           property :kind, as: 'kind' | 
					
						
							|  |  |  |           property :self_link, as: 'selfLink' | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |       class Comment | 
					
						
							| 
									
										
										
										
											2015-06-25 23:12:26 +00:00
										 |  |  |         # @private | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |         class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |           property :anchor, as: 'anchor' | 
					
						
							|  |  |  |           property :author, as: 'author', class: Google::Apis::DriveV2::User, decorator: Google::Apis::DriveV2::User::Representation | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :comment_id, as: 'commentId' | 
					
						
							|  |  |  |           property :content, as: 'content' | 
					
						
							|  |  |  |           property :context, as: 'context', class: Google::Apis::DriveV2::Comment::Context, decorator: Google::Apis::DriveV2::Comment::Context::Representation | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :created_date, as: 'createdDate', type: DateTime | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :deleted, as: 'deleted' | 
					
						
							|  |  |  |           property :file_id, as: 'fileId' | 
					
						
							|  |  |  |           property :file_title, as: 'fileTitle' | 
					
						
							|  |  |  |           property :html_content, as: 'htmlContent' | 
					
						
							|  |  |  |           property :kind, as: 'kind' | 
					
						
							|  |  |  |           property :modified_date, as: 'modifiedDate', type: DateTime | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           collection :replies, as: 'replies', class: Google::Apis::DriveV2::CommentReply, decorator: Google::Apis::DriveV2::CommentReply::Representation | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :self_link, as: 'selfLink' | 
					
						
							|  |  |  |           property :status, as: 'status' | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         class Context | 
					
						
							| 
									
										
										
										
											2015-06-25 23:12:26 +00:00
										 |  |  |           # @private | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |           class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |             property :type, as: 'type' | 
					
						
							|  |  |  |             property :value, as: 'value' | 
					
						
							|  |  |  |           end | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |       class CommentList | 
					
						
							| 
									
										
										
										
											2015-06-25 23:12:26 +00:00
										 |  |  |         # @private | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |         class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |           collection :items, as: 'items', class: Google::Apis::DriveV2::Comment, decorator: Google::Apis::DriveV2::Comment::Representation | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :kind, as: 'kind' | 
					
						
							|  |  |  |           property :next_link, as: 'nextLink' | 
					
						
							|  |  |  |           property :next_page_token, as: 'nextPageToken' | 
					
						
							|  |  |  |           property :self_link, as: 'selfLink' | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |       class CommentReply | 
					
						
							| 
									
										
										
										
											2015-06-25 23:12:26 +00:00
										 |  |  |         # @private | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |         class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |           property :author, as: 'author', class: Google::Apis::DriveV2::User, decorator: Google::Apis::DriveV2::User::Representation | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :content, as: 'content' | 
					
						
							|  |  |  |           property :created_date, as: 'createdDate', type: DateTime | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :deleted, as: 'deleted' | 
					
						
							|  |  |  |           property :html_content, as: 'htmlContent' | 
					
						
							|  |  |  |           property :kind, as: 'kind' | 
					
						
							|  |  |  |           property :modified_date, as: 'modifiedDate', type: DateTime | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :reply_id, as: 'replyId' | 
					
						
							|  |  |  |           property :verb, as: 'verb' | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |       class CommentReplyList | 
					
						
							| 
									
										
										
										
											2015-06-25 23:12:26 +00:00
										 |  |  |         # @private | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |         class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |           collection :items, as: 'items', class: Google::Apis::DriveV2::CommentReply, decorator: Google::Apis::DriveV2::CommentReply::Representation | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :kind, as: 'kind' | 
					
						
							|  |  |  |           property :next_link, as: 'nextLink' | 
					
						
							|  |  |  |           property :next_page_token, as: 'nextPageToken' | 
					
						
							|  |  |  |           property :self_link, as: 'selfLink' | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-07-16 00:38:22 +00:00
										 |  |  |       class ContentRestriction | 
					
						
							|  |  |  |         # @private | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |           property :read_only, as: 'readOnly' | 
					
						
							|  |  |  |           property :reason, as: 'reason' | 
					
						
							|  |  |  |           property :restricting_user, as: 'restrictingUser', class: Google::Apis::DriveV2::User, decorator: Google::Apis::DriveV2::User::Representation | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :restriction_date, as: 'restrictionDate', type: DateTime | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :type, as: 'type' | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2019-04-25 00:37:02 +00:00
										 |  |  |       class Drive | 
					
						
							|  |  |  |         # @private | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |           property :background_image_file, as: 'backgroundImageFile', class: Google::Apis::DriveV2::Drive::BackgroundImageFile, decorator: Google::Apis::DriveV2::Drive::BackgroundImageFile::Representation | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :background_image_link, as: 'backgroundImageLink' | 
					
						
							|  |  |  |           property :capabilities, as: 'capabilities', class: Google::Apis::DriveV2::Drive::Capabilities, decorator: Google::Apis::DriveV2::Drive::Capabilities::Representation | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :color_rgb, as: 'colorRgb' | 
					
						
							|  |  |  |           property :created_date, as: 'createdDate', type: DateTime | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :hidden, as: 'hidden' | 
					
						
							|  |  |  |           property :id, as: 'id' | 
					
						
							|  |  |  |           property :kind, as: 'kind' | 
					
						
							|  |  |  |           property :name, as: 'name' | 
					
						
							|  |  |  |           property :restrictions, as: 'restrictions', class: Google::Apis::DriveV2::Drive::Restrictions, decorator: Google::Apis::DriveV2::Drive::Restrictions::Representation | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :theme_id, as: 'themeId' | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         class BackgroundImageFile | 
					
						
							|  |  |  |           # @private | 
					
						
							|  |  |  |           class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |             property :id, as: 'id' | 
					
						
							|  |  |  |             property :width, as: 'width' | 
					
						
							|  |  |  |             property :x_coordinate, as: 'xCoordinate' | 
					
						
							|  |  |  |             property :y_coordinate, as: 'yCoordinate' | 
					
						
							|  |  |  |           end | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         class Capabilities | 
					
						
							|  |  |  |           # @private | 
					
						
							|  |  |  |           class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |             property :can_add_children, as: 'canAddChildren' | 
					
						
							|  |  |  |             property :can_change_copy_requires_writer_permission_restriction, as: 'canChangeCopyRequiresWriterPermissionRestriction' | 
					
						
							|  |  |  |             property :can_change_domain_users_only_restriction, as: 'canChangeDomainUsersOnlyRestriction' | 
					
						
							|  |  |  |             property :can_change_drive_background, as: 'canChangeDriveBackground' | 
					
						
							|  |  |  |             property :can_change_drive_members_only_restriction, as: 'canChangeDriveMembersOnlyRestriction' | 
					
						
							|  |  |  |             property :can_comment, as: 'canComment' | 
					
						
							|  |  |  |             property :can_copy, as: 'canCopy' | 
					
						
							|  |  |  |             property :can_delete_children, as: 'canDeleteChildren' | 
					
						
							|  |  |  |             property :can_delete_drive, as: 'canDeleteDrive' | 
					
						
							|  |  |  |             property :can_download, as: 'canDownload' | 
					
						
							|  |  |  |             property :can_edit, as: 'canEdit' | 
					
						
							|  |  |  |             property :can_list_children, as: 'canListChildren' | 
					
						
							|  |  |  |             property :can_manage_members, as: 'canManageMembers' | 
					
						
							|  |  |  |             property :can_read_revisions, as: 'canReadRevisions' | 
					
						
							|  |  |  |             property :can_rename, as: 'canRename' | 
					
						
							|  |  |  |             property :can_rename_drive, as: 'canRenameDrive' | 
					
						
							|  |  |  |             property :can_share, as: 'canShare' | 
					
						
							|  |  |  |             property :can_trash_children, as: 'canTrashChildren' | 
					
						
							|  |  |  |           end | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         class Restrictions | 
					
						
							|  |  |  |           # @private | 
					
						
							|  |  |  |           class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |             property :admin_managed_restrictions, as: 'adminManagedRestrictions' | 
					
						
							|  |  |  |             property :copy_requires_writer_permission, as: 'copyRequiresWriterPermission' | 
					
						
							|  |  |  |             property :domain_users_only, as: 'domainUsersOnly' | 
					
						
							|  |  |  |             property :drive_members_only, as: 'driveMembersOnly' | 
					
						
							|  |  |  |           end | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |       class DriveList | 
					
						
							|  |  |  |         # @private | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |           collection :items, as: 'items', class: Google::Apis::DriveV2::Drive, decorator: Google::Apis::DriveV2::Drive::Representation | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :kind, as: 'kind' | 
					
						
							|  |  |  |           property :next_page_token, as: 'nextPageToken' | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |       class File | 
					
						
							| 
									
										
										
										
											2015-06-25 23:12:26 +00:00
										 |  |  |         # @private | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |         class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |           property :alternate_link, as: 'alternateLink' | 
					
						
							|  |  |  |           property :app_data_contents, as: 'appDataContents' | 
					
						
							|  |  |  |           property :can_comment, as: 'canComment' | 
					
						
							| 
									
										
										
										
											2016-02-25 23:16:53 +00:00
										 |  |  |           property :can_read_revisions, as: 'canReadRevisions' | 
					
						
							| 
									
										
										
										
											2017-03-10 21:11:09 +00:00
										 |  |  |           property :capabilities, as: 'capabilities', class: Google::Apis::DriveV2::File::Capabilities, decorator: Google::Apis::DriveV2::File::Capabilities::Representation | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-07-16 00:38:22 +00:00
										 |  |  |           collection :content_restrictions, as: 'contentRestrictions', class: Google::Apis::DriveV2::ContentRestriction, decorator: Google::Apis::DriveV2::ContentRestriction::Representation | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2018-07-11 00:36:18 +00:00
										 |  |  |           property :copy_requires_writer_permission, as: 'copyRequiresWriterPermission' | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |           property :copyable, as: 'copyable' | 
					
						
							|  |  |  |           property :created_date, as: 'createdDate', type: DateTime | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :default_open_with_link, as: 'defaultOpenWithLink' | 
					
						
							|  |  |  |           property :description, as: 'description' | 
					
						
							|  |  |  |           property :download_url, as: 'downloadUrl' | 
					
						
							| 
									
										
										
										
											2019-04-25 00:37:02 +00:00
										 |  |  |           property :drive_id, as: 'driveId' | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |           property :editable, as: 'editable' | 
					
						
							|  |  |  |           property :embed_link, as: 'embedLink' | 
					
						
							|  |  |  |           property :etag, as: 'etag' | 
					
						
							|  |  |  |           property :explicitly_trashed, as: 'explicitlyTrashed' | 
					
						
							|  |  |  |           hash :export_links, as: 'exportLinks' | 
					
						
							|  |  |  |           property :file_extension, as: 'fileExtension' | 
					
						
							| 
									
										
										
										
											2017-04-03 20:18:48 +00:00
										 |  |  |           property :file_size, :numeric_string => true, as: 'fileSize' | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |           property :folder_color_rgb, as: 'folderColorRgb' | 
					
						
							| 
									
										
										
										
											2015-12-03 01:10:07 +00:00
										 |  |  |           property :full_file_extension, as: 'fullFileExtension' | 
					
						
							| 
									
										
										
										
											2017-03-10 21:11:09 +00:00
										 |  |  |           property :has_augmented_permissions, as: 'hasAugmentedPermissions' | 
					
						
							| 
									
										
										
										
											2017-01-13 23:04:35 +00:00
										 |  |  |           property :has_thumbnail, as: 'hasThumbnail' | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |           property :head_revision_id, as: 'headRevisionId' | 
					
						
							|  |  |  |           property :icon_link, as: 'iconLink' | 
					
						
							|  |  |  |           property :id, as: 'id' | 
					
						
							|  |  |  |           property :image_media_metadata, as: 'imageMediaMetadata', class: Google::Apis::DriveV2::File::ImageMediaMetadata, decorator: Google::Apis::DriveV2::File::ImageMediaMetadata::Representation | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :indexable_text, as: 'indexableText', class: Google::Apis::DriveV2::File::IndexableText, decorator: Google::Apis::DriveV2::File::IndexableText::Representation | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2016-04-14 18:15:27 +00:00
										 |  |  |           property :is_app_authorized, as: 'isAppAuthorized' | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |           property :kind, as: 'kind' | 
					
						
							|  |  |  |           property :labels, as: 'labels', class: Google::Apis::DriveV2::File::Labels, decorator: Google::Apis::DriveV2::File::Labels::Representation | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :last_modifying_user, as: 'lastModifyingUser', class: Google::Apis::DriveV2::User, decorator: Google::Apis::DriveV2::User::Representation | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :last_modifying_user_name, as: 'lastModifyingUserName' | 
					
						
							|  |  |  |           property :last_viewed_by_me_date, as: 'lastViewedByMeDate', type: DateTime | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :marked_viewed_by_me_date, as: 'markedViewedByMeDate', type: DateTime | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :md5_checksum, as: 'md5Checksum' | 
					
						
							|  |  |  |           property :mime_type, as: 'mimeType' | 
					
						
							|  |  |  |           property :modified_by_me_date, as: 'modifiedByMeDate', type: DateTime | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :modified_date, as: 'modifiedDate', type: DateTime | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           hash :open_with_links, as: 'openWithLinks' | 
					
						
							|  |  |  |           property :original_filename, as: 'originalFilename' | 
					
						
							|  |  |  |           property :owned_by_me, as: 'ownedByMe' | 
					
						
							|  |  |  |           collection :owner_names, as: 'ownerNames' | 
					
						
							|  |  |  |           collection :owners, as: 'owners', class: Google::Apis::DriveV2::User, decorator: Google::Apis::DriveV2::User::Representation | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           collection :parents, as: 'parents', class: Google::Apis::DriveV2::ParentReference, decorator: Google::Apis::DriveV2::ParentReference::Representation | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-31 00:35:15 +00:00
										 |  |  |           collection :permission_ids, as: 'permissionIds' | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |           collection :permissions, as: 'permissions', class: Google::Apis::DriveV2::Permission, decorator: Google::Apis::DriveV2::Permission::Representation | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           collection :properties, as: 'properties', class: Google::Apis::DriveV2::Property, decorator: Google::Apis::DriveV2::Property::Representation | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-04-03 20:18:48 +00:00
										 |  |  |           property :quota_bytes_used, :numeric_string => true, as: 'quotaBytesUsed' | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |           property :self_link, as: 'selfLink' | 
					
						
							|  |  |  |           property :shareable, as: 'shareable' | 
					
						
							|  |  |  |           property :shared, as: 'shared' | 
					
						
							|  |  |  |           property :shared_with_me_date, as: 'sharedWithMeDate', type: DateTime | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :sharing_user, as: 'sharingUser', class: Google::Apis::DriveV2::User, decorator: Google::Apis::DriveV2::User::Representation | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-04-13 16:49:10 +00:00
										 |  |  |           property :shortcut_details, as: 'shortcutDetails', class: Google::Apis::DriveV2::File::ShortcutDetails, decorator: Google::Apis::DriveV2::File::ShortcutDetails::Representation | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |           collection :spaces, as: 'spaces' | 
					
						
							| 
									
										
										
										
											2017-03-10 21:11:09 +00:00
										 |  |  |           property :team_drive_id, as: 'teamDriveId' | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |           property :thumbnail, as: 'thumbnail', class: Google::Apis::DriveV2::File::Thumbnail, decorator: Google::Apis::DriveV2::File::Thumbnail::Representation | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :thumbnail_link, as: 'thumbnailLink' | 
					
						
							| 
									
										
										
										
											2017-04-03 20:18:48 +00:00
										 |  |  |           property :thumbnail_version, :numeric_string => true, as: 'thumbnailVersion' | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |           property :title, as: 'title' | 
					
						
							| 
									
										
										
										
											2017-03-10 21:11:09 +00:00
										 |  |  |           property :trashed_date, as: 'trashedDate', type: DateTime | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :trashing_user, as: 'trashingUser', class: Google::Apis::DriveV2::User, decorator: Google::Apis::DriveV2::User::Representation | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |           property :user_permission, as: 'userPermission', class: Google::Apis::DriveV2::Permission, decorator: Google::Apis::DriveV2::Permission::Representation | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-04-03 20:18:48 +00:00
										 |  |  |           property :version, :numeric_string => true, as: 'version' | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |           property :video_media_metadata, as: 'videoMediaMetadata', class: Google::Apis::DriveV2::File::VideoMediaMetadata, decorator: Google::Apis::DriveV2::File::VideoMediaMetadata::Representation | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :web_content_link, as: 'webContentLink' | 
					
						
							|  |  |  |           property :web_view_link, as: 'webViewLink' | 
					
						
							|  |  |  |           property :writers_can_share, as: 'writersCanShare' | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2017-03-10 21:11:09 +00:00
										 |  |  |         class Capabilities | 
					
						
							|  |  |  |           # @private | 
					
						
							|  |  |  |           class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |             property :can_add_children, as: 'canAddChildren' | 
					
						
							| 
									
										
										
										
											2020-07-03 00:37:50 +00:00
										 |  |  |             property :can_add_folder_from_another_drive, as: 'canAddFolderFromAnotherDrive' | 
					
						
							| 
									
										
										
										
											2020-04-13 16:49:10 +00:00
										 |  |  |             property :can_add_my_drive_parent, as: 'canAddMyDriveParent' | 
					
						
							| 
									
										
										
										
											2018-07-11 00:36:18 +00:00
										 |  |  |             property :can_change_copy_requires_writer_permission, as: 'canChangeCopyRequiresWriterPermission' | 
					
						
							| 
									
										
										
										
											2017-05-04 19:35:56 +00:00
										 |  |  |             property :can_change_restricted_download, as: 'canChangeRestrictedDownload' | 
					
						
							| 
									
										
										
										
											2017-03-10 21:11:09 +00:00
										 |  |  |             property :can_comment, as: 'canComment' | 
					
						
							|  |  |  |             property :can_copy, as: 'canCopy' | 
					
						
							|  |  |  |             property :can_delete, as: 'canDelete' | 
					
						
							| 
									
										
										
										
											2018-08-24 00:36:27 +00:00
										 |  |  |             property :can_delete_children, as: 'canDeleteChildren' | 
					
						
							| 
									
										
										
										
											2017-03-10 21:11:09 +00:00
										 |  |  |             property :can_download, as: 'canDownload' | 
					
						
							|  |  |  |             property :can_edit, as: 'canEdit' | 
					
						
							|  |  |  |             property :can_list_children, as: 'canListChildren' | 
					
						
							| 
									
										
										
										
											2019-09-10 21:25:47 +00:00
										 |  |  |             property :can_modify_content, as: 'canModifyContent' | 
					
						
							| 
									
										
										
										
											2020-07-16 00:38:22 +00:00
										 |  |  |             property :can_modify_content_restriction, as: 'canModifyContentRestriction' | 
					
						
							| 
									
										
										
										
											2019-04-25 00:37:02 +00:00
										 |  |  |             property :can_move_children_out_of_drive, as: 'canMoveChildrenOutOfDrive' | 
					
						
							| 
									
										
										
										
											2018-08-24 00:36:27 +00:00
										 |  |  |             property :can_move_children_out_of_team_drive, as: 'canMoveChildrenOutOfTeamDrive' | 
					
						
							| 
									
										
										
										
											2019-04-25 00:37:02 +00:00
										 |  |  |             property :can_move_children_within_drive, as: 'canMoveChildrenWithinDrive' | 
					
						
							| 
									
										
										
										
											2018-08-24 00:36:27 +00:00
										 |  |  |             property :can_move_children_within_team_drive, as: 'canMoveChildrenWithinTeamDrive' | 
					
						
							| 
									
										
										
										
											2017-03-10 21:11:09 +00:00
										 |  |  |             property :can_move_item_into_team_drive, as: 'canMoveItemIntoTeamDrive' | 
					
						
							| 
									
										
										
										
											2019-04-25 00:37:02 +00:00
										 |  |  |             property :can_move_item_out_of_drive, as: 'canMoveItemOutOfDrive' | 
					
						
							| 
									
										
										
										
											2018-08-24 00:36:27 +00:00
										 |  |  |             property :can_move_item_out_of_team_drive, as: 'canMoveItemOutOfTeamDrive' | 
					
						
							| 
									
										
										
										
											2019-04-25 00:37:02 +00:00
										 |  |  |             property :can_move_item_within_drive, as: 'canMoveItemWithinDrive' | 
					
						
							| 
									
										
										
										
											2018-08-24 00:36:27 +00:00
										 |  |  |             property :can_move_item_within_team_drive, as: 'canMoveItemWithinTeamDrive' | 
					
						
							| 
									
										
										
										
											2017-03-10 21:11:09 +00:00
										 |  |  |             property :can_move_team_drive_item, as: 'canMoveTeamDriveItem' | 
					
						
							| 
									
										
										
										
											2019-04-25 00:37:02 +00:00
										 |  |  |             property :can_read_drive, as: 'canReadDrive' | 
					
						
							| 
									
										
										
										
											2017-03-10 21:11:09 +00:00
										 |  |  |             property :can_read_revisions, as: 'canReadRevisions' | 
					
						
							|  |  |  |             property :can_read_team_drive, as: 'canReadTeamDrive' | 
					
						
							|  |  |  |             property :can_remove_children, as: 'canRemoveChildren' | 
					
						
							| 
									
										
										
										
											2020-04-13 16:49:10 +00:00
										 |  |  |             property :can_remove_my_drive_parent, as: 'canRemoveMyDriveParent' | 
					
						
							| 
									
										
										
										
											2017-03-10 21:11:09 +00:00
										 |  |  |             property :can_rename, as: 'canRename' | 
					
						
							|  |  |  |             property :can_share, as: 'canShare' | 
					
						
							|  |  |  |             property :can_trash, as: 'canTrash' | 
					
						
							| 
									
										
										
										
											2018-08-24 00:36:27 +00:00
										 |  |  |             property :can_trash_children, as: 'canTrashChildren' | 
					
						
							| 
									
										
										
										
											2017-03-10 21:11:09 +00:00
										 |  |  |             property :can_untrash, as: 'canUntrash' | 
					
						
							|  |  |  |           end | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |         class ImageMediaMetadata | 
					
						
							| 
									
										
										
										
											2015-06-25 23:12:26 +00:00
										 |  |  |           # @private | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |           class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |             property :aperture, as: 'aperture' | 
					
						
							|  |  |  |             property :camera_make, as: 'cameraMake' | 
					
						
							|  |  |  |             property :camera_model, as: 'cameraModel' | 
					
						
							|  |  |  |             property :color_space, as: 'colorSpace' | 
					
						
							|  |  |  |             property :date, as: 'date' | 
					
						
							|  |  |  |             property :exposure_bias, as: 'exposureBias' | 
					
						
							|  |  |  |             property :exposure_mode, as: 'exposureMode' | 
					
						
							|  |  |  |             property :exposure_time, as: 'exposureTime' | 
					
						
							|  |  |  |             property :flash_used, as: 'flashUsed' | 
					
						
							|  |  |  |             property :focal_length, as: 'focalLength' | 
					
						
							|  |  |  |             property :height, as: 'height' | 
					
						
							|  |  |  |             property :iso_speed, as: 'isoSpeed' | 
					
						
							|  |  |  |             property :lens, as: 'lens' | 
					
						
							|  |  |  |             property :location, as: 'location', class: Google::Apis::DriveV2::File::ImageMediaMetadata::Location, decorator: Google::Apis::DriveV2::File::ImageMediaMetadata::Location::Representation | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |             property :max_aperture_value, as: 'maxApertureValue' | 
					
						
							|  |  |  |             property :metering_mode, as: 'meteringMode' | 
					
						
							|  |  |  |             property :rotation, as: 'rotation' | 
					
						
							|  |  |  |             property :sensor, as: 'sensor' | 
					
						
							|  |  |  |             property :subject_distance, as: 'subjectDistance' | 
					
						
							|  |  |  |             property :white_balance, as: 'whiteBalance' | 
					
						
							|  |  |  |             property :width, as: 'width' | 
					
						
							|  |  |  |           end | 
					
						
							|  |  |  |            | 
					
						
							|  |  |  |           class Location | 
					
						
							| 
									
										
										
										
											2015-06-25 23:12:26 +00:00
										 |  |  |             # @private | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |             class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |               property :altitude, as: 'altitude' | 
					
						
							|  |  |  |               property :latitude, as: 'latitude' | 
					
						
							|  |  |  |               property :longitude, as: 'longitude' | 
					
						
							|  |  |  |             end | 
					
						
							|  |  |  |           end | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         class IndexableText | 
					
						
							| 
									
										
										
										
											2015-06-25 23:12:26 +00:00
										 |  |  |           # @private | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |           class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |             property :text, as: 'text' | 
					
						
							|  |  |  |           end | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         class Labels | 
					
						
							| 
									
										
										
										
											2015-06-25 23:12:26 +00:00
										 |  |  |           # @private | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |           class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |             property :hidden, as: 'hidden' | 
					
						
							| 
									
										
										
										
											2016-11-08 23:43:14 +00:00
										 |  |  |             property :modified, as: 'modified' | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |             property :restricted, as: 'restricted' | 
					
						
							|  |  |  |             property :starred, as: 'starred' | 
					
						
							|  |  |  |             property :trashed, as: 'trashed' | 
					
						
							|  |  |  |             property :viewed, as: 'viewed' | 
					
						
							|  |  |  |           end | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2020-04-13 16:49:10 +00:00
										 |  |  |         class ShortcutDetails | 
					
						
							|  |  |  |           # @private | 
					
						
							|  |  |  |           class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |             property :target_id, as: 'targetId' | 
					
						
							|  |  |  |             property :target_mime_type, as: 'targetMimeType' | 
					
						
							|  |  |  |           end | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |         class Thumbnail | 
					
						
							| 
									
										
										
										
											2015-06-25 23:12:26 +00:00
										 |  |  |           # @private | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |           class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |             property :image, :base64 => true, as: 'image' | 
					
						
							|  |  |  |             property :mime_type, as: 'mimeType' | 
					
						
							|  |  |  |           end | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         class VideoMediaMetadata | 
					
						
							| 
									
										
										
										
											2015-06-25 23:12:26 +00:00
										 |  |  |           # @private | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |           class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							| 
									
										
										
										
											2017-04-03 20:18:48 +00:00
										 |  |  |             property :duration_millis, :numeric_string => true, as: 'durationMillis' | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |             property :height, as: 'height' | 
					
						
							|  |  |  |             property :width, as: 'width' | 
					
						
							|  |  |  |           end | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |       class FileList | 
					
						
							| 
									
										
										
										
											2015-06-25 23:12:26 +00:00
										 |  |  |         # @private | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |         class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |           property :etag, as: 'etag' | 
					
						
							| 
									
										
										
										
											2017-03-10 21:11:09 +00:00
										 |  |  |           property :incomplete_search, as: 'incompleteSearch' | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |           collection :items, as: 'items', class: Google::Apis::DriveV2::File, decorator: Google::Apis::DriveV2::File::Representation | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :kind, as: 'kind' | 
					
						
							|  |  |  |           property :next_link, as: 'nextLink' | 
					
						
							|  |  |  |           property :next_page_token, as: 'nextPageToken' | 
					
						
							|  |  |  |           property :self_link, as: 'selfLink' | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2015-12-03 01:10:07 +00:00
										 |  |  |       class GeneratedIds | 
					
						
							|  |  |  |         # @private | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |           collection :ids, as: 'ids' | 
					
						
							|  |  |  |           property :kind, as: 'kind' | 
					
						
							|  |  |  |           property :space, as: 'space' | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |       class ParentList | 
					
						
							| 
									
										
										
										
											2015-06-25 23:12:26 +00:00
										 |  |  |         # @private | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |         class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |           property :etag, as: 'etag' | 
					
						
							|  |  |  |           collection :items, as: 'items', class: Google::Apis::DriveV2::ParentReference, decorator: Google::Apis::DriveV2::ParentReference::Representation | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :kind, as: 'kind' | 
					
						
							|  |  |  |           property :self_link, as: 'selfLink' | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |       class ParentReference | 
					
						
							| 
									
										
										
										
											2015-06-25 23:12:26 +00:00
										 |  |  |         # @private | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |         class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |           property :id, as: 'id' | 
					
						
							|  |  |  |           property :is_root, as: 'isRoot' | 
					
						
							|  |  |  |           property :kind, as: 'kind' | 
					
						
							|  |  |  |           property :parent_link, as: 'parentLink' | 
					
						
							|  |  |  |           property :self_link, as: 'selfLink' | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |       class Permission | 
					
						
							| 
									
										
										
										
											2015-06-25 23:12:26 +00:00
										 |  |  |         # @private | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |         class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |           collection :additional_roles, as: 'additionalRoles' | 
					
						
							|  |  |  |           property :auth_key, as: 'authKey' | 
					
						
							| 
									
										
										
										
											2017-05-04 19:35:56 +00:00
										 |  |  |           property :deleted, as: 'deleted' | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |           property :domain, as: 'domain' | 
					
						
							|  |  |  |           property :email_address, as: 'emailAddress' | 
					
						
							|  |  |  |           property :etag, as: 'etag' | 
					
						
							| 
									
										
										
										
											2016-06-09 20:22:21 +00:00
										 |  |  |           property :expiration_date, as: 'expirationDate', type: DateTime | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |           property :id, as: 'id' | 
					
						
							|  |  |  |           property :kind, as: 'kind' | 
					
						
							|  |  |  |           property :name, as: 'name' | 
					
						
							| 
									
										
										
										
											2019-04-25 00:37:02 +00:00
										 |  |  |           collection :permission_details, as: 'permissionDetails', class: Google::Apis::DriveV2::Permission::PermissionDetail, decorator: Google::Apis::DriveV2::Permission::PermissionDetail::Representation | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |           property :photo_link, as: 'photoLink' | 
					
						
							|  |  |  |           property :role, as: 'role' | 
					
						
							|  |  |  |           property :self_link, as: 'selfLink' | 
					
						
							| 
									
										
										
										
											2017-03-10 21:11:09 +00:00
										 |  |  |           collection :team_drive_permission_details, as: 'teamDrivePermissionDetails', class: Google::Apis::DriveV2::Permission::TeamDrivePermissionDetail, decorator: Google::Apis::DriveV2::Permission::TeamDrivePermissionDetail::Representation | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |           property :type, as: 'type' | 
					
						
							|  |  |  |           property :value, as: 'value' | 
					
						
							| 
									
										
										
										
											2020-08-07 00:38:13 +00:00
										 |  |  |           property :view, as: 'view' | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |           property :with_link, as: 'withLink' | 
					
						
							|  |  |  |         end | 
					
						
							| 
									
										
										
										
											2017-03-10 21:11:09 +00:00
										 |  |  |          | 
					
						
							| 
									
										
										
										
											2019-04-25 00:37:02 +00:00
										 |  |  |         class PermissionDetail | 
					
						
							|  |  |  |           # @private | 
					
						
							|  |  |  |           class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |             collection :additional_roles, as: 'additionalRoles' | 
					
						
							|  |  |  |             property :inherited, as: 'inherited' | 
					
						
							|  |  |  |             property :inherited_from, as: 'inheritedFrom' | 
					
						
							|  |  |  |             property :permission_type, as: 'permissionType' | 
					
						
							|  |  |  |             property :role, as: 'role' | 
					
						
							|  |  |  |           end | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2017-03-10 21:11:09 +00:00
										 |  |  |         class TeamDrivePermissionDetail | 
					
						
							|  |  |  |           # @private | 
					
						
							|  |  |  |           class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |             collection :additional_roles, as: 'additionalRoles' | 
					
						
							|  |  |  |             property :inherited, as: 'inherited' | 
					
						
							|  |  |  |             property :inherited_from, as: 'inheritedFrom' | 
					
						
							|  |  |  |             property :role, as: 'role' | 
					
						
							|  |  |  |             property :team_drive_permission_type, as: 'teamDrivePermissionType' | 
					
						
							|  |  |  |           end | 
					
						
							|  |  |  |         end | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |       class PermissionId | 
					
						
							| 
									
										
										
										
											2015-06-25 23:12:26 +00:00
										 |  |  |         # @private | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |         class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |           property :id, as: 'id' | 
					
						
							|  |  |  |           property :kind, as: 'kind' | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |       class PermissionList | 
					
						
							| 
									
										
										
										
											2015-06-25 23:12:26 +00:00
										 |  |  |         # @private | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |         class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |           property :etag, as: 'etag' | 
					
						
							|  |  |  |           collection :items, as: 'items', class: Google::Apis::DriveV2::Permission, decorator: Google::Apis::DriveV2::Permission::Representation | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :kind, as: 'kind' | 
					
						
							| 
									
										
										
										
											2017-03-10 21:11:09 +00:00
										 |  |  |           property :next_page_token, as: 'nextPageToken' | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |           property :self_link, as: 'selfLink' | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |       class Property | 
					
						
							| 
									
										
										
										
											2015-06-25 23:12:26 +00:00
										 |  |  |         # @private | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |         class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |           property :etag, as: 'etag' | 
					
						
							|  |  |  |           property :key, as: 'key' | 
					
						
							|  |  |  |           property :kind, as: 'kind' | 
					
						
							|  |  |  |           property :self_link, as: 'selfLink' | 
					
						
							|  |  |  |           property :value, as: 'value' | 
					
						
							|  |  |  |           property :visibility, as: 'visibility' | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |       class PropertyList | 
					
						
							| 
									
										
										
										
											2015-06-25 23:12:26 +00:00
										 |  |  |         # @private | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |         class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |           property :etag, as: 'etag' | 
					
						
							|  |  |  |           collection :items, as: 'items', class: Google::Apis::DriveV2::Property, decorator: Google::Apis::DriveV2::Property::Representation | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :kind, as: 'kind' | 
					
						
							|  |  |  |           property :self_link, as: 'selfLink' | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |       class Revision | 
					
						
							| 
									
										
										
										
											2015-06-25 23:12:26 +00:00
										 |  |  |         # @private | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |         class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |           property :download_url, as: 'downloadUrl' | 
					
						
							|  |  |  |           property :etag, as: 'etag' | 
					
						
							|  |  |  |           hash :export_links, as: 'exportLinks' | 
					
						
							| 
									
										
										
										
											2017-04-03 20:18:48 +00:00
										 |  |  |           property :file_size, :numeric_string => true, as: 'fileSize' | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |           property :id, as: 'id' | 
					
						
							|  |  |  |           property :kind, as: 'kind' | 
					
						
							|  |  |  |           property :last_modifying_user, as: 'lastModifyingUser', class: Google::Apis::DriveV2::User, decorator: Google::Apis::DriveV2::User::Representation | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :last_modifying_user_name, as: 'lastModifyingUserName' | 
					
						
							|  |  |  |           property :md5_checksum, as: 'md5Checksum' | 
					
						
							|  |  |  |           property :mime_type, as: 'mimeType' | 
					
						
							|  |  |  |           property :modified_date, as: 'modifiedDate', type: DateTime | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :original_filename, as: 'originalFilename' | 
					
						
							|  |  |  |           property :pinned, as: 'pinned' | 
					
						
							|  |  |  |           property :publish_auto, as: 'publishAuto' | 
					
						
							|  |  |  |           property :published, as: 'published' | 
					
						
							|  |  |  |           property :published_link, as: 'publishedLink' | 
					
						
							|  |  |  |           property :published_outside_domain, as: 'publishedOutsideDomain' | 
					
						
							|  |  |  |           property :self_link, as: 'selfLink' | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |       class RevisionList | 
					
						
							| 
									
										
										
										
											2015-06-25 23:12:26 +00:00
										 |  |  |         # @private | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |         class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |           property :etag, as: 'etag' | 
					
						
							|  |  |  |           collection :items, as: 'items', class: Google::Apis::DriveV2::Revision, decorator: Google::Apis::DriveV2::Revision::Representation | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :kind, as: 'kind' | 
					
						
							| 
									
										
										
										
											2016-10-12 22:52:51 +00:00
										 |  |  |           property :next_page_token, as: 'nextPageToken' | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |           property :self_link, as: 'selfLink' | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-02-03 19:29:28 +00:00
										 |  |  |       class StartPageToken | 
					
						
							|  |  |  |         # @private | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |           property :kind, as: 'kind' | 
					
						
							|  |  |  |           property :start_page_token, as: 'startPageToken' | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-03-10 21:11:09 +00:00
										 |  |  |       class TeamDrive | 
					
						
							|  |  |  |         # @private | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							| 
									
										
										
										
											2017-03-31 19:53:27 +00:00
										 |  |  |           property :background_image_file, as: 'backgroundImageFile', class: Google::Apis::DriveV2::TeamDrive::BackgroundImageFile, decorator: Google::Apis::DriveV2::TeamDrive::BackgroundImageFile::Representation | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :background_image_link, as: 'backgroundImageLink' | 
					
						
							| 
									
										
										
										
											2017-03-10 21:11:09 +00:00
										 |  |  |           property :capabilities, as: 'capabilities', class: Google::Apis::DriveV2::TeamDrive::Capabilities, decorator: Google::Apis::DriveV2::TeamDrive::Capabilities::Representation | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-03-31 19:53:27 +00:00
										 |  |  |           property :color_rgb, as: 'colorRgb' | 
					
						
							| 
									
										
										
										
											2017-11-01 00:35:09 +00:00
										 |  |  |           property :created_date, as: 'createdDate', type: DateTime | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-03-10 21:11:09 +00:00
										 |  |  |           property :id, as: 'id' | 
					
						
							|  |  |  |           property :kind, as: 'kind' | 
					
						
							|  |  |  |           property :name, as: 'name' | 
					
						
							| 
									
										
										
										
											2018-07-11 00:36:18 +00:00
										 |  |  |           property :restrictions, as: 'restrictions', class: Google::Apis::DriveV2::TeamDrive::Restrictions, decorator: Google::Apis::DriveV2::TeamDrive::Restrictions::Representation | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-03-31 19:53:27 +00:00
										 |  |  |           property :theme_id, as: 'themeId' | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         class BackgroundImageFile | 
					
						
							|  |  |  |           # @private | 
					
						
							|  |  |  |           class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |             property :id, as: 'id' | 
					
						
							|  |  |  |             property :width, as: 'width' | 
					
						
							|  |  |  |             property :x_coordinate, as: 'xCoordinate' | 
					
						
							|  |  |  |             property :y_coordinate, as: 'yCoordinate' | 
					
						
							|  |  |  |           end | 
					
						
							| 
									
										
										
										
											2017-03-10 21:11:09 +00:00
										 |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         class Capabilities | 
					
						
							|  |  |  |           # @private | 
					
						
							|  |  |  |           class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |             property :can_add_children, as: 'canAddChildren' | 
					
						
							| 
									
										
										
										
											2018-07-11 00:36:18 +00:00
										 |  |  |             property :can_change_copy_requires_writer_permission_restriction, as: 'canChangeCopyRequiresWriterPermissionRestriction' | 
					
						
							|  |  |  |             property :can_change_domain_users_only_restriction, as: 'canChangeDomainUsersOnlyRestriction' | 
					
						
							| 
									
										
										
										
											2017-03-31 19:53:27 +00:00
										 |  |  |             property :can_change_team_drive_background, as: 'canChangeTeamDriveBackground' | 
					
						
							| 
									
										
										
										
											2018-07-11 00:36:18 +00:00
										 |  |  |             property :can_change_team_members_only_restriction, as: 'canChangeTeamMembersOnlyRestriction' | 
					
						
							| 
									
										
										
										
											2017-03-10 21:11:09 +00:00
										 |  |  |             property :can_comment, as: 'canComment' | 
					
						
							|  |  |  |             property :can_copy, as: 'canCopy' | 
					
						
							| 
									
										
										
										
											2018-08-24 00:36:27 +00:00
										 |  |  |             property :can_delete_children, as: 'canDeleteChildren' | 
					
						
							| 
									
										
										
										
											2017-03-10 21:11:09 +00:00
										 |  |  |             property :can_delete_team_drive, as: 'canDeleteTeamDrive' | 
					
						
							|  |  |  |             property :can_download, as: 'canDownload' | 
					
						
							|  |  |  |             property :can_edit, as: 'canEdit' | 
					
						
							|  |  |  |             property :can_list_children, as: 'canListChildren' | 
					
						
							|  |  |  |             property :can_manage_members, as: 'canManageMembers' | 
					
						
							|  |  |  |             property :can_read_revisions, as: 'canReadRevisions' | 
					
						
							|  |  |  |             property :can_remove_children, as: 'canRemoveChildren' | 
					
						
							|  |  |  |             property :can_rename, as: 'canRename' | 
					
						
							|  |  |  |             property :can_rename_team_drive, as: 'canRenameTeamDrive' | 
					
						
							|  |  |  |             property :can_share, as: 'canShare' | 
					
						
							| 
									
										
										
										
											2018-08-24 00:36:27 +00:00
										 |  |  |             property :can_trash_children, as: 'canTrashChildren' | 
					
						
							| 
									
										
										
										
											2017-03-10 21:11:09 +00:00
										 |  |  |           end | 
					
						
							|  |  |  |         end | 
					
						
							| 
									
										
										
										
											2018-07-11 00:36:18 +00:00
										 |  |  |          | 
					
						
							|  |  |  |         class Restrictions | 
					
						
							|  |  |  |           # @private | 
					
						
							|  |  |  |           class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |             property :admin_managed_restrictions, as: 'adminManagedRestrictions' | 
					
						
							|  |  |  |             property :copy_requires_writer_permission, as: 'copyRequiresWriterPermission' | 
					
						
							|  |  |  |             property :domain_users_only, as: 'domainUsersOnly' | 
					
						
							|  |  |  |             property :team_members_only, as: 'teamMembersOnly' | 
					
						
							|  |  |  |           end | 
					
						
							|  |  |  |         end | 
					
						
							| 
									
										
										
										
											2017-03-10 21:11:09 +00:00
										 |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |       class TeamDriveList | 
					
						
							|  |  |  |         # @private | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |           collection :items, as: 'items', class: Google::Apis::DriveV2::TeamDrive, decorator: Google::Apis::DriveV2::TeamDrive::Representation | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :kind, as: 'kind' | 
					
						
							|  |  |  |           property :next_page_token, as: 'nextPageToken' | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |       class User | 
					
						
							| 
									
										
										
										
											2015-06-25 23:12:26 +00:00
										 |  |  |         # @private | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |         class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |           property :display_name, as: 'displayName' | 
					
						
							|  |  |  |           property :email_address, as: 'emailAddress' | 
					
						
							|  |  |  |           property :is_authenticated_user, as: 'isAuthenticatedUser' | 
					
						
							|  |  |  |           property :kind, as: 'kind' | 
					
						
							|  |  |  |           property :permission_id, as: 'permissionId' | 
					
						
							|  |  |  |           property :picture, as: 'picture', class: Google::Apis::DriveV2::User::Picture, decorator: Google::Apis::DriveV2::User::Picture::Representation | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         class Picture | 
					
						
							| 
									
										
										
										
											2015-06-25 23:12:26 +00:00
										 |  |  |           # @private | 
					
						
							| 
									
										
										
										
											2015-06-23 23:05:46 +00:00
										 |  |  |           class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							|  |  |  |             property :url, as: 'url' | 
					
						
							|  |  |  |           end | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |     end | 
					
						
							|  |  |  |   end | 
					
						
							|  |  |  | end |