Creates a new file. This method supports an /upload URI and accepts uploaded media with the following characteristics: - Maximum file size: 5,120 GB - Accepted Media MIME types:*/*
Note: Specify a valid MIME type, rather than the literal */*
value. The literal */*
is only used to indicate that any valid MIME type can be uploaded. For more information on uploading files, see Upload file data. Apps creating shortcuts with files.create
must specify the MIME type application/vnd.google-apps.shortcut
. Apps should specify a file extension in the name
property when inserting files with the API. For example, an operation to insert a JPEG file should specify something like "name": "cat.jpg"
in the metadata. Subsequent GET
requests include the read-only fileExtension
property populated with the extension originally specified in the title
property. When a Google Drive user requests to download a file, or when the file is downloaded through the sync client, Drive builds a full filename (with extension) based on the title. In cases where the extension is missing, Drive attempts to determine the extension based on the file's MIME type.
Scopes
You will need authorization for at least one of the following scopes to make a valid call:
- https://www.googleapis.com/auth/drive
- https://www.googleapis.com/auth/drive.appdata
- https://www.googleapis.com/auth/drive.file
If unset, the scope for this method defaults to https://www.googleapis.com/auth/drive.
You can set the scope for this method like this: drive3 --scope <scope> files create ...
Required Request Value
The request value is a data-structure with various fields. Each field may be a simple scalar or another data-structure. In the latter case it is advised to set the field-cursor to the data-structure's field to specify values more concisely.
For example, a structure like this:
File:
app-properties: { string: string }
capabilities:
can-accept-ownership: boolean
can-add-children: boolean
can-add-folder-from-another-drive: boolean
can-add-my-drive-parent: boolean
can-change-copy-requires-writer-permission: boolean
can-change-security-update-enabled: boolean
can-change-viewers-can-copy-content: boolean
can-comment: boolean
can-copy: boolean
can-delete: boolean
can-delete-children: boolean
can-download: boolean
can-edit: boolean
can-list-children: boolean
can-modify-content: boolean
can-modify-content-restriction: boolean
can-modify-editor-content-restriction: boolean
can-modify-labels: boolean
can-modify-owner-content-restriction: boolean
can-move-children-out-of-drive: boolean
can-move-children-out-of-team-drive: boolean
can-move-children-within-drive: boolean
can-move-children-within-team-drive: boolean
can-move-item-into-team-drive: boolean
can-move-item-out-of-drive: boolean
can-move-item-out-of-team-drive: boolean
can-move-item-within-drive: boolean
can-move-item-within-team-drive: boolean
can-move-team-drive-item: boolean
can-read-drive: boolean
can-read-labels: boolean
can-read-revisions: boolean
can-read-team-drive: boolean
can-remove-children: boolean
can-remove-content-restriction: boolean
can-remove-my-drive-parent: boolean
can-rename: boolean
can-share: boolean
can-trash: boolean
can-trash-children: boolean
can-untrash: boolean
content-hints:
indexable-text: string
thumbnail:
image: string
mime-type: string
copy-requires-writer-permission: boolean
created-time: string
description: string
drive-id: string
explicitly-trashed: boolean
export-links: { string: string }
file-extension: string
folder-color-rgb: string
full-file-extension: string
has-augmented-permissions: boolean
has-thumbnail: boolean
head-revision-id: string
icon-link: string
id: string
image-media-metadata:
aperture: number
camera-make: string
camera-model: string
color-space: string
exposure-bias: number
exposure-mode: string
exposure-time: number
flash-used: boolean
focal-length: number
height: integer
iso-speed: integer
lens: string
location:
altitude: number
latitude: number
longitude: number
max-aperture-value: number
metering-mode: string
rotation: integer
sensor: string
subject-distance: integer
time: string
white-balance: string
width: integer
is-app-authorized: boolean
kind: string
last-modifying-user:
display-name: string
email-address: string
kind: string
me: boolean
permission-id: string
photo-link: string
link-share-metadata:
security-update-eligible: boolean
security-update-enabled: boolean
md5-checksum: string
mime-type: string
modified-by-me: boolean
modified-by-me-time: string
modified-time: string
name: string
original-filename: string
owned-by-me: boolean
parents: [string]
permission-ids: [string]
properties: { string: string }
quota-bytes-used: string
resource-key: string
sha1-checksum: string
sha256-checksum: string
shared: boolean
shared-with-me-time: string
sharing-user:
display-name: string
email-address: string
kind: string
me: boolean
permission-id: string
photo-link: string
shortcut-details:
target-id: string
target-mime-type: string
target-resource-key: string
size: string
spaces: [string]
starred: boolean
team-drive-id: string
thumbnail-link: string
thumbnail-version: string
trashed: boolean
trashed-time: string
trashing-user:
display-name: string
email-address: string
kind: string
me: boolean
permission-id: string
photo-link: string
version: string
video-media-metadata:
duration-millis: string
height: integer
width: integer
viewed-by-me: boolean
viewed-by-me-time: string
viewers-can-copy-content: boolean
web-content-link: string
web-view-link: string
writers-can-share: boolean
can be set completely with the following arguments which are assumed to be executed in the given order. Note how the cursor position is adjusted to the respective structures, allowing simple field names to be used most of the time.
-r . app-properties=key=ipsum
- A collection of arbitrary key-value pairs which are private to the requesting app. Entries with null values are cleared in update and copy requests. These properties can only be retrieved using an authenticated request. An authenticated request uses an access token obtained with a OAuth 2 client ID. You cannot use an API key to retrieve private properties.
- the value will be associated with the given
key
capabilities can-accept-ownership=true
- Output only. Whether the current user is the pending owner of the file. Not populated for shared drive files.
can-add-children=false
- Output only. Whether the current user can add children to this folder. This is always false when the item is not a folder.
can-add-folder-from-another-drive=false
- Output only. Whether the current user can add a folder from another drive (different shared drive or My Drive) to this folder. This is false when the item is not a folder. Only populated for items in shared drives.
can-add-my-drive-parent=false
- Output only. Whether the current user can add a parent for the item without removing an existing parent in the same request. Not populated for shared drive files.
can-change-copy-requires-writer-permission=true
- Output only. Whether the current user can change the
copyRequiresWriterPermission
restriction of this file.
- Output only. Whether the current user can change the
can-change-security-update-enabled=false
- Output only. Whether the current user can change the securityUpdateEnabled field on link share metadata.
can-change-viewers-can-copy-content=false
- Deprecated: Output only.
can-comment=false
- Output only. Whether the current user can comment on this file.
can-copy=true
- Output only. Whether the current user can copy this file. For an item in a shared drive, whether the current user can copy non-folder descendants of this item, or this item itself if it is not a folder.
can-delete=false
- Output only. Whether the current user can delete this file.
can-delete-children=false
- Output only. Whether the current user can delete children of this folder. This is false when the item is not a folder. Only populated for items in shared drives.
can-download=false
- Output only. Whether the current user can download this file.
can-edit=false
- Output only. Whether the current user can edit this file. Other factors may limit the type of changes a user can make to a file. For example, see
canChangeCopyRequiresWriterPermission
orcanModifyContent
.
- Output only. Whether the current user can edit this file. Other factors may limit the type of changes a user can make to a file. For example, see
can-list-children=true
- Output only. Whether the current user can list the children of this folder. This is always false when the item is not a folder.
can-modify-content=false
- Output only. Whether the current user can modify the content of this file.
can-modify-content-restriction=true
- Deprecated: Output only. Use one of
canModifyEditorContentRestriction
,canModifyOwnerContentRestriction
orcanRemoveContentRestriction
.
- Deprecated: Output only. Use one of
can-modify-editor-content-restriction=true
- Output only. Whether the current user can add or modify content restrictions on the file which are editor restricted.
can-modify-labels=false
- Output only. Whether the current user can modify the labels on the file.
can-modify-owner-content-restriction=true
- Output only. Whether the current user can add or modify content restrictions which are owner restricted.
can-move-children-out-of-drive=true
- Output only. Whether the current user can move children of this folder outside of the shared drive. This is false when the item is not a folder. Only populated for items in shared drives.
can-move-children-out-of-team-drive=false
- Deprecated: Output only. Use
canMoveChildrenOutOfDrive
instead.
- Deprecated: Output only. Use
can-move-children-within-drive=true
- Output only. Whether the current user can move children of this folder within this drive. This is false when the item is not a folder. Note that a request to move the child may still fail depending on the current user's access to the child and to the destination folder.
can-move-children-within-team-drive=true
- Deprecated: Output only. Use
canMoveChildrenWithinDrive
instead.
- Deprecated: Output only. Use
can-move-item-into-team-drive=true
- Deprecated: Output only. Use
canMoveItemOutOfDrive
instead.
- Deprecated: Output only. Use
can-move-item-out-of-drive=false
- Output only. Whether the current user can move this item outside of this drive by changing its parent. Note that a request to change the parent of the item may still fail depending on the new parent that is being added.
can-move-item-out-of-team-drive=true
- Deprecated: Output only. Use
canMoveItemOutOfDrive
instead.
- Deprecated: Output only. Use
can-move-item-within-drive=true
- Output only. Whether the current user can move this item within this drive. Note that a request to change the parent of the item may still fail depending on the new parent that is being added and the parent that is being removed.
can-move-item-within-team-drive=false
- Deprecated: Output only. Use
canMoveItemWithinDrive
instead.
- Deprecated: Output only. Use
can-move-team-drive-item=false
- Deprecated: Output only. Use
canMoveItemWithinDrive
orcanMoveItemOutOfDrive
instead.
- Deprecated: Output only. Use
can-read-drive=false
- Output only. Whether the current user can read the shared drive to which this file belongs. Only populated for items in shared drives.
can-read-labels=false
- Output only. Whether the current user can read the labels on the file.
can-read-revisions=true
- Output only. Whether the current user can read the revisions resource of this file. For a shared drive item, whether revisions of non-folder descendants of this item, or this item itself if it is not a folder, can be read.
can-read-team-drive=true
- Deprecated: Output only. Use
canReadDrive
instead.
- Deprecated: Output only. Use
can-remove-children=false
- Output only. Whether the current user can remove children from this folder. This is always false when the item is not a folder. For a folder in a shared drive, use
canDeleteChildren
orcanTrashChildren
instead.
- Output only. Whether the current user can remove children from this folder. This is always false when the item is not a folder. For a folder in a shared drive, use
can-remove-content-restriction=true
- Output only. Whether there is a content restriction on the file that can be removed by the current user.
can-remove-my-drive-parent=false
- Output only. Whether the current user can remove a parent from the item without adding another parent in the same request. Not populated for shared drive files.
can-rename=false
- Output only. Whether the current user can rename this file.
can-share=true
- Output only. Whether the current user can modify the sharing settings for this file.
can-trash=true
- Output only. Whether the current user can move this file to trash.
can-trash-children=false
- Output only. Whether the current user can trash children of this folder. This is false when the item is not a folder. Only populated for items in shared drives.
-
can-untrash=true
- Output only. Whether the current user can restore this file from trash.
-
..content-hints indexable-text=eos
- Text to be indexed for the file to improve fullText queries. This is limited to 128KB in length and may contain HTML elements.
thumbnail image=dolore
- The thumbnail data encoded with URL-safe Base64 (RFC 4648 section 5).
-
mime-type=accusam
- The MIME type of the thumbnail.
-
... copy-requires-writer-permission=true
- Whether the options to copy, print, or download this file, should be disabled for readers and commenters.
created-time=sed
- The time at which the file was created (RFC 3339 date-time).
description=labore
- A short description of the file.
drive-id=et
- Output only. ID of the shared drive the file resides in. Only populated for items in shared drives.
explicitly-trashed=false
- Output only. Whether the file has been explicitly trashed, as opposed to recursively trashed from a parent folder.
export-links=key=sed
- Output only. Links for exporting Docs Editors files to specific formats.
- the value will be associated with the given
key
file-extension=at
- Output only. The final component of
fullFileExtension
. This is only available for files with binary content in Google Drive.
- Output only. The final component of
folder-color-rgb=stet
- The color for a folder or a shortcut to a folder as an RGB hex string. The supported colors are published in the
folderColorPalette
field of the About resource. If an unsupported color is specified, the closest color in the palette is used instead.
- The color for a folder or a shortcut to a folder as an RGB hex string. The supported colors are published in the
full-file-extension=sit
- Output only. The full file extension extracted from the
name
field. May contain multiple concatenated extensions, such as "tar.gz". This is only available for files with binary content in Google Drive. This is automatically updated when thename
field changes, however it is not cleared if the new name does not contain a valid extension.
- Output only. The full file extension extracted from the
has-augmented-permissions=true
- Output only. Whether there are permissions directly on this file. This field is only populated for items in shared drives.
has-thumbnail=true
- Output only. Whether this file has a thumbnail. This does not indicate whether the requesting app has access to the thumbnail. To check access, look for the presence of the thumbnailLink field.
head-revision-id=amet
- Output only. The ID of the file's head revision. This is currently only available for files with binary content in Google Drive.
icon-link=magna
- Output only. A static, unauthenticated link to the file's icon.
id=magna
- The ID of the file.
image-media-metadata aperture=0.1076976450388556
- Output only. The aperture used to create the photo (f-number).
camera-make=et
- Output only. The make of the camera used to create the photo.
camera-model=dolor
- Output only. The model of the camera used to create the photo.
color-space=erat
- Output only. The color space of the photo.
exposure-bias=0.13583098501970858
- Output only. The exposure bias of the photo (APEX value).
exposure-mode=ea
- Output only. The exposure mode used to create the photo.
exposure-time=0.8228831907011258
- Output only. The length of the exposure, in seconds.
flash-used=true
- Output only. Whether a flash was used to create the photo.
focal-length=0.4842987830849398
- Output only. The focal length used to create the photo, in millimeters.
height=8
- Output only. The height of the image in pixels.
iso-speed=47
- Output only. The ISO speed used to create the photo.
lens=et
- Output only. The lens used to create the photo.
location altitude=0.2158536848686471
- Output only. The altitude stored in the image.
latitude=0.8242930367595328
- Output only. The latitude stored in the image.
-
longitude=0.8778904115580979
- Output only. The longitude stored in the image.
-
.. max-aperture-value=0.26872582587862837
- Output only. The smallest f-number of the lens at the focal length used to create the photo (APEX value).
metering-mode=aliquyam
- Output only. The metering mode used to create the photo.
rotation=10
- Output only. The number of clockwise 90 degree rotations applied from the image's original orientation.
sensor=stet
- Output only. The type of sensor used to create the photo.
subject-distance=35
- Output only. The distance to the subject of the photo, in meters.
time=eirmod
- Output only. The date and time the photo was taken (EXIF DateTime).
white-balance=dolores
- Output only. The white balance mode used to create the photo.
-
width=19
- Output only. The width of the image in pixels.
-
.. is-app-authorized=false
- Output only. Whether the file was created or opened by the requesting app.
kind=dolor
- Output only. Identifies what kind of resource this is. Value: the fixed string
"drive#file"
.
- Output only. Identifies what kind of resource this is. Value: the fixed string
last-modifying-user display-name=eos
- Output only. A plain text displayable name for this user.
email-address=magna
- Output only. The email address of the user. This may not be present in certain contexts if the user has not made their email address visible to the requester.
kind=no
- Output only. Identifies what kind of resource this is. Value: the fixed string
"drive#user"
.
- Output only. Identifies what kind of resource this is. Value: the fixed string
me=false
- Output only. Whether this user is the requesting user.
permission-id=aliquyam
- Output only. The user's ID as visible in Permission resources.
-
photo-link=consetetur
- Output only. A link to the user's profile photo, if available.
-
..link-share-metadata security-update-eligible=false
- Output only. Whether the file is eligible for security update.
-
security-update-enabled=false
- Output only. Whether the security update is enabled for this file.
-
.. md5-checksum=justo
- Output only. The MD5 checksum for the content of the file. This is only applicable to files with binary content in Google Drive.
mime-type=lorem
- The MIME type of the file. Google Drive attempts to automatically detect an appropriate value from uploaded content, if no value is provided. The value cannot be changed unless a new revision is uploaded. If a file is created with a Google Doc MIME type, the uploaded content is imported, if possible. The supported import formats are published in the About resource.
modified-by-me=false
- Output only. Whether the file has been modified by this user.
modified-by-me-time=gubergren
- The last time the file was modified by the user (RFC 3339 date-time).
modified-time=vero
- he last time the file was modified by anyone (RFC 3339 date-time). Note that setting modifiedTime will also update modifiedByMeTime for the user.
name=ea
- The name of the file. This is not necessarily unique within a folder. Note that for immutable items such as the top level folders of shared drives, My Drive root folder, and Application Data folder the name is constant.
original-filename=sed
- The original filename of the uploaded content if available, or else the original value of the
name
field. This is only available for files with binary content in Google Drive.
- The original filename of the uploaded content if available, or else the original value of the
owned-by-me=true
- Output only. Whether the user owns the file. Not populated for items in shared drives.
parents=et
- The IDs of the parent folders which contain the file. If not specified as part of a create request, the file is placed directly in the user's My Drive folder. If not specified as part of a copy request, the file inherits any discoverable parents of the source file. Update requests must use the
addParents
andremoveParents
parameters to modify the parents list. - Each invocation of this argument appends the given value to the array.
- The IDs of the parent folders which contain the file. If not specified as part of a create request, the file is placed directly in the user's My Drive folder. If not specified as part of a copy request, the file inherits any discoverable parents of the source file. Update requests must use the
permission-ids=dolore
- Output only. List of permission IDs for users with access to this file.
- Each invocation of this argument appends the given value to the array.
properties=key=voluptua.
- A collection of arbitrary key-value pairs which are visible to all apps. Entries with null values are cleared in update and copy requests.
- the value will be associated with the given
key
quota-bytes-used=sit
- Output only. The number of storage quota bytes used by the file. This includes the head revision as well as previous revisions with
keepForever
enabled.
- Output only. The number of storage quota bytes used by the file. This includes the head revision as well as previous revisions with
resource-key=sanctus
- Output only. A key needed to access the item via a shared link.
sha1-checksum=ipsum
- Output only. The SHA1 checksum associated with this file, if available. This field is only populated for files with content stored in Google Drive; it is not populated for Docs Editors or shortcut files.
sha256-checksum=eirmod
- Output only. The SHA256 checksum associated with this file, if available. This field is only populated for files with content stored in Google Drive; it is not populated for Docs Editors or shortcut files.
shared=false
- Output only. Whether the file has been shared. Not populated for items in shared drives.
shared-with-me-time=voluptua.
- The time at which the file was shared with the user, if applicable (RFC 3339 date-time).
sharing-user display-name=sea
- Output only. A plain text displayable name for this user.
email-address=ipsum
- Output only. The email address of the user. This may not be present in certain contexts if the user has not made their email address visible to the requester.
kind=sea
- Output only. Identifies what kind of resource this is. Value: the fixed string
"drive#user"
.
- Output only. Identifies what kind of resource this is. Value: the fixed string
me=false
- Output only. Whether this user is the requesting user.
permission-id=gubergren
- Output only. The user's ID as visible in Permission resources.
-
photo-link=dolore
- Output only. A link to the user's profile photo, if available.
-
..shortcut-details target-id=ea
- The ID of the file that this shortcut points to.
target-mime-type=elitr
- Output only. The MIME type of the file that this shortcut points to. The value of this field is a snapshot of the target's MIME type, captured when the shortcut is created.
-
target-resource-key=takimata
- Output only. The ResourceKey for the target file.
-
.. size=duo
- Output only. Size in bytes of blobs and first party editor files. Won't be populated for files that have no size, like shortcuts and folders.
spaces=tempor
- Output only. The list of spaces which contain the file. The currently supported values are 'drive', 'appDataFolder' and 'photos'.
- Each invocation of this argument appends the given value to the array.
starred=true
- Whether the user has starred the file.
team-drive-id=sed
- Deprecated: Output only. Use
driveId
instead.
- Deprecated: Output only. Use
thumbnail-link=no
- Output only. A short-lived link to the file's thumbnail, if available. Typically lasts on the order of hours. Only populated when the requesting app can access the file's content. If the file isn't shared publicly, the URL returned in
Files.thumbnailLink
must be fetched using a credentialed request.
- Output only. A short-lived link to the file's thumbnail, if available. Typically lasts on the order of hours. Only populated when the requesting app can access the file's content. If the file isn't shared publicly, the URL returned in
thumbnail-version=stet
- Output only. The thumbnail version for use in thumbnail cache invalidation.
trashed=true
- Whether the file has been trashed, either explicitly or from a trashed parent folder. Only the owner may trash a file, and other users cannot see files in the owner's trash.
trashed-time=clita
- The time that the item was trashed (RFC 3339 date-time). Only populated for items in shared drives.
trashing-user display-name=consetetur
- Output only. A plain text displayable name for this user.
email-address=dolores
- Output only. The email address of the user. This may not be present in certain contexts if the user has not made their email address visible to the requester.
kind=sit
- Output only. Identifies what kind of resource this is. Value: the fixed string
"drive#user"
.
- Output only. Identifies what kind of resource this is. Value: the fixed string
me=true
- Output only. Whether this user is the requesting user.
permission-id=sanctus
- Output only. The user's ID as visible in Permission resources.
-
photo-link=kasd
- Output only. A link to the user's profile photo, if available.
-
.. version=eirmod
- Output only. A monotonically increasing version number for the file. This reflects every change made to the file on the server, even those not visible to the user.
video-media-metadata duration-millis=dolores
- Output only. The duration of the video in milliseconds.
height=69
- Output only. The height of the video in pixels.
-
width=97
- Output only. The width of the video in pixels.
-
.. viewed-by-me=true
- Output only. Whether the file has been viewed by this user.
viewed-by-me-time=magna
- The last time the file was viewed by the user (RFC 3339 date-time).
viewers-can-copy-content=true
- Deprecated: Use
copyRequiresWriterPermission
instead.
- Deprecated: Use
web-content-link=amet
- Output only. A link for downloading the content of the file in a browser. This is only available for files with binary content in Google Drive.
web-view-link=sea
- Output only. A link for opening the file in a relevant Google editor or viewer in a browser.
writers-can-share=false
- Whether users with only
writer
permission can modify the file's permissions. Not populated for items in shared drives.
- Whether users with only
About Cursors
The cursor position is key to comfortably set complex nested structures. The following rules apply:
- The cursor position is always set relative to the current one, unless the field name starts with the
.
character. Fields can be nested such as in-r f.s.o
. - The cursor position is set relative to the top-level structure if it starts with
.
, e.g.-r .s.s
- You can also set nested fields without setting the cursor explicitly. For example, to set a value relative to the current cursor position, you would specify
-r struct.sub_struct=bar
. - You can move the cursor one level up by using
..
. Each additional.
moves it up one additional level. E.g....
would go three levels up.
Required Upload Flags
This method supports the upload of data, which requires all of the following flags to be set:
- -u simple
- simple - Upload media all at once.
- -f file
- Path to file to upload. It must be seekable.
The following flag may be set:
- -m mime
- the mime type, like 'application/octet-stream', which is the default
Optional Output Flags
The method's return value a JSON encoded structure, which will be written to standard output by default.
- -o out
- out specifies the destination to which to write the server's result to.
It will be a JSON-encoded structure.
The destination may be
-
to indicate standard output, or a filepath that is to contain the received bytes. If unset, it defaults to standard output.
- out specifies the destination to which to write the server's result to.
It will be a JSON-encoded structure.
The destination may be
Optional Method Properties
You may set the following properties to further configure the call. Please note that -p
is followed by one
or more key-value-pairs, and is called like this -p k1=v1 k2=v2
even though the listing below repeats the
-p
for completeness.
-
-p enforce-single-parent=boolean
- Deprecated. Creating files in multiple folders is no longer supported.
-
-p ignore-default-visibility=boolean
- Whether to ignore the domain's default visibility settings for the created file. Domain administrators can choose to make all uploaded files visible to the domain by default; this parameter bypasses that behavior for the request. Permissions are still inherited from parent folders.
-
-p include-labels=string
- A comma-separated list of IDs of labels to include in the
labelInfo
part of the response.
- A comma-separated list of IDs of labels to include in the
-
-p include-permissions-for-view=string
- Specifies which additional view's permissions to include in the response. Only 'published' is supported.
-
-p keep-revision-forever=boolean
- Whether to set the 'keepForever' field in the new head revision. This is only applicable to files with binary content in Google Drive. Only 200 revisions for the file can be kept forever. If the limit is reached, try deleting pinned revisions.
-
-p ocr-language=string
- A language hint for OCR processing during image import (ISO 639-1 code).
-
-p supports-all-drives=boolean
- Whether the requesting application supports both My Drives and shared drives.
-
-p supports-team-drives=boolean
- Deprecated: Use
supportsAllDrives
instead.
- Deprecated: Use
-
-p use-content-as-indexable-text=boolean
- Whether to use the uploaded content as indexable text.
Optional General Properties
The following properties can configure any call, and are not specific to this method.
-
-p $-xgafv=string
- V1 error format.
-
-p access-token=string
- OAuth access token.
-
-p alt=string
- Data format for response.
-
-p callback=string
- JSONP
-
-p fields=string
- Selector specifying which fields to include in a partial response.
-
-p key=string
- API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
-
-p oauth-token=string
- OAuth 2.0 token for the current user.
-
-p pretty-print=boolean
- Returns response with indentations and line breaks.
-
-p quota-user=string
- Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
-
-p upload-type=string
- Legacy upload protocol for media (e.g. "media", "multipart").
-
-p upload-protocol=string
- Upload protocol for media (e.g. "raw", "multipart").