Google Drive

Google Drive

Description: Represents the component that manages GoogleDriveEndpoint.
Scheme: google-drive
Syntax: google-drive:drive:apiName/methodName
Maven: org.apache.camel/camel-google-drive/2.16.1

Represents a GoogleDrive endpoint.

Name Kind Group Required Default Type Enum Description
apiName path common true org.apache.camel.component.google.drive.internal.GoogleDriveApiName DRIVE_ABOUT
DRIVE_APPS
DRIVE_CHANGES
DRIVE_CHANNELS
DRIVE_CHILDREN
DRIVE_COMMENTS
DRIVE_FILES
DRIVE_PARENTS
DRIVE_PERMISSIONS
DRIVE_PROPERTIES
DRIVE_REALTIME
DRIVE_REPLIES
DRIVE_REVISIONS
What kind of operation to perform
methodName path common true java.lang.String copy
delete
get
getIdForEmail
insert
list
patch
stop
touch
untrash
update
watch
What sub operation to use for the selected operation
accessToken parameter common java.lang.String OAuth 2 access token. This typically expires after an hour so refreshToken is recommended for long term usage.
applicationName parameter common java.lang.String Google drive application name. Example would be "camel-google-drive/1.0"
clientId parameter common java.lang.String Client ID of the drive application
clientSecret parameter common java.lang.String Client secret of the drive application
inBody parameter common java.lang.String Sets the name of a parameter to be passed in the exchange In Body
refreshToken parameter common java.lang.String OAuth 2 refresh token. Using this, the Google Calendar component can obtain a new accessToken whenever the current one expires - a necessity if the application is long-lived.
scopes parameter common java.util.List Specifies the level of permissions you want a drive application to have to a user account. See https://developers.google.com/drive/web/scopes for more info.
exchangePattern parameter advanced InOnly org.apache.camel.ExchangePattern InOnly
RobustInOnly
InOut
InOptionalOut
OutOnly
RobustOutOnly
OutIn
OutOptionalIn
Sets the default exchange pattern when creating an exchange
synchronous parameter advanced false boolean Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).

google-drive consumer

The GoogleDrive consumer.