Google Drive Connector 1.0 Reference

Configurations

Name Type Description Default Value Required

Name

String

The name for this configuration. Connectors reference the configuration with this name.

x

Connection

The connection types to provide to this configuration.

x

Response Timeout

Number

The timeout for requests to the remote service.

1

Response Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Response Timeout field.

MINUTES

Streaming Type

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Specifies how the connector streams request content to the remote service:

  • AUTO (default)

    Connector automatically uses the best streaming strategy based on the request content.

  • ALWAYS

    Connector always streams the request content.

  • NEVER

    Connector does not stream the request content.

AUTO

Name

String

The identifier of this element used to reference it in other components

x

Expiration Policy

Configures the minimum amount of time that a dynamic configuration instance can remain idle before Mule considers it eligible for expiration. This does not mean that the platform expires the instance at the exact moment that it becomes eligible. Mule purges the instances as appropriate.

Connection Types

Oauth2 Connection Provider

Uses access tokens provided by the authorization server to get access to protected data.

Name Type Description Default Value Required

Default Headers

Array of Default Header

Query Parameters

Connection Timeout

Number

Timeout for establishing connections to the remote service.

30

Connection Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Connection Timeout field.

SECONDS

Use Persistent Connections

Boolean

If false, each connection is closed after the first request is completed.

true

Max Connections

Number

Maximum number of outbound connections to keep open concurrently.

-1

Connection Idle Timeout

Number

Timeout for how long a connection can remain idle before it is closed.

30

Connection Idle Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Connection Idle Timeout field.

SECONDS

Proxy Config

Reusable configuration element for outbound connections through a proxy.

Stream Response

Boolean

Whether or not to stream received responses.

false

Response Buffer Size

Number

Space, in bytes, for the buffer where the HTTP response will be stored.

-1

Access_type

String

Indicates whether your application can refresh access tokens when the user is not present at the browser. Valid parameter values are online, which is the default value, and offline.

offline

Prompt

String

A space-delimited, case-sensitive list of prompts to present the user. If you don’t specify this parameter, the user is prompted only the first time your project requests access.

consent

Base Uri

String

Parameter base URI. Each instance or tenant gets its own base URI.

https://www.googleapis.com/drive/v3

Protocol

Enumeration, one of:

  • HTTP

  • HTTPS

Protocol to use for communication. Valid values are HTTP and HTTPS.

HTTP

TLS Configuration

Tls

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

Consumer Key

String

The OAuth consumer key, as registered with the service provider.

x

Consumer Secret

String

The OAuth consumer secret, as registered with the service provider

x

Authorization Url

String

The service provider’s authorization endpoint URL.

https://accounts.google.com/o/oauth2/auth

Access Token Url

String

The service provider’s access token endpoint URL.

https://accounts.google.com/o/oauth2/token

Scopes

String

The OAuth scopes to request during the OAuth dance. If not provided, it defaults to the scopes in the annotation.

  • https://www.googleapis.com/auth/drive

  • https://www.googleapis.com/auth/drive.appdata

  • https://www.googleapis.com/auth/drive.file

  • https://www.googleapis.com/auth/drive.metadata

  • https://www.googleapis.com/auth/drive.metadata.readonly

  • https://www.googleapis.com/auth/drive.photos.readonly

  • https://www.googleapis.com/auth/drive.readonly

  • https://www.googleapis.com/auth/drive.scripts

Resource Owner Id

String

The resource owner ID for each component to use if it is not otherwise referenced.

Before

String

Name of the flow to execute immediately before starting the OAuth dance.

After

String

Name of the flow to execute immediately after an access token is received.

Listener Config

String

References the HTTP configuration used to create the listener that receives the access token callback endpoint.

x

Callback Path

String

Path of the access token callback endpoint.

x

Authorize Path

String

Path of the local HTTP endpoint that triggers the OAuth dance.

x

External Callback Url

String

URL that the OAuth provider uses to access the callback endpoint if the endpoint is behind a proxy or accessed through an indirect URL.

Object Store

String

A reference to the object store to use to store each resource owner ID’s data. If not specified, Mule uses the default object store.

On New File Trigger

<google-drive:on-new-file-trigger>

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

Created

String

Datetime value as lower bound for a new file, for example 2020-06-30T12:41:53Z.

Fields

String

Comma-separated list of field names to retrieve. By default, id, createdTime, kind, name, mimeType are returned.

Config Ref

ConfigurationProvider

The name of the configuration to use to execute this component

x

Primary Node Only

Boolean

Whether this source should only be executed on the primary node when running in a cluster.

Scheduling Strategy

scheduling-strategy

Configures the scheduler that triggers the polling.

x

Streaming Strategy

Configures how Mule processes streams. The default is to use repeatable streams.

Redelivery Policy

Defines a policy for processing the redelivery of the same message.

Reconnection Strategy

A retry strategy in case of connectivity errors.

Output

Type

Any

Attributes Type

For Configurations

On New Folder Trigger

<google-drive:on-new-folder-trigger>

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

Created

String

Datetime value as lower bound for a new file, for example 2020-06-30T12:41:53Z.

Fields

String

Comma-separated list of field names to be retrieved. By default, id, createdTime, kind, name, mimeType are returned.

Config Ref

ConfigurationProvider

The name of the configuration to use to execute this component

x

Primary Node Only

Boolean

Whether this source should only be executed on the primary node when running in a cluster.

Scheduling Strategy

scheduling-strategy

Configures the scheduler that triggers the polling

x

Streaming Strategy

Configures how Mule processes streams. The default is to use repeatable streams.

Redelivery Policy

Defines a policy for processing the redelivery of the same message.

Reconnection Strategy

A retry strategy in case of connectivity errors.

Output

Type

Any

Attributes Type

For Configurations

Operations

Create changes watch

<google-drive:create-changes-watch>

Subscribes to changes for a user. This operation makes an HTTP POST request to the /changes/watch endpoint.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

Include Items From All Drives

Boolean

Whether to include both My Drive and shared drive items in results.

false

Supports All Drives

Boolean

Whether the requesting application supports both My Drives and shared drives.

false

Page Size

Number

Maximum number of changes to return per page.

Pretty Print

Boolean

Returns the response with indentations and line breaks.

false

Include Team Drive Items

Boolean

Deprecated. Use includeItemsFromAllDrives instead.

false

Page Token

String

Token for continuing a previous list request on the next page. This should be set to the value of nextPageToken from the previous response or to the response from the getStartPageToken method.

x

Quota User

String

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

key

String

API key that identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

Team Drive Id

String

Deprecated. Use driveId instead.

User Ip

String

Deprecated. Use quotaUser instead.

Oauth token

String

OAuth 2.0 token for the current user.

Include Permissions For View

String

Specifies which additional view’s permissions to include in the response. Only published is supported.

alt

Enumeration, one of:

  • JSON

Data format for the response.

fields

String

Selector specifying which fields to include in a partial response.

Restrict To My Drive

Boolean

Whether to restrict the results to changes inside the My Drive hierarchy. This omits changes to files such as those in the Application Data folder or shared files that have not been added to My Drive.

false

Drive Id

String

The shared drive from which changes are returned. If specified, the change IDs will be reflective of the shared drive; use the combined drive ID and change ID as an identifier.

Include Corpus Removals

Boolean

Whether changes should include the file resource if the file is still accessible by the user at the time of the request, even when a file was removed from the list of changes and there will be no further change entries for this file.

false

Supports Team Drives

Boolean

Deprecated. Use supportsAllDrives instead.

false

Include Removed

Boolean

Whether to include changes indicating that items have been removed from the list of changes, for example by deletion or loss of access.

false

spaces

String

A comma-separated list of spaces to query within the user corpus. Supported values are drive, appDataFolder, and photos.

Body

Any

The content to use.

#[payload]

Config Ref

ConfigurationProvider

The name of the configuration to use to execute this component

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Custom Query Parameters

Object

Custom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.

Custom Headers

Object

Custom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.

Response Timeout

Number

The timeout for requests to the remote service.

Response Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Response Timeout field.

Streaming Type

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Specifies how the connector streams request content to the remote service:

  • AUTO (default)

    Connector automatically uses the best streaming strategy based on the request content.

  • ALWAYS

    Connector always streams the request content.

  • NEVER

    Connector does not stream the request content.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

Output

Type

Any

Attributes Type

For Configurations

Throws

  • GOOGLE-DRIVE:BAD_REQUEST

  • GOOGLE-DRIVE:CLIENT_ERROR

  • GOOGLE-DRIVE:CONNECTIVITY

  • GOOGLE-DRIVE:INTERNAL_SERVER_ERROR

  • GOOGLE-DRIVE:NOT_ACCEPTABLE

  • GOOGLE-DRIVE:NOT_FOUND

  • GOOGLE-DRIVE:RETRY_EXHAUSTED

  • GOOGLE-DRIVE:SERVER_ERROR

  • GOOGLE-DRIVE:SERVICE_UNAVAILABLE

  • GOOGLE-DRIVE:TIMEOUT

  • GOOGLE-DRIVE:TOO_MANY_REQUESTS

  • GOOGLE-DRIVE:UNAUTHORIZED

  • GOOGLE-DRIVE:UNSUPPORTED_MEDIA_TYPE

Create channels stop

<google-drive:create-channels-stop>

Stop watching resources through this channel. This operation makes an HTTP POST request to the /channels/stop endpoint.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

Pretty Print

Boolean

Returns the response with indentations and line breaks.

false

Quota User

String

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

key

String

API key that identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

User Ip

String

Deprecated. Use quotaUser instead.

Oauth token

String

OAuth 2.0 token for the current user.

alt

Enumeration, one of:

  • JSON

Data format for the response.

fields

String

Selector specifying which fields to include in a partial response.

Body

Any

Content to use

#[payload]

Config Ref

ConfigurationProvider

The name of the configuration to use to execute this component

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Custom Query Parameters

Object

Custom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.

Custom Headers

Object

Custom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.

Response Timeout

Number

The timeout for requests to the remote service.

Response Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Response Timeout field.

Streaming Type

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Specifies how the connector streams request content to the remote service:

  • AUTO (default)

    Connector automatically uses the best streaming strategy based on the request content.

  • ALWAYS

    Connector always streams the request content.

  • NEVER

    Connector does not stream the request content.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

Output

Type

Any

Attributes Type

For Configurations

Throws

  • GOOGLE-DRIVE:BAD_REQUEST

  • GOOGLE-DRIVE:CLIENT_ERROR

  • GOOGLE-DRIVE:CONNECTIVITY

  • GOOGLE-DRIVE:INTERNAL_SERVER_ERROR

  • GOOGLE-DRIVE:NOT_ACCEPTABLE

  • GOOGLE-DRIVE:NOT_FOUND

  • GOOGLE-DRIVE:RETRY_EXHAUSTED

  • GOOGLE-DRIVE:SERVER_ERROR

  • GOOGLE-DRIVE:SERVICE_UNAVAILABLE

  • GOOGLE-DRIVE:TIMEOUT

  • GOOGLE-DRIVE:TOO_MANY_REQUESTS

  • GOOGLE-DRIVE:UNAUTHORIZED

  • GOOGLE-DRIVE:UNSUPPORTED_MEDIA_TYPE

Create drives

<google-drive:create-drives>

Creates a new shared drive. This operation makes an HTTP POST request to the /drives endpoint.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

Pretty Print

Boolean

Returns the response with indentations and line breaks.

false

Quota User

String

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

key

String

API key that identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

User Ip

String

Deprecated. Use quotaUser instead.

Oauth token

String

OAuth 2.0 token for the current user.

alt

Enumeration, one of:

  • JSON

Data format for the response.

fields

String

Selector specifying which fields to include in a partial response.

Request Id

String

An ID, such as a random UUID, that uniquely identifies this user’s request for idempotent creation of a shared drive. A repeated request by the same user with the same request ID will avoid creating duplicates by attempting to create the same shared drive. If the shared drive already exists a 409 error is returned.

x

Body

Any

Content to use

#[payload]

Config Ref

ConfigurationProvider

The name of the configuration to use to execute this component

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Custom Query Parameters

Object

Custom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.

Custom Headers

Object

Custom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.

Response Timeout

Number

The timeout for requests to the remote service.

Response Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Response Timeout field.

Streaming Type

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Specifies how the connector streams request content to the remote service:

  • AUTO (default)

    Connector automatically uses the best streaming strategy based on the request content.

  • ALWAYS

    Connector always streams the request content.

  • NEVER

    Connector does not stream the request content.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

Output

Type

Any

Attributes Type

For Configurations

Throws

  • GOOGLE-DRIVE:BAD_REQUEST

  • GOOGLE-DRIVE:CLIENT_ERROR

  • GOOGLE-DRIVE:CONNECTIVITY

  • GOOGLE-DRIVE:INTERNAL_SERVER_ERROR

  • GOOGLE-DRIVE:NOT_ACCEPTABLE

  • GOOGLE-DRIVE:NOT_FOUND

  • GOOGLE-DRIVE:RETRY_EXHAUSTED

  • GOOGLE-DRIVE:SERVER_ERROR

  • GOOGLE-DRIVE:SERVICE_UNAVAILABLE

  • GOOGLE-DRIVE:TIMEOUT

  • GOOGLE-DRIVE:TOO_MANY_REQUESTS

  • GOOGLE-DRIVE:UNAUTHORIZED

  • GOOGLE-DRIVE:UNSUPPORTED_MEDIA_TYPE

Create drives hide by drive id

<google-drive:create-drives-hide-by-drive-id>

Hides a shared drive from the default view. This operation makes an HTTP POST request to the /drives/{driveId}/hide endpoint.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

Drive Id

String

ID of the shared drive.

x

Pretty Print

Boolean

Returns the response with indentations and line breaks.

false

Quota User

String

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

key

String

API key that identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

User Ip

String

Deprecated. Use quotaUser instead.

Oauth token

String

OAuth 2.0 token for the current user.

alt

Enumeration, one of:

  • JSON

Data format for the response.

fields

String

Selector specifying which fields to include in a partial response.

Config Ref

ConfigurationProvider

The name of the configuration to use to execute this component

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Custom Query Parameters

Object

Custom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.

#[null]

Custom Headers

Object

Custom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.

Response Timeout

Number

The timeout for requests to the remote service.

Response Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Response Timeout field.

Streaming Type

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Specifies how the connector streams request content to the remote service:

  • AUTO (default)

    Connector automatically uses the best streaming strategy based on the request content.

  • ALWAYS

    Connector always streams the request content.

  • NEVER

    Connector does not stream the request content.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

Output

Type

Any

Attributes Type

For Configurations

Throws

  • GOOGLE-DRIVE:BAD_REQUEST

  • GOOGLE-DRIVE:CLIENT_ERROR

  • GOOGLE-DRIVE:CONNECTIVITY

  • GOOGLE-DRIVE:INTERNAL_SERVER_ERROR

  • GOOGLE-DRIVE:NOT_ACCEPTABLE

  • GOOGLE-DRIVE:NOT_FOUND

  • GOOGLE-DRIVE:RETRY_EXHAUSTED

  • GOOGLE-DRIVE:SERVER_ERROR

  • GOOGLE-DRIVE:SERVICE_UNAVAILABLE

  • GOOGLE-DRIVE:TIMEOUT

  • GOOGLE-DRIVE:TOO_MANY_REQUESTS

  • GOOGLE-DRIVE:UNAUTHORIZED

  • GOOGLE-DRIVE:UNSUPPORTED_MEDIA_TYPE

Create drives unhide by drive id

<google-drive:create-drives-unhide-by-drive-id>

Restores a shared drive to the default view. This operation makes an HTTP POST request to the /drives/{driveId}/unhide endpoint.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

Drive Id

String

ID of the shared drive.

x

Pretty Print

Boolean

Returns the response with indentations and line breaks.

false

Quota User

String

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

key

String

API key that identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

User Ip

String

Deprecated. Use quotaUser instead.

Oauth token

String

OAuth 2.0 token for the current user.

alt

Enumeration, one of:

  • JSON

Data format for the response.

fields

String

Selector specifying which fields to include in a partial response.

Config Ref

ConfigurationProvider

The name of the configuration to use to execute this component

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Custom Query Parameters

Object

Custom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.

#[null]

Custom Headers

Object

Custom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.

Response Timeout

Number

The timeout for requests to the remote service.

Response Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Response Timeout field.

