You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2020/09/08 06:58:31 UTC
[camel] 01/02: CAMEL-15478: camel-google-drive uses javasource
parser instead of javadoc for generating api component source code.
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
commit caa8b6860eb22e44de0aeb6e9db8fb21db488985
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Tue Sep 8 08:56:05 2020 +0200
CAMEL-15478: camel-google-drive uses javasource parser instead of javadoc for generating api component source code.
---
components/camel-google-drive/pom.xml | 44 +++++++-------
.../drive/DriveAppsEndpointConfiguration.java | 2 +-
.../drive/DriveChangesEndpointConfiguration.java | 4 +-
.../drive/DriveChannelsEndpointConfiguration.java | 2 +-
.../drive/DriveChildrenEndpointConfiguration.java | 6 +-
.../drive/DriveCommentsEndpointConfiguration.java | 6 +-
.../drive/DriveFilesEndpointConfiguration.java | 10 ++--
.../drive/DriveParentsEndpointConfiguration.java | 6 +-
.../DrivePermissionsEndpointConfiguration.java | 8 +--
.../DrivePropertiesEndpointConfiguration.java | 6 +-
.../drive/DriveRealtimeEndpointConfiguration.java | 4 +-
.../drive/DriveRepliesEndpointConfiguration.java | 8 +--
.../drive/DriveRevisionsEndpointConfiguration.java | 6 +-
.../camel/component/google/drive/google-drive.json | 24 ++++----
.../src/main/docs/google-drive-component.adoc | 68 +++++++++++-----------
15 files changed, 102 insertions(+), 102 deletions(-)
diff --git a/components/camel-google-drive/pom.xml b/components/camel-google-drive/pom.xml
index 333e58f..8cbacd2 100644
--- a/components/camel-google-drive/pom.xml
+++ b/components/camel-google-drive/pom.xml
@@ -70,15 +70,6 @@
<version>${google-api-services-drive-version}</version>
</dependency>
- <!-- Component API javadoc in provided scope to read API signatures -->
- <dependency>
- <groupId>com.google.apis</groupId>
- <artifactId>google-api-services-drive</artifactId>
- <version>${google-api-services-drive-version}</version>
- <type>javadoc</type>
- <scope>provided</scope>
- </dependency>
-
<!-- logging -->
<dependency>
<groupId>org.apache.logging.log4j</groupId>
@@ -114,67 +105,67 @@
<api>
<apiName>drive-about</apiName>
<proxyClass>com.google.api.services.drive.Drive$About</proxyClass>
- <fromJavadoc />
+ <fromJavasource />
</api>
<api>
<apiName>drive-apps</apiName>
<proxyClass>com.google.api.services.drive.Drive$Apps</proxyClass>
- <fromJavadoc />
+ <fromJavasource />
</api>
<api>
<apiName>drive-changes</apiName>
<proxyClass>com.google.api.services.drive.Drive$Changes</proxyClass>
- <fromJavadoc />
+ <fromJavasource />
</api>
<api>
<apiName>drive-channels</apiName>
<proxyClass>com.google.api.services.drive.Drive$Channels</proxyClass>
- <fromJavadoc />
+ <fromJavasource />
</api>
<api>
<apiName>drive-children</apiName>
<proxyClass>com.google.api.services.drive.Drive$Children</proxyClass>
- <fromJavadoc />
+ <fromJavasource />
</api>
<api>
<apiName>drive-comments</apiName>
<proxyClass>com.google.api.services.drive.Drive$Comments</proxyClass>
- <fromJavadoc />
+ <fromJavasource />
</api>
<api>
<apiName>drive-files</apiName>
<proxyClass>com.google.api.services.drive.Drive$Files</proxyClass>
- <fromJavadoc />
+ <fromJavasource />
</api>
<api>
<apiName>drive-parents</apiName>
<proxyClass>com.google.api.services.drive.Drive$Parents</proxyClass>
- <fromJavadoc />
+ <fromJavasource />
</api>
<api>
<apiName>drive-permissions</apiName>
<proxyClass>com.google.api.services.drive.Drive$Permissions</proxyClass>
- <fromJavadoc />
+ <fromJavasource />
</api>
<api>
<apiName>drive-properties</apiName>
<proxyClass>com.google.api.services.drive.Drive$Properties</proxyClass>
- <fromJavadoc />
+ <fromJavasource />
</api>
<api>
<apiName>drive-realtime</apiName>
<proxyClass>com.google.api.services.drive.Drive$Realtime</proxyClass>
- <fromJavadoc />
+ <fromJavasource />
</api>
<api>
<apiName>drive-replies</apiName>
<proxyClass>com.google.api.services.drive.Drive$Replies</proxyClass>
- <fromJavadoc />
+ <fromJavasource />
</api>
<api>
<apiName>drive-revisions</apiName>
<proxyClass>com.google.api.services.drive.Drive$Revisions</proxyClass>
- <fromJavadoc />
+ <fromJavasource />
</api>
</apis>
<substitutions>
@@ -189,6 +180,15 @@
</configuration>
</execution>
</executions>
+ <dependencies>
+ <!-- Component API to read API signatures -->
+ <dependency>
+ <groupId>com.google.apis</groupId>
+ <artifactId>google-api-services-drive</artifactId>
+ <version>${google-api-services-drive-version}</version>
+ <classifier>sources</classifier>
+ </dependency>
+ </dependencies>
</plugin>
<plugin>
<!-- we need to generate additional configurer classes -->
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/DriveAppsEndpointConfiguration.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/DriveAppsEndpointConfiguration.java
index af378eb..013922c 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/DriveAppsEndpointConfiguration.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/DriveAppsEndpointConfiguration.java
@@ -16,7 +16,7 @@ import org.apache.camel.spi.UriParams;
@UriParams
@Configurer
public final class DriveAppsEndpointConfiguration extends GoogleDriveConfiguration {
- @UriParam
+ @UriParam(description = "The ID of the app")
private String appId;
public String getAppId() {
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/DriveChangesEndpointConfiguration.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/DriveChangesEndpointConfiguration.java
index e1e2587..4ef09d1 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/DriveChangesEndpointConfiguration.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/DriveChangesEndpointConfiguration.java
@@ -16,9 +16,9 @@ import org.apache.camel.spi.UriParams;
@UriParams
@Configurer
public final class DriveChangesEndpointConfiguration extends GoogleDriveConfiguration {
- @UriParam
+ @UriParam(description = "The ID of the change")
private String changeId;
- @UriParam
+ @UriParam(description = "The com.google.api.services.drive.model.Channel")
private com.google.api.services.drive.model.Channel contentChannel;
public String getChangeId() {
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/DriveChannelsEndpointConfiguration.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/DriveChannelsEndpointConfiguration.java
index dd76e18..c729be4 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/DriveChannelsEndpointConfiguration.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/DriveChannelsEndpointConfiguration.java
@@ -16,7 +16,7 @@ import org.apache.camel.spi.UriParams;
@UriParams
@Configurer
public final class DriveChannelsEndpointConfiguration extends GoogleDriveConfiguration {
- @UriParam
+ @UriParam(description = "The com.google.api.services.drive.model.Channel")
private com.google.api.services.drive.model.Channel contentChannel;
public com.google.api.services.drive.model.Channel getContentChannel() {
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/DriveChildrenEndpointConfiguration.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/DriveChildrenEndpointConfiguration.java
index a6f6153..d773be1 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/DriveChildrenEndpointConfiguration.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/DriveChildrenEndpointConfiguration.java
@@ -16,11 +16,11 @@ import org.apache.camel.spi.UriParams;
@UriParams
@Configurer
public final class DriveChildrenEndpointConfiguration extends GoogleDriveConfiguration {
- @UriParam
+ @UriParam(description = "The ID of the child")
private String childId;
- @UriParam
+ @UriParam(description = "The com.google.api.services.drive.model.ChildReference")
private com.google.api.services.drive.model.ChildReference content;
- @UriParam
+ @UriParam(description = "The ID of the folder")
private String folderId;
public String getChildId() {
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/DriveCommentsEndpointConfiguration.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/DriveCommentsEndpointConfiguration.java
index 4cc2b7b..ca6528b 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/DriveCommentsEndpointConfiguration.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/DriveCommentsEndpointConfiguration.java
@@ -16,11 +16,11 @@ import org.apache.camel.spi.UriParams;
@UriParams
@Configurer
public final class DriveCommentsEndpointConfiguration extends GoogleDriveConfiguration {
- @UriParam
+ @UriParam(description = "The ID of the comment")
private String commentId;
- @UriParam
+ @UriParam(description = "The com.google.api.services.drive.model.Comment")
private com.google.api.services.drive.model.Comment content;
- @UriParam
+ @UriParam(description = "The ID of the file")
private String fileId;
public String getCommentId() {
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/DriveFilesEndpointConfiguration.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/DriveFilesEndpointConfiguration.java
index 26462d2..34f1ad3 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/DriveFilesEndpointConfiguration.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/DriveFilesEndpointConfiguration.java
@@ -16,15 +16,15 @@ import org.apache.camel.spi.UriParams;
@UriParams
@Configurer
public final class DriveFilesEndpointConfiguration extends GoogleDriveConfiguration {
- @UriParam
+ @UriParam(description = "The com.google.api.services.drive.model.File")
private com.google.api.services.drive.model.File content;
- @UriParam
+ @UriParam(description = "The com.google.api.services.drive.model.Channel")
private com.google.api.services.drive.model.Channel contentChannel;
- @UriParam
+ @UriParam(description = "The ID of the file to copy")
private String fileId;
- @UriParam
+ @UriParam(description = "The media HTTP content or null if none")
private com.google.api.client.http.AbstractInputStreamContent mediaContent;
- @UriParam
+ @UriParam(description = "The MIME type of the format requested for this export")
private String mimeType;
public com.google.api.services.drive.model.File getContent() {
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/DriveParentsEndpointConfiguration.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/DriveParentsEndpointConfiguration.java
index b2b244c..a9fe3d6 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/DriveParentsEndpointConfiguration.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/DriveParentsEndpointConfiguration.java
@@ -16,11 +16,11 @@ import org.apache.camel.spi.UriParams;
@UriParams
@Configurer
public final class DriveParentsEndpointConfiguration extends GoogleDriveConfiguration {
- @UriParam
+ @UriParam(description = "The com.google.api.services.drive.model.ParentReference")
private com.google.api.services.drive.model.ParentReference content;
- @UriParam
+ @UriParam(description = "The ID of the file")
private String fileId;
- @UriParam
+ @UriParam(description = "The ID of the parent")
private String parentId;
public com.google.api.services.drive.model.ParentReference getContent() {
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/DrivePermissionsEndpointConfiguration.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/DrivePermissionsEndpointConfiguration.java
index c3e9f1b..abf9ee6 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/DrivePermissionsEndpointConfiguration.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/DrivePermissionsEndpointConfiguration.java
@@ -16,13 +16,13 @@ import org.apache.camel.spi.UriParams;
@UriParams
@Configurer
public final class DrivePermissionsEndpointConfiguration extends GoogleDriveConfiguration {
- @UriParam
+ @UriParam(description = "The com.google.api.services.drive.model.Permission")
private com.google.api.services.drive.model.Permission content;
- @UriParam
+ @UriParam(description = "The email address for which to return a permission ID")
private String email;
- @UriParam
+ @UriParam(description = "The ID for the file or Team Drive")
private String fileId;
- @UriParam
+ @UriParam(description = "The ID for the permission")
private String permissionId;
public com.google.api.services.drive.model.Permission getContent() {
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/DrivePropertiesEndpointConfiguration.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/DrivePropertiesEndpointConfiguration.java
index d729ae1..98d426c 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/DrivePropertiesEndpointConfiguration.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/DrivePropertiesEndpointConfiguration.java
@@ -16,11 +16,11 @@ import org.apache.camel.spi.UriParams;
@UriParams
@Configurer
public final class DrivePropertiesEndpointConfiguration extends GoogleDriveConfiguration {
- @UriParam
+ @UriParam(description = "The com.google.api.services.drive.model.Property")
private com.google.api.services.drive.model.Property content;
- @UriParam
+ @UriParam(description = "The ID of the file")
private String fileId;
- @UriParam
+ @UriParam(description = "The key of the property")
private String propertyKey;
public com.google.api.services.drive.model.Property getContent() {
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/DriveRealtimeEndpointConfiguration.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/DriveRealtimeEndpointConfiguration.java
index 9c47eeb..ffd6f91 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/DriveRealtimeEndpointConfiguration.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/DriveRealtimeEndpointConfiguration.java
@@ -16,9 +16,9 @@ import org.apache.camel.spi.UriParams;
@UriParams
@Configurer
public final class DriveRealtimeEndpointConfiguration extends GoogleDriveConfiguration {
- @UriParam
+ @UriParam(description = "The ID of the file that the Realtime API data model is associated with")
private String fileId;
- @UriParam
+ @UriParam(description = "The media HTTP content or null if none")
private com.google.api.client.http.AbstractInputStreamContent mediaContent;
public String getFileId() {
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/DriveRepliesEndpointConfiguration.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/DriveRepliesEndpointConfiguration.java
index 482d3cc..765e457 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/DriveRepliesEndpointConfiguration.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/DriveRepliesEndpointConfiguration.java
@@ -16,13 +16,13 @@ import org.apache.camel.spi.UriParams;
@UriParams
@Configurer
public final class DriveRepliesEndpointConfiguration extends GoogleDriveConfiguration {
- @UriParam
+ @UriParam(description = "The ID of the comment")
private String commentId;
- @UriParam
+ @UriParam(description = "The com.google.api.services.drive.model.CommentReply")
private com.google.api.services.drive.model.CommentReply content;
- @UriParam
+ @UriParam(description = "The ID of the file")
private String fileId;
- @UriParam
+ @UriParam(description = "The ID of the reply")
private String replyId;
public String getCommentId() {
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/DriveRevisionsEndpointConfiguration.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/DriveRevisionsEndpointConfiguration.java
index 14214d9..a98d430 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/DriveRevisionsEndpointConfiguration.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/DriveRevisionsEndpointConfiguration.java
@@ -16,11 +16,11 @@ import org.apache.camel.spi.UriParams;
@UriParams
@Configurer
public final class DriveRevisionsEndpointConfiguration extends GoogleDriveConfiguration {
- @UriParam
+ @UriParam(description = "The com.google.api.services.drive.model.Revision")
private com.google.api.services.drive.model.Revision content;
- @UriParam
+ @UriParam(description = "The ID of the file")
private String fileId;
- @UriParam
+ @UriParam(description = "The ID of the revision")
private String revisionId;
public com.google.api.services.drive.model.Revision getContent() {
diff --git a/components/camel-google-drive/src/generated/resources/org/apache/camel/component/google/drive/google-drive.json b/components/camel-google-drive/src/generated/resources/org/apache/camel/component/google/drive/google-drive.json
index 01c414e..aed10b9 100644
--- a/components/camel-google-drive/src/generated/resources/org/apache/camel/component/google/drive/google-drive.json
+++ b/components/camel-google-drive/src/generated/resources/org/apache/camel/component/google/drive/google-drive.json
@@ -71,17 +71,17 @@
},
"apiProperties": {
"drive-about": { },
- "drive-apps": { "appId": { "kind": "parameter", "displayName": "App Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "" } },
- "drive-changes": { "changeId": { "kind": "parameter", "displayName": "Change Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "" }, "contentChannel": { "kind": "parameter", "displayName": "Content Channel", "group": "common", "label": "", "required": false, "type": "object", "javaType": "com.google.api.services.drive.model.Channel", "deprecated": false, "secret": false, "desc [...]
- "drive-channels": { "contentChannel": { "kind": "parameter", "displayName": "Content Channel", "group": "common", "label": "", "required": false, "type": "object", "javaType": "com.google.api.services.drive.model.Channel", "deprecated": false, "secret": false, "description": "" } },
- "drive-children": { "childId": { "kind": "parameter", "displayName": "Child Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "" }, "content": { "kind": "parameter", "displayName": "Content", "group": "common", "label": "", "required": false, "type": "object", "javaType": "com.google.api.services.drive.model.ChildReference", "deprecated": false, "secret": false, "description": [...]
- "drive-comments": { "commentId": { "kind": "parameter", "displayName": "Comment Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "" }, "content": { "kind": "parameter", "displayName": "Content", "group": "common", "label": "", "required": false, "type": "object", "javaType": "com.google.api.services.drive.model.Comment", "deprecated": false, "secret": false, "description": "" [...]
- "drive-files": { "content": { "kind": "parameter", "displayName": "Content", "group": "common", "label": "", "required": false, "type": "object", "javaType": "com.google.api.services.drive.model.File", "deprecated": false, "secret": false, "description": "" }, "contentChannel": { "kind": "parameter", "displayName": "Content Channel", "group": "common", "label": "", "required": false, "type": "object", "javaType": "com.google.api.services.drive.model.Channel", "deprecated": false, "se [...]
- "drive-parents": { "content": { "kind": "parameter", "displayName": "Content", "group": "common", "label": "", "required": false, "type": "object", "javaType": "com.google.api.services.drive.model.ParentReference", "deprecated": false, "secret": false, "description": "" }, "fileId": { "kind": "parameter", "displayName": "File Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": " [...]
- "drive-permissions": { "content": { "kind": "parameter", "displayName": "Content", "group": "common", "label": "", "required": false, "type": "object", "javaType": "com.google.api.services.drive.model.Permission", "deprecated": false, "secret": false, "description": "" }, "email": { "kind": "parameter", "displayName": "Email", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "" }, [...]
- "drive-properties": { "content": { "kind": "parameter", "displayName": "Content", "group": "common", "label": "", "required": false, "type": "object", "javaType": "com.google.api.services.drive.model.Property", "deprecated": false, "secret": false, "description": "" }, "fileId": { "kind": "parameter", "displayName": "File Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "" }, [...]
- "drive-realtime": { "fileId": { "kind": "parameter", "displayName": "File Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "" }, "mediaContent": { "kind": "parameter", "displayName": "Media Content", "group": "common", "label": "", "required": false, "type": "object", "javaType": "com.google.api.client.http.AbstractInputStreamContent", "deprecated": false, "secret": false, "d [...]
- "drive-replies": { "commentId": { "kind": "parameter", "displayName": "Comment Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "" }, "content": { "kind": "parameter", "displayName": "Content", "group": "common", "label": "", "required": false, "type": "object", "javaType": "com.google.api.services.drive.model.CommentReply", "deprecated": false, "secret": false, "description" [...]
- "drive-revisions": { "content": { "kind": "parameter", "displayName": "Content", "group": "common", "label": "", "required": false, "type": "object", "javaType": "com.google.api.services.drive.model.Revision", "deprecated": false, "secret": false, "description": "" }, "fileId": { "kind": "parameter", "displayName": "File Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "" }, [...]
+ "drive-apps": { "appId": { "kind": "parameter", "displayName": "App Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "The ID of the app" } },
+ "drive-changes": { "changeId": { "kind": "parameter", "displayName": "Change Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "The ID of the change" }, "contentChannel": { "kind": "parameter", "displayName": "Content Channel", "group": "common", "label": "", "required": false, "type": "object", "javaType": "com.google.api.services.drive.model.Channel", "deprecated": false, "s [...]
+ "drive-channels": { "contentChannel": { "kind": "parameter", "displayName": "Content Channel", "group": "common", "label": "", "required": false, "type": "object", "javaType": "com.google.api.services.drive.model.Channel", "deprecated": false, "secret": false, "description": "The com.google.api.services.drive.model.Channel" } },
+ "drive-children": { "childId": { "kind": "parameter", "displayName": "Child Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "The ID of the child" }, "content": { "kind": "parameter", "displayName": "Content", "group": "common", "label": "", "required": false, "type": "object", "javaType": "com.google.api.services.drive.model.ChildReference", "deprecated": false, "secret": fa [...]
+ "drive-comments": { "commentId": { "kind": "parameter", "displayName": "Comment Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "The ID of the comment" }, "content": { "kind": "parameter", "displayName": "Content", "group": "common", "label": "", "required": false, "type": "object", "javaType": "com.google.api.services.drive.model.Comment", "deprecated": false, "secret": fal [...]
+ "drive-files": { "content": { "kind": "parameter", "displayName": "Content", "group": "common", "label": "", "required": false, "type": "object", "javaType": "com.google.api.services.drive.model.File", "deprecated": false, "secret": false, "description": "The com.google.api.services.drive.model.File" }, "contentChannel": { "kind": "parameter", "displayName": "Content Channel", "group": "common", "label": "", "required": false, "type": "object", "javaType": "com.google.api.services.dr [...]
+ "drive-parents": { "content": { "kind": "parameter", "displayName": "Content", "group": "common", "label": "", "required": false, "type": "object", "javaType": "com.google.api.services.drive.model.ParentReference", "deprecated": false, "secret": false, "description": "The com.google.api.services.drive.model.ParentReference" }, "fileId": { "kind": "parameter", "displayName": "File Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", [...]
+ "drive-permissions": { "content": { "kind": "parameter", "displayName": "Content", "group": "common", "label": "", "required": false, "type": "object", "javaType": "com.google.api.services.drive.model.Permission", "deprecated": false, "secret": false, "description": "The com.google.api.services.drive.model.Permission" }, "email": { "kind": "parameter", "displayName": "Email", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "depreca [...]
+ "drive-properties": { "content": { "kind": "parameter", "displayName": "Content", "group": "common", "label": "", "required": false, "type": "object", "javaType": "com.google.api.services.drive.model.Property", "deprecated": false, "secret": false, "description": "The com.google.api.services.drive.model.Property" }, "fileId": { "kind": "parameter", "displayName": "File Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecate [...]
+ "drive-realtime": { "fileId": { "kind": "parameter", "displayName": "File Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "The ID of the file that the Realtime API data model is associated with" }, "mediaContent": { "kind": "parameter", "displayName": "Media Content", "group": "common", "label": "", "required": false, "type": "object", "javaType": "com.google.api.client.http [...]
+ "drive-replies": { "commentId": { "kind": "parameter", "displayName": "Comment Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "The ID of the comment" }, "content": { "kind": "parameter", "displayName": "Content", "group": "common", "label": "", "required": false, "type": "object", "javaType": "com.google.api.services.drive.model.CommentReply", "deprecated": false, "secret": [...]
+ "drive-revisions": { "content": { "kind": "parameter", "displayName": "Content", "group": "common", "label": "", "required": false, "type": "object", "javaType": "com.google.api.services.drive.model.Revision", "deprecated": false, "secret": false, "description": "The com.google.api.services.drive.model.Revision" }, "fileId": { "kind": "parameter", "displayName": "File Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated [...]
}
}
diff --git a/components/camel-google-drive/src/main/docs/google-drive-component.adoc b/components/camel-google-drive/src/main/docs/google-drive-component.adoc
index 2f128ca..e35aad6 100644
--- a/components/camel-google-drive/src/main/docs/google-drive-component.adoc
+++ b/components/camel-google-drive/src/main/docs/google-drive-component.adoc
@@ -185,7 +185,7 @@ The drive-about method has no API parameters.
[width="100%",cols="2,5,3",options="header"]
|===
| Name | Description | Type
-| *appId* | | String
+| *appId* | The ID of the app | String
|===
@@ -194,8 +194,8 @@ The drive-about method has no API parameters.
[width="100%",cols="2,5,3",options="header"]
|===
| Name | Description | Type
-| *changeId* | | String
-| *contentChannel* | | Channel
+| *changeId* | The ID of the change | String
+| *contentChannel* | The com.google.api.services.drive.model.Channel | Channel
|===
@@ -204,7 +204,7 @@ The drive-about method has no API parameters.
[width="100%",cols="2,5,3",options="header"]
|===
| Name | Description | Type
-| *contentChannel* | | Channel
+| *contentChannel* | The com.google.api.services.drive.model.Channel | Channel
|===
@@ -213,9 +213,9 @@ The drive-about method has no API parameters.
[width="100%",cols="2,5,3",options="header"]
|===
| Name | Description | Type
-| *childId* | | String
-| *content* | | ChildReference
-| *folderId* | | String
+| *childId* | The ID of the child | String
+| *content* | The com.google.api.services.drive.model.ChildReference | ChildReference
+| *folderId* | The ID of the folder | String
|===
@@ -224,9 +224,9 @@ The drive-about method has no API parameters.
[width="100%",cols="2,5,3",options="header"]
|===
| Name | Description | Type
-| *commentId* | | String
-| *content* | | Comment
-| *fileId* | | String
+| *commentId* | The ID of the comment | String
+| *content* | The com.google.api.services.drive.model.Comment | Comment
+| *fileId* | The ID of the file | String
|===
@@ -235,11 +235,11 @@ The drive-about method has no API parameters.
[width="100%",cols="2,5,3",options="header"]
|===
| Name | Description | Type
-| *content* | | File
-| *contentChannel* | | Channel
-| *fileId* | | String
-| *mediaContent* | | AbstractInputStreamContent
-| *mimeType* | | String
+| *content* | The com.google.api.services.drive.model.File | File
+| *contentChannel* | The com.google.api.services.drive.model.Channel | Channel
+| *fileId* | The ID of the file to copy | String
+| *mediaContent* | The media HTTP content or null if none | AbstractInputStreamContent
+| *mimeType* | The MIME type of the format requested for this export | String
|===
@@ -248,9 +248,9 @@ The drive-about method has no API parameters.
[width="100%",cols="2,5,3",options="header"]
|===
| Name | Description | Type
-| *content* | | ParentReference
-| *fileId* | | String
-| *parentId* | | String
+| *content* | The com.google.api.services.drive.model.ParentReference | ParentReference
+| *fileId* | The ID of the file | String
+| *parentId* | The ID of the parent | String
|===
@@ -259,10 +259,10 @@ The drive-about method has no API parameters.
[width="100%",cols="2,5,3",options="header"]
|===
| Name | Description | Type
-| *content* | | Permission
-| *email* | | String
-| *fileId* | | String
-| *permissionId* | | String
+| *content* | The com.google.api.services.drive.model.Permission | Permission
+| *email* | The email address for which to return a permission ID | String
+| *fileId* | The ID for the file or Team Drive | String
+| *permissionId* | The ID for the permission | String
|===
@@ -271,9 +271,9 @@ The drive-about method has no API parameters.
[width="100%",cols="2,5,3",options="header"]
|===
| Name | Description | Type
-| *content* | | Property
-| *fileId* | | String
-| *propertyKey* | | String
+| *content* | The com.google.api.services.drive.model.Property | Property
+| *fileId* | The ID of the file | String
+| *propertyKey* | The key of the property | String
|===
@@ -282,8 +282,8 @@ The drive-about method has no API parameters.
[width="100%",cols="2,5,3",options="header"]
|===
| Name | Description | Type
-| *fileId* | | String
-| *mediaContent* | | AbstractInputStreamContent
+| *fileId* | The ID of the file that the Realtime API data model is associated with | String
+| *mediaContent* | The media HTTP content or null if none | AbstractInputStreamContent
|===
@@ -292,10 +292,10 @@ The drive-about method has no API parameters.
[width="100%",cols="2,5,3",options="header"]
|===
| Name | Description | Type
-| *commentId* | | String
-| *content* | | CommentReply
-| *fileId* | | String
-| *replyId* | | String
+| *commentId* | The ID of the comment | String
+| *content* | The com.google.api.services.drive.model.CommentReply | CommentReply
+| *fileId* | The ID of the file | String
+| *replyId* | The ID of the reply | String
|===
@@ -304,9 +304,9 @@ The drive-about method has no API parameters.
[width="100%",cols="2,5,3",options="header"]
|===
| Name | Description | Type
-| *content* | | Revision
-| *fileId* | | String
-| *revisionId* | | String
+| *content* | The com.google.api.services.drive.model.Revision | Revision
+| *fileId* | The ID of the file | String
+| *revisionId* | The ID of the revision | String
|===
// endpoint options: END