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:30 UTC

[camel] branch master updated (56e4644 -> f467be3)

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git.


    from 56e4644  Document Update (#4169)
     new caa8b68  CAMEL-15478: camel-google-drive uses javasource parser instead of javadoc for generating api component source code.
     new f467be3  CAMEL-15478: camel-google-mail uses javasource parser instead of javadoc for generating api component source code.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 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 +++++++++++-----------
 components/camel-google-mail/pom.xml               | 34 +++++------
 .../GmailUsersDraftsEndpointConfiguration.java     |  8 +--
 .../mail/GmailUsersEndpointConfiguration.java      |  4 +-
 .../GmailUsersHistoryEndpointConfiguration.java    |  2 +-
 .../GmailUsersLabelsEndpointConfiguration.java     |  6 +-
 ...rsMessagesAttachmentsEndpointConfiguration.java |  6 +-
 .../GmailUsersMessagesEndpointConfiguration.java   | 14 ++---
 .../GmailUsersThreadsEndpointConfiguration.java    |  6 +-
 .../camel/component/google/mail/google-mail.json   | 14 ++---
 .../google/mail/stream/google-mail-stream.json     | 14 ++---
 .../src/main/docs/google-mail-component.adoc       | 46 +++++++--------
 .../main/docs/google-mail-stream-component.adoc    | 46 +++++++--------
 27 files changed, 202 insertions(+), 202 deletions(-)


[camel] 01/02: CAMEL-15478: camel-google-drive uses javasource parser instead of javadoc for generating api component source code.

Posted by da...@apache.org.
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
 


[camel] 02/02: CAMEL-15478: camel-google-mail uses javasource parser instead of javadoc for generating api component source code.

Posted by da...@apache.org.
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 f467be396e23ea6adab731c4c288bbc224e029b0
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Tue Sep 8 08:58:01 2020 +0200

    CAMEL-15478: camel-google-mail uses javasource parser instead of javadoc for generating api component source code.
---
 components/camel-google-mail/pom.xml               | 34 ++++++++--------
 .../GmailUsersDraftsEndpointConfiguration.java     |  8 ++--
 .../mail/GmailUsersEndpointConfiguration.java      |  4 +-
 .../GmailUsersHistoryEndpointConfiguration.java    |  2 +-
 .../GmailUsersLabelsEndpointConfiguration.java     |  6 +--
 ...rsMessagesAttachmentsEndpointConfiguration.java |  6 +--
 .../GmailUsersMessagesEndpointConfiguration.java   | 14 +++----
 .../GmailUsersThreadsEndpointConfiguration.java    |  6 +--
 .../camel/component/google/mail/google-mail.json   | 14 +++----
 .../google/mail/stream/google-mail-stream.json     | 14 +++----
 .../src/main/docs/google-mail-component.adoc       | 46 +++++++++++-----------
 .../main/docs/google-mail-stream-component.adoc    | 46 +++++++++++-----------
 12 files changed, 100 insertions(+), 100 deletions(-)

diff --git a/components/camel-google-mail/pom.xml b/components/camel-google-mail/pom.xml
index 67b6c41..70cb482 100644
--- a/components/camel-google-mail/pom.xml
+++ b/components/camel-google-mail/pom.xml
@@ -85,15 +85,6 @@
             </exclusions>
         </dependency>
 
-        <!-- Component API javadoc in provided scope to read API signatures -->
-        <dependency>
-            <groupId>com.google.apis</groupId>
-            <artifactId>google-api-services-gmail</artifactId>
-            <version>${google-api-services-mail-version}</version>
-            <type>javadoc</type>
-            <scope>provided</scope>
-        </dependency>
-
         <!-- logging -->
         <dependency>
             <groupId>org.apache.logging.log4j</groupId>
@@ -138,40 +129,40 @@
                                 <api>
                                     <apiName>threads</apiName>
                                     <proxyClass>com.google.api.services.gmail.Gmail$Users$Threads</proxyClass>
-                                    <fromJavadoc />
+                                    <fromJavasource />
                                 </api>
                                 <api>
                                     <apiName>messages</apiName>
                                     <proxyClass>com.google.api.services.gmail.Gmail$Users$Messages</proxyClass>
-                                    <fromJavadoc />
+                                    <fromJavasource />
                                 </api>
                                 <api>
                                     <apiName>attachments</apiName>
                                     <proxyClass>com.google.api.services.gmail.Gmail$Users$Messages$Attachments
                                     </proxyClass>
-                                    <fromJavadoc />
+                                    <fromJavasource />
                                 </api>
                                 <api>
                                     <apiName>labels</apiName>
                                     <proxyClass>com.google.api.services.gmail.Gmail$Users$Labels</proxyClass>
-                                    <fromJavadoc />
+                                    <fromJavasource />
                                 </api>
                                 <api>
                                     <apiName>history</apiName>
                                     <proxyClass>com.google.api.services.gmail.Gmail$Users$History</proxyClass>
-                                    <fromJavadoc />
+                                    <fromJavasource />
                                 </api>
                                 <api>
                                     <apiName>drafts</apiName>
                                     <proxyClass>com.google.api.services.gmail.Gmail$Users$Drafts</proxyClass>
-                                    <fromJavadoc />
+                                    <fromJavasource />
                                 </api>
                                 <api>
                                     <apiName>users</apiName>
                                     <proxyClass>com.google.api.services.gmail.Gmail$Users</proxyClass>
-                                    <fromJavadoc>
+                                    <fromJavasource>
                                         <includeMethods>getProfile|watch|stop</includeMethods>
-                                    </fromJavadoc>
+                                    </fromJavasource>
                                 </api>
                             </apis>
                             <substitutions>
@@ -203,6 +194,15 @@
                         </configuration>
                     </execution>
                 </executions>
+                <dependencies>
+                    <!-- Component API to read API signatures -->
+                    <dependency>
+                        <groupId>com.google.apis</groupId>
+                        <artifactId>google-api-services-gmail</artifactId>
+                        <version>${google-api-services-mail-version}</version>
+                        <classifier>sources</classifier>
+                    </dependency>
+                </dependencies>
             </plugin>
             <plugin>
                 <!-- we need to generate additional configurer classes -->
diff --git a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/GmailUsersDraftsEndpointConfiguration.java b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/GmailUsersDraftsEndpointConfiguration.java
index 4f74172..c417360 100644
--- a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/GmailUsersDraftsEndpointConfiguration.java
+++ b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/GmailUsersDraftsEndpointConfiguration.java
@@ -16,13 +16,13 @@ import org.apache.camel.spi.UriParams;
 @UriParams
 @Configurer
 public final class GmailUsersDraftsEndpointConfiguration extends GoogleMailConfiguration {
-    @UriParam
+    @UriParam(description = "The com.google.api.services.gmail.model.Draft media metadata or null if none")
     private com.google.api.services.gmail.model.Draft content;
-    @UriParam
+    @UriParam(description = "The ID of the draft to delete")
     private String id;
-    @UriParam
+    @UriParam(description = "The media HTTP content or null if none")
     private com.google.api.client.http.AbstractInputStreamContent mediaContent;
-    @UriParam
+    @UriParam(description = "The user's email address. The special value me can be used to indicate the authenticated user. default: me")
     private String userId;
 
     public com.google.api.services.gmail.model.Draft getContent() {
diff --git a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/GmailUsersEndpointConfiguration.java b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/GmailUsersEndpointConfiguration.java
index 6d23f16..6d79495 100644
--- a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/GmailUsersEndpointConfiguration.java
+++ b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/GmailUsersEndpointConfiguration.java
@@ -16,9 +16,9 @@ import org.apache.camel.spi.UriParams;
 @UriParams
 @Configurer
 public final class GmailUsersEndpointConfiguration extends GoogleMailConfiguration {
-    @UriParam
+    @UriParam(description = "The com.google.api.services.gmail.model.WatchRequest")
     private com.google.api.services.gmail.model.WatchRequest content;
-    @UriParam
+    @UriParam(description = "The user's email address. The special value me can be used to indicate the authenticated user. default: me")
     private String userId;
 
     public com.google.api.services.gmail.model.WatchRequest getContent() {
diff --git a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/GmailUsersHistoryEndpointConfiguration.java b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/GmailUsersHistoryEndpointConfiguration.java
index 82f0c58..9b4e4ce 100644
--- a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/GmailUsersHistoryEndpointConfiguration.java
+++ b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/GmailUsersHistoryEndpointConfiguration.java
@@ -16,7 +16,7 @@ import org.apache.camel.spi.UriParams;
 @UriParams
 @Configurer
 public final class GmailUsersHistoryEndpointConfiguration extends GoogleMailConfiguration {
-    @UriParam
+    @UriParam(description = "The user's email address. The special value me can be used to indicate the authenticated user. default: me")
     private String userId;
 
     public String getUserId() {
diff --git a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/GmailUsersLabelsEndpointConfiguration.java b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/GmailUsersLabelsEndpointConfiguration.java
index af144da..7763451 100644
--- a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/GmailUsersLabelsEndpointConfiguration.java
+++ b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/GmailUsersLabelsEndpointConfiguration.java
@@ -16,11 +16,11 @@ import org.apache.camel.spi.UriParams;
 @UriParams
 @Configurer
 public final class GmailUsersLabelsEndpointConfiguration extends GoogleMailConfiguration {
-    @UriParam
+    @UriParam(description = "The com.google.api.services.gmail.model.Label")
     private com.google.api.services.gmail.model.Label content;
-    @UriParam
+    @UriParam(description = "The ID of the label to delete")
     private String id;
-    @UriParam
+    @UriParam(description = "The user's email address. The special value me can be used to indicate the authenticated user. default: me")
     private String userId;
 
     public com.google.api.services.gmail.model.Label getContent() {
diff --git a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/GmailUsersMessagesAttachmentsEndpointConfiguration.java b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/GmailUsersMessagesAttachmentsEndpointConfiguration.java
index 3dea190..485c2ee 100644
--- a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/GmailUsersMessagesAttachmentsEndpointConfiguration.java
+++ b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/GmailUsersMessagesAttachmentsEndpointConfiguration.java
@@ -16,11 +16,11 @@ import org.apache.camel.spi.UriParams;
 @UriParams
 @Configurer
 public final class GmailUsersMessagesAttachmentsEndpointConfiguration extends GoogleMailConfiguration {
-    @UriParam
+    @UriParam(description = "The ID of the attachment")
     private String id;
-    @UriParam
+    @UriParam(description = "The ID of the message containing the attachment")
     private String messageId;
-    @UriParam
+    @UriParam(description = "The user's email address. The special value me can be used to indicate the authenticated user. default: me")
     private String userId;
 
     public String getId() {
diff --git a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/GmailUsersMessagesEndpointConfiguration.java b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/GmailUsersMessagesEndpointConfiguration.java
index 4d4d4f7..a9f8062 100644
--- a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/GmailUsersMessagesEndpointConfiguration.java
+++ b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/GmailUsersMessagesEndpointConfiguration.java
@@ -16,19 +16,19 @@ import org.apache.camel.spi.UriParams;
 @UriParams
 @Configurer
 public final class GmailUsersMessagesEndpointConfiguration extends GoogleMailConfiguration {
-    @UriParam
+    @UriParam(description = "The com.google.api.services.gmail.model.BatchDeleteMessagesRequest")
     private com.google.api.services.gmail.model.BatchDeleteMessagesRequest batchDeleteMessagesRequest;
-    @UriParam
+    @UriParam(description = "The com.google.api.services.gmail.model.BatchModifyMessagesRequest")
     private com.google.api.services.gmail.model.BatchModifyMessagesRequest batchModifyMessagesRequest;
-    @UriParam
+    @UriParam(description = "The com.google.api.services.gmail.model.Message media metadata or null if none")
     private com.google.api.services.gmail.model.Message content;
-    @UriParam
+    @UriParam(description = "The ID of the message to delete")
     private String id;
-    @UriParam
+    @UriParam(description = "The media HTTP content or null if none")
     private com.google.api.client.http.AbstractInputStreamContent mediaContent;
-    @UriParam
+    @UriParam(description = "The com.google.api.services.gmail.model.ModifyMessageRequest")
     private com.google.api.services.gmail.model.ModifyMessageRequest modifyMessageRequest;
-    @UriParam
+    @UriParam(description = "The user's email address. The special value me can be used to indicate the authenticated user. default: me")
     private String userId;
 
     public com.google.api.services.gmail.model.BatchDeleteMessagesRequest getBatchDeleteMessagesRequest() {
diff --git a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/GmailUsersThreadsEndpointConfiguration.java b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/GmailUsersThreadsEndpointConfiguration.java
index c03cabcd..acbdd38 100644
--- a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/GmailUsersThreadsEndpointConfiguration.java
+++ b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/GmailUsersThreadsEndpointConfiguration.java
@@ -16,11 +16,11 @@ import org.apache.camel.spi.UriParams;
 @UriParams
 @Configurer
 public final class GmailUsersThreadsEndpointConfiguration extends GoogleMailConfiguration {
-    @UriParam
+    @UriParam(description = "The com.google.api.services.gmail.model.ModifyThreadRequest")
     private com.google.api.services.gmail.model.ModifyThreadRequest content;
-    @UriParam
+    @UriParam(description = "ID of the Thread to delete")
     private String id;
-    @UriParam
+    @UriParam(description = "The user's email address. The special value me can be used to indicate the authenticated user. default: me")
     private String userId;
 
     public com.google.api.services.gmail.model.ModifyThreadRequest getContent() {
diff --git a/components/camel-google-mail/src/generated/resources/org/apache/camel/component/google/mail/google-mail.json b/components/camel-google-mail/src/generated/resources/org/apache/camel/component/google/mail/google-mail.json
index 1fa4c73..04bf5b5 100644
--- a/components/camel-google-mail/src/generated/resources/org/apache/camel/component/google/mail/google-mail.json
+++ b/components/camel-google-mail/src/generated/resources/org/apache/camel/component/google/mail/google-mail.json
@@ -67,12 +67,12 @@
     "refreshToken": { "kind": "parameter", "displayName": "Refresh Token", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": true, "configurationClass": "org.apache.camel.component.google.mail.GoogleMailConfiguration", "configurationField": "configuration", "description": "OAuth 2 refresh token. Using this, the Google Calendar component can obtain a new accessToken whenever the current one expires [...]
   },
   "apiProperties": {
-    "attachments": { "id": { "kind": "parameter", "displayName": "Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "" }, "messageId": { "kind": "parameter", "displayName": "Message Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "" }, "userId": { "kind": "parameter", "di [...]
-    "drafts": { "content": { "kind": "parameter", "displayName": "Content", "group": "common", "label": "", "required": false, "type": "object", "javaType": "com.google.api.services.gmail.model.Draft", "deprecated": false, "secret": false, "description": "" }, "id": { "kind": "parameter", "displayName": "Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "" }, "mediaContent": { "ki [...]
-    "history": { "userId": { "kind": "parameter", "displayName": "User Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "" } },
-    "labels": { "content": { "kind": "parameter", "displayName": "Content", "group": "common", "label": "", "required": false, "type": "object", "javaType": "com.google.api.services.gmail.model.Label", "deprecated": false, "secret": false, "description": "" }, "id": { "kind": "parameter", "displayName": "Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "" }, "userId": { "kind": " [...]
-    "messages": { "batchDeleteMessagesRequest": { "kind": "parameter", "displayName": "Batch Delete Messages Request", "group": "common", "label": "", "required": false, "type": "object", "javaType": "com.google.api.services.gmail.model.BatchDeleteMessagesRequest", "deprecated": false, "secret": false, "description": "" }, "batchModifyMessagesRequest": { "kind": "parameter", "displayName": "Batch Modify Messages Request", "group": "common", "label": "", "required": false, "type": "object [...]
-    "threads": { "content": { "kind": "parameter", "displayName": "Content", "group": "common", "label": "", "required": false, "type": "object", "javaType": "com.google.api.services.gmail.model.ModifyThreadRequest", "deprecated": false, "secret": false, "description": "" }, "id": { "kind": "parameter", "displayName": "Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "" }, "userI [...]
-    "users": { "content": { "kind": "parameter", "displayName": "Content", "group": "common", "label": "", "required": false, "type": "object", "javaType": "com.google.api.services.gmail.model.WatchRequest", "deprecated": false, "secret": false, "description": "" }, "userId": { "kind": "parameter", "displayName": "User Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "" } }
+    "attachments": { "id": { "kind": "parameter", "displayName": "Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "The ID of the attachment" }, "messageId": { "kind": "parameter", "displayName": "Message Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "The ID of the mes [...]
+    "drafts": { "content": { "kind": "parameter", "displayName": "Content", "group": "common", "label": "", "required": false, "type": "object", "javaType": "com.google.api.services.gmail.model.Draft", "deprecated": false, "secret": false, "description": "The com.google.api.services.gmail.model.Draft media metadata or null if none" }, "id": { "kind": "parameter", "displayName": "Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "dep [...]
+    "history": { "userId": { "kind": "parameter", "displayName": "User Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "The user's email address. The special value me can be used to indicate the authenticated user. default: me" } },
+    "labels": { "content": { "kind": "parameter", "displayName": "Content", "group": "common", "label": "", "required": false, "type": "object", "javaType": "com.google.api.services.gmail.model.Label", "deprecated": false, "secret": false, "description": "The com.google.api.services.gmail.model.Label" }, "id": { "kind": "parameter", "displayName": "Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": fals [...]
+    "messages": { "batchDeleteMessagesRequest": { "kind": "parameter", "displayName": "Batch Delete Messages Request", "group": "common", "label": "", "required": false, "type": "object", "javaType": "com.google.api.services.gmail.model.BatchDeleteMessagesRequest", "deprecated": false, "secret": false, "description": "The com.google.api.services.gmail.model.BatchDeleteMessagesRequest" }, "batchModifyMessagesRequest": { "kind": "parameter", "displayName": "Batch Modify Messages Request",  [...]
+    "threads": { "content": { "kind": "parameter", "displayName": "Content", "group": "common", "label": "", "required": false, "type": "object", "javaType": "com.google.api.services.gmail.model.ModifyThreadRequest", "deprecated": false, "secret": false, "description": "The com.google.api.services.gmail.model.ModifyThreadRequest" }, "id": { "kind": "parameter", "displayName": "Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "depre [...]
+    "users": { "content": { "kind": "parameter", "displayName": "Content", "group": "common", "label": "", "required": false, "type": "object", "javaType": "com.google.api.services.gmail.model.WatchRequest", "deprecated": false, "secret": false, "description": "The com.google.api.services.gmail.model.WatchRequest" }, "userId": { "kind": "parameter", "displayName": "User Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": [...]
   }
 }
diff --git a/components/camel-google-mail/src/generated/resources/org/apache/camel/component/google/mail/stream/google-mail-stream.json b/components/camel-google-mail/src/generated/resources/org/apache/camel/component/google/mail/stream/google-mail-stream.json
index 098bdca..cfb3e19 100644
--- a/components/camel-google-mail/src/generated/resources/org/apache/camel/component/google/mail/stream/google-mail-stream.json
+++ b/components/camel-google-mail/src/generated/resources/org/apache/camel/component/google/mail/stream/google-mail-stream.json
@@ -71,12 +71,12 @@
     "useFixedDelay": { "kind": "parameter", "displayName": "Use Fixed Delay", "group": "scheduler", "label": "consumer,scheduler", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": "true", "description": "Controls if fixed delay or fixed rate is used. See ScheduledExecutorService in JDK for details." }
   },
   "apiProperties": {
-    "attachments": { "id": { "kind": "parameter", "displayName": "Id", "group": "consumer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "" }, "messageId": { "kind": "parameter", "displayName": "Message Id", "group": "consumer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "" }, "userId": { "kind": "parameter", [...]
-    "drafts": { "content": { "kind": "parameter", "displayName": "Content", "group": "consumer", "label": "", "required": false, "type": "object", "javaType": "com.google.api.services.gmail.model.Draft", "deprecated": false, "secret": false, "description": "" }, "id": { "kind": "parameter", "displayName": "Id", "group": "consumer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "" }, "mediaContent": { [...]
-    "history": { "userId": { "kind": "parameter", "displayName": "User Id", "group": "consumer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "" } },
-    "labels": { "content": { "kind": "parameter", "displayName": "Content", "group": "consumer", "label": "", "required": false, "type": "object", "javaType": "com.google.api.services.gmail.model.Label", "deprecated": false, "secret": false, "description": "" }, "id": { "kind": "parameter", "displayName": "Id", "group": "consumer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "" }, "userId": { "kind [...]
-    "messages": { "batchDeleteMessagesRequest": { "kind": "parameter", "displayName": "Batch Delete Messages Request", "group": "consumer", "label": "", "required": false, "type": "object", "javaType": "com.google.api.services.gmail.model.BatchDeleteMessagesRequest", "deprecated": false, "secret": false, "description": "" }, "batchModifyMessagesRequest": { "kind": "parameter", "displayName": "Batch Modify Messages Request", "group": "consumer", "label": "", "required": false, "type": "ob [...]
-    "threads": { "content": { "kind": "parameter", "displayName": "Content", "group": "consumer", "label": "", "required": false, "type": "object", "javaType": "com.google.api.services.gmail.model.ModifyThreadRequest", "deprecated": false, "secret": false, "description": "" }, "id": { "kind": "parameter", "displayName": "Id", "group": "consumer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "" }, "u [...]
-    "users": { "content": { "kind": "parameter", "displayName": "Content", "group": "consumer", "label": "", "required": false, "type": "object", "javaType": "com.google.api.services.gmail.model.WatchRequest", "deprecated": false, "secret": false, "description": "" }, "userId": { "kind": "parameter", "displayName": "User Id", "group": "consumer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "" } }
+    "attachments": { "id": { "kind": "parameter", "displayName": "Id", "group": "consumer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "The ID of the attachment" }, "messageId": { "kind": "parameter", "displayName": "Message Id", "group": "consumer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "The ID of the [...]
+    "drafts": { "content": { "kind": "parameter", "displayName": "Content", "group": "consumer", "label": "", "required": false, "type": "object", "javaType": "com.google.api.services.gmail.model.Draft", "deprecated": false, "secret": false, "description": "The com.google.api.services.gmail.model.Draft media metadata or null if none" }, "id": { "kind": "parameter", "displayName": "Id", "group": "consumer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String",  [...]
+    "history": { "userId": { "kind": "parameter", "displayName": "User Id", "group": "consumer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "The user's email address. The special value me can be used to indicate the authenticated user. default: me" } },
+    "labels": { "content": { "kind": "parameter", "displayName": "Content", "group": "consumer", "label": "", "required": false, "type": "object", "javaType": "com.google.api.services.gmail.model.Label", "deprecated": false, "secret": false, "description": "The com.google.api.services.gmail.model.Label" }, "id": { "kind": "parameter", "displayName": "Id", "group": "consumer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret":  [...]
+    "messages": { "batchDeleteMessagesRequest": { "kind": "parameter", "displayName": "Batch Delete Messages Request", "group": "consumer", "label": "", "required": false, "type": "object", "javaType": "com.google.api.services.gmail.model.BatchDeleteMessagesRequest", "deprecated": false, "secret": false, "description": "The com.google.api.services.gmail.model.BatchDeleteMessagesRequest" }, "batchModifyMessagesRequest": { "kind": "parameter", "displayName": "Batch Modify Messages Request" [...]
+    "threads": { "content": { "kind": "parameter", "displayName": "Content", "group": "consumer", "label": "", "required": false, "type": "object", "javaType": "com.google.api.services.gmail.model.ModifyThreadRequest", "deprecated": false, "secret": false, "description": "The com.google.api.services.gmail.model.ModifyThreadRequest" }, "id": { "kind": "parameter", "displayName": "Id", "group": "consumer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "d [...]
+    "users": { "content": { "kind": "parameter", "displayName": "Content", "group": "consumer", "label": "", "required": false, "type": "object", "javaType": "com.google.api.services.gmail.model.WatchRequest", "deprecated": false, "secret": false, "description": "The com.google.api.services.gmail.model.WatchRequest" }, "userId": { "kind": "parameter", "displayName": "User Id", "group": "consumer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecat [...]
   }
 }
diff --git a/components/camel-google-mail/src/main/docs/google-mail-component.adoc b/components/camel-google-mail/src/main/docs/google-mail-component.adoc
index 57af442..9226fa3 100644
--- a/components/camel-google-mail/src/main/docs/google-mail-component.adoc
+++ b/components/camel-google-mail/src/main/docs/google-mail-component.adoc
@@ -168,9 +168,9 @@ The following lists each API name and method and its additional parameters.
 [width="100%",cols="2,5,3",options="header"]
 |===
 | Name | Description | Type
-| *id* |  | String
-| *messageId* |  | String
-| *userId* |  | String
+| *id* | The ID of the attachment | String
+| *messageId* | The ID of the message containing the attachment | String
+| *userId* | The user's email address. The special value me can be used to indicate the authenticated user. default: me | String
 |===
 
 
@@ -179,10 +179,10 @@ The following lists each API name and method and its additional parameters.
 [width="100%",cols="2,5,3",options="header"]
 |===
 | Name | Description | Type
-| *content* |  | Draft
-| *id* |  | String
-| *mediaContent* |  | AbstractInputStreamContent
-| *userId* |  | String
+| *content* | The com.google.api.services.gmail.model.Draft media metadata or null if none | Draft
+| *id* | The ID of the draft to delete | String
+| *mediaContent* | The media HTTP content or null if none | AbstractInputStreamContent
+| *userId* | The user's email address. The special value me can be used to indicate the authenticated user. default: me | String
 |===
 
 
@@ -191,7 +191,7 @@ The following lists each API name and method and its additional parameters.
 [width="100%",cols="2,5,3",options="header"]
 |===
 | Name | Description | Type
-| *userId* |  | String
+| *userId* | The user's email address. The special value me can be used to indicate the authenticated user. default: me | String
 |===
 
 
@@ -200,9 +200,9 @@ The following lists each API name and method and its additional parameters.
 [width="100%",cols="2,5,3",options="header"]
 |===
 | Name | Description | Type
-| *content* |  | Label
-| *id* |  | String
-| *userId* |  | String
+| *content* | The com.google.api.services.gmail.model.Label | Label
+| *id* | The ID of the label to delete | String
+| *userId* | The user's email address. The special value me can be used to indicate the authenticated user. default: me | String
 |===
 
 
@@ -211,13 +211,13 @@ The following lists each API name and method and its additional parameters.
 [width="100%",cols="2,5,3",options="header"]
 |===
 | Name | Description | Type
-| *batchDeleteMessagesRequest* |  | BatchDeleteMessagesRequest
-| *batchModifyMessagesRequest* |  | BatchModifyMessagesRequest
-| *content* |  | Message
-| *id* |  | String
-| *mediaContent* |  | AbstractInputStreamContent
-| *modifyMessageRequest* |  | ModifyMessageRequest
-| *userId* |  | String
+| *batchDeleteMessagesRequest* | The com.google.api.services.gmail.model.BatchDeleteMessagesRequest | BatchDeleteMessagesRequest
+| *batchModifyMessagesRequest* | The com.google.api.services.gmail.model.BatchModifyMessagesRequest | BatchModifyMessagesRequest
+| *content* | The com.google.api.services.gmail.model.Message media metadata or null if none | Message
+| *id* | The ID of the message to delete | String
+| *mediaContent* | The media HTTP content or null if none | AbstractInputStreamContent
+| *modifyMessageRequest* | The com.google.api.services.gmail.model.ModifyMessageRequest | ModifyMessageRequest
+| *userId* | The user's email address. The special value me can be used to indicate the authenticated user. default: me | String
 |===
 
 
@@ -226,9 +226,9 @@ The following lists each API name and method and its additional parameters.
 [width="100%",cols="2,5,3",options="header"]
 |===
 | Name | Description | Type
-| *content* |  | ModifyThreadRequest
-| *id* |  | String
-| *userId* |  | String
+| *content* | The com.google.api.services.gmail.model.ModifyThreadRequest | ModifyThreadRequest
+| *id* | ID of the Thread to delete | String
+| *userId* | The user's email address. The special value me can be used to indicate the authenticated user. default: me | String
 |===
 
 
@@ -237,8 +237,8 @@ The following lists each API name and method and its additional parameters.
 [width="100%",cols="2,5,3",options="header"]
 |===
 | Name | Description | Type
-| *content* |  | WatchRequest
-| *userId* |  | String
+| *content* | The com.google.api.services.gmail.model.WatchRequest | WatchRequest
+| *userId* | The user's email address. The special value me can be used to indicate the authenticated user. default: me | String
 |===
 // endpoint options: END
 
diff --git a/components/camel-google-mail/src/main/docs/google-mail-stream-component.adoc b/components/camel-google-mail/src/main/docs/google-mail-stream-component.adoc
index 48c2701..9bbead9 100644
--- a/components/camel-google-mail/src/main/docs/google-mail-stream-component.adoc
+++ b/components/camel-google-mail/src/main/docs/google-mail-stream-component.adoc
@@ -155,9 +155,9 @@ The following lists each API name and method and its additional parameters.
 [width="100%",cols="2,5,3",options="header"]
 |===
 | Name | Description | Type
-| *id* |  | String
-| *messageId* |  | String
-| *userId* |  | String
+| *id* | The ID of the attachment | String
+| *messageId* | The ID of the message containing the attachment | String
+| *userId* | The user's email address. The special value me can be used to indicate the authenticated user. default: me | String
 |===
 
 
@@ -166,10 +166,10 @@ The following lists each API name and method and its additional parameters.
 [width="100%",cols="2,5,3",options="header"]
 |===
 | Name | Description | Type
-| *content* |  | Draft
-| *id* |  | String
-| *mediaContent* |  | AbstractInputStreamContent
-| *userId* |  | String
+| *content* | The com.google.api.services.gmail.model.Draft media metadata or null if none | Draft
+| *id* | The ID of the draft to delete | String
+| *mediaContent* | The media HTTP content or null if none | AbstractInputStreamContent
+| *userId* | The user's email address. The special value me can be used to indicate the authenticated user. default: me | String
 |===
 
 
@@ -178,7 +178,7 @@ The following lists each API name and method and its additional parameters.
 [width="100%",cols="2,5,3",options="header"]
 |===
 | Name | Description | Type
-| *userId* |  | String
+| *userId* | The user's email address. The special value me can be used to indicate the authenticated user. default: me | String
 |===
 
 
@@ -187,9 +187,9 @@ The following lists each API name and method and its additional parameters.
 [width="100%",cols="2,5,3",options="header"]
 |===
 | Name | Description | Type
-| *content* |  | Label
-| *id* |  | String
-| *userId* |  | String
+| *content* | The com.google.api.services.gmail.model.Label | Label
+| *id* | The ID of the label to delete | String
+| *userId* | The user's email address. The special value me can be used to indicate the authenticated user. default: me | String
 |===
 
 
@@ -198,13 +198,13 @@ The following lists each API name and method and its additional parameters.
 [width="100%",cols="2,5,3",options="header"]
 |===
 | Name | Description | Type
-| *batchDeleteMessagesRequest* |  | BatchDeleteMessagesRequest
-| *batchModifyMessagesRequest* |  | BatchModifyMessagesRequest
-| *content* |  | Message
-| *id* |  | String
-| *mediaContent* |  | AbstractInputStreamContent
-| *modifyMessageRequest* |  | ModifyMessageRequest
-| *userId* |  | String
+| *batchDeleteMessagesRequest* | The com.google.api.services.gmail.model.BatchDeleteMessagesRequest | BatchDeleteMessagesRequest
+| *batchModifyMessagesRequest* | The com.google.api.services.gmail.model.BatchModifyMessagesRequest | BatchModifyMessagesRequest
+| *content* | The com.google.api.services.gmail.model.Message media metadata or null if none | Message
+| *id* | The ID of the message to delete | String
+| *mediaContent* | The media HTTP content or null if none | AbstractInputStreamContent
+| *modifyMessageRequest* | The com.google.api.services.gmail.model.ModifyMessageRequest | ModifyMessageRequest
+| *userId* | The user's email address. The special value me can be used to indicate the authenticated user. default: me | String
 |===
 
 
@@ -213,9 +213,9 @@ The following lists each API name and method and its additional parameters.
 [width="100%",cols="2,5,3",options="header"]
 |===
 | Name | Description | Type
-| *content* |  | ModifyThreadRequest
-| *id* |  | String
-| *userId* |  | String
+| *content* | The com.google.api.services.gmail.model.ModifyThreadRequest | ModifyThreadRequest
+| *id* | ID of the Thread to delete | String
+| *userId* | The user's email address. The special value me can be used to indicate the authenticated user. default: me | String
 |===
 
 
@@ -224,8 +224,8 @@ The following lists each API name and method and its additional parameters.
 [width="100%",cols="2,5,3",options="header"]
 |===
 | Name | Description | Type
-| *content* |  | WatchRequest
-| *userId* |  | String
+| *content* | The com.google.api.services.gmail.model.WatchRequest | WatchRequest
+| *userId* | The user's email address. The special value me can be used to indicate the authenticated user. default: me | String
 |===
 // endpoint options: END