Streaming Type

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Specifies how the connector streams request content to the remote service:

  • AUTO (default)

    Connector automatically uses the best streaming strategy based on the request content.

  • ALWAYS

    Connector always streams the request content.

  • NEVER

    Connector does not stream the request content.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

Output

Type

Any

Attributes Type

For Configurations

Throws

  • GOOGLE-DRIVE:BAD_REQUEST

  • GOOGLE-DRIVE:CLIENT_ERROR

  • GOOGLE-DRIVE:CONNECTIVITY

  • GOOGLE-DRIVE:INTERNAL_SERVER_ERROR

  • GOOGLE-DRIVE:NOT_ACCEPTABLE

  • GOOGLE-DRIVE:NOT_FOUND

  • GOOGLE-DRIVE:RETRY_EXHAUSTED

  • GOOGLE-DRIVE:SERVER_ERROR

  • GOOGLE-DRIVE:SERVICE_UNAVAILABLE

  • GOOGLE-DRIVE:TIMEOUT

  • GOOGLE-DRIVE:TOO_MANY_REQUESTS

  • GOOGLE-DRIVE:UNAUTHORIZED

  • GOOGLE-DRIVE:UNSUPPORTED_MEDIA_TYPE

Create files comments by file id

<google-drive:create-files-comments-by-file-id>

Creates a new comment on a file. This operation makes an HTTP POST request to the /files/{fileId}/comments endpoint.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

File Id

String

ID of the file.

x

Pretty Print

Boolean

Returns the response with indentations and line breaks.

false

Quota User

String

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

key

String

API key that identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

User Ip

String

Deprecated. Use quotaUser instead.

Oauth token

String

OAuth 2.0 token for the current user.

alt

Enumeration, one of:

  • JSON

Data format for the response.

fields

String

Selector specifying which fields to include in a partial response.

Body

Any

Content to use.

#[payload]

Config Ref

ConfigurationProvider

The name of the configuration to use to execute this component

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Custom Query Parameters

Object

Custom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.

Custom Headers

Object

Custom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.

Response Timeout

Number

The timeout for requests to the remote service.

Response Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Response Timeout field.

Streaming Type

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Specifies how the connector streams request content to the remote service:

  • AUTO (default)

    Connector automatically uses the best streaming strategy based on the request content.

  • ALWAYS

    Connector always streams the request content.

  • NEVER

    Connector does not stream the request content.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

Output

Type

Any

Attributes Type

For Configurations

Throws

  • GOOGLE-DRIVE:BAD_REQUEST

  • GOOGLE-DRIVE:CLIENT_ERROR

  • GOOGLE-DRIVE:CONNECTIVITY

  • GOOGLE-DRIVE:INTERNAL_SERVER_ERROR

  • GOOGLE-DRIVE:NOT_ACCEPTABLE

  • GOOGLE-DRIVE:NOT_FOUND

  • GOOGLE-DRIVE:RETRY_EXHAUSTED

  • GOOGLE-DRIVE:SERVER_ERROR

  • GOOGLE-DRIVE:SERVICE_UNAVAILABLE

  • GOOGLE-DRIVE:TIMEOUT

  • GOOGLE-DRIVE:TOO_MANY_REQUESTS

  • GOOGLE-DRIVE:UNAUTHORIZED

  • GOOGLE-DRIVE:UNSUPPORTED_MEDIA_TYPE

Create files comments replies by file ID comment id

<google-drive:create-files-comments-replies-by-file-id-comment-id>

Creates a new reply to a comment. This operation makes an HTTP POST request to the /files/{fileId}/comments/{commentId}/replies endpoint.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

File Id

String

ID of the file.

x

Comment Id

String

ID of the comment.

x

Pretty Print

Boolean

Returns the response with indentations and line breaks.

false

Quota User

String

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

key

String

API key that identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

User Ip

String

Deprecated. Use quotaUser instead.

Oauth token

String

OAuth 2.0 token for the current user.

alt

Enumeration, one of:

  • JSON

Data format for the response.

fields

String

Selector specifying which fields to include in a partial response.

Body

Any

Content to use.

#[payload]

Config Ref

ConfigurationProvider

The name of the configuration to use to execute this component

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Custom Query Parameters

Object

Custom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.

Custom Headers

Object

Custom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.

Response Timeout

Number

The timeout for requests to the remote service.

Response Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Response Timeout field.

Streaming Type

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Specifies how the connector streams request content to the remote service:

  • AUTO (default)

    Connector automatically uses the best streaming strategy based on the request content.

  • ALWAYS

    Connector always streams the request content.

  • NEVER

    Connector does not stream the request content.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

Output

Type

Any

Attributes Type

For Configurations

Throws

  • GOOGLE-DRIVE:BAD_REQUEST

  • GOOGLE-DRIVE:CLIENT_ERROR

  • GOOGLE-DRIVE:CONNECTIVITY

  • GOOGLE-DRIVE:INTERNAL_SERVER_ERROR

  • GOOGLE-DRIVE:NOT_ACCEPTABLE

  • GOOGLE-DRIVE:NOT_FOUND

  • GOOGLE-DRIVE:RETRY_EXHAUSTED

  • GOOGLE-DRIVE:SERVER_ERROR

  • GOOGLE-DRIVE:SERVICE_UNAVAILABLE

  • GOOGLE-DRIVE:TIMEOUT

  • GOOGLE-DRIVE:TOO_MANY_REQUESTS

  • GOOGLE-DRIVE:UNAUTHORIZED

  • GOOGLE-DRIVE:UNSUPPORTED_MEDIA_TYPE

Create files copy by file id

<google-drive:create-files-copy-by-file-id>

Creates a copy of a file and applies any requested updates with patch semantics. Folders cannot be copied. This operation makes an HTTP POST request to the /files/{fileId}/copy endpoint.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

File Id

String

ID of the file.

x

Supports All Drives

Boolean

Whether the requesting application supports both My Drives and shared drives.

false

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.

false

Enforce Single Parent

Boolean

Deprecated. Copying files into multiple folders is no longer supported. Use shortcuts instead.

false

Pretty Print

Boolean

Returns the response with indentations and line breaks.

false

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.

false

Quota User

String

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

key

String

API key that identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

User Ip

String

Deprecated. Use quotaUser instead.

Oauth token

String

OAuth 2.0 token for the current user.

Include Permissions For View

String

Specifies which additional view’s permissions to include in the response. Only published is supported.

alt

Enumeration, one of:

  • JSON

Data format for the response.

fields

String

Selector specifying which fields to include in a partial response.

Ocr Language

String

A language hint for OCR processing during image import (ISO 639-1 code).

Supports Team Drives

Boolean

Deprecated. Use supportsAllDrives instead.

false

Body

Any

Content to use.

#[payload]

Config Ref

ConfigurationProvider

The name of the configuration to use to execute this component

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Custom Query Parameters

Object

Custom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.

Custom Headers

Object

Custom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.

Response Timeout

Number

The timeout for requests to the remote service.

Response Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Response Timeout field.

Streaming Type

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Specifies how the connector streams request content to the remote service:

  • AUTO (default)

    Connector automatically uses the best streaming strategy based on the request content.

  • ALWAYS

    Connector always streams the request content.

  • NEVER

    Connector does not stream the request content.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

Output

Type

Any

Attributes Type

For Configurations

Throws

  • GOOGLE-DRIVE:BAD_REQUEST

  • GOOGLE-DRIVE:CLIENT_ERROR

  • GOOGLE-DRIVE:CONNECTIVITY

  • GOOGLE-DRIVE:INTERNAL_SERVER_ERROR

  • GOOGLE-DRIVE:NOT_ACCEPTABLE

  • GOOGLE-DRIVE:NOT_FOUND

  • GOOGLE-DRIVE:RETRY_EXHAUSTED

  • GOOGLE-DRIVE:SERVER_ERROR

  • GOOGLE-DRIVE:SERVICE_UNAVAILABLE

  • GOOGLE-DRIVE:TIMEOUT

  • GOOGLE-DRIVE:TOO_MANY_REQUESTS

  • GOOGLE-DRIVE:UNAUTHORIZED

  • GOOGLE-DRIVE:UNSUPPORTED_MEDIA_TYPE

Create files permissions by file id

<google-drive:create-files-permissions-by-file-id>

Creates a permission for a file or shared drive. This operation makes an HTTP POST request to the /files/{fileId}/permissions endpoint.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

File Id

String

ID of the file or shared drive.

x

Supports All Drives

Boolean

Whether the requesting application supports both My Drives and shared drives.

false

Send Notification Email

Boolean

Whether to send a notification email when sharing to users or groups. This defaults to true for users and groups, and is not allowed for other requests. It must not be disabled for ownership transfers.

false

Enforce Single Parent

Boolean

Deprecated. See moveToNewOwnersRoot for details.

false

Email Message

String

A plain text custom message to include in the notification email.

Pretty Print

Boolean

Returns the response with indentations and line breaks.

false

Quota User

String

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

Transfer Ownership

Boolean

Whether to transfer ownership to the specified user and downgrade the current owner to a writer. This parameter is required as an acknowledgment of the side effect.

false

key

String

API key that identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

User Ip

String

Deprecated. Use quotaUser instead.

Oauth token

String

OAuth 2.0 token for the current user.

Use Domain Admin Access

Boolean

Issue the request as a domain administrator. If set to true, the requester will be granted access if the file ID parameter refers to a shared drive and the requester is an administrator of the domain to which the shared drive belongs.

false

alt

Enumeration, one of:

  • JSON

Data format for the response.

Move To New Owners Root

Boolean

This parameter only takes effect if the item is not in a shared drive and the request is attempting to transfer the ownership of the item. If set to true, the item is moved to the new owner’s My Drive root folder and all prior parents are removed. If set to false, the parents are not changed.

false

fields

String

Selector specifying which fields to include in a partial response.

Supports Team Drives

Boolean

Deprecated. Use supportsAllDrives instead.

false

Body

Any

Content to use.

#[payload]

Config Ref

ConfigurationProvider

The name of the configuration to use to execute this component

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Custom Query Parameters

Object

Custom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.

Custom Headers

Object

Custom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.

Response Timeout

Number

The timeout for requests to the remote service.

Response Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Response Timeout field.

Streaming Type

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Specifies how the connector streams request content to the remote service:

  • AUTO (default)

    Connector automatically uses the best streaming strategy based on the request content.

  • ALWAYS

    Connector always streams the request content.

  • NEVER

    Connector does not stream the request content.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

Output

Type

Any

Attributes Type

For Configurations

Throws

  • GOOGLE-DRIVE:BAD_REQUEST

  • GOOGLE-DRIVE:CLIENT_ERROR

  • GOOGLE-DRIVE:CONNECTIVITY

  • GOOGLE-DRIVE:INTERNAL_SERVER_ERROR

  • GOOGLE-DRIVE:NOT_ACCEPTABLE

  • GOOGLE-DRIVE:NOT_FOUND

  • GOOGLE-DRIVE:RETRY_EXHAUSTED

  • GOOGLE-DRIVE:SERVER_ERROR

  • GOOGLE-DRIVE:SERVICE_UNAVAILABLE

  • GOOGLE-DRIVE:TIMEOUT

  • GOOGLE-DRIVE:TOO_MANY_REQUESTS

  • GOOGLE-DRIVE:UNAUTHORIZED

  • GOOGLE-DRIVE:UNSUPPORTED_MEDIA_TYPE

Create files watch by file id

<google-drive:create-files-watch-by-file-id>

Subscribes to changes to a file. This operation makes an HTTP POST request to the /files/{fileId}/watch endpoint.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

File Id

String

ID of the file.

x

Supports All Drives

Boolean

Whether the requesting application supports both My Drives and shared drives.

false

Pretty Print

Boolean

Returns the response with indentations and line breaks.

false

Quota User

String

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

key

String

API key that identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

User Ip

String

Deprecated. Use quotaUser instead.

Oauth token

String

OAuth 2.0 token for the current user.

Include Permissions For View

String

Specifies which additional view’s permissions to include in the response. Only published is supported.

alt

Enumeration, one of:

  • JSON

Data format for the response.

fields

String

Selector specifying which fields to include in a partial response.

Supports Team Drives

Boolean

Deprecated. Use supportsAllDrives instead.

false

Acknowledge Abuse

Boolean

Whether the user is acknowledging the risk of downloading known malware or other abusive files. This is only applicable when alt=media.

false

Body

Any

Content to use.

#[payload]

Config Ref

ConfigurationProvider

The name of the configuration to use to execute this component

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Custom Query Parameters

Object

Custom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.

Custom Headers

Object

Custom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.

Response Timeout

Number

The timeout for requests to the remote service.

Response Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Response Timeout field.

Streaming Type

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Specifies how the connector streams request content to the remote service:

  • AUTO (default)

    Connector automatically uses the best streaming strategy based on the request content.

  • ALWAYS

    Connector always streams the request content.

  • NEVER

    Connector does not stream the request content.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

Output

Type

Any

Attributes Type

For Configurations

Throws

  • GOOGLE-DRIVE:BAD_REQUEST

  • GOOGLE-DRIVE:CLIENT_ERROR

  • GOOGLE-DRIVE:CONNECTIVITY

  • GOOGLE-DRIVE:INTERNAL_SERVER_ERROR

  • GOOGLE-DRIVE:NOT_ACCEPTABLE

  • GOOGLE-DRIVE:NOT_FOUND

  • GOOGLE-DRIVE:RETRY_EXHAUSTED

  • GOOGLE-DRIVE:SERVER_ERROR

  • GOOGLE-DRIVE:SERVICE_UNAVAILABLE

  • GOOGLE-DRIVE:TIMEOUT

  • GOOGLE-DRIVE:TOO_MANY_REQUESTS

  • GOOGLE-DRIVE:UNAUTHORIZED

  • GOOGLE-DRIVE:UNSUPPORTED_MEDIA_TYPE

Create media file

<google-drive:create-media-file>

Creates a new media file. This operation makes an HTTP POST request to the /files endpoint.

Parameters

Name Type Description Default Value Required

Configuration

String

Name of the configuration to use.

x

Supports All Drives

Boolean

Whether the requesting application supports both My Drives and shared drives.

false

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.

false

Enforce Single Parent

Boolean

Deprecated. Creating files in multiple folders is no longer supported.

false

Pretty Print

Boolean

Returns response with indentations and line breaks.

false

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.

false

Use Content As Indexable Text

Boolean

Whether to use the uploaded content as indexable text.

false

Quota User

String

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

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.

User Ip

String

Deprecated. Use quotaUser instead.

Oauth token

String

OAuth 2.0 token for the current user.

Include Permissions For View

String

Specifies which additional view’s permissions to include in the response. Only published is supported.

alt

Enumeration, one of:

  • JSON

Data format for the response.

fields

String

Selector specifying which fields to include in a partial response.

Ocr Language

String

A language hint for OCR processing during image import (ISO 639-1 code).

Supports Team Drives

Boolean

Deprecated use supportsAllDrives instead.

false

Content Type

String

The MIME media type of the object being uploaded.

x

Content Length

String

The number of bytes uploaded. Not required if you use chunked transfer encoding.

Body

Any

Content to use.

#[payload]

Config Ref

ConfigurationProvider

The name of the configuration to be used to execute this component

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Custom Query Parameters

Object

Custom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.

Custom Headers

Object

Custom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.

Response Timeout

Number

The timeout for requests to the remote service.

Response Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Response Timeout field.

Streaming Type

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Specifies how the connector streams request content to the remote service:

  • AUTO (default)

    Connector automatically uses the best streaming strategy based on the request content.

  • ALWAYS

    Connector always streams the request content.

  • NEVER

    Connector does not stream the request content.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors.

Output

Type

Any

Attributes Type

For Configurations

Throws

  • GOOGLE-DRIVE:BAD_REQUEST

  • GOOGLE-DRIVE:CLIENT_ERROR

  • GOOGLE-DRIVE:CONNECTIVITY

  • GOOGLE-DRIVE:INTERNAL_SERVER_ERROR

  • GOOGLE-DRIVE:NOT_ACCEPTABLE

  • GOOGLE-DRIVE:NOT_FOUND

  • GOOGLE-DRIVE:RETRY_EXHAUSTED

  • GOOGLE-DRIVE:SERVER_ERROR

  • GOOGLE-DRIVE:SERVICE_UNAVAILABLE

  • GOOGLE-DRIVE:TIMEOUT

  • GOOGLE-DRIVE:TOO_MANY_REQUESTS

  • GOOGLE-DRIVE:UNAUTHORIZED

  • GOOGLE-DRIVE:UNSUPPORTED_MEDIA_TYPE

