airbyte-agent-google-drive 0.1.15__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- airbyte_agent_google_drive/__init__.py +151 -0
- airbyte_agent_google_drive/_vendored/__init__.py +1 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/__init__.py +82 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/auth_strategies.py +1120 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/auth_template.py +135 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/cloud_utils/__init__.py +5 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/cloud_utils/client.py +213 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/connector_model_loader.py +965 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/constants.py +78 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/exceptions.py +23 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/executor/__init__.py +31 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/executor/hosted_executor.py +196 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/executor/local_executor.py +1633 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/executor/models.py +190 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/extensions.py +693 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/http/__init__.py +37 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/http/adapters/__init__.py +9 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/http/adapters/httpx_adapter.py +251 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/http/config.py +98 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/http/exceptions.py +119 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/http/protocols.py +114 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/http/response.py +104 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/http_client.py +686 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/introspection.py +262 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/logging/__init__.py +11 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/logging/logger.py +264 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/logging/types.py +92 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/observability/__init__.py +11 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/observability/config.py +179 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/observability/models.py +19 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/observability/redactor.py +81 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/observability/session.py +103 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/performance/__init__.py +6 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/performance/instrumentation.py +57 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/performance/metrics.py +93 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/schema/__init__.py +75 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/schema/base.py +164 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/schema/components.py +239 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/schema/connector.py +120 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/schema/extensions.py +230 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/schema/operations.py +146 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/schema/security.py +223 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/secrets.py +182 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/telemetry/__init__.py +10 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/telemetry/config.py +32 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/telemetry/events.py +59 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/telemetry/tracker.py +155 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/types.py +245 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/utils.py +60 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/validation.py +822 -0
- airbyte_agent_google_drive/connector.py +1318 -0
- airbyte_agent_google_drive/connector_model.py +4966 -0
- airbyte_agent_google_drive/models.py +579 -0
- airbyte_agent_google_drive/types.py +141 -0
- airbyte_agent_google_drive-0.1.15.dist-info/METADATA +123 -0
- airbyte_agent_google_drive-0.1.15.dist-info/RECORD +57 -0
- airbyte_agent_google_drive-0.1.15.dist-info/WHEEL +4 -0
|
@@ -0,0 +1,579 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Pydantic models for google-drive connector.
|
|
3
|
+
|
|
4
|
+
This module contains Pydantic models used for authentication configuration
|
|
5
|
+
and response envelope types.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
from __future__ import annotations
|
|
9
|
+
|
|
10
|
+
from pydantic import BaseModel, ConfigDict, Field
|
|
11
|
+
from typing import TypeVar, Generic, Union, Any
|
|
12
|
+
from typing import Optional
|
|
13
|
+
|
|
14
|
+
# Authentication configuration
|
|
15
|
+
|
|
16
|
+
class GoogleDriveAuthConfig(BaseModel):
|
|
17
|
+
"""OAuth 2.0 Authentication"""
|
|
18
|
+
|
|
19
|
+
model_config = ConfigDict(extra="forbid")
|
|
20
|
+
|
|
21
|
+
access_token: Optional[str] = None
|
|
22
|
+
"""Your Google OAuth2 Access Token (optional, will be obtained via refresh)"""
|
|
23
|
+
refresh_token: str
|
|
24
|
+
"""Your Google OAuth2 Refresh Token"""
|
|
25
|
+
client_id: str
|
|
26
|
+
"""Your Google OAuth2 Client ID"""
|
|
27
|
+
client_secret: str
|
|
28
|
+
"""Your Google OAuth2 Client Secret"""
|
|
29
|
+
|
|
30
|
+
# ===== RESPONSE TYPE DEFINITIONS (PYDANTIC) =====
|
|
31
|
+
|
|
32
|
+
class User(BaseModel):
|
|
33
|
+
"""Information about a Drive user"""
|
|
34
|
+
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
35
|
+
|
|
36
|
+
kind: Union[str | None, Any] = Field(default=None)
|
|
37
|
+
display_name: Union[str | None, Any] = Field(default=None, alias="displayName")
|
|
38
|
+
photo_link: Union[str | None, Any] = Field(default=None, alias="photoLink")
|
|
39
|
+
me: Union[bool | None, Any] = Field(default=None)
|
|
40
|
+
permission_id: Union[str | None, Any] = Field(default=None, alias="permissionId")
|
|
41
|
+
email_address: Union[str | None, Any] = Field(default=None, alias="emailAddress")
|
|
42
|
+
|
|
43
|
+
class FileLinksharemetadata(BaseModel):
|
|
44
|
+
"""Contains details about the link URLs"""
|
|
45
|
+
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
46
|
+
|
|
47
|
+
security_update_eligible: Union[bool | None, Any] = Field(default=None, alias="securityUpdateEligible")
|
|
48
|
+
security_update_enabled: Union[bool | None, Any] = Field(default=None, alias="securityUpdateEnabled")
|
|
49
|
+
|
|
50
|
+
class FileLabelinfo(BaseModel):
|
|
51
|
+
"""An overview of the labels on the file"""
|
|
52
|
+
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
53
|
+
|
|
54
|
+
labels: Union[list[dict[str, Any]] | None, Any] = Field(default=None)
|
|
55
|
+
|
|
56
|
+
class FileVideomediametadata(BaseModel):
|
|
57
|
+
"""Additional metadata about video media"""
|
|
58
|
+
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
59
|
+
|
|
60
|
+
width: Union[int | None, Any] = Field(default=None)
|
|
61
|
+
height: Union[int | None, Any] = Field(default=None)
|
|
62
|
+
duration_millis: Union[str | None, Any] = Field(default=None, alias="durationMillis")
|
|
63
|
+
|
|
64
|
+
class FileShortcutdetails(BaseModel):
|
|
65
|
+
"""Shortcut file details"""
|
|
66
|
+
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
67
|
+
|
|
68
|
+
target_id: Union[str | None, Any] = Field(default=None, alias="targetId")
|
|
69
|
+
target_mime_type: Union[str | None, Any] = Field(default=None, alias="targetMimeType")
|
|
70
|
+
target_resource_key: Union[str | None, Any] = Field(default=None, alias="targetResourceKey")
|
|
71
|
+
|
|
72
|
+
class FileImagemediametadataLocation(BaseModel):
|
|
73
|
+
"""Nested schema for FileImagemediametadata.location"""
|
|
74
|
+
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
75
|
+
|
|
76
|
+
latitude: Union[float | None, Any] = Field(default=None)
|
|
77
|
+
longitude: Union[float | None, Any] = Field(default=None)
|
|
78
|
+
altitude: Union[float | None, Any] = Field(default=None)
|
|
79
|
+
|
|
80
|
+
class FileImagemediametadata(BaseModel):
|
|
81
|
+
"""Additional metadata about image media"""
|
|
82
|
+
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
83
|
+
|
|
84
|
+
width: Union[int | None, Any] = Field(default=None)
|
|
85
|
+
height: Union[int | None, Any] = Field(default=None)
|
|
86
|
+
rotation: Union[int | None, Any] = Field(default=None)
|
|
87
|
+
time: Union[str | None, Any] = Field(default=None)
|
|
88
|
+
camera_make: Union[str | None, Any] = Field(default=None, alias="cameraMake")
|
|
89
|
+
camera_model: Union[str | None, Any] = Field(default=None, alias="cameraModel")
|
|
90
|
+
exposure_time: Union[float | None, Any] = Field(default=None, alias="exposureTime")
|
|
91
|
+
aperture: Union[float | None, Any] = Field(default=None)
|
|
92
|
+
flash_used: Union[bool | None, Any] = Field(default=None, alias="flashUsed")
|
|
93
|
+
focal_length: Union[float | None, Any] = Field(default=None, alias="focalLength")
|
|
94
|
+
iso_speed: Union[int | None, Any] = Field(default=None, alias="isoSpeed")
|
|
95
|
+
metering_mode: Union[str | None, Any] = Field(default=None, alias="meteringMode")
|
|
96
|
+
sensor: Union[str | None, Any] = Field(default=None)
|
|
97
|
+
exposure_mode: Union[str | None, Any] = Field(default=None, alias="exposureMode")
|
|
98
|
+
color_space: Union[str | None, Any] = Field(default=None, alias="colorSpace")
|
|
99
|
+
white_balance: Union[str | None, Any] = Field(default=None, alias="whiteBalance")
|
|
100
|
+
exposure_bias: Union[float | None, Any] = Field(default=None, alias="exposureBias")
|
|
101
|
+
max_aperture_value: Union[float | None, Any] = Field(default=None, alias="maxApertureValue")
|
|
102
|
+
subject_distance: Union[int | None, Any] = Field(default=None, alias="subjectDistance")
|
|
103
|
+
lens: Union[str | None, Any] = Field(default=None)
|
|
104
|
+
location: Union[FileImagemediametadataLocation | None, Any] = Field(default=None)
|
|
105
|
+
|
|
106
|
+
class FileCapabilities(BaseModel):
|
|
107
|
+
"""Capabilities the current user has on this file"""
|
|
108
|
+
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
109
|
+
|
|
110
|
+
can_edit: Union[bool | None, Any] = Field(default=None, alias="canEdit")
|
|
111
|
+
can_comment: Union[bool | None, Any] = Field(default=None, alias="canComment")
|
|
112
|
+
can_share: Union[bool | None, Any] = Field(default=None, alias="canShare")
|
|
113
|
+
can_copy: Union[bool | None, Any] = Field(default=None, alias="canCopy")
|
|
114
|
+
can_download: Union[bool | None, Any] = Field(default=None, alias="canDownload")
|
|
115
|
+
can_delete: Union[bool | None, Any] = Field(default=None, alias="canDelete")
|
|
116
|
+
can_rename: Union[bool | None, Any] = Field(default=None, alias="canRename")
|
|
117
|
+
can_trash: Union[bool | None, Any] = Field(default=None, alias="canTrash")
|
|
118
|
+
can_read_revisions: Union[bool | None, Any] = Field(default=None, alias="canReadRevisions")
|
|
119
|
+
can_add_children: Union[bool | None, Any] = Field(default=None, alias="canAddChildren")
|
|
120
|
+
can_list_children: Union[bool | None, Any] = Field(default=None, alias="canListChildren")
|
|
121
|
+
can_remove_children: Union[bool | None, Any] = Field(default=None, alias="canRemoveChildren")
|
|
122
|
+
|
|
123
|
+
class FileContentrestrictionsItem(BaseModel):
|
|
124
|
+
"""Nested schema for File.contentRestrictions_item"""
|
|
125
|
+
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
126
|
+
|
|
127
|
+
read_only: Union[bool | None, Any] = Field(default=None, alias="readOnly")
|
|
128
|
+
reason: Union[str | None, Any] = Field(default=None)
|
|
129
|
+
restricting_user: Union[Any, Any] = Field(default=None, alias="restrictingUser")
|
|
130
|
+
restriction_time: Union[str | None, Any] = Field(default=None, alias="restrictionTime")
|
|
131
|
+
type: Union[str | None, Any] = Field(default=None)
|
|
132
|
+
|
|
133
|
+
class File(BaseModel):
|
|
134
|
+
"""The metadata for a file"""
|
|
135
|
+
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
136
|
+
|
|
137
|
+
kind: Union[str | None, Any] = Field(default=None)
|
|
138
|
+
id: Union[str, Any] = Field(default=None)
|
|
139
|
+
name: Union[str | None, Any] = Field(default=None)
|
|
140
|
+
mime_type: Union[str | None, Any] = Field(default=None, alias="mimeType")
|
|
141
|
+
description: Union[str | None, Any] = Field(default=None)
|
|
142
|
+
starred: Union[bool | None, Any] = Field(default=None)
|
|
143
|
+
trashed: Union[bool | None, Any] = Field(default=None)
|
|
144
|
+
explicitly_trashed: Union[bool | None, Any] = Field(default=None, alias="explicitlyTrashed")
|
|
145
|
+
parents: Union[list[str] | None, Any] = Field(default=None)
|
|
146
|
+
properties: Union[dict[str, str] | None, Any] = Field(default=None)
|
|
147
|
+
app_properties: Union[dict[str, str] | None, Any] = Field(default=None, alias="appProperties")
|
|
148
|
+
spaces: Union[list[str] | None, Any] = Field(default=None)
|
|
149
|
+
version: Union[str | None, Any] = Field(default=None)
|
|
150
|
+
web_content_link: Union[str | None, Any] = Field(default=None, alias="webContentLink")
|
|
151
|
+
web_view_link: Union[str | None, Any] = Field(default=None, alias="webViewLink")
|
|
152
|
+
icon_link: Union[str | None, Any] = Field(default=None, alias="iconLink")
|
|
153
|
+
has_thumbnail: Union[bool | None, Any] = Field(default=None, alias="hasThumbnail")
|
|
154
|
+
thumbnail_link: Union[str | None, Any] = Field(default=None, alias="thumbnailLink")
|
|
155
|
+
thumbnail_version: Union[str | None, Any] = Field(default=None, alias="thumbnailVersion")
|
|
156
|
+
viewed_by_me: Union[bool | None, Any] = Field(default=None, alias="viewedByMe")
|
|
157
|
+
viewed_by_me_time: Union[str | None, Any] = Field(default=None, alias="viewedByMeTime")
|
|
158
|
+
created_time: Union[str | None, Any] = Field(default=None, alias="createdTime")
|
|
159
|
+
modified_time: Union[str | None, Any] = Field(default=None, alias="modifiedTime")
|
|
160
|
+
modified_by_me_time: Union[str | None, Any] = Field(default=None, alias="modifiedByMeTime")
|
|
161
|
+
modified_by_me: Union[bool | None, Any] = Field(default=None, alias="modifiedByMe")
|
|
162
|
+
shared_with_me_time: Union[str | None, Any] = Field(default=None, alias="sharedWithMeTime")
|
|
163
|
+
sharing_user: Union[Any, Any] = Field(default=None, alias="sharingUser")
|
|
164
|
+
owners: Union[list[User] | None, Any] = Field(default=None)
|
|
165
|
+
drive_id: Union[str | None, Any] = Field(default=None, alias="driveId")
|
|
166
|
+
last_modifying_user: Union[Any, Any] = Field(default=None, alias="lastModifyingUser")
|
|
167
|
+
shared: Union[bool | None, Any] = Field(default=None)
|
|
168
|
+
owned_by_me: Union[bool | None, Any] = Field(default=None, alias="ownedByMe")
|
|
169
|
+
capabilities: Union[FileCapabilities | None, Any] = Field(default=None)
|
|
170
|
+
viewers_can_copy_content: Union[bool | None, Any] = Field(default=None, alias="viewersCanCopyContent")
|
|
171
|
+
copy_requires_writer_permission: Union[bool | None, Any] = Field(default=None, alias="copyRequiresWriterPermission")
|
|
172
|
+
writers_can_share: Union[bool | None, Any] = Field(default=None, alias="writersCanShare")
|
|
173
|
+
permission_ids: Union[list[str] | None, Any] = Field(default=None, alias="permissionIds")
|
|
174
|
+
folder_color_rgb: Union[str | None, Any] = Field(default=None, alias="folderColorRgb")
|
|
175
|
+
original_filename: Union[str | None, Any] = Field(default=None, alias="originalFilename")
|
|
176
|
+
full_file_extension: Union[str | None, Any] = Field(default=None, alias="fullFileExtension")
|
|
177
|
+
file_extension: Union[str | None, Any] = Field(default=None, alias="fileExtension")
|
|
178
|
+
md5_checksum: Union[str | None, Any] = Field(default=None, alias="md5Checksum")
|
|
179
|
+
sha1_checksum: Union[str | None, Any] = Field(default=None, alias="sha1Checksum")
|
|
180
|
+
sha256_checksum: Union[str | None, Any] = Field(default=None, alias="sha256Checksum")
|
|
181
|
+
size: Union[str | None, Any] = Field(default=None)
|
|
182
|
+
quota_bytes_used: Union[str | None, Any] = Field(default=None, alias="quotaBytesUsed")
|
|
183
|
+
head_revision_id: Union[str | None, Any] = Field(default=None, alias="headRevisionId")
|
|
184
|
+
is_app_authorized: Union[bool | None, Any] = Field(default=None, alias="isAppAuthorized")
|
|
185
|
+
export_links: Union[dict[str, str] | None, Any] = Field(default=None, alias="exportLinks")
|
|
186
|
+
shortcut_details: Union[FileShortcutdetails | None, Any] = Field(default=None, alias="shortcutDetails")
|
|
187
|
+
content_restrictions: Union[list[FileContentrestrictionsItem] | None, Any] = Field(default=None, alias="contentRestrictions")
|
|
188
|
+
resource_key: Union[str | None, Any] = Field(default=None, alias="resourceKey")
|
|
189
|
+
link_share_metadata: Union[FileLinksharemetadata | None, Any] = Field(default=None, alias="linkShareMetadata")
|
|
190
|
+
label_info: Union[FileLabelinfo | None, Any] = Field(default=None, alias="labelInfo")
|
|
191
|
+
trashed_time: Union[str | None, Any] = Field(default=None, alias="trashedTime")
|
|
192
|
+
trashing_user: Union[Any, Any] = Field(default=None, alias="trashingUser")
|
|
193
|
+
image_media_metadata: Union[FileImagemediametadata | None, Any] = Field(default=None, alias="imageMediaMetadata")
|
|
194
|
+
video_media_metadata: Union[FileVideomediametadata | None, Any] = Field(default=None, alias="videoMediaMetadata")
|
|
195
|
+
|
|
196
|
+
class FilesListResponse(BaseModel):
|
|
197
|
+
"""A list of files"""
|
|
198
|
+
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
199
|
+
|
|
200
|
+
kind: Union[str | None, Any] = Field(default=None)
|
|
201
|
+
next_page_token: Union[str | None, Any] = Field(default=None, alias="nextPageToken")
|
|
202
|
+
incomplete_search: Union[bool | None, Any] = Field(default=None, alias="incompleteSearch")
|
|
203
|
+
files: Union[list[File], Any] = Field(default=None)
|
|
204
|
+
|
|
205
|
+
class DriveCapabilities(BaseModel):
|
|
206
|
+
"""Capabilities the current user has on this shared drive"""
|
|
207
|
+
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
208
|
+
|
|
209
|
+
can_add_children: Union[bool | None, Any] = Field(default=None, alias="canAddChildren")
|
|
210
|
+
can_comment: Union[bool | None, Any] = Field(default=None, alias="canComment")
|
|
211
|
+
can_copy: Union[bool | None, Any] = Field(default=None, alias="canCopy")
|
|
212
|
+
can_delete_drive: Union[bool | None, Any] = Field(default=None, alias="canDeleteDrive")
|
|
213
|
+
can_download: Union[bool | None, Any] = Field(default=None, alias="canDownload")
|
|
214
|
+
can_edit: Union[bool | None, Any] = Field(default=None, alias="canEdit")
|
|
215
|
+
can_list_children: Union[bool | None, Any] = Field(default=None, alias="canListChildren")
|
|
216
|
+
can_manage_members: Union[bool | None, Any] = Field(default=None, alias="canManageMembers")
|
|
217
|
+
can_read_revisions: Union[bool | None, Any] = Field(default=None, alias="canReadRevisions")
|
|
218
|
+
can_rename: Union[bool | None, Any] = Field(default=None, alias="canRename")
|
|
219
|
+
can_rename_drive: Union[bool | None, Any] = Field(default=None, alias="canRenameDrive")
|
|
220
|
+
can_change_drive_background: Union[bool | None, Any] = Field(default=None, alias="canChangeDriveBackground")
|
|
221
|
+
can_share: Union[bool | None, Any] = Field(default=None, alias="canShare")
|
|
222
|
+
can_change_copy_requires_writer_permission_restriction: Union[bool | None, Any] = Field(default=None, alias="canChangeCopyRequiresWriterPermissionRestriction")
|
|
223
|
+
can_change_domain_users_only_restriction: Union[bool | None, Any] = Field(default=None, alias="canChangeDomainUsersOnlyRestriction")
|
|
224
|
+
can_change_drive_members_only_restriction: Union[bool | None, Any] = Field(default=None, alias="canChangeDriveMembersOnlyRestriction")
|
|
225
|
+
can_change_sharing_folders_requires_organizer_permission_restriction: Union[bool | None, Any] = Field(default=None, alias="canChangeSharingFoldersRequiresOrganizerPermissionRestriction")
|
|
226
|
+
can_reset_drive_restrictions: Union[bool | None, Any] = Field(default=None, alias="canResetDriveRestrictions")
|
|
227
|
+
can_delete_children: Union[bool | None, Any] = Field(default=None, alias="canDeleteChildren")
|
|
228
|
+
can_trash_children: Union[bool | None, Any] = Field(default=None, alias="canTrashChildren")
|
|
229
|
+
|
|
230
|
+
class DriveRestrictions(BaseModel):
|
|
231
|
+
"""A set of restrictions that apply to this shared drive"""
|
|
232
|
+
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
233
|
+
|
|
234
|
+
copy_requires_writer_permission: Union[bool | None, Any] = Field(default=None, alias="copyRequiresWriterPermission")
|
|
235
|
+
domain_users_only: Union[bool | None, Any] = Field(default=None, alias="domainUsersOnly")
|
|
236
|
+
drive_members_only: Union[bool | None, Any] = Field(default=None, alias="driveMembersOnly")
|
|
237
|
+
admin_managed_restrictions: Union[bool | None, Any] = Field(default=None, alias="adminManagedRestrictions")
|
|
238
|
+
sharing_folders_requires_organizer_permission: Union[bool | None, Any] = Field(default=None, alias="sharingFoldersRequiresOrganizerPermission")
|
|
239
|
+
|
|
240
|
+
class DriveBackgroundimagefile(BaseModel):
|
|
241
|
+
"""An image file and cropping parameters for the background image"""
|
|
242
|
+
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
243
|
+
|
|
244
|
+
id: Union[str | None, Any] = Field(default=None)
|
|
245
|
+
x_coordinate: Union[float | None, Any] = Field(default=None, alias="xCoordinate")
|
|
246
|
+
y_coordinate: Union[float | None, Any] = Field(default=None, alias="yCoordinate")
|
|
247
|
+
width: Union[float | None, Any] = Field(default=None)
|
|
248
|
+
|
|
249
|
+
class Drive(BaseModel):
|
|
250
|
+
"""Representation of a shared drive"""
|
|
251
|
+
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
252
|
+
|
|
253
|
+
kind: Union[str | None, Any] = Field(default=None)
|
|
254
|
+
id: Union[str, Any] = Field(default=None)
|
|
255
|
+
name: Union[str | None, Any] = Field(default=None)
|
|
256
|
+
color_rgb: Union[str | None, Any] = Field(default=None, alias="colorRgb")
|
|
257
|
+
background_image_link: Union[str | None, Any] = Field(default=None, alias="backgroundImageLink")
|
|
258
|
+
background_image_file: Union[DriveBackgroundimagefile | None, Any] = Field(default=None, alias="backgroundImageFile")
|
|
259
|
+
capabilities: Union[DriveCapabilities | None, Any] = Field(default=None)
|
|
260
|
+
theme_id: Union[str | None, Any] = Field(default=None, alias="themeId")
|
|
261
|
+
created_time: Union[str | None, Any] = Field(default=None, alias="createdTime")
|
|
262
|
+
hidden: Union[bool | None, Any] = Field(default=None)
|
|
263
|
+
restrictions: Union[DriveRestrictions | None, Any] = Field(default=None)
|
|
264
|
+
org_unit_id: Union[str | None, Any] = Field(default=None, alias="orgUnitId")
|
|
265
|
+
|
|
266
|
+
class DrivesListResponse(BaseModel):
|
|
267
|
+
"""A list of shared drives"""
|
|
268
|
+
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
269
|
+
|
|
270
|
+
kind: Union[str | None, Any] = Field(default=None)
|
|
271
|
+
next_page_token: Union[str | None, Any] = Field(default=None, alias="nextPageToken")
|
|
272
|
+
drives: Union[list[Drive], Any] = Field(default=None)
|
|
273
|
+
|
|
274
|
+
class PermissionPermissiondetailsItem(BaseModel):
|
|
275
|
+
"""Nested schema for Permission.permissionDetails_item"""
|
|
276
|
+
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
277
|
+
|
|
278
|
+
permission_type: Union[str | None, Any] = Field(default=None, alias="permissionType")
|
|
279
|
+
role: Union[str | None, Any] = Field(default=None)
|
|
280
|
+
inherited_from: Union[str | None, Any] = Field(default=None, alias="inheritedFrom")
|
|
281
|
+
inherited: Union[bool | None, Any] = Field(default=None)
|
|
282
|
+
|
|
283
|
+
class PermissionTeamdrivepermissiondetailsItem(BaseModel):
|
|
284
|
+
"""Nested schema for Permission.teamDrivePermissionDetails_item"""
|
|
285
|
+
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
286
|
+
|
|
287
|
+
team_drive_permission_type: Union[str | None, Any] = Field(default=None, alias="teamDrivePermissionType")
|
|
288
|
+
role: Union[str | None, Any] = Field(default=None)
|
|
289
|
+
inherited_from: Union[str | None, Any] = Field(default=None, alias="inheritedFrom")
|
|
290
|
+
inherited: Union[bool | None, Any] = Field(default=None)
|
|
291
|
+
|
|
292
|
+
class Permission(BaseModel):
|
|
293
|
+
"""A permission for a file"""
|
|
294
|
+
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
295
|
+
|
|
296
|
+
kind: Union[str | None, Any] = Field(default=None)
|
|
297
|
+
id: Union[str, Any] = Field(default=None)
|
|
298
|
+
type: Union[str | None, Any] = Field(default=None)
|
|
299
|
+
email_address: Union[str | None, Any] = Field(default=None, alias="emailAddress")
|
|
300
|
+
domain: Union[str | None, Any] = Field(default=None)
|
|
301
|
+
role: Union[str | None, Any] = Field(default=None)
|
|
302
|
+
view: Union[str | None, Any] = Field(default=None)
|
|
303
|
+
allow_file_discovery: Union[bool | None, Any] = Field(default=None, alias="allowFileDiscovery")
|
|
304
|
+
display_name: Union[str | None, Any] = Field(default=None, alias="displayName")
|
|
305
|
+
photo_link: Union[str | None, Any] = Field(default=None, alias="photoLink")
|
|
306
|
+
expiration_time: Union[str | None, Any] = Field(default=None, alias="expirationTime")
|
|
307
|
+
team_drive_permission_details: Union[list[PermissionTeamdrivepermissiondetailsItem] | None, Any] = Field(default=None, alias="teamDrivePermissionDetails")
|
|
308
|
+
permission_details: Union[list[PermissionPermissiondetailsItem] | None, Any] = Field(default=None, alias="permissionDetails")
|
|
309
|
+
deleted: Union[bool | None, Any] = Field(default=None)
|
|
310
|
+
pending_owner: Union[bool | None, Any] = Field(default=None, alias="pendingOwner")
|
|
311
|
+
|
|
312
|
+
class PermissionsListResponse(BaseModel):
|
|
313
|
+
"""A list of permissions for a file"""
|
|
314
|
+
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
315
|
+
|
|
316
|
+
kind: Union[str | None, Any] = Field(default=None)
|
|
317
|
+
next_page_token: Union[str | None, Any] = Field(default=None, alias="nextPageToken")
|
|
318
|
+
permissions: Union[list[Permission], Any] = Field(default=None)
|
|
319
|
+
|
|
320
|
+
class CommentQuotedfilecontent(BaseModel):
|
|
321
|
+
"""The file content to which the comment refers"""
|
|
322
|
+
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
323
|
+
|
|
324
|
+
mime_type: Union[str | None, Any] = Field(default=None, alias="mimeType")
|
|
325
|
+
value: Union[str | None, Any] = Field(default=None)
|
|
326
|
+
|
|
327
|
+
class Reply(BaseModel):
|
|
328
|
+
"""A reply to a comment on a file"""
|
|
329
|
+
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
330
|
+
|
|
331
|
+
kind: Union[str | None, Any] = Field(default=None)
|
|
332
|
+
id: Union[str, Any] = Field(default=None)
|
|
333
|
+
created_time: Union[str | None, Any] = Field(default=None, alias="createdTime")
|
|
334
|
+
modified_time: Union[str | None, Any] = Field(default=None, alias="modifiedTime")
|
|
335
|
+
author: Union[Any, Any] = Field(default=None)
|
|
336
|
+
html_content: Union[str | None, Any] = Field(default=None, alias="htmlContent")
|
|
337
|
+
content: Union[str | None, Any] = Field(default=None)
|
|
338
|
+
deleted: Union[bool | None, Any] = Field(default=None)
|
|
339
|
+
action: Union[str | None, Any] = Field(default=None)
|
|
340
|
+
|
|
341
|
+
class Comment(BaseModel):
|
|
342
|
+
"""A comment on a file"""
|
|
343
|
+
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
344
|
+
|
|
345
|
+
kind: Union[str | None, Any] = Field(default=None)
|
|
346
|
+
id: Union[str, Any] = Field(default=None)
|
|
347
|
+
created_time: Union[str | None, Any] = Field(default=None, alias="createdTime")
|
|
348
|
+
modified_time: Union[str | None, Any] = Field(default=None, alias="modifiedTime")
|
|
349
|
+
author: Union[Any, Any] = Field(default=None)
|
|
350
|
+
html_content: Union[str | None, Any] = Field(default=None, alias="htmlContent")
|
|
351
|
+
content: Union[str | None, Any] = Field(default=None)
|
|
352
|
+
deleted: Union[bool | None, Any] = Field(default=None)
|
|
353
|
+
resolved: Union[bool | None, Any] = Field(default=None)
|
|
354
|
+
quoted_file_content: Union[CommentQuotedfilecontent | None, Any] = Field(default=None, alias="quotedFileContent")
|
|
355
|
+
anchor: Union[str | None, Any] = Field(default=None)
|
|
356
|
+
replies: Union[list[Reply] | None, Any] = Field(default=None)
|
|
357
|
+
mentioned_email_addresses: Union[list[str] | None, Any] = Field(default=None, alias="mentionedEmailAddresses")
|
|
358
|
+
assignee_email_address: Union[str | None, Any] = Field(default=None, alias="assigneeEmailAddress")
|
|
359
|
+
|
|
360
|
+
class CommentsListResponse(BaseModel):
|
|
361
|
+
"""A list of comments on a file"""
|
|
362
|
+
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
363
|
+
|
|
364
|
+
kind: Union[str | None, Any] = Field(default=None)
|
|
365
|
+
next_page_token: Union[str | None, Any] = Field(default=None, alias="nextPageToken")
|
|
366
|
+
comments: Union[list[Comment], Any] = Field(default=None)
|
|
367
|
+
|
|
368
|
+
class RepliesListResponse(BaseModel):
|
|
369
|
+
"""A list of replies to a comment"""
|
|
370
|
+
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
371
|
+
|
|
372
|
+
kind: Union[str | None, Any] = Field(default=None)
|
|
373
|
+
next_page_token: Union[str | None, Any] = Field(default=None, alias="nextPageToken")
|
|
374
|
+
replies: Union[list[Reply], Any] = Field(default=None)
|
|
375
|
+
|
|
376
|
+
class Revision(BaseModel):
|
|
377
|
+
"""The metadata for a revision to a file"""
|
|
378
|
+
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
379
|
+
|
|
380
|
+
kind: Union[str | None, Any] = Field(default=None)
|
|
381
|
+
id: Union[str, Any] = Field(default=None)
|
|
382
|
+
mime_type: Union[str | None, Any] = Field(default=None, alias="mimeType")
|
|
383
|
+
modified_time: Union[str | None, Any] = Field(default=None, alias="modifiedTime")
|
|
384
|
+
keep_forever: Union[bool | None, Any] = Field(default=None, alias="keepForever")
|
|
385
|
+
published: Union[bool | None, Any] = Field(default=None)
|
|
386
|
+
published_link: Union[str | None, Any] = Field(default=None, alias="publishedLink")
|
|
387
|
+
publish_auto: Union[bool | None, Any] = Field(default=None, alias="publishAuto")
|
|
388
|
+
published_outside_domain: Union[bool | None, Any] = Field(default=None, alias="publishedOutsideDomain")
|
|
389
|
+
last_modifying_user: Union[Any, Any] = Field(default=None, alias="lastModifyingUser")
|
|
390
|
+
original_filename: Union[str | None, Any] = Field(default=None, alias="originalFilename")
|
|
391
|
+
md5_checksum: Union[str | None, Any] = Field(default=None, alias="md5Checksum")
|
|
392
|
+
size: Union[str | None, Any] = Field(default=None)
|
|
393
|
+
export_links: Union[dict[str, str] | None, Any] = Field(default=None, alias="exportLinks")
|
|
394
|
+
|
|
395
|
+
class RevisionsListResponse(BaseModel):
|
|
396
|
+
"""A list of revisions of a file"""
|
|
397
|
+
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
398
|
+
|
|
399
|
+
kind: Union[str | None, Any] = Field(default=None)
|
|
400
|
+
next_page_token: Union[str | None, Any] = Field(default=None, alias="nextPageToken")
|
|
401
|
+
revisions: Union[list[Revision], Any] = Field(default=None)
|
|
402
|
+
|
|
403
|
+
class Change(BaseModel):
|
|
404
|
+
"""A change to a file or shared drive"""
|
|
405
|
+
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
406
|
+
|
|
407
|
+
kind: Union[str | None, Any] = Field(default=None)
|
|
408
|
+
removed: Union[bool | None, Any] = Field(default=None)
|
|
409
|
+
file: Union[Any, Any] = Field(default=None)
|
|
410
|
+
file_id: Union[str | None, Any] = Field(default=None, alias="fileId")
|
|
411
|
+
drive_id: Union[str | None, Any] = Field(default=None, alias="driveId")
|
|
412
|
+
drive: Union[Any, Any] = Field(default=None)
|
|
413
|
+
time: Union[str | None, Any] = Field(default=None)
|
|
414
|
+
type: Union[str | None, Any] = Field(default=None)
|
|
415
|
+
change_type: Union[str | None, Any] = Field(default=None, alias="changeType")
|
|
416
|
+
|
|
417
|
+
class ChangesListResponse(BaseModel):
|
|
418
|
+
"""A list of changes for a user"""
|
|
419
|
+
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
420
|
+
|
|
421
|
+
kind: Union[str | None, Any] = Field(default=None)
|
|
422
|
+
next_page_token: Union[str | None, Any] = Field(default=None, alias="nextPageToken")
|
|
423
|
+
new_start_page_token: Union[str | None, Any] = Field(default=None, alias="newStartPageToken")
|
|
424
|
+
changes: Union[list[Change], Any] = Field(default=None)
|
|
425
|
+
|
|
426
|
+
class StartPageToken(BaseModel):
|
|
427
|
+
"""The starting page token for listing changes"""
|
|
428
|
+
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
429
|
+
|
|
430
|
+
kind: Union[str | None, Any] = Field(default=None)
|
|
431
|
+
start_page_token: Union[str, Any] = Field(default=None, alias="startPageToken")
|
|
432
|
+
|
|
433
|
+
class AboutStoragequota(BaseModel):
|
|
434
|
+
"""The user's storage quota limits and usage"""
|
|
435
|
+
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
436
|
+
|
|
437
|
+
limit: Union[str | None, Any] = Field(default=None, description="The usage limit, if applicable")
|
|
438
|
+
"""The usage limit, if applicable"""
|
|
439
|
+
usage: Union[str | None, Any] = Field(default=None, description="The total usage across all services")
|
|
440
|
+
"""The total usage across all services"""
|
|
441
|
+
usage_in_drive: Union[str | None, Any] = Field(default=None, alias="usageInDrive", description="The usage by all files in Google Drive")
|
|
442
|
+
"""The usage by all files in Google Drive"""
|
|
443
|
+
usage_in_drive_trash: Union[str | None, Any] = Field(default=None, alias="usageInDriveTrash", description="The usage by trashed files in Google Drive")
|
|
444
|
+
"""The usage by trashed files in Google Drive"""
|
|
445
|
+
|
|
446
|
+
class AboutTeamdrivethemesItem(BaseModel):
|
|
447
|
+
"""Nested schema for About.teamDriveThemes_item"""
|
|
448
|
+
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
449
|
+
|
|
450
|
+
id: Union[str | None, Any] = Field(default=None)
|
|
451
|
+
background_image_link: Union[str | None, Any] = Field(default=None, alias="backgroundImageLink")
|
|
452
|
+
color_rgb: Union[str | None, Any] = Field(default=None, alias="colorRgb")
|
|
453
|
+
|
|
454
|
+
class AboutDrivethemesItem(BaseModel):
|
|
455
|
+
"""Nested schema for About.driveThemes_item"""
|
|
456
|
+
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
457
|
+
|
|
458
|
+
id: Union[str | None, Any] = Field(default=None)
|
|
459
|
+
background_image_link: Union[str | None, Any] = Field(default=None, alias="backgroundImageLink")
|
|
460
|
+
color_rgb: Union[str | None, Any] = Field(default=None, alias="colorRgb")
|
|
461
|
+
|
|
462
|
+
class About(BaseModel):
|
|
463
|
+
"""Information about the user, the user's Drive, and system capabilities"""
|
|
464
|
+
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
465
|
+
|
|
466
|
+
kind: Union[str | None, Any] = Field(default=None)
|
|
467
|
+
user: Union[Any, Any] = Field(default=None)
|
|
468
|
+
storage_quota: Union[AboutStoragequota | None, Any] = Field(default=None, alias="storageQuota")
|
|
469
|
+
import_formats: Union[dict[str, list[str]] | None, Any] = Field(default=None, alias="importFormats")
|
|
470
|
+
export_formats: Union[dict[str, list[str]] | None, Any] = Field(default=None, alias="exportFormats")
|
|
471
|
+
max_import_sizes: Union[dict[str, str] | None, Any] = Field(default=None, alias="maxImportSizes")
|
|
472
|
+
max_upload_size: Union[str | None, Any] = Field(default=None, alias="maxUploadSize")
|
|
473
|
+
app_installed: Union[bool | None, Any] = Field(default=None, alias="appInstalled")
|
|
474
|
+
folder_color_palette: Union[list[str] | None, Any] = Field(default=None, alias="folderColorPalette")
|
|
475
|
+
drive_themes: Union[list[AboutDrivethemesItem] | None, Any] = Field(default=None, alias="driveThemes")
|
|
476
|
+
can_create_drives: Union[bool | None, Any] = Field(default=None, alias="canCreateDrives")
|
|
477
|
+
can_create_team_drives: Union[bool | None, Any] = Field(default=None, alias="canCreateTeamDrives")
|
|
478
|
+
team_drive_themes: Union[list[AboutTeamdrivethemesItem] | None, Any] = Field(default=None, alias="teamDriveThemes")
|
|
479
|
+
|
|
480
|
+
# ===== METADATA TYPE DEFINITIONS (PYDANTIC) =====
|
|
481
|
+
# Meta types for operations that extract metadata (e.g., pagination info)
|
|
482
|
+
|
|
483
|
+
class FilesListResultMeta(BaseModel):
|
|
484
|
+
"""Metadata for files.Action.LIST operation"""
|
|
485
|
+
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
486
|
+
|
|
487
|
+
next_page_token: Union[str | None, Any] = Field(default=None, alias="nextPageToken")
|
|
488
|
+
incomplete_search: Union[bool | None, Any] = Field(default=None, alias="incompleteSearch")
|
|
489
|
+
|
|
490
|
+
class DrivesListResultMeta(BaseModel):
|
|
491
|
+
"""Metadata for drives.Action.LIST operation"""
|
|
492
|
+
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
493
|
+
|
|
494
|
+
next_page_token: Union[str | None, Any] = Field(default=None, alias="nextPageToken")
|
|
495
|
+
|
|
496
|
+
class PermissionsListResultMeta(BaseModel):
|
|
497
|
+
"""Metadata for permissions.Action.LIST operation"""
|
|
498
|
+
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
499
|
+
|
|
500
|
+
next_page_token: Union[str | None, Any] = Field(default=None, alias="nextPageToken")
|
|
501
|
+
|
|
502
|
+
class CommentsListResultMeta(BaseModel):
|
|
503
|
+
"""Metadata for comments.Action.LIST operation"""
|
|
504
|
+
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
505
|
+
|
|
506
|
+
next_page_token: Union[str | None, Any] = Field(default=None, alias="nextPageToken")
|
|
507
|
+
|
|
508
|
+
class RepliesListResultMeta(BaseModel):
|
|
509
|
+
"""Metadata for replies.Action.LIST operation"""
|
|
510
|
+
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
511
|
+
|
|
512
|
+
next_page_token: Union[str | None, Any] = Field(default=None, alias="nextPageToken")
|
|
513
|
+
|
|
514
|
+
class RevisionsListResultMeta(BaseModel):
|
|
515
|
+
"""Metadata for revisions.Action.LIST operation"""
|
|
516
|
+
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
517
|
+
|
|
518
|
+
next_page_token: Union[str | None, Any] = Field(default=None, alias="nextPageToken")
|
|
519
|
+
|
|
520
|
+
class ChangesListResultMeta(BaseModel):
|
|
521
|
+
"""Metadata for changes.Action.LIST operation"""
|
|
522
|
+
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
523
|
+
|
|
524
|
+
next_page_token: Union[str | None, Any] = Field(default=None, alias="nextPageToken")
|
|
525
|
+
new_start_page_token: Union[str | None, Any] = Field(default=None, alias="newStartPageToken")
|
|
526
|
+
|
|
527
|
+
# ===== RESPONSE ENVELOPE MODELS =====
|
|
528
|
+
|
|
529
|
+
# Type variables for generic envelope models
|
|
530
|
+
T = TypeVar('T')
|
|
531
|
+
S = TypeVar('S')
|
|
532
|
+
|
|
533
|
+
|
|
534
|
+
class GoogleDriveExecuteResult(BaseModel, Generic[T]):
|
|
535
|
+
"""Response envelope with data only.
|
|
536
|
+
|
|
537
|
+
Used for actions that return data without metadata.
|
|
538
|
+
"""
|
|
539
|
+
model_config = ConfigDict(extra="forbid")
|
|
540
|
+
|
|
541
|
+
data: T
|
|
542
|
+
"""Response data containing the result of the action."""
|
|
543
|
+
|
|
544
|
+
|
|
545
|
+
class GoogleDriveExecuteResultWithMeta(GoogleDriveExecuteResult[T], Generic[T, S]):
|
|
546
|
+
"""Response envelope with data and metadata.
|
|
547
|
+
|
|
548
|
+
Used for actions that return both data and metadata (e.g., pagination info).
|
|
549
|
+
"""
|
|
550
|
+
meta: S
|
|
551
|
+
"""Metadata about the response (e.g., pagination cursors, record counts)."""
|
|
552
|
+
|
|
553
|
+
|
|
554
|
+
# ===== OPERATION RESULT TYPE ALIASES =====
|
|
555
|
+
|
|
556
|
+
# Concrete type aliases for each operation result.
|
|
557
|
+
# These provide simpler, more readable type annotations than using the generic forms.
|
|
558
|
+
|
|
559
|
+
FilesListResult = GoogleDriveExecuteResultWithMeta[list[File], FilesListResultMeta]
|
|
560
|
+
"""Result type for files.list operation with data and metadata."""
|
|
561
|
+
|
|
562
|
+
DrivesListResult = GoogleDriveExecuteResultWithMeta[list[Drive], DrivesListResultMeta]
|
|
563
|
+
"""Result type for drives.list operation with data and metadata."""
|
|
564
|
+
|
|
565
|
+
PermissionsListResult = GoogleDriveExecuteResultWithMeta[list[Permission], PermissionsListResultMeta]
|
|
566
|
+
"""Result type for permissions.list operation with data and metadata."""
|
|
567
|
+
|
|
568
|
+
CommentsListResult = GoogleDriveExecuteResultWithMeta[list[Comment], CommentsListResultMeta]
|
|
569
|
+
"""Result type for comments.list operation with data and metadata."""
|
|
570
|
+
|
|
571
|
+
RepliesListResult = GoogleDriveExecuteResultWithMeta[list[Reply], RepliesListResultMeta]
|
|
572
|
+
"""Result type for replies.list operation with data and metadata."""
|
|
573
|
+
|
|
574
|
+
RevisionsListResult = GoogleDriveExecuteResultWithMeta[list[Revision], RevisionsListResultMeta]
|
|
575
|
+
"""Result type for revisions.list operation with data and metadata."""
|
|
576
|
+
|
|
577
|
+
ChangesListResult = GoogleDriveExecuteResultWithMeta[list[Change], ChangesListResultMeta]
|
|
578
|
+
"""Result type for changes.list operation with data and metadata."""
|
|
579
|
+
|