Create multipart file

<google-drive:create-multipart-file>

Creates a new multipart file. This operation makes an HTTP POST request to the /files endpoint.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

Supports All Drives

Boolean

Whether the requesting application supports both My Drives and shared drives.

false

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.

false

Enforce Single Parent

Boolean

Deprecated. Creating files in multiple folders is no longer supported.

false

Pretty Print

Boolean

Returns response with indentations and line breaks.

false

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.

false

Use Content As Indexable Text

Boolean

Whether to use the uploaded content as indexable text.

false

Quota User

String

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

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.

User Ip

String

Deprecated. Please use quotaUser instead.

Oauth token

String

OAuth 2.0 token for the current user.

Include Permissions For View

String

Specifies which additional view’s permissions to include in the response. Only published is supported.

alt

Enumeration, one of:

  • JSON

Data format for the response.

fields

String

Selector specifying which fields to include in a partial response.

Ocr Language

String

A language hint for OCR processing during image import (ISO 639-1 code).

Supports Team Drives

Boolean

Deprecated use supportsAllDrives instead.

false

Content Type

String

The MIME media type of the object being uploaded.

multipart/form-data; boundary= rc2_34b212

Fields - Body

Any

The content of the fields part.

#[payload]

Content - Body

String

The content of the content part.

x

Config Ref

ConfigurationProvider

The name of the configuration to be used to execute this component

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Custom Query Parameters

Object

Custom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.

Custom Headers

Object

Custom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.

Response Timeout

Number

The timeout for requests to the remote service.

Response Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Response Timeout field.

Streaming Type

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Specifies how the connector streams request content to the remote service:

  • AUTO (default)

    Connector automatically uses the best streaming strategy based on the request content.

  • ALWAYS

    Connector always streams the request content.

  • NEVER

    Connector does not stream the request content.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors.

Output

Type

Any

Attributes Type

For Configurations

Throws

  • GOOGLE-DRIVE:BAD_REQUEST

  • GOOGLE-DRIVE:CLIENT_ERROR

  • GOOGLE-DRIVE:CONNECTIVITY

  • GOOGLE-DRIVE:INTERNAL_SERVER_ERROR

  • GOOGLE-DRIVE:NOT_ACCEPTABLE

  • GOOGLE-DRIVE:NOT_FOUND

  • GOOGLE-DRIVE:RETRY_EXHAUSTED

  • GOOGLE-DRIVE:SERVER_ERROR

  • GOOGLE-DRIVE:SERVICE_UNAVAILABLE

  • GOOGLE-DRIVE:TIMEOUT

  • GOOGLE-DRIVE:TOO_MANY_REQUESTS

  • GOOGLE-DRIVE:UNAUTHORIZED

  • GOOGLE-DRIVE:UNSUPPORTED_MEDIA_TYPE

Create resumable file - initial request

<google-drive:create-resumable-file-initial-request>

The initial request for creating a new resumable file. This operation makes an HTTP POST request to the /files endpoint.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

Supports All Drives

Boolean

Whether the requesting application supports both My Drives and shared drives.

false

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.

false

Enforce Single Parent

Boolean

Deprecated. Creating files in multiple folders is no longer supported.

false

Pretty Print

Boolean

Returns response with indentations and line breaks.

false

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.

false

Use Content As Indexable Text

Boolean

Whether to use the uploaded content as indexable text.

false

Quota User

String

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

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.

User Ip

String

Deprecated. Please use quotaUser instead.

Oauth token

String

OAuth 2.0 token for the current user.

Include Permissions For View

String

Specifies which additional view’s permissions to include in the response. Only published is supported.

alt

Enumeration, one of:

  • JSON

Data format for the response.

fields

String

Selector specifying which fields to include in a partial response.

Ocr Language

String

A language hint for OCR processing during image import (ISO 639-1 code).

Supports Team Drives

Boolean

Deprecated. Use supportsAllDrives instead.

false

Upload Content Type

String

The MIME type of the file data, which is transferred in subsequent requests.

application/octet-stream

Upload Content Length

String

The number of bytes of file data, which is transferred in subsequent requests.

Content Length

String

The number of bytes in the body of this initial request.

Body

Any

Content to use.

#[payload]

Config Ref

ConfigurationProvider

The name of the configuration to be used to execute this component

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Custom Query Parameters

Object

Custom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.

Custom Headers

Object

Custom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.

Response Timeout

Number

The timeout for requests to the remote service.

Response Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Response Timeout field.

Streaming Type

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Specifies how the connector streams request content to the remote service:

  • AUTO (default)

    Connector automatically uses the best streaming strategy based on the request content.

  • ALWAYS

    Connector always streams the request content.

  • NEVER

    Connector does not stream the request content.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

Output

Type

Any

Attributes Type

For Configurations

Throws

  • GOOGLE-DRIVE:BAD_REQUEST

  • GOOGLE-DRIVE:CLIENT_ERROR

  • GOOGLE-DRIVE:CONNECTIVITY

  • GOOGLE-DRIVE:INTERNAL_SERVER_ERROR

  • GOOGLE-DRIVE:NOT_ACCEPTABLE

  • GOOGLE-DRIVE:NOT_FOUND

  • GOOGLE-DRIVE:RETRY_EXHAUSTED

  • GOOGLE-DRIVE:SERVER_ERROR

  • GOOGLE-DRIVE:SERVICE_UNAVAILABLE

  • GOOGLE-DRIVE:TIMEOUT

  • GOOGLE-DRIVE:TOO_MANY_REQUESTS

  • GOOGLE-DRIVE:UNAUTHORIZED

  • GOOGLE-DRIVE:UNSUPPORTED_MEDIA_TYPE

Create resumable file - upload content

<google-drive:create-resumable-file-upload-content>

Uploads the content of a resumable file. Can also be used to resume an interrupted upload. This operation makes an HTTP PUT request to the /files endpoint

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

Location

String

The resumable session URI.

x

Content Type

String

The MIME type of the file data.

x

Content Length

String

The number of bytes in the current chunk.

Content Range

String

Set to show which bytes in the file you upload.

Body

Any

The content to use.

#[payload]

Config Ref

ConfigurationProvider

The name of the configuration to be used to execute this component

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Custom Query Parameters

Object

Custom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.

Custom Headers

Object

Custom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.

Response Timeout

Number

The timeout for requests to the remote service.

Response Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Response Timeout field.

Streaming Type

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Specifies how the connector streams request content to the remote service:

  • AUTO (default)

    Connector automatically uses the best streaming strategy based on the request content.

  • ALWAYS

    Connector always streams the request content.

  • NEVER

    Connector does not stream the request content.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

Output

Type

Any

Attributes Type

For Configurations

Throws

  • GOOGLE-DRIVE:BAD_REQUEST

  • GOOGLE-DRIVE:CLIENT_ERROR

  • GOOGLE-DRIVE:CONNECTIVITY

  • GOOGLE-DRIVE:INTERNAL_SERVER_ERROR

  • GOOGLE-DRIVE:NOT_ACCEPTABLE

  • GOOGLE-DRIVE:NOT_FOUND

  • GOOGLE-DRIVE:RETRY_EXHAUSTED

  • GOOGLE-DRIVE:SERVER_ERROR

  • GOOGLE-DRIVE:SERVICE_UNAVAILABLE

  • GOOGLE-DRIVE:TIMEOUT

  • GOOGLE-DRIVE:TOO_MANY_REQUESTS

  • GOOGLE-DRIVE:UNAUTHORIZED

  • GOOGLE-DRIVE:UNSUPPORTED_MEDIA_TYPE == Create teamdrives <google-drive:create-teamdrives>

Deprecated use drives.create instead. This operation makes an HTTP POST request to the /teamdrives endpoint.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

Pretty Print

Boolean

Returns the response with indentations and line breaks.

false

Quota User

String

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

key

String

API key that identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

User Ip

String

Deprecated. Use quotaUser instead.

Oauth token

String

OAuth 2.0 token for the current user.

alt

Enumeration, one of:

  • JSON

Data format for the response.

fields

String

Selector specifying which fields to include in a partial response.

Request Id

String

An ID, such as a random UUID, that uniquely identifies this user’s request for idempotent creation of a Team Drive. A repeated request by the same user with the same request ID will avoid creating duplicates by attempting to create the same Team Drive. If the Team Drive already exists a 409 error will be returned.

x

Body

Any

Content to use

#[payload]

Config Ref

ConfigurationProvider

The name of the configuration to use to execute this component

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Custom Query Parameters

Object

Custom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.

Custom Headers

Object

Custom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.

Response Timeout

Number

The timeout for requests to the remote service.

Response Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Response Timeout field.

Streaming Type

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Specifies how the connector streams request content to the remote service:

  • AUTO (default)

    Connector automatically uses the best streaming strategy based on the request content.

  • ALWAYS

    Connector always streams the request content.

  • NEVER

    Connector does not stream the request content.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

Output

Type

Any

Attributes Type

For Configurations

Throws

  • GOOGLE-DRIVE:BAD_REQUEST

  • GOOGLE-DRIVE:CLIENT_ERROR

  • GOOGLE-DRIVE:CONNECTIVITY

  • GOOGLE-DRIVE:INTERNAL_SERVER_ERROR

  • GOOGLE-DRIVE:NOT_ACCEPTABLE

  • GOOGLE-DRIVE:NOT_FOUND

  • GOOGLE-DRIVE:RETRY_EXHAUSTED

  • GOOGLE-DRIVE:SERVER_ERROR

  • GOOGLE-DRIVE:SERVICE_UNAVAILABLE

  • GOOGLE-DRIVE:TIMEOUT

  • GOOGLE-DRIVE:TOO_MANY_REQUESTS

  • GOOGLE-DRIVE:UNAUTHORIZED

  • GOOGLE-DRIVE:UNSUPPORTED_MEDIA_TYPE

Delete drives by drive id

<google-drive:delete-drives-by-drive-id>

Permanently deletes a shared drive for which the user is an organizer. The shared drive cannot contain any untrashed items. This operation makes an HTTP DELETE request to the /drives/{driveId} endpoint.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

Drive Id

String

ID of the shared drive.

x

Pretty Print

Boolean

Returns the response with indentations and line breaks.

false

Quota User

String

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

key

String

API key that identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

User Ip

String

Deprecated. Use quotaUser instead.

Oauth token

String

OAuth 2.0 token for the current user.

alt

Enumeration, one of:

  • JSON

Data format for the response.

fields

String

Selector specifying which fields to include in a partial response.

Config Ref

ConfigurationProvider

The name of the configuration to use to execute this component

x

Custom Query Parameters

Object

Custom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.

#[null]

Custom Headers

Object

Custom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.

Response Timeout

Number

The timeout for requests to the remote service.

Response Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Response Timeout field.

Streaming Type

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Specifies how the connector streams request content to the remote service:

  • AUTO (default)

    Connector automatically uses the best streaming strategy based on the request content.

  • ALWAYS

    Connector always streams the request content.

  • NEVER

    Connector does not stream the request content.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

Output

Type

String

Attributes Type

For Configurations

Throws

  • GOOGLE-DRIVE:BAD_REQUEST

  • GOOGLE-DRIVE:CLIENT_ERROR

  • GOOGLE-DRIVE:CONNECTIVITY

  • GOOGLE-DRIVE:INTERNAL_SERVER_ERROR

  • GOOGLE-DRIVE:NOT_ACCEPTABLE

  • GOOGLE-DRIVE:NOT_FOUND

  • GOOGLE-DRIVE:RETRY_EXHAUSTED

  • GOOGLE-DRIVE:SERVER_ERROR

  • GOOGLE-DRIVE:SERVICE_UNAVAILABLE

  • GOOGLE-DRIVE:TIMEOUT

  • GOOGLE-DRIVE:TOO_MANY_REQUESTS

  • GOOGLE-DRIVE:UNAUTHORIZED

  • GOOGLE-DRIVE:UNSUPPORTED_MEDIA_TYPE

Delete files by file id

<google-drive:delete-files-by-file-id>

Permanently deletes a file owned by the user without moving it to the trash. If the file belongs to a shared drive the user must be an organizer on the parent. If the target is a folder, all descendants owned by the user are also deleted. This operation makes an HTTP DELETE request to the /files/{fileId} endpoint.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

File Id

String

ID of the file.

x

Supports All Drives

Boolean

Whether the requesting application supports both My Drives and shared drives.

false

Enforce Single Parent

Boolean

Deprecated. If an item is not in a shared drive and its last parent is deleted but the item itself is not, the item will be placed under its owner’s root.

false

Pretty Print

Boolean

Returns the response with indentations and line breaks.

false

Quota User

String

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

key

String

API key that identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

User Ip

String

Deprecated. Use quotaUser instead.

Oauth token

String

OAuth 2.0 token for the current user.

alt

Enumeration, one of:

  • JSON

Data format for the response.

fields

String

Selector specifying which fields to include in a partial response.

Supports Team Drives

Boolean

Deprecated. Use supportsAllDrives instead.

false

Config Ref

ConfigurationProvider

The name of the configuration to use to execute this component.

x

Custom Query Parameters

Object

Custom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.

#[null]

Custom Headers

Object

Custom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.

Response Timeout

Number

The timeout for requests to the remote service.

Response Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Response Timeout field.

Streaming Type

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Specifies how the connector streams request content to the remote service:

  • AUTO (default)

    Connector automatically uses the best streaming strategy based on the request content.

  • ALWAYS

    Connector always streams the request content.

  • NEVER

    Connector does not stream the request content.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

Output

Type

String

Attributes Type

For Configurations

Throws

  • GOOGLE-DRIVE:BAD_REQUEST

  • GOOGLE-DRIVE:CLIENT_ERROR

  • GOOGLE-DRIVE:CONNECTIVITY

  • GOOGLE-DRIVE:INTERNAL_SERVER_ERROR

  • GOOGLE-DRIVE:NOT_ACCEPTABLE

  • GOOGLE-DRIVE:NOT_FOUND

  • GOOGLE-DRIVE:RETRY_EXHAUSTED

  • GOOGLE-DRIVE:SERVER_ERROR

  • GOOGLE-DRIVE:SERVICE_UNAVAILABLE

  • GOOGLE-DRIVE:TIMEOUT

  • GOOGLE-DRIVE:TOO_MANY_REQUESTS

  • GOOGLE-DRIVE:UNAUTHORIZED

  • GOOGLE-DRIVE:UNSUPPORTED_MEDIA_TYPE

Delete files comments by file ID comment id

<google-drive:delete-files-comments-by-file-id-comment-id>

Deletes a comment. This operation makes an HTTP DELETE request to the /files/{fileId}/comments/{commentId} endpoint.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

File Id

String

ID of the file.

x

Comment Id

String

ID of the comment.

x

Pretty Print

Boolean

Returns the response with indentations and line breaks.

false

Quota User

String

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

key

String

API key that identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

User Ip

String

Deprecated. Use quotaUser instead.

Oauth token

String

OAuth 2.0 token for the current user.

alt

Enumeration, one of:

  • JSON

Data format for the response.

fields

String

Selector specifying which fields to include in a partial response.

Config Ref

ConfigurationProvider

The name of the configuration to use to execute this component

x

Custom Query Parameters

Object

Custom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.

#[null]

Custom Headers

Object

Custom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.

Response Timeout

Number

The timeout for requests to the remote service.

Response Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Response Timeout field.

Streaming Type

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Specifies how the connector streams request content to the remote service:

  • AUTO (default)

    Connector automatically uses the best streaming strategy based on the request content.

  • ALWAYS

    Connector always streams the request content.

  • NEVER

    Connector does not stream the request content.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

Output

Type

String

Attributes Type

For Configurations

Throws

  • GOOGLE-DRIVE:BAD_REQUEST

  • GOOGLE-DRIVE:CLIENT_ERROR

  • GOOGLE-DRIVE:CONNECTIVITY

  • GOOGLE-DRIVE:INTERNAL_SERVER_ERROR

  • GOOGLE-DRIVE:NOT_ACCEPTABLE

  • GOOGLE-DRIVE:NOT_FOUND

  • GOOGLE-DRIVE:RETRY_EXHAUSTED

  • GOOGLE-DRIVE:SERVER_ERROR

  • GOOGLE-DRIVE:SERVICE_UNAVAILABLE

  • GOOGLE-DRIVE:TIMEOUT

  • GOOGLE-DRIVE:TOO_MANY_REQUESTS

  • GOOGLE-DRIVE:UNAUTHORIZED

  • GOOGLE-DRIVE:UNSUPPORTED_MEDIA_TYPE

Delete files comments replies by file ID comment ID reply id

<google-drive:delete-files-comments-replies-by-file-id-comment-id-reply-id>

Deletes a reply. This operation makes an HTTP DELETE request to the /files/{fileId}/comments/{commentId}/replies/{replyId} endpoint.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

File Id

String

ID of the file.

x

Comment Id

String

ID of the comment.

x

Reply Id

String

ID of the reply.

x

Pretty Print

Boolean

Returns the response with indentations and line breaks.

false

Quota User

String

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

key

String

API key that identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

User Ip

String

Deprecated. Use quotaUser instead.

Oauth token

String

OAuth 2.0 token for the current user.

alt

Enumeration, one of:

  • JSON

Data format for the response.

fields

String

Selector specifying which fields to include in a partial response.

Config Ref

ConfigurationProvider

The name of the configuration to use to execute this component

x

Custom Query Parameters

Object

Custom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.

#[null]

Custom Headers

Object

Custom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.

Response Timeout

Number

The timeout for requests to the remote service.

Response Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Response Timeout field.

Streaming Type

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Specifies how the connector streams request content to the remote service:

  • AUTO (default)

    Connector automatically uses the best streaming strategy based on the request content.

  • ALWAYS

    Connector always streams the request content.

  • NEVER

    Connector does not stream the request content.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

Output

Type

String

Attributes Type

For Configurations

Throws

  • GOOGLE-DRIVE:BAD_REQUEST

  • GOOGLE-DRIVE:CLIENT_ERROR

  • GOOGLE-DRIVE:CONNECTIVITY

  • GOOGLE-DRIVE:INTERNAL_SERVER_ERROR

  • GOOGLE-DRIVE:NOT_ACCEPTABLE

  • GOOGLE-DRIVE:NOT_FOUND

  • GOOGLE-DRIVE:RETRY_EXHAUSTED

  • GOOGLE-DRIVE:SERVER_ERROR

  • GOOGLE-DRIVE:SERVICE_UNAVAILABLE

  • GOOGLE-DRIVE:TIMEOUT

  • GOOGLE-DRIVE:TOO_MANY_REQUESTS

  • GOOGLE-DRIVE:UNAUTHORIZED

  • GOOGLE-DRIVE:UNSUPPORTED_MEDIA_TYPE

Delete files permissions by file ID permission id

<google-drive:delete-files-permissions-by-file-id-permission-id>

Deletes a permission. This operation makes an HTTP DELETE request to the /files/{fileId}/permissions/{permissionId} endpoint.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

File Id

String

ID of the file or shared drive.

x

Permission Id

String

ID of the permission.

x

Supports All Drives

Boolean

Whether the requesting application supports both My Drives and shared drives.

false

Pretty Print

Boolean

Returns the response with indentations and line breaks.

false

Quota User

String

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

key

String

API key that identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

User Ip

String

Deprecated. Use quotaUser instead.

Oauth token

String

OAuth 2.0 token for the current user.

Use Domain Admin Access

Boolean

Issue the request as a domain administrator. If set to true, the requester is granted access if the file ID parameter refers to a shared drive and the requester is an administrator of the domain to which the shared drive belongs.

false

alt

Enumeration, one of:

  • JSON

Data format for the response.

fields

String

Selector specifying which fields to include in a partial response.

Supports Team Drives

Boolean

Deprecated. Use supportsAllDrives instead.

false

Config Ref

ConfigurationProvider

The name of the configuration to use to execute this component

x

Custom Query Parameters

Object

Custom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.

#[null]

Custom Headers

Object

Custom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.

Response Timeout

Number

The timeout for requests to the remote service.

Response Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Response Timeout field.

Streaming Type

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Specifies how the connector streams request content to the remote service:

  • AUTO (default)

    Connector automatically uses the best streaming strategy based on the request content.

  • ALWAYS

    Connector always streams the request content.

  • NEVER

    Connector does not stream the request content.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

Output

Type

String

Attributes Type

For Configurations

Throws

  • GOOGLE-DRIVE:BAD_REQUEST

  • GOOGLE-DRIVE:CLIENT_ERROR

  • GOOGLE-DRIVE:CONNECTIVITY

  • GOOGLE-DRIVE:INTERNAL_SERVER_ERROR

  • GOOGLE-DRIVE:NOT_ACCEPTABLE

  • GOOGLE-DRIVE:NOT_FOUND

  • GOOGLE-DRIVE:RETRY_EXHAUSTED

  • GOOGLE-DRIVE:SERVER_ERROR

  • GOOGLE-DRIVE:SERVICE_UNAVAILABLE

  • GOOGLE-DRIVE:TIMEOUT

  • GOOGLE-DRIVE:TOO_MANY_REQUESTS

  • GOOGLE-DRIVE:UNAUTHORIZED

  • GOOGLE-DRIVE:UNSUPPORTED_MEDIA_TYPE

Delete files revisions by file ID revision id

<google-drive:delete-files-revisions-by-file-id-revision-id>

Permanently deletes a file version. You can only delete revisions for files with binary content in Google Drive, like images or videos. Revisions for other files, like Google Docs or Sheets, and the last remaining file version can’t be deleted. This operation makes an HTTP DELETE request to the /files/{fileId}/revisions/{revisionId} endpoint.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

File Id

String

ID of the file.

x

Revision Id

String

ID of the revision.

x

Pretty Print

Boolean

Returns the response with indentations and line breaks.

false

Quota User

String

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

key

String

API key that identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

User Ip

String

Deprecated. Use quotaUser instead.

Oauth token

String

OAuth 2.0 token for the current user.

alt

Enumeration, one of:

  • JSON

Data format for the response.

fields

String

Selector specifying which fields to include in a partial response.

Config Ref

ConfigurationProvider

The name of the configuration to use to execute this component

x

Custom Query Parameters

Object

Custom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.

#[null]

Custom Headers

Object

Custom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.

Response Timeout

Number

The timeout for requests to the remote service.

Response Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Response Timeout field.

Streaming Type

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Specifies how the connector streams request content to the remote service:

  • AUTO (default)

    Connector automatically uses the best streaming strategy based on the request content.

  • ALWAYS

    Connector always streams the request content.

  • NEVER

    Connector does not stream the request content.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

Output

Type

String

Attributes Type

For Configurations

Throws

  • GOOGLE-DRIVE:BAD_REQUEST

  • GOOGLE-DRIVE:CLIENT_ERROR

  • GOOGLE-DRIVE:CONNECTIVITY

  • GOOGLE-DRIVE:INTERNAL_SERVER_ERROR

  • GOOGLE-DRIVE:NOT_ACCEPTABLE

  • GOOGLE-DRIVE:NOT_FOUND

  • GOOGLE-DRIVE:RETRY_EXHAUSTED

  • GOOGLE-DRIVE:SERVER_ERROR

  • GOOGLE-DRIVE:SERVICE_UNAVAILABLE

  • GOOGLE-DRIVE:TIMEOUT

  • GOOGLE-DRIVE:TOO_MANY_REQUESTS

  • GOOGLE-DRIVE:UNAUTHORIZED

  • GOOGLE-DRIVE:UNSUPPORTED_MEDIA_TYPE

Delete files trash

<google-drive:delete-files-trash>

Permanently deletes all of the user’s trashed files. This operation makes an HTTP DELETE request to the /files/trash endpoint.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

Enforce Single Parent

Boolean

Deprecated. If an item is not in a shared drive and its last parent is deleted but the item itself is not, the item will be placed under its owner’s root.

false

Pretty Print

Boolean

Returns the response with indentations and line breaks.

false

Quota User

String

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

key

String

API key that identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

User Ip

String

Deprecated. Use quotaUser instead.

Oauth token

String

OAuth 2.0 token for the current user.

alt

Enumeration, one of:

  • JSON

Data format for the response.

fields

String

Selector specifying which fields to include in a partial response.

Config Ref

ConfigurationProvider

The name of the configuration to use to execute this component

x

Custom Query Parameters

Object

Custom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.

#[null]

Custom Headers

Object

Custom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.

Response Timeout

Number

The timeout for requests to the remote service.

Response Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Response Timeout field.

Streaming Type

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Specifies how the connector streams request content to the remote service:

  • AUTO (default)

    Connector automatically uses the best streaming strategy based on the request content.

  • ALWAYS

    Connector always streams the request content.

  • NEVER

    Connector does not stream the request content.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

Output

Type

String

Attributes Type

For Configurations

Throws

  • GOOGLE-DRIVE:BAD_REQUEST

  • GOOGLE-DRIVE:CLIENT_ERROR

  • GOOGLE-DRIVE:CONNECTIVITY

  • GOOGLE-DRIVE:INTERNAL_SERVER_ERROR

  • GOOGLE-DRIVE:NOT_ACCEPTABLE

  • GOOGLE-DRIVE:NOT_FOUND

  • GOOGLE-DRIVE:RETRY_EXHAUSTED

  • GOOGLE-DRIVE:SERVER_ERROR

  • GOOGLE-DRIVE:SERVICE_UNAVAILABLE

  • GOOGLE-DRIVE:TIMEOUT

  • GOOGLE-DRIVE:TOO_MANY_REQUESTS

  • GOOGLE-DRIVE:UNAUTHORIZED

  • GOOGLE-DRIVE:UNSUPPORTED_MEDIA_TYPE

Delete teamdrives by team drive id

<google-drive:delete-teamdrives-by-team-drive-id>

Deprecated. Use drives.delete instead. This operation makes an HTTP DELETE request to the /teamdrives/{teamDriveId} endpoint.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

Team Drive Id

String

ID of the Team Drive

x

Pretty Print

Boolean

Returns the response with indentations and line breaks.

false

Quota User

String

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

key

String

API key that identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

User Ip

String

Deprecated. Use quotaUser instead.

Oauth token

String

OAuth 2.0 token for the current user.

alt

Enumeration, one of:

  • JSON

Data format for the response.

fields

String

Selector specifying which fields to include in a partial response.

Config Ref

ConfigurationProvider

The name of the configuration to use to execute this component

x

Custom Query Parameters

Object

Custom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.

#[null]

Custom Headers

Object

Custom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.

Response Timeout

Number

The timeout for requests to the remote service.

Response Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Response Timeout field.

Streaming Type

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Specifies how the connector streams request content to the remote service:

  • AUTO (default)

    Connector automatically uses the best streaming strategy based on the request content.

  • ALWAYS

    Connector always streams the request content.

  • NEVER

    Connector does not stream the request content.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

Output

Type

String

Attributes Type

For Configurations

Throws

  • GOOGLE-DRIVE:BAD_REQUEST

  • GOOGLE-DRIVE:CLIENT_ERROR

  • GOOGLE-DRIVE:CONNECTIVITY

  • GOOGLE-DRIVE:INTERNAL_SERVER_ERROR

  • GOOGLE-DRIVE:NOT_ACCEPTABLE

  • GOOGLE-DRIVE:NOT_FOUND

  • GOOGLE-DRIVE:RETRY_EXHAUSTED

  • GOOGLE-DRIVE:SERVER_ERROR

  • GOOGLE-DRIVE:SERVICE_UNAVAILABLE

  • GOOGLE-DRIVE:TIMEOUT

  • GOOGLE-DRIVE:TOO_MANY_REQUESTS

  • GOOGLE-DRIVE:UNAUTHORIZED

  • GOOGLE-DRIVE:UNSUPPORTED_MEDIA_TYPE

Get about

<google-drive:get-about>

Gets information about the user, the user’s Drive, and system capabilities. This operation makes an HTTP GET request to the /about endpoint.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

Pretty Print

Boolean

Returns the response with indentations and line breaks.

false

Quota User

String

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

key

String

API key that identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

User Ip

String

Deprecated. Use quotaUser instead.

Oauth token

String

OAuth 2.0 token for the current user.

alt

Enumeration, one of:

  • JSON

Data format for the response.

fields

String

Selector specifying which fields to include in a partial response.

Config Ref

ConfigurationProvider

The name of the configuration to use to execute this component

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Custom Query Parameters

Object

Custom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.

#[null]

Custom Headers

Object

Custom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.

Response Timeout

Number

The timeout for requests to the remote service.

Response Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Response Timeout field.

Streaming Type

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Specifies how the connector streams request content to the remote service:

  • AUTO (default)

    Connector automatically uses the best streaming strategy based on the request content.

  • ALWAYS

    Connector always streams the request content.

  • NEVER

    Connector does not stream the request content.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

Output

Type

Any

Attributes Type

For Configurations

Throws

  • GOOGLE-DRIVE:BAD_REQUEST

  • GOOGLE-DRIVE:CLIENT_ERROR

  • GOOGLE-DRIVE:CONNECTIVITY

  • GOOGLE-DRIVE:INTERNAL_SERVER_ERROR

  • GOOGLE-DRIVE:NOT_ACCEPTABLE

  • GOOGLE-DRIVE:NOT_FOUND

  • GOOGLE-DRIVE:RETRY_EXHAUSTED

  • GOOGLE-DRIVE:SERVER_ERROR

  • GOOGLE-DRIVE:SERVICE_UNAVAILABLE

  • GOOGLE-DRIVE:TIMEOUT

  • GOOGLE-DRIVE:TOO_MANY_REQUESTS

  • GOOGLE-DRIVE:UNAUTHORIZED

  • GOOGLE-DRIVE:UNSUPPORTED_MEDIA_TYPE

Drive changes list

<google-drive:get-changes>

Lists the changes for a user or shared drive. This operation makes an HTTP GET request to the /changes endpoint.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

Include Items From All Drives

Boolean

Whether to include both My Drive and shared drive items in results.

false

Supports All Drives

Boolean

Whether the requesting application supports both My Drives and shared drives.

false

Page Size

Number

The maximum number of changes to return per page.

Pretty Print

Boolean

Returns the response with indentations and line breaks.

false

Include Team Drive Items

Boolean

Deprecated. Use includeItemsFromAllDrives instead.

false

Page Token

String

The token for continuing a previous list request on the next page. Set to the value of nextPageToken from the previous response or to the response from the getStartPageToken method.

x

Quota User

String

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

key

String

API key that identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

Team Drive Id

String

Deprecated. Use driveId instead.

User Ip

String

Deprecated. Use quotaUser instead.

Oauth token

String

OAuth 2.0 token for the current user.

Include Permissions For View

String

Specifies which additional view’s permissions to include in the response. Only published is supported.

alt

Enumeration, one of:

  • JSON

Data format for the response.

fields

String

Selector specifying which fields to include in a partial response.

Restrict To My Drive

Boolean

Whether to restrict the results to changes inside the My Drive hierarchy. This omits changes to files such as those in the Application Data folder or shared files which have not been added to My Drive.

false

Drive Id

String

The shared drive from which changes are returned. If specified, the change IDs will be reflective of the shared drive; use the combined drive ID and change ID as an identifier.

Include Corpus Removals

Boolean

Whether to include the file resource in changes if the file is still accessible by the user at the time of the request, even when a file was removed from the list of changes and there will be no further change entries for this file.

false

Supports Team Drives

Boolean

Deprecated. Use supportsAllDrives instead.

false

Include Removed

Boolean

Whether to include changes indicating that items have been removed from the list of changes, for example by deletion or loss of access.

false

spaces

String

A comma-separated list of spaces to query within the user corpus. Supported values are drive, appDataFolder and photos.

Output Mime Type

String

The mime type of the payload that this operation outputs.

Config Ref

ConfigurationProvider

The name of the configuration to use to execute this component

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Custom Query Parameters

Object

Custom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.

#[null]

Custom Headers

Object

Custom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.

Response Timeout

Number

The timeout for requests to the remote service.

Response Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Response Timeout field.

Streaming Type

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Specifies how the connector streams request content to the remote service:

  • AUTO (default)

    Connector automatically uses the best streaming strategy based on the request content.

  • ALWAYS

    Connector always streams the request content.

  • NEVER

    Connector does not stream the request content.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

Output

Type

Array of Any

For Configurations

Throws

  • GOOGLE-DRIVE:BAD_REQUEST

  • GOOGLE-DRIVE:CLIENT_ERROR

  • GOOGLE-DRIVE:CONNECTIVITY

  • GOOGLE-DRIVE:INTERNAL_SERVER_ERROR

  • GOOGLE-DRIVE:NOT_ACCEPTABLE

  • GOOGLE-DRIVE:NOT_FOUND

  • GOOGLE-DRIVE:SERVER_ERROR

  • GOOGLE-DRIVE:SERVICE_UNAVAILABLE

  • GOOGLE-DRIVE:TIMEOUT

  • GOOGLE-DRIVE:TOO_MANY_REQUESTS

  • GOOGLE-DRIVE:UNAUTHORIZED

  • GOOGLE-DRIVE:UNSUPPORTED_MEDIA_TYPE

Get changes start page token

<google-drive:get-changes-start-page-token>

Gets the starting pageToken for listing future changes. This operation makes an HTTP GET request to the /changes/startPageToken endpoint.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

Supports All Drives

Boolean

Whether the requesting application supports both My Drives and shared drives.

false

Pretty Print

Boolean

Returns the response with indentations and line breaks.

false

Quota User

String

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

key

String

API key that identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

Team Drive Id

String

Deprecated. Use driveId instead.

User Ip

String

Deprecated. Use quotaUser instead.

Oauth token

String

OAuth 2.0 token for the current user.

alt

Enumeration, one of:

  • JSON

Data format for the response.

fields

String

Selector specifying which fields to include in a partial response.

Drive Id

String

ID of the shared drive for which the starting pageToken for listing future changes from that shared drive is returned.

Supports Team Drives

Boolean

Deprecated. Use supportsAllDrives instead.

false

Config Ref

ConfigurationProvider

The name of the configuration to use to execute this component

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Custom Query Parameters

Object

Custom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.

#[null]

Custom Headers

Object

Custom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.

Response Timeout

Number

The timeout for requests to the remote service.

Response Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Response Timeout field.

Streaming Type

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Specifies how the connector streams request content to the remote service:

  • AUTO (default)

    Connector automatically uses the best streaming strategy based on the request content.

  • ALWAYS

    Connector always streams the request content.

  • NEVER

    Connector does not stream the request content.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

Output

Type

Any

Attributes Type

For Configurations

Throws

  • GOOGLE-DRIVE:BAD_REQUEST

  • GOOGLE-DRIVE:CLIENT_ERROR

  • GOOGLE-DRIVE:CONNECTIVITY

  • GOOGLE-DRIVE:INTERNAL_SERVER_ERROR

  • GOOGLE-DRIVE:NOT_ACCEPTABLE

  • GOOGLE-DRIVE:NOT_FOUND

  • GOOGLE-DRIVE:RETRY_EXHAUSTED

  • GOOGLE-DRIVE:SERVER_ERROR

  • GOOGLE-DRIVE:SERVICE_UNAVAILABLE

  • GOOGLE-DRIVE:TIMEOUT

  • GOOGLE-DRIVE:TOO_MANY_REQUESTS

  • GOOGLE-DRIVE:UNAUTHORIZED

  • GOOGLE-DRIVE:UNSUPPORTED_MEDIA_TYPE

Drive drives list

<google-drive:get-drives>

Lists the user’s shared drives. This operation makes an HTTP GET request to the /drives endpoint.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

Page Size

Number

Maximum number of shared drives to return.

Pretty Print

Boolean

Returns the response with indentations and line breaks.

false

Page Token

String

Page token for shared drives.

Quota User

String

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

key

String

API key that identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

User Ip

String

Deprecated. Use quotaUser instead.

Oauth token

String

OAuth 2.0 token for the current user.

q

String

Query string for searching shared drives.

Use Domain Admin Access

Boolean

Issue the request as a domain administrator. If set to true, all shared drives of the domain in which the requester is an administrator are returned.

false

alt

Enumeration, one of:

  • JSON

Data format for the response.

fields

String

Selector specifying which fields to include in a partial response.

Output Mime Type

String

The mime type of the payload that this operation outputs.

Config Ref

ConfigurationProvider

The name of the configuration to use to execute this component

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Custom Query Parameters

Object

Custom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.

#[null]

Custom Headers

Object

Custom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.

Response Timeout

Number

The timeout for requests to the remote service.

Response Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Response Timeout field.

Streaming Type

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Specifies how the connector streams request content to the remote service:

  • AUTO (default)

    Connector automatically uses the best streaming strategy based on the request content.

  • ALWAYS

    Connector always streams the request content.

  • NEVER

    Connector does not stream the request content.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

Output

Type

Array of Any

For Configurations

Throws

  • GOOGLE-DRIVE:BAD_REQUEST

  • GOOGLE-DRIVE:CLIENT_ERROR

  • GOOGLE-DRIVE:CONNECTIVITY

  • GOOGLE-DRIVE:INTERNAL_SERVER_ERROR

  • GOOGLE-DRIVE:NOT_ACCEPTABLE

  • GOOGLE-DRIVE:NOT_FOUND

  • GOOGLE-DRIVE:SERVER_ERROR

  • GOOGLE-DRIVE:SERVICE_UNAVAILABLE

  • GOOGLE-DRIVE:TIMEOUT

  • GOOGLE-DRIVE:TOO_MANY_REQUESTS

  • GOOGLE-DRIVE:UNAUTHORIZED

  • GOOGLE-DRIVE:UNSUPPORTED_MEDIA_TYPE

Get drives by drive id

<google-drive:get-drives-by-drive-id>

Gets a shared drive’s metadata by ID. This operation makes an HTTP GET request to the /drives/{driveId} endpoint.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

Drive Id

String

ID of the shared drive.

x

Pretty Print

Boolean

Returns the response with indentations and line breaks.

false

Quota User

String

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

key

String

API key that identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

User Ip

String

Deprecated. Use quotaUser instead.

Oauth token

String

OAuth 2.0 token for the current user.

Use Domain Admin Access

Boolean

Issue the request as a domain administrator. If set to true, the requester is granted access if they are an administrator of the domain to which the shared drive belongs.

false

alt

Enumeration, one of:

  • JSON

Data format for the response.

fields

String

Selector specifying which fields to include in a partial response.

Config Ref

ConfigurationProvider

The name of the configuration to use to execute this component

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Custom Query Parameters

Object

Custom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.

#[null]

Custom Headers

Object

Custom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.

Response Timeout

Number

The timeout for requests to the remote service.

Response Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Response Timeout field.

Streaming Type

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Specifies how the connector streams request content to the remote service:

  • AUTO (default)

    Connector automatically uses the best streaming strategy based on the request content.

  • ALWAYS

    Connector always streams the request content.

  • NEVER

    Connector does not stream the request content.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

Output

Type

Any

Attributes Type

For Configurations

Throws

  • GOOGLE-DRIVE:BAD_REQUEST

  • GOOGLE-DRIVE:CLIENT_ERROR

  • GOOGLE-DRIVE:CONNECTIVITY

  • GOOGLE-DRIVE:INTERNAL_SERVER_ERROR

  • GOOGLE-DRIVE:NOT_ACCEPTABLE

  • GOOGLE-DRIVE:NOT_FOUND

  • GOOGLE-DRIVE:RETRY_EXHAUSTED

  • GOOGLE-DRIVE:SERVER_ERROR

  • GOOGLE-DRIVE:SERVICE_UNAVAILABLE

  • GOOGLE-DRIVE:TIMEOUT

  • GOOGLE-DRIVE:TOO_MANY_REQUESTS

  • GOOGLE-DRIVE:UNAUTHORIZED

  • GOOGLE-DRIVE:UNSUPPORTED_MEDIA_TYPE

Drive files list

<google-drive:get-files>

Lists or searches files. This operation makes an HTTP GET request to the /files endpoint.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

Include Items From All Drives

Boolean

Whether to include both My Drive and shared drive items in results.

false

corpora

String

Groupings of files to which the query applies. Supported groupings are: user (files created by, opened by, or shared directly with the user), drive (files in the specified shared drive as indicated by the driveId), domain (files shared to the user’s domain), and allDrives (A combination of user and drive for all drives where the user is a member). When able, use user or drive, instead of allDrives, for efficiency.

Supports All Drives

Boolean

Whether the requesting application supports both My Drives and shared drives.

false

corpus

Enumeration, one of:

  • DOMAIN

  • USER

The source of files to list. Deprecated. Ue corpora instead.

Page Size

Number

The maximum number of files to return per page. Partial or empty result pages are possible even before the end of the files list has been reached.

Pretty Print

Boolean

Returns the response with indentations and line breaks.

false

Include Team Drive Items

Boolean

Deprecated use includeItemsFromAllDrives instead.

false

Page Token

String

The token for continuing a previous list request on the next page. Set to the value of nextPageToken from the previous response.

Quota User

String

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

key

String

API key that identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

Team Drive Id

String

Deprecated. Use driveId instead.

User Ip

String

Deprecated. Use quotaUser instead.

Oauth token

String

OAuth 2.0 token for the current user.

q

String

A query for filtering the file results. See the "Search for Files" guide for supported syntax.

Include Permissions For View

String

Specifies which additional view’s permissions to include in the response. Only published is supported.

alt

Enumeration, one of:

  • JSON

Data format for the response.

fields

String

Selector specifying which fields to include in a partial response.

Order By

String

A comma-separated list of sort keys. Valid keys are createdTime, folder, modifiedByMeTime, modifiedTime, name, name_natural, quotaBytesUsed, recency, sharedWithMeTime, starred, and viewedByMeTime. Each key sorts ascending by default, but may be reversed with the desc modifier. Example usage: ?orderBy=folder,modifiedTime desc,name. Please note that there is a current limitation for users with approximately one million files in which the requested sort order is ignored.

Drive Id

String

ID of the shared drive to search.

Supports Team Drives

Boolean

Deprecated use supportsAllDrives instead.

false

spaces

String

A comma-separated list of spaces to query within the corpus. Supported values are drive, appDataFolder and photos.

Output Mime Type

String

The mime type of the payload that this operation outputs.

Config Ref

ConfigurationProvider

The name of the configuration to use to execute this component

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Custom Query Parameters

Object

Custom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.

#[null]

Custom Headers

Object

Custom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.

Response Timeout

Number

The timeout for requests to the remote service.

Response Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Response Timeout field.

Streaming Type

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Specifies how the connector streams request content to the remote service:

  • AUTO (default)

    Connector automatically uses the best streaming strategy based on the request content.

  • ALWAYS

    Connector always streams the request content.

  • NEVER

    Connector does not stream the request content.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

Output

Type

Array of Any

For Configurations

Throws

  • GOOGLE-DRIVE:BAD_REQUEST

  • GOOGLE-DRIVE:CLIENT_ERROR

  • GOOGLE-DRIVE:CONNECTIVITY

  • GOOGLE-DRIVE:INTERNAL_SERVER_ERROR

  • GOOGLE-DRIVE:NOT_ACCEPTABLE

  • GOOGLE-DRIVE:NOT_FOUND

  • GOOGLE-DRIVE:SERVER_ERROR

  • GOOGLE-DRIVE:SERVICE_UNAVAILABLE

  • GOOGLE-DRIVE:TIMEOUT

  • GOOGLE-DRIVE:TOO_MANY_REQUESTS

  • GOOGLE-DRIVE:UNAUTHORIZED

  • GOOGLE-DRIVE:UNSUPPORTED_MEDIA_TYPE

Get files by file id

<google-drive:get-files-by-file-id>

Gets a file’s metadata or content by ID. This operation makes an HTTP GET request to the /files/{fileId} endpoint.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

File Id

String

ID of the file.

x

Supports All Drives

Boolean

Whether the requesting application supports both My Drives and shared drives.

false

Pretty Print

Boolean

Returns the response with indentations and line breaks.

false

Quota User

String

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

key

String

API key that identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

User Ip

String

Deprecated. Use quotaUser instead.

Oauth token

String

OAuth 2.0 token for the current user.

Include Permissions For View

String

Specifies which additional view’s permissions to include in the response. Only published is supported.

alt

Enumeration, one of:

  • JSON

Data format for the response.

fields

String

Selector specifying which fields to include in a partial response.

Supports Team Drives

Boolean

Deprecated. Use Supports All Drives instead.

false

Acknowledge Abuse

Boolean

Whether the user is acknowledging the risk of downloading known malware or other abusive files. This is only applicable when alt=media.

false

Config Ref

ConfigurationProvider

The name of the configuration to use to execute this component

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Custom Query Parameters

Object

Custom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.

#[null]

Custom Headers

Object

Custom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.

Response Timeout

Number

The timeout for requests to the remote service.

Response Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Response Timeout field.

Streaming Type

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Specifies how the connector streams request content to the remote service:

  • AUTO (default)

    Connector automatically uses the best streaming strategy based on the request content.

  • ALWAYS

    Connector always streams the request content.

  • NEVER

    Connector does not stream the request content.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

Output

Type

Any

Attributes Type

For Configurations

Throws

  • GOOGLE-DRIVE:BAD_REQUEST

  • GOOGLE-DRIVE:CLIENT_ERROR

  • GOOGLE-DRIVE:CONNECTIVITY

  • GOOGLE-DRIVE:INTERNAL_SERVER_ERROR

  • GOOGLE-DRIVE:NOT_ACCEPTABLE

  • GOOGLE-DRIVE:NOT_FOUND

  • GOOGLE-DRIVE:RETRY_EXHAUSTED

  • GOOGLE-DRIVE:SERVER_ERROR

  • GOOGLE-DRIVE:SERVICE_UNAVAILABLE

  • GOOGLE-DRIVE:TIMEOUT

  • GOOGLE-DRIVE:TOO_MANY_REQUESTS

  • GOOGLE-DRIVE:UNAUTHORIZED

  • GOOGLE-DRIVE:UNSUPPORTED_MEDIA_TYPE

Drive comments list

<google-drive:get-files-comments-by-file-id>

Lists a file’s comments. This operation makes an HTTP GET request to the /files/{fileId}/comments endpoint.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

File Id

String

ID of the file.

x

Page Size

Number

The maximum number of comments to return per page.

Pretty Print

Boolean

Returns the response with indentations and line breaks.

false

Page Token

String

The token for continuing a previous list request on the next page. Set to the value of nextPageToken from the previous response.

Quota User

String

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

key

String

API key that identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

User Ip

String

Deprecated. Use quotaUser instead.

Oauth token

String

OAuth 2.0 token for the current user.

Include Deleted

Boolean

Whether to include deleted comments. Deleted comments will not include their original content.

false

alt

Enumeration, one of:

  • JSON

Data format for the response.

fields

String

Selector specifying which fields to include in a partial response.

Start Modified Time

String

The minimum value of modifiedTime for the result comments (RFC 3339 date-time).

Output Mime Type

String

The mime type of the payload that this operation outputs.

Config Ref

ConfigurationProvider

The name of the configuration to use to execute this component

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Custom Query Parameters

Object

Custom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.

#[null]

Custom Headers

Object

Custom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.

Response Timeout

Number

The timeout for requests to the remote service.

Response Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Response Timeout field.

Streaming Type

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Specifies how the connector streams request content to the remote service:

  • AUTO (default)

    Connector automatically uses the best streaming strategy based on the request content.

  • ALWAYS

    Connector always streams the request content.

  • NEVER

    Connector does not stream the request content.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

Output

Type

Array of Any

For Configurations

Throws

  • GOOGLE-DRIVE:BAD_REQUEST

  • GOOGLE-DRIVE:CLIENT_ERROR

  • GOOGLE-DRIVE:CONNECTIVITY

  • GOOGLE-DRIVE:INTERNAL_SERVER_ERROR

  • GOOGLE-DRIVE:NOT_ACCEPTABLE

  • GOOGLE-DRIVE:NOT_FOUND

  • GOOGLE-DRIVE:SERVER_ERROR

  • GOOGLE-DRIVE:SERVICE_UNAVAILABLE

  • GOOGLE-DRIVE:TIMEOUT

  • GOOGLE-DRIVE:TOO_MANY_REQUESTS

  • GOOGLE-DRIVE:UNAUTHORIZED

  • GOOGLE-DRIVE:UNSUPPORTED_MEDIA_TYPE

Get files comments by file ID comment id

<google-drive:get-files-comments-by-file-id-comment-id>

Gets a comment by ID. This operation makes an HTTP GET request to the /files/{fileId}/comments/{commentId} endpoint.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

File Id

String

ID of the file.

x

Comment Id

String

ID of the comment.

x

Pretty Print

Boolean

Returns the response with indentations and line breaks.

false

Quota User

String

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

key

String

API key that identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

User Ip

String

Deprecated. Use quotaUser instead.

Oauth token

String

OAuth 2.0 token for the current user.

Include Deleted

Boolean

Whether to return deleted comments. Deleted comments will not include their original content.

false

alt

Enumeration, one of:

  • JSON

Data format for the response.

fields

String

Selector specifying which fields to include in a partial response.

Config Ref

ConfigurationProvider

The name of the configuration to use to execute this component

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Custom Query Parameters

Object

Custom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.

#[null]

Custom Headers

Object

Custom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.

Response Timeout

Number

The timeout for requests to the remote service.

Response Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Response Timeout field.

Streaming Type

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Specifies how the connector streams request content to the remote service:

  • AUTO (default)

    Connector automatically uses the best streaming strategy based on the request content.

  • ALWAYS

    Connector always streams the request content.

  • NEVER

    Connector does not stream the request content.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

Output

Type

Any

Attributes Type

For Configurations

Throws

  • GOOGLE-DRIVE:BAD_REQUEST

  • GOOGLE-DRIVE:CLIENT_ERROR

  • GOOGLE-DRIVE:CONNECTIVITY

  • GOOGLE-DRIVE:INTERNAL_SERVER_ERROR

  • GOOGLE-DRIVE:NOT_ACCEPTABLE

  • GOOGLE-DRIVE:NOT_FOUND

  • GOOGLE-DRIVE:RETRY_EXHAUSTED

  • GOOGLE-DRIVE:SERVER_ERROR

  • GOOGLE-DRIVE:SERVICE_UNAVAILABLE

  • GOOGLE-DRIVE:TIMEOUT

  • GOOGLE-DRIVE:TOO_MANY_REQUESTS

  • GOOGLE-DRIVE:UNAUTHORIZED

  • GOOGLE-DRIVE:UNSUPPORTED_MEDIA_TYPE

Drive replies list

<google-drive:get-files-comments-replies-by-file-id-comment-id>

Lists a comment’s replies. This operation makes an HTTP GET request to the /files/{fileId}/comments/{commentId}/replies endpoint.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

File Id

String

ID of the file.

x

Comment Id

String

ID of the comment.

x

Page Size

Number

The maximum number of replies to return per page.

Pretty Print

Boolean

Returns the response with indentations and line breaks.

false

Page Token

String

The token for continuing a previous list request on the next page. This should be set to the value of nextPageToken from the previous response.

Quota User

String

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

key

String

API key that identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

User Ip

String

Deprecated. Use quotaUser instead.

Oauth token

String

OAuth 2.0 token for the current user.

Include Deleted

Boolean

Whether to include deleted replies. Deleted replies will not include their original content.

false

alt

Enumeration, one of:

  • JSON

Data format for the response.

fields

String

Selector specifying which fields to include in a partial response.

Output Mime Type

String

The mime type of the payload that this operation outputs.

Config Ref

ConfigurationProvider

The name of the configuration to use to execute this component

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Custom Query Parameters

Object

Custom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.

#[null]

Custom Headers

Object

Custom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.

Response Timeout

Number

The timeout for requests to the remote service.

Response Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Response Timeout field.

Streaming Type

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Specifies how the connector streams request content to the remote service:

  • AUTO (default)

    Connector automatically uses the best streaming strategy based on the request content.

  • ALWAYS

    Connector always streams the request content.

  • NEVER

    Connector does not stream the request content.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

Output

Type

Array of Any

For Configurations

Throws

  • GOOGLE-DRIVE:BAD_REQUEST

  • GOOGLE-DRIVE:CLIENT_ERROR

  • GOOGLE-DRIVE:CONNECTIVITY

  • GOOGLE-DRIVE:INTERNAL_SERVER_ERROR

  • GOOGLE-DRIVE:NOT_ACCEPTABLE

  • GOOGLE-DRIVE:NOT_FOUND

  • GOOGLE-DRIVE:SERVER_ERROR

  • GOOGLE-DRIVE:SERVICE_UNAVAILABLE

  • GOOGLE-DRIVE:TIMEOUT

  • GOOGLE-DRIVE:TOO_MANY_REQUESTS

  • GOOGLE-DRIVE:UNAUTHORIZED

  • GOOGLE-DRIVE:UNSUPPORTED_MEDIA_TYPE

Get files comments replies by file ID comment ID reply id

<google-drive:get-files-comments-replies-by-file-id-comment-id-reply-id>

Gets a reply by ID. This operation makes an HTTP GET request to the /files/{fileId}/comments/{commentId}/replies/{replyId} endpoint.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

File Id

String

ID of the file.

x

Comment Id

String

ID of the comment.

x

Reply Id

String

ID of the reply.

x

Pretty Print

Boolean

Returns the response with indentations and line breaks.

false

Quota User

String

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

key

String

API key that identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

User Ip

String

Deprecated. Use quotaUser instead.

Oauth token

String

OAuth 2.0 token for the current user.

Include Deleted

Boolean

Whether to return deleted replies. Deleted replies will not include their original content.

false

alt

Enumeration, one of:

  • JSON

Data format for the response.

fields

String

Selector specifying which fields to include in a partial response.

Config Ref

ConfigurationProvider

The name of the configuration to use to execute this component

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Custom Query Parameters

Object

Custom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.

#[null]

Custom Headers

Object

Custom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.

Response Timeout

Number

The timeout for requests to the remote service.

Response Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Response Timeout field.

Streaming Type

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Specifies how the connector streams request content to the remote service:

  • AUTO (default)

    Connector automatically uses the best streaming strategy based on the request content.

  • ALWAYS

    Connector always streams the request content.

  • NEVER

    Connector does not stream the request content.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

Output

Type

Any

Attributes Type

For Configurations

Throws

  • GOOGLE-DRIVE:BAD_REQUEST

  • GOOGLE-DRIVE:CLIENT_ERROR

  • GOOGLE-DRIVE:CONNECTIVITY

  • GOOGLE-DRIVE:INTERNAL_SERVER_ERROR

  • GOOGLE-DRIVE:NOT_ACCEPTABLE

  • GOOGLE-DRIVE:NOT_FOUND

  • GOOGLE-DRIVE:RETRY_EXHAUSTED

  • GOOGLE-DRIVE:SERVER_ERROR

  • GOOGLE-DRIVE:SERVICE_UNAVAILABLE

  • GOOGLE-DRIVE:TIMEOUT

  • GOOGLE-DRIVE:TOO_MANY_REQUESTS

  • GOOGLE-DRIVE:UNAUTHORIZED

  • GOOGLE-DRIVE:UNSUPPORTED_MEDIA_TYPE

Get files export by file id

<google-drive:get-files-export-by-file-id>

Exports a Google Doc to the requested MIME type and returns the exported content. The exported content is limited to 10MB. This operation makes an HTTP GET request to the /files/{fileId}/export endpoint.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

File Id

String

ID of the file.

x

Pretty Print

Boolean

Returns the response with indentations and line breaks.

false

Quota User

String

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

Mime Type

String

The MIME type of the format requested for this export.

x

key

String

API key that identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

User Ip

String

Deprecated. Use quotaUser instead.

Oauth token

String

OAuth 2.0 token for the current user.

alt

Enumeration, one of:

  • JSON

Data format for the response.

fields

String

Selector specifying which fields to include in a partial response.

Config Ref

ConfigurationProvider

The name of the configuration to use to execute this component

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Custom Query Parameters

Object

Custom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.

#[null]

Custom Headers

Object

Custom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.

Response Timeout

Number

The timeout for requests to the remote service.

Response Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Response Timeout field.

Streaming Type

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Specifies how the connector streams request content to the remote service:

  • AUTO (default)

    Connector automatically uses the best streaming strategy based on the request content.

  • ALWAYS

    Connector always streams the request content.

  • NEVER

    Connector does not stream the request content.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

Output

Type

Any

Attributes Type

For Configurations

Throws

  • GOOGLE-DRIVE:BAD_REQUEST

  • GOOGLE-DRIVE:CLIENT_ERROR

  • GOOGLE-DRIVE:CONNECTIVITY

  • GOOGLE-DRIVE:INTERNAL_SERVER_ERROR

  • GOOGLE-DRIVE:NOT_ACCEPTABLE

  • GOOGLE-DRIVE:NOT_FOUND

  • GOOGLE-DRIVE:RETRY_EXHAUSTED

  • GOOGLE-DRIVE:SERVER_ERROR

  • GOOGLE-DRIVE:SERVICE_UNAVAILABLE

  • GOOGLE-DRIVE:TIMEOUT

  • GOOGLE-DRIVE:TOO_MANY_REQUESTS

  • GOOGLE-DRIVE:UNAUTHORIZED

  • GOOGLE-DRIVE:UNSUPPORTED_MEDIA_TYPE

Get files generate ids

<google-drive:get-files-generate-ids>

Generates a set of file IDs to provide in create or copy requests. This operation makes an HTTP GET request to the /files/generateIds endpoint.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

count

Number

The number of IDs to return.

Pretty Print

Boolean

Returns the response with indentations and line breaks.

false

Quota User

String

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

key

String

API key that identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

User Ip

String

Deprecated. Use quotaUser instead.

Oauth token

String

OAuth 2.0 token for the current user.

space

String

The space in which the IDs can be used to create new files. Supported values are drive and appDataFolder.

alt

Enumeration, one of:

  • JSON

Data format for the response.

fields

String

Selector specifying which fields to include in a partial response.

Config Ref

ConfigurationProvider

The name of the configuration to use to execute this component

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Custom Query Parameters

Object

Custom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.

#[null]

Custom Headers

Object

Custom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.

Response Timeout

Number

The timeout for requests to the remote service.

Response Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Response Timeout field.

Streaming Type

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Specifies how the connector streams request content to the remote service:

  • AUTO (default)

    Connector automatically uses the best streaming strategy based on the request content.

  • ALWAYS

    Connector always streams the request content.

  • NEVER

    Connector does not stream the request content.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

Output

Type

Any

Attributes Type

For Configurations

Throws

  • GOOGLE-DRIVE:BAD_REQUEST

  • GOOGLE-DRIVE:CLIENT_ERROR

  • GOOGLE-DRIVE:CONNECTIVITY

  • GOOGLE-DRIVE:INTERNAL_SERVER_ERROR

  • GOOGLE-DRIVE:NOT_ACCEPTABLE

  • GOOGLE-DRIVE:NOT_FOUND

  • GOOGLE-DRIVE:RETRY_EXHAUSTED

  • GOOGLE-DRIVE:SERVER_ERROR

  • GOOGLE-DRIVE:SERVICE_UNAVAILABLE

  • GOOGLE-DRIVE:TIMEOUT

  • GOOGLE-DRIVE:TOO_MANY_REQUESTS

  • GOOGLE-DRIVE:UNAUTHORIZED

  • GOOGLE-DRIVE:UNSUPPORTED_MEDIA_TYPE

Drive permissions list

<google-drive:get-files-permissions-by-file-id>

Lists a file’s or shared drive’s permissions. This operation makes an HTTP GET request to the /files/{fileId}/permissions endpoint.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

File Id

String

ID of the file or shared drive.

x

Supports All Drives

Boolean

Whether the requesting application supports both My Drives and shared drives.

false

Page Size

Number

Maximum number of permissions to return per page. When not set for files in a shared drive, at most 100 results will be returned. When not set for files that are not in a shared drive, the entire list will be returned.

Pretty Print

Boolean

Returns the response with indentations and line breaks.

false

Page Token

String

The token for continuing a previous list request on the next page. This should be set to the value of nextPageToken from the previous response.

Quota User

String

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

key

String

API key that identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

User Ip

String

Deprecated. Use quotaUser instead.

Oauth token

String

OAuth 2.0 token for the current user.

Include Permissions For View

String

Specifies which additional view’s permissions to include in the response. Only published is supported.

Use Domain Admin Access

Boolean

Issue the request as a domain administrator. If set to true, the requester is granted access if the file ID parameter refers to a shared drive and the requester is an administrator of the domain to which the shared drive belongs.

false

alt

Enumeration, one of:

  • JSON

Data format for the response.

fields

String

Selector specifying which fields to include in a partial response.

Supports Team Drives

Boolean

Deprecated use supportsAllDrives instead.

false

Output Mime Type

String

The mime type of the payload that this operation outputs.

Config Ref

ConfigurationProvider

The name of the configuration to use to execute this component

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Custom Query Parameters

Object

Custom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.

#[null]

Custom Headers

Object

Custom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.

Response Timeout

Number

The timeout for requests to the remote service.

Response Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Response Timeout field.

Streaming Type

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Specifies how the connector streams request content to the remote service:

  • AUTO (default)

    Connector automatically uses the best streaming strategy based on the request content.

  • ALWAYS

    Connector always streams the request content.

  • NEVER

    Connector does not stream the request content.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

Output

Type

Array of Any

For Configurations

Throws

  • GOOGLE-DRIVE:BAD_REQUEST

  • GOOGLE-DRIVE:CLIENT_ERROR

  • GOOGLE-DRIVE:CONNECTIVITY

  • GOOGLE-DRIVE:INTERNAL_SERVER_ERROR

  • GOOGLE-DRIVE:NOT_ACCEPTABLE

  • GOOGLE-DRIVE:NOT_FOUND

  • GOOGLE-DRIVE:SERVER_ERROR

  • GOOGLE-DRIVE:SERVICE_UNAVAILABLE

  • GOOGLE-DRIVE:TIMEOUT

  • GOOGLE-DRIVE:TOO_MANY_REQUESTS

  • GOOGLE-DRIVE:UNAUTHORIZED

  • GOOGLE-DRIVE:UNSUPPORTED_MEDIA_TYPE

Get files permissions by file ID permission id

<google-drive:get-files-permissions-by-file-id-permission-id>

Gets a permission by ID. This operation makes an HTTP GET request to the /files/{fileId}/permissions/{permissionId} endpoint.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

File Id

String

ID of the file.

x

Permission Id

String

ID of the permission.

x

Supports All Drives

Boolean

Whether the requesting application supports both My Drives and shared drives.

false

Pretty Print

Boolean

Returns the response with indentations and line breaks.

false

Quota User

String

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

key

String

API key that identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

User Ip

String

Deprecated. Use quotaUser instead.

Oauth token

String

OAuth 2.0 token for the current user.

Use Domain Admin Access

Boolean

Issue the request as a domain administrator. If set to true, the requester is granted access if the file ID parameter refers to a shared drive and the requester is an administrator of the domain to which the shared drive belongs.

false

alt

Enumeration, one of:

  • JSON

Data format for the response.

fields

String

Selector specifying which fields to include in a partial response.

Supports Team Drives

Boolean

Deprecated. Use supportsAllDrives instead.

false

Config Ref

ConfigurationProvider

The name of the configuration to use to execute this component

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Custom Query Parameters

Object

Custom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.

#[null]

Custom Headers

Object

Custom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.

Response Timeout

Number

The timeout for requests to the remote service.

Response Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Response Timeout field.

Streaming Type

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Specifies how the connector streams request content to the remote service:

  • AUTO (default)

    Connector automatically uses the best streaming strategy based on the request content.

  • ALWAYS

    Connector always streams the request content.

  • NEVER

    Connector does not stream the request content.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

Output

Type

Any

Attributes Type

For Configurations

Throws

  • GOOGLE-DRIVE:BAD_REQUEST

  • GOOGLE-DRIVE:CLIENT_ERROR

  • GOOGLE-DRIVE:CONNECTIVITY

  • GOOGLE-DRIVE:INTERNAL_SERVER_ERROR

  • GOOGLE-DRIVE:NOT_ACCEPTABLE

  • GOOGLE-DRIVE:NOT_FOUND

  • GOOGLE-DRIVE:RETRY_EXHAUSTED

  • GOOGLE-DRIVE:SERVER_ERROR

  • GOOGLE-DRIVE:SERVICE_UNAVAILABLE

  • GOOGLE-DRIVE:TIMEOUT

  • GOOGLE-DRIVE:TOO_MANY_REQUESTS

  • GOOGLE-DRIVE:UNAUTHORIZED

  • GOOGLE-DRIVE:UNSUPPORTED_MEDIA_TYPE

Drive revisions list

<google-drive:get-files-revisions-by-file-id>

Lists a file’s revisions. This operation makes an HTTP GET request to the /files/{fileId}/revisions endpoint.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

File Id

String

ID of the file.

x

Page Size

Number

The maximum number of revisions to return per page.

Pretty Print

Boolean

Returns the response with indentations and line breaks.

false

Page Token

String

The token for continuing a previous list request on the next page. Set to the value of nextPageToken from the previous response.

Quota User

String

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

key

String

API key that identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

User Ip

String

Deprecated. Use quotaUser instead.

Oauth token

String

OAuth 2.0 token for the current user.

alt

Enumeration, one of:

  • JSON

Data format for the response.

fields

String

Selector specifying which fields to include in a partial response.

Output Mime Type

String

The mime type of the payload that this operation outputs.

Config Ref

ConfigurationProvider

The name of the configuration to use to execute this component

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Custom Query Parameters

Object

Custom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.

#[null]

Custom Headers

Object

Custom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.

Response Timeout

Number

The timeout for requests to the remote service.

Response Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Response Timeout field.

Streaming Type

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Specifies how the connector streams request content to the remote service:

  • AUTO (default)

    Connector automatically uses the best streaming strategy based on the request content.

  • ALWAYS

    Connector always streams the request content.

  • NEVER

    Connector does not stream the request content.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

Output

Type

Array of Any

For Configurations

Throws

  • GOOGLE-DRIVE:BAD_REQUEST

  • GOOGLE-DRIVE:CLIENT_ERROR

  • GOOGLE-DRIVE:CONNECTIVITY

  • GOOGLE-DRIVE:INTERNAL_SERVER_ERROR

  • GOOGLE-DRIVE:NOT_ACCEPTABLE

  • GOOGLE-DRIVE:NOT_FOUND

  • GOOGLE-DRIVE:SERVER_ERROR

  • GOOGLE-DRIVE:SERVICE_UNAVAILABLE

  • GOOGLE-DRIVE:TIMEOUT

  • GOOGLE-DRIVE:TOO_MANY_REQUESTS

  • GOOGLE-DRIVE:UNAUTHORIZED

  • GOOGLE-DRIVE:UNSUPPORTED_MEDIA_TYPE

Get files revisions by file ID revision id

<google-drive:get-files-revisions-by-file-id-revision-id>

Gets a revision’s metadata or content by ID. This operation makes an HTTP GET request to the /files/{fileId}/revisions/{revisionId} endpoint.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

File Id

String

ID of the file.

x

Revision Id

String

ID of the revision.

x

Pretty Print

Boolean

Returns the response with indentations and line breaks.

false

Quota User

String

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

key

String

API key that identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

User Ip

String

Deprecated. Use quotaUser instead.

Oauth token

String

OAuth 2.0 token for the current user.

alt

Enumeration, one of:

  • JSON

Data format for the response.

fields

String

Selector specifying which fields to include in a partial response.

Acknowledge Abuse

Boolean

Whether the user is acknowledging the risk of downloading known malware or other abusive files. This is only applicable when alt=media.

false

Config Ref

ConfigurationProvider

The name of the configuration to use to execute this component

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Custom Query Parameters

Object

Custom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.

#[null]

Custom Headers

Object

Custom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.

Response Timeout

Number

The timeout for requests to the remote service.

Response Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Response Timeout field.

Streaming Type

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Specifies how the connector streams request content to the remote service:

  • AUTO (default)

    Connector automatically uses the best streaming strategy based on the request content.

  • ALWAYS

    Connector always streams the request content.

  • NEVER

    Connector does not stream the request content.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

Output

Type

Any

Attributes Type

For Configurations

Throws

  • GOOGLE-DRIVE:BAD_REQUEST

  • GOOGLE-DRIVE:CLIENT_ERROR

  • GOOGLE-DRIVE:CONNECTIVITY

  • GOOGLE-DRIVE:INTERNAL_SERVER_ERROR

  • GOOGLE-DRIVE:NOT_ACCEPTABLE

  • GOOGLE-DRIVE:NOT_FOUND

  • GOOGLE-DRIVE:RETRY_EXHAUSTED

  • GOOGLE-DRIVE:SERVER_ERROR

  • GOOGLE-DRIVE:SERVICE_UNAVAILABLE

  • GOOGLE-DRIVE:TIMEOUT

  • GOOGLE-DRIVE:TOO_MANY_REQUESTS

  • GOOGLE-DRIVE:UNAUTHORIZED

  • GOOGLE-DRIVE:UNSUPPORTED_MEDIA_TYPE

Get teamdrives

<google-drive:get-teamdrives>

Deprecated. Use drives.list instead. This operation makes an HTTP GET request to the /teamdrives endpoint.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

Page Size

Number

Maximum number of Team Drives to return.

Pretty Print

Boolean

Returns the response with indentations and line breaks.

false

Page Token

String

Page token for Team Drives.

Quota User

String

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

key

String

API key that identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

User Ip

String

Deprecated. Use quotaUser instead.

Oauth token

String

OAuth 2.0 token for the current user.

q

String

Query string for searching Team Drives.

Use Domain Admin Access

Boolean

Issue the request as a domain administrator. If set to true, all Team Drives of the domain in which the requester is an administrator are returned.

false

alt

Enumeration, one of:

  • JSON

Data format for the response.

fields

String

Selector specifying which fields to include in a partial response.

Config Ref

ConfigurationProvider

The name of the configuration to use to execute this component

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Custom Query Parameters

Object

Custom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.

#[null]

Custom Headers

Object

Custom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.

Response Timeout

Number

The timeout for requests to the remote service.

Response Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Response Timeout field.

Streaming Type

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Specifies how the connector streams request content to the remote service:

  • AUTO (default)

    Connector automatically uses the best streaming strategy based on the request content.

  • ALWAYS

    Connector always streams the request content.

  • NEVER

    Connector does not stream the request content.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

Output

Type

Any

Attributes Type

For Configurations

Throws

  • GOOGLE-DRIVE:BAD_REQUEST

  • GOOGLE-DRIVE:CLIENT_ERROR

  • GOOGLE-DRIVE:CONNECTIVITY

  • GOOGLE-DRIVE:INTERNAL_SERVER_ERROR

  • GOOGLE-DRIVE:NOT_ACCEPTABLE

  • GOOGLE-DRIVE:NOT_FOUND

  • GOOGLE-DRIVE:RETRY_EXHAUSTED

  • GOOGLE-DRIVE:SERVER_ERROR

  • GOOGLE-DRIVE:SERVICE_UNAVAILABLE

  • GOOGLE-DRIVE:TIMEOUT

  • GOOGLE-DRIVE:TOO_MANY_REQUESTS

  • GOOGLE-DRIVE:UNAUTHORIZED

  • GOOGLE-DRIVE:UNSUPPORTED_MEDIA_TYPE

Get teamdrives by team drive id

<google-drive:get-teamdrives-by-team-drive-id>

Deprecated. Use drives.get instead. This operation makes an HTTP GET request to the /teamdrives/{teamDriveId} endpoint.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

Team Drive Id

String

ID of the Team Drive

x

Pretty Print

Boolean

Returns the response with indentations and line breaks.

false

Quota User

String

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

key

String

API key that identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

User Ip

String

Deprecated. Use quotaUser instead.

Oauth token

String

OAuth 2.0 token for the current user.

Use Domain Admin Access

Boolean

Issue the request as a domain administrator. If set to true, the requester is granted access if they are an administrator of the domain to which the Team Drive belongs.

false

alt

Enumeration, one of:

  • JSON

Data format for the response.

fields

String

Selector specifying which fields to include in a partial response.

Config Ref

ConfigurationProvider

The name of the configuration to use to execute this component

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Custom Query Parameters

Object

Custom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.

#[null]

Custom Headers

Object

Custom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.

Response Timeout

Number

The timeout for requests to the remote service.

Response Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Response Timeout field.

Streaming Type

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Specifies how the connector streams request content to the remote service:

  • AUTO (default)

    Connector automatically uses the best streaming strategy based on the request content.

  • ALWAYS

    Connector always streams the request content.

  • NEVER

    Connector does not stream the request content.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

Output

Type

Any

Attributes Type

For Configurations

Throws

  • GOOGLE-DRIVE:BAD_REQUEST

  • GOOGLE-DRIVE:CLIENT_ERROR

  • GOOGLE-DRIVE:CONNECTIVITY

  • GOOGLE-DRIVE:INTERNAL_SERVER_ERROR

  • GOOGLE-DRIVE:NOT_ACCEPTABLE

  • GOOGLE-DRIVE:NOT_FOUND

  • GOOGLE-DRIVE:RETRY_EXHAUSTED

  • GOOGLE-DRIVE:SERVER_ERROR

  • GOOGLE-DRIVE:SERVICE_UNAVAILABLE

  • GOOGLE-DRIVE:TIMEOUT

  • GOOGLE-DRIVE:TOO_MANY_REQUESTS

  • GOOGLE-DRIVE:UNAUTHORIZED

  • GOOGLE-DRIVE:UNSUPPORTED_MEDIA_TYPE

Patch drives by drive id

<google-drive:patch-drives-by-drive-id>

Updates the metadate for a shared drive. This operation makes an HTTP PATCH request to the /drives/{driveId} endpoint.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

Drive Id

String

ID of the shared drive.

x

Pretty Print

Boolean

Returns the response with indentations and line breaks.

false

Quota User

String

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

key

String

API key that identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

User Ip

String

Deprecated. Use quotaUser instead.

Oauth token

String

OAuth 2.0 token for the current user.

Use Domain Admin Access

Boolean

Issue the request as a domain administrator. If set to true, the requester is granted access if they are an administrator of the domain to which the shared drive belongs.

false

alt

Enumeration, one of:

  • JSON

Data format for the response.

fields

String

Selector specifying which fields to include in a partial response.

Body

Any

Content to use.

#[payload]

Config Ref

ConfigurationProvider

The name of the configuration to use to execute this component

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Custom Query Parameters

Object

Custom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.

Custom Headers

Object

Custom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.

Response Timeout

Number

The timeout for requests to the remote service.

Response Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Response Timeout field.

Streaming Type

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Specifies how the connector streams request content to the remote service:

  • AUTO (default)

    Connector automatically uses the best streaming strategy based on the request content.

  • ALWAYS

    Connector always streams the request content.

  • NEVER

    Connector does not stream the request content.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

Output

Type

Any

Attributes Type

For Configurations

Throws

  • GOOGLE-DRIVE:BAD_REQUEST

  • GOOGLE-DRIVE:CLIENT_ERROR

  • GOOGLE-DRIVE:CONNECTIVITY

  • GOOGLE-DRIVE:INTERNAL_SERVER_ERROR

  • GOOGLE-DRIVE:NOT_ACCEPTABLE

  • GOOGLE-DRIVE:NOT_FOUND

  • GOOGLE-DRIVE:RETRY_EXHAUSTED

  • GOOGLE-DRIVE:SERVER_ERROR

  • GOOGLE-DRIVE:SERVICE_UNAVAILABLE

  • GOOGLE-DRIVE:TIMEOUT

  • GOOGLE-DRIVE:TOO_MANY_REQUESTS

  • GOOGLE-DRIVE:UNAUTHORIZED

  • GOOGLE-DRIVE:UNSUPPORTED_MEDIA_TYPE

Patch files by file id

<google-drive:patch-files-by-file-id>

Updates a file’s metadata and content. This method supports patch semantics. This operation makes an HTTP PATCH request to the /files/{fileId} endpoint.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

File Id

String

ID of the file.

x

Supports All Drives

Boolean

Whether the requesting application supports both My Drives and shared drives.

false

Enforce Single Parent

Boolean

Deprecated. Adding files to multiple folders is no longer supported. Use shortcuts instead.

false

Pretty Print

Boolean

Returns the response with indentations and line breaks.

false

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.

false

Use Content As Indexable Text

Boolean

Whether to use the uploaded content as indexable text.

false

Quota User

String

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

key

String

API key that identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

User Ip

String

Deprecated. Use quotaUser instead.

Oauth token

String

OAuth 2.0 token for the current user.

Include Permissions For View

String

Specifies which additional view’s permissions to include in the response. Only published is supported.

alt

Enumeration, one of:

  • JSON

Data format for the response.

fields

String

Selector specifying which fields to include in a partial response.

Ocr Language

String

A language hint for OCR processing during image import (ISO 639-1 code).

Supports Team Drives

Boolean

Deprecated use supportsAllDrives instead.

false

Upload Type

String

The type of upload request to the /upload URI. If you are uploading data using an /upload URI, this field is required. If you are creating a metadata-only file, this field is not required. Additionally, this field is not shown in the Try this API widget because the widget doesn’t support data uploads. Acceptable values are:

  • media - Simple upload. Upload the media only, without any metadata.

  • multipart - Multipart upload. Upload both the media and its metadata, in a single request.

  • resumable - Resumable upload. Upload the file in a resumable way, using a series of at least two requests where the first request includes the metadata.

x

Remove Parents

String

A comma-separated list of parent IDs to remove.

Add Parents

String

A comma-separated list of parent IDs to add.

Body

Any

The content to use.

#[payload]

Config Ref

ConfigurationProvider

The name of the configuration to use to execute this component

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Custom Query Parameters

Object

Custom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.

Custom Headers

Object

Custom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.

Response Timeout

Number

The timeout for requests to the remote service.

Response Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Response Timeout field.

Streaming Type

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Specifies how the connector streams request content to the remote service:

  • AUTO (default)

    Connector automatically uses the best streaming strategy based on the request content.

  • ALWAYS

    Connector always streams the request content.

  • NEVER

    Connector does not stream the request content.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

Output

Type

Any

Attributes Type

For Configurations

Throws

  • GOOGLE-DRIVE:BAD_REQUEST

  • GOOGLE-DRIVE:CLIENT_ERROR

  • GOOGLE-DRIVE:CONNECTIVITY

  • GOOGLE-DRIVE:INTERNAL_SERVER_ERROR

  • GOOGLE-DRIVE:NOT_ACCEPTABLE

  • GOOGLE-DRIVE:NOT_FOUND

  • GOOGLE-DRIVE:RETRY_EXHAUSTED

  • GOOGLE-DRIVE:SERVER_ERROR

  • GOOGLE-DRIVE:SERVICE_UNAVAILABLE

  • GOOGLE-DRIVE:TIMEOUT

  • GOOGLE-DRIVE:TOO_MANY_REQUESTS

  • GOOGLE-DRIVE:UNAUTHORIZED

  • GOOGLE-DRIVE:UNSUPPORTED_MEDIA_TYPE

Patch files comments by file ID comment id

<google-drive:patch-files-comments-by-file-id-comment-id>

Updates a comment with patch semantics. This operation makes an HTTP PATCH request to the /files/{fileId}/comments/{commentId} endpoint.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

File Id

String

ID of the file.

x

Comment Id

String

ID of the comment.

x

Pretty Print

Boolean

Returns the response with indentations and line breaks.

false

Quota User

String

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

key

String

API key that identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

User Ip

String

Deprecated. Use quotaUser instead.

Oauth token

String

OAuth 2.0 token for the current user.

alt

Enumeration, one of:

  • JSON

Data format for the response.

fields

String

Selector specifying which fields to include in a partial response.

Body

Any

The content to use.

#[payload]

Config Ref

ConfigurationProvider

The name of the configuration to use to execute this component

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Custom Query Parameters

Object

Custom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.

Custom Headers

Object

Custom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.

Response Timeout

Number

The timeout for requests to the remote service.

Response Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Response Timeout field.

Streaming Type

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Specifies how the connector streams request content to the remote service:

  • AUTO (default)

    Connector automatically uses the best streaming strategy based on the request content.

  • ALWAYS

    Connector always streams the request content.

  • NEVER

    Connector does not stream the request content.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

Output

Type

Any

Attributes Type

For Configurations

Throws

  • GOOGLE-DRIVE:BAD_REQUEST

  • GOOGLE-DRIVE:CLIENT_ERROR

  • GOOGLE-DRIVE:CONNECTIVITY

  • GOOGLE-DRIVE:INTERNAL_SERVER_ERROR

  • GOOGLE-DRIVE:NOT_ACCEPTABLE

  • GOOGLE-DRIVE:NOT_FOUND

  • GOOGLE-DRIVE:RETRY_EXHAUSTED

  • GOOGLE-DRIVE:SERVER_ERROR

  • GOOGLE-DRIVE:SERVICE_UNAVAILABLE

  • GOOGLE-DRIVE:TIMEOUT

  • GOOGLE-DRIVE:TOO_MANY_REQUESTS

  • GOOGLE-DRIVE:UNAUTHORIZED

  • GOOGLE-DRIVE:UNSUPPORTED_MEDIA_TYPE

Patch files comments replies by file ID comment ID reply id

<google-drive:patch-files-comments-replies-by-file-id-comment-id-reply-id>

Updates a reply with patch semantics. This operation makes an HTTP PATCH request to the /files/{fileId}/comments/{commentId}/replies/{replyId} endpoint.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

File Id

String

ID of the file.

x

Comment Id

String

ID of the comment.

x

Reply Id

String

ID of the reply.

x

Pretty Print

Boolean

Returns the response with indentations and line breaks.

false

Quota User

String

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

key

String

API key that identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

User Ip

String

Deprecated. Use quotaUser instead.

Oauth token

String

OAuth 2.0 token for the current user.

alt

Enumeration, one of:

  • JSON

Data format for the response.

fields

String

Selector specifying which fields to include in a partial response.

Body

Any

Content to use

#[payload]

Config Ref

ConfigurationProvider

The name of the configuration to use to execute this component

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Custom Query Parameters

Object

Custom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.

Custom Headers

Object

Custom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.

Response Timeout

Number

The timeout for requests to the remote service.

Response Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Response Timeout field.

Streaming Type

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Specifies how the connector streams request content to the remote service:

  • AUTO (default)

    Connector automatically uses the best streaming strategy based on the request content.

  • ALWAYS

    Connector always streams the request content.

  • NEVER

    Connector does not stream the request content.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

Output

Type

Any

Attributes Type

For Configurations

Throws

  • GOOGLE-DRIVE:BAD_REQUEST

  • GOOGLE-DRIVE:CLIENT_ERROR

  • GOOGLE-DRIVE:CONNECTIVITY

  • GOOGLE-DRIVE:INTERNAL_SERVER_ERROR

  • GOOGLE-DRIVE:NOT_ACCEPTABLE

  • GOOGLE-DRIVE:NOT_FOUND

  • GOOGLE-DRIVE:RETRY_EXHAUSTED

  • GOOGLE-DRIVE:SERVER_ERROR

  • GOOGLE-DRIVE:SERVICE_UNAVAILABLE

  • GOOGLE-DRIVE:TIMEOUT

  • GOOGLE-DRIVE:TOO_MANY_REQUESTS

  • GOOGLE-DRIVE:UNAUTHORIZED

  • GOOGLE-DRIVE:UNSUPPORTED_MEDIA_TYPE

Patch files permissions by file ID permission id

<google-drive:patch-files-permissions-by-file-id-permission-id>

Updates a permission with patch semantics. This operation makes an HTTP PATCH request to the /files/{fileId}/permissions/{permissionId} endpoint.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

File Id

String

ID of the file or shared drive.

x

Permission Id

String

ID of the permission.

x

Supports All Drives

Boolean

Whether the requesting application supports both My Drives and shared drives.

false

Pretty Print

Boolean

Returns the response with indentations and line breaks.

false

Remove Expiration

Boolean

Whether to remove the expiration date.

false

Quota User

String

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

Transfer Ownership

Boolean

Whether to transfer ownership to the specified user and downgrade the current owner to a writer. This parameter is required as an acknowledgment of the side effect.

false

key

String

API key that identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

User Ip

String

Deprecated. Use quotaUser instead.

Oauth token

String

OAuth 2.0 token for the current user.

Use Domain Admin Access

Boolean

Issue the request as a domain administrator. If set to true, the requester is granted access if the file ID parameter refers to a shared drive and the requester is an administrator of the domain to which the shared drive belongs.

false

alt

Enumeration, one of:

  • JSON

Data format for the response.

fields

String

Selector specifying which fields to include in a partial response.

Supports Team Drives

Boolean

Deprecated. Use supportsAllDrives instead.

false

Body

Any

Content to use

#[payload]

Config Ref

ConfigurationProvider

The name of the configuration to use to execute this component

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Custom Query Parameters

Object

Custom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.

Custom Headers

Object

Custom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.

Response Timeout

Number

The timeout for requests to the remote service.

Response Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Response Timeout field.

Streaming Type

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Specifies how the connector streams request content to the remote service:

  • AUTO (default)

    Connector automatically uses the best streaming strategy based on the request content.

  • ALWAYS

    Connector always streams the request content.

  • NEVER

    Connector does not stream the request content.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

Output

Type

Any

Attributes Type

For Configurations

Throws

  • GOOGLE-DRIVE:BAD_REQUEST

  • GOOGLE-DRIVE:CLIENT_ERROR

  • GOOGLE-DRIVE:CONNECTIVITY

  • GOOGLE-DRIVE:INTERNAL_SERVER_ERROR

  • GOOGLE-DRIVE:NOT_ACCEPTABLE

  • GOOGLE-DRIVE:NOT_FOUND

  • GOOGLE-DRIVE:RETRY_EXHAUSTED

  • GOOGLE-DRIVE:SERVER_ERROR

  • GOOGLE-DRIVE:SERVICE_UNAVAILABLE

  • GOOGLE-DRIVE:TIMEOUT

  • GOOGLE-DRIVE:TOO_MANY_REQUESTS

  • GOOGLE-DRIVE:UNAUTHORIZED

  • GOOGLE-DRIVE:UNSUPPORTED_MEDIA_TYPE

Patch files revisions by file ID revision id

<google-drive:patch-files-revisions-by-file-id-revision-id>

Updates a revision with patch semantics. This operation makes an HTTP PATCH request to the /files/{fileId}/revisions/{revisionId} endpoint.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

File Id

String

ID of the file.

x

Revision Id

String

ID of the revision.

x

Pretty Print

Boolean

Returns the response with indentations and line breaks.

false

Quota User

String

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

key

String

API key that identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

User Ip

String

Deprecated. Use quotaUser instead.

Oauth token

String

OAuth 2.0 token for the current user.

alt

Enumeration, one of:

  • JSON

Data format for the response.

fields

String

Selector specifying which fields to include in a partial response.

Body

Any

The content to use.

#[payload]

Config Ref

ConfigurationProvider

The name of the configuration to use to execute this component

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Custom Query Parameters

Object

Custom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.

Custom Headers

Object

Custom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.

Response Timeout

Number

The timeout for requests to the remote service.

Response Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Response Timeout field.

Streaming Type

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Specifies how the connector streams request content to the remote service:

  • AUTO (default)

    Connector automatically uses the best streaming strategy based on the request content.

  • ALWAYS

    Connector always streams the request content.

  • NEVER

    Connector does not stream the request content.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

Output

Type

Any

Attributes Type

For Configurations

Throws

  • GOOGLE-DRIVE:BAD_REQUEST

  • GOOGLE-DRIVE:CLIENT_ERROR

  • GOOGLE-DRIVE:CONNECTIVITY

  • GOOGLE-DRIVE:INTERNAL_SERVER_ERROR

  • GOOGLE-DRIVE:NOT_ACCEPTABLE

  • GOOGLE-DRIVE:NOT_FOUND

  • GOOGLE-DRIVE:RETRY_EXHAUSTED

  • GOOGLE-DRIVE:SERVER_ERROR

  • GOOGLE-DRIVE:SERVICE_UNAVAILABLE

  • GOOGLE-DRIVE:TIMEOUT

  • GOOGLE-DRIVE:TOO_MANY_REQUESTS

  • GOOGLE-DRIVE:UNAUTHORIZED

  • GOOGLE-DRIVE:UNSUPPORTED_MEDIA_TYPE

Patch teamdrives by team drive id

<google-drive:patch-teamdrives-by-team-drive-id>

Deprecated. Use drives.update instead. This operation makes an HTTP PATCH request to the /teamdrives/{teamDriveId} endpoint.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

Team Drive Id

String

ID of the Team Drive

x

Pretty Print

Boolean

Returns the response with indentations and line breaks.

false

Quota User

String

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

key

String

API key that identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

User Ip

String

Deprecated. Use quotaUser instead.

Oauth token

String

OAuth 2.0 token for the current user.

Use Domain Admin Access

Boolean

Issue the request as a domain administrator. If set to true, the requester is granted access if they are an administrator of the domain to which the Team Drive belongs.

false

alt

Enumeration, one of:

  • JSON

Data format for the response.

fields

String

Selector specifying which fields to include in a partial response.

Body

Any

The content to use.

#[payload]

Config Ref

ConfigurationProvider

The name of the configuration to use to execute this component

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Custom Query Parameters

Object

Custom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.

Custom Headers

Object

Custom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.

Response Timeout

Number

The timeout for requests to the remote service.

Response Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Response Timeout field.

Streaming Type

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Specifies how the connector streams request content to the remote service:

  • AUTO (default)

    Connector automatically uses the best streaming strategy based on the request content.

  • ALWAYS

    Connector always streams the request content.

  • NEVER

    Connector does not stream the request content.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

Output

Type

Any

Attributes Type

For Configurations

Throws

  • GOOGLE-DRIVE:BAD_REQUEST

  • GOOGLE-DRIVE:CLIENT_ERROR

  • GOOGLE-DRIVE:CONNECTIVITY

  • GOOGLE-DRIVE:INTERNAL_SERVER_ERROR

  • GOOGLE-DRIVE:NOT_ACCEPTABLE

  • GOOGLE-DRIVE:NOT_FOUND

  • GOOGLE-DRIVE:RETRY_EXHAUSTED

  • GOOGLE-DRIVE:SERVER_ERROR

  • GOOGLE-DRIVE:SERVICE_UNAVAILABLE

  • GOOGLE-DRIVE:TIMEOUT

  • GOOGLE-DRIVE:TOO_MANY_REQUESTS

  • GOOGLE-DRIVE:UNAUTHORIZED

  • GOOGLE-DRIVE:UNSUPPORTED_MEDIA_TYPE

Unauthorize

<google-drive:unauthorize>

Deletes all the access token information of a given resource owner ID so that it’s impossible to execute any operation for that user without doing the authorization dance again

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

Resource Owner Id

String

The ID of the resource owner which access should be invalidated

Config Ref

ConfigurationProvider

The name of the configuration to use to execute this component

x

For Configurations

Types

Default Header

Field Type Description Default Value Required

Key

String

x

Value

String

x

Default Query Param

Field Type Description Default Value Required

Key

String

x

Value

String

x

Proxy

Field Type Description Default Value Required

Host

String

x

Port

Number

x

Username

String

Password

String

Non Proxy Hosts

String

Tls

Field Type Description Default Value Required

Enabled Protocols

String

A comma-separated list of protocols enabled for this context.

Enabled Cipher Suites

String

A comma-separated list of cipher suites enabled for this context.

Trust Store

Key Store

Revocation Check

Trust Store

Field Type Description Default Value Required

Path

String

The location (which will be resolved relative to the current classpath and file system, if possible) of the trust store.

Password

String

The password used to protect the trust store.

Type

String

The type of store used.

Algorithm

String

The algorithm used by the trust store.

Insecure

Boolean

If true, no certificate validations will be performed, rendering connections vulnerable to attacks. Use at your own risk.

Key Store

Field Type Description Default Value Required

Path

String

The location (which will be resolved relative to the current classpath and file system, if possible) of the key store.

Type

String

The type of store used.

Alias

String

When the key store contains many private keys, this attribute indicates the alias of the key that should be used. If not defined, the first key in the file will be used by default.

Key Password

String

The password used to protect the private key.

Password

String

The password used to protect the key store.

Algorithm

String

The algorithm used by the key store.

Standard Revocation Check

Field Type Description Default Value Required

Only End Entities

Boolean

Only verify the last element of the certificate chain.

Prefer Crls

Boolean

Try CRL instead of OCSP first.

No Fallback

Boolean

Do not use the secondary checking method (the one not selected before).

Soft Fail

Boolean

Avoid verification failure when the revocation server can not be reached or is busy.

Custom Ocsp Responder

Field Type Description Default Value Required

Url

String

The URL of the OCSP responder.

Cert Alias

String

Alias of the signing certificate for the OCSP response (must be in the trust store), if present.

Crl File

Field Type Description Default Value Required

Path

String

The path to the CRL file.

Reconnection

Field Type Description Default Value Required

Fails Deployment

Boolean

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

Reconnection Strategy

The reconnection strategy to use.

Reconnect

Field Type Description Default Value Required

Frequency

Number

How often in milliseconds to reconnect

Blocking

Boolean

If false, the reconnection strategy will run in a separate, non-blocking thread

Count

Number

How many reconnection attempts to make.

Reconnect Forever

Field Type Description Default Value Required

Frequency

Number

How often in milliseconds to reconnect

Blocking

Boolean

If false, the reconnection strategy will run in a separate, non-blocking thread

Expiration Policy

Field Type Description Default Value Required

Max Idle Time

Number

A scalar time value for the maximum amount of time a dynamic configuration instance should be allowed to be idle before it’s considered eligible for expiration

Time Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

A time unit that qualifies the maxIdleTime attribute

Http Response Attributes

Field Type Description Default Value Required

Status Code

Number

x

Headers

Object

x

Reason Phrase

String

x

Repeatable In Memory Stream

Field Type Description Default Value Required

Initial Buffer Size

Number

The amount of memory that will be allocated to consume the stream and provide random access to it. If the stream contains more data than can be fit into this buffer, then the buffer expands according to the bufferSizeIncrement attribute, with an upper limit of maxInMemorySize.

Buffer Size Increment

Number

This is by how much the buffer size expands if it exceeds its initial size. Setting a value of zero or lower means that the buffer should not expand, meaning that a STREAM_MAXIMUM_SIZE_EXCEEDED error is raised when the buffer gets full.

Max Buffer Size

Number

The maximum amount of memory to use. If more than that is used then a STREAM_MAXIMUM_SIZE_EXCEEDED error is raised. A value lower than or equal to zero means no limit.

Buffer Unit

Enumeration, one of:

  • BYTE

  • KB

  • MB

  • GB

The unit in which all these attributes are expressed

Repeatable File Store Stream

Field Type Description Default Value Required

In Memory Size

Number

Defines the maximum memory that the stream should use to keep data in memory. If more than that is consumed content on the disk is buffered.

Buffer Unit

Enumeration, one of:

  • BYTE

  • KB

  • MB

  • GB

The unit in which maxInMemorySize is expressed

Redelivery Policy

Field Type Description Default Value Required

Max Redelivery Count

Number

The maximum number of times a message can be redelivered and processed unsuccessfully before triggering process-failed-message

Message Digest Algorithm

String

The secure hashing algorithm to use. If not set, the default is SHA-256.

Message Identifier

Defines which strategy is used to identify the messages.

Object Store

ObjectStore

The object store where the redelivery counter for each message is stored.

Redelivery Policy Message Identifier

Field Type Description Default Value Required

Use Secure Hash

Boolean

Whether to use a secure hash algorithm to identify a redelivered message.

Id Expression

String

Defines one or more expressions to use to determine when a message has been redelivered. This property may only be set if useSecureHash is false.

Repeatable In Memory Iterable

Field Type Description Default Value Required

Initial Buffer Size

Number

The number of instances to initially keep in memory to consume the stream and provide random access to it. If the stream contains more data than can fit into this buffer, then the buffer expands according to the bufferSizeIncrement attribute, with an upper limit of maxInMemorySize. Default value is 100 instances.

Buffer Size Increment

Number

This is by how much the buffer size expands if it exceeds its initial size. Setting a value of zero or lower means that the buffer should not expand, meaning that a STREAM_MAXIMUM_SIZE_EXCEEDED error is raised when the buffer gets full. Default value is 100 instances.

Max Buffer Size

Number

The maximum amount of memory to use. If more than that is used then a STREAM_MAXIMUM_SIZE_EXCEEDED error is raised. A value lower than or equal to zero means no limit.

Repeatable File Store Iterable

Field Type Description Default Value Required

In Memory Objects

Number

The maximum amount of instances to keep in memory. If more than that is required, content on the disk is buffered.

Buffer Unit

Enumeration, one of:

  • BYTE

  • KB

  • MB

  • GB

The unit in which maxInMemorySize is expressed