From 53294e2cbb04e445bf691afbbfc17336a0d06921 Mon Sep 17 00:00:00 2001 From: cloud-java-bot <122572305+cloud-java-bot@users.noreply.github.com> Date: Fri, 19 Apr 2024 12:49:34 -0400 Subject: [PATCH] chore: generate libraries at Thu Apr 18 03:11:39 UTC 2024 (#10713) * chore: generate libraries at Wed Apr 17 13:05:55 UTC 2024 * chore: generate libraries at Thu Apr 18 03:11:39 UTC 2024 --- generation_config.yaml | 2 +- .../com/google/chat/v1/ChatServiceClient.java | 971 +- .../google/chat/v1/ChatServiceSettings.java | 11 + .../com/google/chat/v1/gapic_metadata.json | 3 + .../google/chat/v1/stub/ChatServiceStub.java | 5 + .../chat/v1/stub/ChatServiceStubSettings.java | 25 + .../chat/v1/stub/GrpcChatServiceStub.java | 30 + .../chat/v1/stub/HttpJsonChatServiceStub.java | 61 + .../com.google.chat.v1/reflect-config.json | 36 + .../v1/ChatServiceClientHttpJsonTest.java | 58 + .../google/chat/v1/ChatServiceClientTest.java | 43 + .../google/chat/v1/MockChatServiceImpl.java | 21 + .../com/google/chat/v1/ChatServiceGrpc.java | 770 +- .../com/google/chat/v1/AccessoryWidget.java | 32 +- .../chat/v1/AccessoryWidgetOrBuilder.java | 6 +- .../com/google/chat/v1/ActionResponse.java | 28 +- .../chat/v1/ActionResponseOrBuilder.java | 6 +- .../java/com/google/chat/v1/ActionStatus.java | 4 +- .../java/com/google/chat/v1/Annotation.java | 4 +- .../java/com/google/chat/v1/Attachment.java | 70 +- .../com/google/chat/v1/AttachmentDataRef.java | 20 +- .../java/com/google/chat/v1/CardWithId.java | 18 +- .../com/google/chat/v1/ChatServiceProto.java | 85 +- .../chat/v1/CompleteImportSpaceResponse.java | 20 +- .../google/chat/v1/ContextualAddOnMarkup.java | 18 +- .../chat/v1/CreateMembershipRequest.java | 20 +- .../google/chat/v1/CreateMessageRequest.java | 42 +- .../v1/CreateMessageRequestOrBuilder.java | 12 +- .../google/chat/v1/CreateSpaceRequest.java | 20 +- .../chat/v1/DeleteMembershipRequest.java | 20 +- .../google/chat/v1/DeleteMessageRequest.java | 58 +- .../v1/DeleteMessageRequestOrBuilder.java | 10 +- .../java/com/google/chat/v1/DialogAction.java | 88 +- .../google/chat/v1/DialogActionOrBuilder.java | 21 +- .../com/google/chat/v1/DriveLinkData.java | 24 +- .../chat/v1/DriveLinkDataOrBuilder.java | 6 +- .../chat/v1/FindDirectMessageRequest.java | 28 +- .../v1/FindDirectMessageRequestOrBuilder.java | 8 +- .../google/chat/v1/GetAttachmentRequest.java | 20 +- .../google/chat/v1/GetMembershipRequest.java | 48 +- .../v1/GetMembershipRequestOrBuilder.java | 8 +- .../com/google/chat/v1/GetMessageRequest.java | 34 +- .../chat/v1/GetMessageRequestOrBuilder.java | 4 +- .../chat/v1/ListMembershipsRequest.java | 79 +- .../v1/ListMembershipsRequestOrBuilder.java | 16 +- .../chat/v1/ListMembershipsResponse.java | 20 +- .../google/chat/v1/ListMessagesRequest.java | 16 +- .../chat/v1/ListMessagesRequestOrBuilder.java | 4 +- .../google/chat/v1/ListMessagesResponse.java | 20 +- .../google/chat/v1/ListReactionsRequest.java | 28 +- .../v1/ListReactionsRequestOrBuilder.java | 8 +- .../google/chat/v1/ListReactionsResponse.java | 20 +- .../com/google/chat/v1/ListSpacesRequest.java | 30 +- .../chat/v1/ListSpacesRequestOrBuilder.java | 8 +- .../google/chat/v1/ListSpacesResponse.java | 20 +- .../java/com/google/chat/v1/Membership.java | 79 +- .../google/chat/v1/MembershipOrBuilder.java | 20 +- .../com/google/chat/v1/MembershipProto.java | 100 +- .../main/java/com/google/chat/v1/Message.java | 2158 +-- .../com/google/chat/v1/MessageOrBuilder.java | 492 +- .../com/google/chat/v1/SetUpSpaceRequest.java | 20 +- .../java/com/google/chat/v1/SlashCommand.java | 10 +- .../main/java/com/google/chat/v1/Space.java | 116 +- .../com/google/chat/v1/SpaceOrBuilder.java | 25 +- .../main/java/com/google/chat/v1/Thread.java | 8 +- .../chat/v1/UpdateMembershipRequest.java | 1076 ++ .../v1/UpdateMembershipRequestOrBuilder.java | 120 + .../google/chat/v1/UpdateMessageRequest.java | 28 +- .../v1/UpdateMessageRequestOrBuilder.java | 2 +- .../google/chat/v1/UpdateSpaceRequest.java | 168 +- .../chat/v1/UpdateSpaceRequestOrBuilder.java | 42 +- .../chat/v1/UploadAttachmentRequest.java | 20 +- .../chat/v1/UploadAttachmentResponse.java | 20 +- .../main/java/com/google/chat/v1/User.java | 10 +- .../java/com/google/chat/v1/WidgetMarkup.java | 58 +- .../proto/google/chat/v1/action_status.proto | 2 +- .../proto/google/chat/v1/annotation.proto | 4 +- .../proto/google/chat/v1/attachment.proto | 9 + .../proto/google/chat/v1/chat_service.proto | 172 +- .../google/chat/v1/contextual_addon.proto | 2 +- .../proto/google/chat/v1/membership.proto | 44 +- .../main/proto/google/chat/v1/message.proto | 184 +- .../main/proto/google/chat/v1/reaction.proto | 6 +- .../proto/google/chat/v1/slash_command.proto | 5 +- .../src/main/proto/google/chat/v1/space.proto | 45 +- .../proto/google/chat/v1/space_setup.proto | 1 + .../src/main/proto/google/chat/v1/user.proto | 5 +- .../main/proto/google/chat/v1/widgets.proto | 8 +- .../AsyncUpdateMembership.java | 51 + .../SyncUpdateMembership.java | 47 + ...ncUpdateMembershipMembershipFieldmask.java | 43 + .../reflect-config.json | 18 + .../v1/DocumentProcessorServiceGrpc.java | 56 +- .../documentai/v1/BatchProcessMetadata.java | 81 +- .../documentai/v1/BatchProcessRequest.java | 21 +- .../v1/BatchProcessRequestOrBuilder.java | 6 +- .../documentai/v1/CreateProcessorRequest.java | 126 +- .../v1/CreateProcessorRequestOrBuilder.java | 29 +- .../v1/DeleteProcessorMetadata.java | 6 +- .../documentai/v1/DeleteProcessorRequest.java | 6 +- .../v1/DisableProcessorMetadata.java | 6 +- .../v1/DisableProcessorRequest.java | 6 +- .../v1/DisableProcessorResponse.java | 8 +- .../google/cloud/documentai/v1/Document.java | 2216 ++- .../v1/DocumentAiProcessorService.java | 453 +- .../documentai/v1/DocumentOrBuilder.java | 75 +- .../v1/EnableProcessorMetadata.java | 6 +- .../documentai/v1/EnableProcessorRequest.java | 6 +- .../v1/EnableProcessorResponse.java | 8 +- .../v1/EvaluateProcessorVersionRequest.java | 84 +- ...luateProcessorVersionRequestOrBuilder.java | 20 +- .../v1/FetchProcessorTypesRequest.java | 10 +- .../v1/FetchProcessorTypesResponse.java | 6 +- .../documentai/v1/GetEvaluationRequest.java | 21 +- .../v1/GetEvaluationRequestOrBuilder.java | 6 +- .../documentai/v1/GetProcessorRequest.java | 6 +- .../v1/GetProcessorTypeRequest.java | 6 +- .../v1/GetProcessorVersionRequest.java | 6 +- .../documentai/v1/HumanReviewStatus.java | 62 +- .../v1/HumanReviewStatusOrBuilder.java | 16 +- .../documentai/v1/ListEvaluationsRequest.java | 34 +- .../v1/ListEvaluationsRequestOrBuilder.java | 8 +- .../v1/ListProcessorTypesRequest.java | 10 +- .../v1/ListProcessorTypesResponse.java | 6 +- .../v1/ListProcessorVersionsRequest.java | 35 +- ...ListProcessorVersionsRequestOrBuilder.java | 10 +- .../documentai/v1/ListProcessorsRequest.java | 28 +- .../v1/ListProcessorsRequestOrBuilder.java | 8 +- .../documentai/v1/ListProcessorsResponse.java | 6 +- .../google/cloud/documentai/v1/OcrConfig.java | 24 +- .../documentai/v1/OcrConfigOrBuilder.java | 6 +- .../cloud/documentai/v1/ProcessOptions.java | 96 +- .../v1/ProcessOptionsOrBuilder.java | 24 +- .../cloud/documentai/v1/ProcessRequest.java | 126 +- .../v1/ProcessRequestOrBuilder.java | 33 +- .../cloud/documentai/v1/ProcessResponse.java | 6 +- .../google/cloud/documentai/v1/Processor.java | 21 +- .../documentai/v1/ProcessorOrBuilder.java | 6 +- .../v1/ReviewDocumentOperationMetadata.java | 6 +- .../documentai/v1/ReviewDocumentRequest.java | 41 +- .../v1/ReviewDocumentRequestOrBuilder.java | 10 +- .../documentai/v1/ReviewDocumentResponse.java | 6 +- .../v1/SetDefaultProcessorVersionRequest.java | 63 +- ...faultProcessorVersionRequestOrBuilder.java | 18 +- .../v1/TrainProcessorVersionRequest.java | 1280 +- ...TrainProcessorVersionRequestOrBuilder.java | 70 +- .../google/cloud/documentai/v1/document.proto | 213 +- .../cloud/documentai/v1/document_io.proto | 4 +- .../v1/document_processor_service.proto | 314 +- .../cloud/documentai/v1/evaluation.proto | 4 +- .../cloud/documentai/v1/processor.proto | 21 +- .../com/google/cloud/kms/v1/PublicKey.java | 142 +- .../cloud/kms/v1/PublicKeyOrBuilder.java | 38 +- .../proto/google/cloud/kms/v1/resources.proto | 16 +- .../reflect-config.json | 153 + .../ServiceMonitoringServiceClientTest.java | 7 + .../com/google/monitoring/v3/Service.java | 12115 +++++++++++++--- .../monitoring/v3/ServiceLevelObjective.java | 28 +- .../v3/ServiceLevelObjectiveOrBuilder.java | 8 +- .../monitoring/v3/ServiceMonitoringProto.java | 314 +- .../monitoring/v3/ServiceOrBuilder.java | 192 +- .../monitoring/v3/SyntheticMonitorTarget.java | 1943 +++ .../v3/SyntheticMonitorTargetOrBuilder.java | 67 + .../monitoring/v3/UptimeCheckConfig.java | 1894 ++- .../v3/UptimeCheckConfigOrBuilder.java | 47 +- .../com/google/monitoring/v3/UptimeProto.java | 275 +- .../proto/google/monitoring/v3/service.proto | 149 +- .../proto/google/monitoring/v3/uptime.proto | 71 +- .../v1/ListFirewallPoliciesResponse.java | 4 +- .../v1/recaptchaenterprise.proto | 2 +- .../reflect-config.json | 90 + .../v1/SecurityCenterClientHttpJsonTest.java | 9 + .../v1/SecurityCenterClientTest.java | 7 + .../securitycenter/v1/AdaptiveProtection.java | 558 + .../v1/AdaptiveProtectionOrBuilder.java | 43 + .../cloud/securitycenter/v1/Attack.java | 810 ++ .../securitycenter/v1/AttackOrBuilder.java | 77 + .../cloud/securitycenter/v1/CloudArmor.java | 2080 +++ .../v1/CloudArmorOrBuilder.java | 251 + .../securitycenter/v1/CloudArmorProto.java | 141 + .../cloud/securitycenter/v1/Finding.java | 289 +- .../securitycenter/v1/FindingOrBuilder.java | 35 + .../securitycenter/v1/FindingOuterClass.java | 252 +- .../cloud/securitycenter/v1/Requests.java | 824 ++ .../securitycenter/v1/RequestsOrBuilder.java | 80 + .../securitycenter/v1/SecurityPolicy.java | 925 ++ .../v1/SecurityPolicyOrBuilder.java | 95 + .../cloud/securitycenter/v1/cloud_armor.proto | 114 + .../cloud/securitycenter/v1/finding.proto | 4 + .../HttpJsonVideoIntelligenceServiceStub.java | 44 +- 190 files changed, 29116 insertions(+), 9277 deletions(-) create mode 100644 java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/UpdateMembershipRequest.java create mode 100644 java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/UpdateMembershipRequestOrBuilder.java create mode 100644 java-chat/samples/snippets/generated/com/google/chat/v1/chatservice/updatemembership/AsyncUpdateMembership.java create mode 100644 java-chat/samples/snippets/generated/com/google/chat/v1/chatservice/updatemembership/SyncUpdateMembership.java create mode 100644 java-chat/samples/snippets/generated/com/google/chat/v1/chatservice/updatemembership/SyncUpdateMembershipMembershipFieldmask.java create mode 100644 java-monitoring/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SyntheticMonitorTarget.java create mode 100644 java-monitoring/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SyntheticMonitorTargetOrBuilder.java create mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AdaptiveProtection.java create mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AdaptiveProtectionOrBuilder.java create mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Attack.java create mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AttackOrBuilder.java create mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CloudArmor.java create mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CloudArmorOrBuilder.java create mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CloudArmorProto.java create mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Requests.java create mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/RequestsOrBuilder.java create mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecurityPolicy.java create mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecurityPolicyOrBuilder.java create mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/cloud_armor.proto diff --git a/generation_config.yaml b/generation_config.yaml index 619283c8303f..67faeeb974c8 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,6 +1,6 @@ gapic_generator_version: 2.39.0 protobuf_version: '25.2' -googleapis_commitish: 113a378d5aad5018876ec0a8cbfd4d6a4f746809 +googleapis_commitish: cab99b213a32bc0fc3ef76d445e09df9fa094e47 libraries_bom_version: 26.37.0 owlbot_cli_image: sha256:623647ee79ac605858d09e60c1382a716c125fb776f69301b72de1cd35d49409 synthtool_commitish: 63cc541da2c45fcfca2136c43e638da1fbae174d diff --git a/java-chat/google-cloud-chat/src/main/java/com/google/chat/v1/ChatServiceClient.java b/java-chat/google-cloud-chat/src/main/java/com/google/chat/v1/ChatServiceClient.java index 05edd034bd43..28ad3c5fd7fb 100644 --- a/java-chat/google-cloud-chat/src/main/java/com/google/chat/v1/ChatServiceClient.java +++ b/java-chat/google-cloud-chat/src/main/java/com/google/chat/v1/ChatServiceClient.java @@ -68,8 +68,8 @@ * *
CreateMessage
Creates a message in a Google Chat space. For an example, see [Create a message](https://developers.google.com/chat/api/guides/v1/messages/create). - *
Calling this method requires [authentication](https://developers.google.com/chat/api/guides/auth) and supports the following authentication types: + *
Creates a message in a Google Chat space. For an example, see [Send a message](https://developers.google.com/workspace/chat/create-messages). + *
Calling this method requires [authentication](https://developers.google.com/workspace/chat/authenticate-authorize) and supports the following authentication types: *
- For text messages, user authentication or app authentication are supported. - For card messages, only app authentication is supported. (Only Chat apps can create card messages.)
Request object method variants only take one parameter, a request object, which must be constructed before the call.
@@ -89,7 +89,7 @@ *ListMessages
Lists messages in a space that the caller is a member of, including messages from blocked members and spaces. For an example, see [List messages](/chat/api/guides/v1/messages/list). Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users).
Lists messages in a space that the caller is a member of, including messages from blocked members and spaces. For an example, see [List messages](/chat/api/guides/v1/messages/list). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
Request object method variants only take one parameter, a request object, which must be constructed before the call.
*ListMemberships
Lists memberships in a space. For an example, see [List memberships](https://developers.google.com/chat/api/guides/v1/members/list). Listing memberships with [app authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) lists memberships in spaces that the Chat app has access to, but excludes Chat app memberships, including its own. Listing memberships with [User authentication](https://developers.google.com/chat/api/guides/auth/users) lists memberships in spaces that the authenticated user has access to. - *
Requires [authentication](https://developers.google.com/chat/api/guides/auth). Supports [app authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user authentication](https://developers.google.com/chat/api/guides/auth/users).
Lists memberships in a space. For an example, see [List users and Google Chat apps in a space](https://developers.google.com/workspace/chat/list-members). Listing memberships with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) lists memberships in spaces that the Chat app has access to, but excludes Chat app memberships, including its own. Listing memberships with [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) lists memberships in spaces that the authenticated user has access to. + *
Requires [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) and [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
Request object method variants only take one parameter, a request object, which must be constructed before the call.
*GetMembership
Returns details about a membership. For an example, see [Get a membership](https://developers.google.com/chat/api/guides/v1/members/get). - *
Requires [authentication](https://developers.google.com/chat/api/guides/auth). Supports [app authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user authentication](https://developers.google.com/chat/api/guides/auth/users).
Returns details about a membership. For an example, see [Get details about a user's or Google Chat app's membership](https://developers.google.com/workspace/chat/get-members). + *
Requires [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) and [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
Request object method variants only take one parameter, a request object, which must be constructed before the call.
*GetMessage
Returns details about a message. For an example, see [Read a message](https://developers.google.com/chat/api/guides/v1/messages/get). - *
Requires [authentication](https://developers.google.com/chat/api/guides/auth). Supports [app authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user authentication](https://developers.google.com/chat/api/guides/auth/users). + *
Returns details about a message. For an example, see [Get details about a message](https://developers.google.com/workspace/chat/get-messages). + *
Requires [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) and [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). *
Note: Might return a message from a blocked member or space.
Request object method variants only take one parameter, a request object, which must be constructed before the call.
@@ -171,8 +171,8 @@ *UpdateMessage
Updates a message. There's a difference between the `patch` and `update` methods. The `patch` method uses a `patch` request while the `update` method uses a `put` request. We recommend using the `patch` method. For an example, see [Update a message](https://developers.google.com/chat/api/guides/v1/messages/update). - *
Requires [authentication](https://developers.google.com/chat/api/guides/auth). Supports [app authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user authentication](https://developers.google.com/chat/api/guides/auth/users). When using app authentication, requests can only update messages created by the calling Chat app.
Updates a message. There's a difference between the `patch` and `update` methods. The `patch` method uses a `patch` request while the `update` method uses a `put` request. We recommend using the `patch` method. For an example, see [Update a message](https://developers.google.com/workspace/chat/update-messages). + *
Requires [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) and [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). When using app authentication, requests can only update messages created by the calling Chat app.
Request object method variants only take one parameter, a request object, which must be constructed before the call.
*DeleteMessage
Deletes a message. For an example, see [Delete a message](https://developers.google.com/chat/api/guides/v1/messages/delete). - *
Requires [authentication](https://developers.google.com/chat/api/guides/auth). Supports [app authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user authentication](https://developers.google.com/chat/api/guides/auth/users). When using app authentication, requests can only delete messages created by the calling Chat app.
Deletes a message. For an example, see [Delete a message](https://developers.google.com/workspace/chat/delete-messages). + *
Requires [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) and [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). When using app authentication, requests can only delete messages created by the calling Chat app.
Request object method variants only take one parameter, a request object, which must be constructed before the call.
*GetAttachment
Gets the metadata of a message attachment. The attachment data is fetched using the [media API](https://developers.google.com/chat/api/reference/rest/v1/media/download). For an example, see [Get a message attachment](https://developers.google.com/chat/api/guides/v1/media-and-attachments/get). Requires [app authentication](https://developers.google.com/chat/api/guides/auth/service-accounts).
Gets the metadata of a message attachment. The attachment data is fetched using the [media API](https://developers.google.com/workspace/chat/api/reference/rest/v1/media/download). For an example, see [Get metadata about a message attachment](https://developers.google.com/workspace/chat/get-media-attachments). Requires [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
Request object method variants only take one parameter, a request object, which must be constructed before the call.
*UploadAttachment
Uploads an attachment. For an example, see [Upload media as a file attachment](https://developers.google.com/chat/api/guides/v1/media-and-attachments/upload). Requires user [authentication](https://developers.google.com/chat/api/guides/auth/users). + *
Uploads an attachment. For an example, see [Upload media as a file attachment](https://developers.google.com/workspace/chat/upload-media-attachments). Requires user [authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). *
You can upload attachments up to 200 MB. Certain file types aren't supported. For details, see [File types blocked by Google Chat](https://support.google.com/chat/answer/7651457?&co=GENIE.Platform%3DDesktop#File%20types%20blocked%20in%20Google%20Chat).
Request object method variants only take one parameter, a request object, which must be constructed before the call.
@@ -244,8 +244,8 @@ *ListSpaces
Lists spaces the caller is a member of. Group chats and DMs aren't listed until the first message is sent. For an example, see [List spaces](https://developers.google.com/chat/api/guides/v1/spaces/list). - *
Requires [authentication](https://developers.google.com/chat/api/guides/auth). Supports [app authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user authentication](https://developers.google.com/chat/api/guides/auth/users). + *
Lists spaces the caller is a member of. Group chats and DMs aren't listed until the first message is sent. For an example, see [List spaces](https://developers.google.com/workspace/chat/list-spaces). + *
Requires [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) and [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). *
Lists spaces visible to the caller or authenticated user. Group chats and DMs aren't listed until the first message is sent.
Request object method variants only take one parameter, a request object, which must be constructed before the call.
@@ -265,8 +265,8 @@ *GetSpace
Returns details about a space. For an example, see [Get a space](https://developers.google.com/chat/api/guides/v1/spaces/get). - *
Requires [authentication](https://developers.google.com/chat/api/guides/auth). Supports [app authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user authentication](https://developers.google.com/chat/api/guides/auth/users).
Returns details about a space. For an example, see [Get details about a space](https://developers.google.com/workspace/chat/get-spaces). + *
Requires [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) and [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
Request object method variants only take one parameter, a request object, which must be constructed before the call.
*CreateSpace
Creates a named space. Spaces grouped by topics aren't supported. For an example, see [Create a space](https://developers.google.com/chat/api/guides/v1/spaces/create). + *
Creates a named space. Spaces grouped by topics aren't supported. For an example, see [Create a space](https://developers.google.com/workspace/chat/create-spaces). *
If you receive the error message `ALREADY_EXISTS` when creating a space, try a different `displayName`. An existing space within the Google Workspace organization might already use this display name. - *
Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users).
Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). *
Request object method variants only take one parameter, a request object, which must be constructed before the call.
*SetUpSpace
Creates a space and adds specified users to it. The calling user is automatically added to the space, and shouldn't be specified as a membership in the request. For an example, see [Set up a space](https://developers.google.com/chat/api/guides/v1/spaces/set-up). + *
Creates a space and adds specified users to it. The calling user is automatically added to the space, and shouldn't be specified as a membership in the request. For an example, see [Set up a space with initial members](https://developers.google.com/workspace/chat/set-up-spaces). *
To specify the human members to add, add memberships with the appropriate `member.name` in the `SetUpSpaceRequest`. To add a human user, use `users/{user}`, where `{user}` can be the email address for the user. For users in the same Workspace organization `{user}` can also be the `id` for the person from the People API, or the `id` for the user in the Directory API. For example, if the People API Person profile ID for `user{@literal @}example.com` is `123456789`, you can add the user to the space by setting the `membership.member.name` to `users/user{@literal @}example.com` or `users/123456789`. *
For a space or group chat, if the caller blocks or is blocked by some members, then those members aren't added to the created space. *
To create a direct message (DM) between the calling user and another human user, specify exactly one membership to represent the human user. If one user blocks the other, the request fails and the DM isn't created. - *
To create a DM between the calling user and the calling app, set `Space.singleUserBotDm` to `true` and don't specify any memberships. You can only use this method to set up a DM with the calling app. To add the calling app as a member of a space or an existing DM between two human users, see [create a membership](https://developers.google.com/chat/api/guides/v1/members/create). + *
To create a DM between the calling user and the calling app, set `Space.singleUserBotDm` to `true` and don't specify any memberships. You can only use this method to set up a DM with the calling app. To add the calling app as a member of a space or an existing DM between two human users, see [Invite or add a user or app to a space](https://developers.google.com/workspace/chat/create-members). *
If a DM already exists between two users, even when one user blocks the other at the time a request is made, then the existing DM is returned. *
Spaces with threaded replies aren't supported. If you receive the error message `ALREADY_EXISTS` when setting up a space, try a different `displayName`. An existing space within the Google Workspace organization might already use this display name. - *
Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users).
Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). *
Request object method variants only take one parameter, a request object, which must be constructed before the call.
*UpdateSpace
Updates a space. For an example, see [Update a space](https://developers.google.com/chat/api/guides/v1/spaces/update). + *
Updates a space. For an example, see [Update a space](https://developers.google.com/workspace/chat/update-spaces). *
If you're updating the `displayName` field and receive the error message `ALREADY_EXISTS`, try a different display name.. An existing space within the Google Workspace organization might already use this display name. - *
Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users).
Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). *
Request object method variants only take one parameter, a request object, which must be constructed before the call.
*DeleteSpace
Deletes a named space. Always performs a cascading delete, which means that the space's child resources—like messages posted in the space and memberships in the space—are also deleted. For an example, see [Delete a space](https://developers.google.com/chat/api/guides/v1/spaces/delete). Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users) from a user who has permission to delete the space.
Deletes a named space. Always performs a cascading delete, which means that the space's child resources—like messages posted in the space and memberships in the space—are also deleted. For an example, see [Delete a space](https://developers.google.com/workspace/chat/delete-spaces). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) from a user who has permission to delete the space.
Request object method variants only take one parameter, a request object, which must be constructed before the call.
*CompleteImportSpace
Completes the [import process](https://developers.google.com/chat/api/guides/import-data) for the specified space and makes it visible to users. Requires app authentication and domain-wide delegation. For more information, see [Authorize Google Chat apps to import data](https://developers.google.com/chat/api/guides/authorize-import).
Completes the [import process](https://developers.google.com/workspace/chat/import-data) for the specified space and makes it visible to users. Requires app authentication and domain-wide delegation. For more information, see [Authorize Google Chat apps to import data](https://developers.google.com/workspace/chat/authorize-import).
Request object method variants only take one parameter, a request object, which must be constructed before the call.
*FindDirectMessage
Returns the existing direct message with the specified user. If no direct message space is found, returns a `404 NOT_FOUND` error. For an example, see [Find a direct message](/chat/api/guides/v1/spaces/find-direct-message). - *
With [user authentication](https://developers.google.com/chat/api/guides/auth/users), returns the direct message space between the specified user and the authenticated user. - *
With [app authentication](https://developers.google.com/chat/api/guides/auth/service-accounts), returns the direct message space between the specified user and the calling Chat app. - *
Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users) or [app authentication](https://developers.google.com/chat/api/guides/auth/service-accounts).
With [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), returns the direct message space between the specified user and the authenticated user. + *
With [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app), returns the direct message space between the specified user and the calling Chat app. + *
Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) or [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). *
Request object method variants only take one parameter, a request object, which must be constructed before the call.
*CreateMembership
Creates a human membership or app membership for the calling app. Creating memberships for other apps isn't supported. For an example, see [ Create a membership](https://developers.google.com/chat/api/guides/v1/members/create). When creating a membership, if the specified member has their auto-accept policy turned off, then they're invited, and must accept the space invitation before joining. Otherwise, creating a membership adds the member directly to the specified space. Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users). + *
Creates a human membership or app membership for the calling app. Creating memberships for other apps isn't supported. For an example, see [Invite or add a user or a Google Chat app to a space](https://developers.google.com/workspace/chat/create-members). When creating a membership, if the specified member has their auto-accept policy turned off, then they're invited, and must accept the space invitation before joining. Otherwise, creating a membership adds the member directly to the specified space. Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). *
To specify the member to add, set the `membership.member.name` in the `CreateMembershipRequest`: *
- To add the calling app to a space or a direct message between two human users, use `users/app`. Unable to add other apps to the space. *
- To add a human user, use `users/{user}`, where `{user}` can be the email address for the user. For users in the same Workspace organization `{user}` can also be the `id` for the person from the People API, or the `id` for the user in the Directory API. For example, if the People API Person profile ID for `user{@literal @}example.com` is `123456789`, you can add the user to the space by setting the `membership.member.name` to `users/user{@literal @}example.com` or `users/123456789`.
UpdateMembership
Updates a membership. Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users).
Request object method variants only take one parameter, a request object, which must be constructed before the call.
+ *updateMembership(UpdateMembershipRequest request) + *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.
+ *updateMembership(Membership membership, FieldMask updateMask) + *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.
+ *updateMembershipCallable() + *
DeleteMembership
Deletes a membership. For an example, see [Delete a membership](https://developers.google.com/chat/api/guides/v1/members/delete). - *
Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users).
Deletes a membership. For an example, see [Remove a user or a Google Chat app from a space](https://developers.google.com/workspace/chat/delete-members). + *
Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
Request object method variants only take one parameter, a request object, which must be constructed before the call.
*CreateReaction
Creates a reaction and adds it to a message. For an example, see [Create a reaction](https://developers.google.com/chat/api/guides/v1/reactions/create). Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users). Only unicode emoji are supported.
Creates a reaction and adds it to a message. Only unicode emojis are supported. For an example, see [Add a reaction to a message](https://developers.google.com/workspace/chat/create-reactions). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
Request object method variants only take one parameter, a request object, which must be constructed before the call.
*ListReactions
Lists reactions to a message. For an example, see [List reactions](https://developers.google.com/chat/api/guides/v1/reactions/list). Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users).
Lists reactions to a message. For an example, see [List reactions for a message](https://developers.google.com/workspace/chat/list-reactions). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
Request object method variants only take one parameter, a request object, which must be constructed before the call.
*DeleteReaction
Deletes a reaction to a message. For an example, see [Delete a reaction](https://developers.google.com/chat/api/guides/v1/reactions/delete). Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users).
Deletes a reaction to a message. Only unicode emojis are supported. For an example, see [Delete a reaction](https://developers.google.com/workspace/chat/delete-reactions). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
Request object method variants only take one parameter, a request object, which must be constructed before the call.
*Calling this method requires - * [authentication](https://developers.google.com/chat/api/guides/auth) and supports the following - * authentication types: + * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize) and + * supports the following authentication types: * *
- For text messages, user authentication or app authentication are supported. - For card * messages, only app authentication is supported. (Only Chat apps can create card messages.) @@ -640,7 +658,7 @@ public ChatServiceStub getStub() { * messages. *
For details, see [Name a - * message](https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message). + * message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message). * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Message createMessage(SpaceName parent, Message message, String messageId) { @@ -655,12 +673,12 @@ public final Message createMessage(SpaceName parent, Message message, String mes // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates a message in a Google Chat space. For an example, see [Create a - * message](https://developers.google.com/chat/api/guides/v1/messages/create). + * Creates a message in a Google Chat space. For an example, see [Send a + * message](https://developers.google.com/workspace/chat/create-messages). * *
Calling this method requires - * [authentication](https://developers.google.com/chat/api/guides/auth) and supports the following - * authentication types: + * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize) and + * supports the following authentication types: * *
- For text messages, user authentication or app authentication are supported. - For card * messages, only app authentication is supported. (Only Chat apps can create card messages.) @@ -696,7 +714,7 @@ public final Message createMessage(SpaceName parent, Message message, String mes * messages. * *
For details, see [Name a - * message](https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message). + * message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message). * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Message createMessage(String parent, Message message, String messageId) { @@ -711,12 +729,12 @@ public final Message createMessage(String parent, Message message, String messag // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates a message in a Google Chat space. For an example, see [Create a - * message](https://developers.google.com/chat/api/guides/v1/messages/create). + * Creates a message in a Google Chat space. For an example, see [Send a + * message](https://developers.google.com/workspace/chat/create-messages). * *
Calling this method requires - * [authentication](https://developers.google.com/chat/api/guides/auth) and supports the following - * authentication types: + * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize) and + * supports the following authentication types: * *
- For text messages, user authentication or app authentication are supported. - For card * messages, only app authentication is supported. (Only Chat apps can create card messages.) @@ -751,12 +769,12 @@ public final Message createMessage(CreateMessageRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates a message in a Google Chat space. For an example, see [Create a - * message](https://developers.google.com/chat/api/guides/v1/messages/create). + * Creates a message in a Google Chat space. For an example, see [Send a + * message](https://developers.google.com/workspace/chat/create-messages). * *
Calling this method requires - * [authentication](https://developers.google.com/chat/api/guides/auth) and supports the following - * authentication types: + * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize) and + * supports the following authentication types: * *
- For text messages, user authentication or app authentication are supported. - For card
* messages, only app authentication is supported. (Only Chat apps can create card messages.)
@@ -792,7 +810,8 @@ public final UnaryCallable Sample code:
*
@@ -826,7 +845,8 @@ public final ListMessagesPagedResponse listMessages(SpaceName parent) {
/**
* Lists messages in a space that the caller is a member of, including messages from blocked
* members and spaces. For an example, see [List messages](/chat/api/guides/v1/messages/list).
- * Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * Requires [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* Sample code:
*
@@ -857,7 +877,8 @@ public final ListMessagesPagedResponse listMessages(String parent) {
/**
* Lists messages in a space that the caller is a member of, including messages from blocked
* members and spaces. For an example, see [List messages](/chat/api/guides/v1/messages/list).
- * Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * Requires [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* Sample code:
*
@@ -894,7 +915,8 @@ public final ListMessagesPagedResponse listMessages(ListMessagesRequest request)
/**
* Lists messages in a space that the caller is a member of, including messages from blocked
* members and spaces. For an example, see [List messages](/chat/api/guides/v1/messages/list).
- * Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * Requires [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* Sample code:
*
@@ -931,7 +953,8 @@ public final ListMessagesPagedResponse listMessages(ListMessagesRequest request)
/**
* Lists messages in a space that the caller is a member of, including messages from blocked
* members and spaces. For an example, see [List messages](/chat/api/guides/v1/messages/list).
- * Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * Requires [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* Sample code:
*
@@ -972,18 +995,21 @@ public final UnaryCallable Requires [authentication](https://developers.google.com/chat/api/guides/auth). Supports [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * Requires
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports
+ * [app
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * and [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* Sample code:
*
@@ -1015,18 +1041,21 @@ public final ListMembershipsPagedResponse listMemberships(SpaceName parent) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Lists memberships in a space. For an example, see [List
- * memberships](https://developers.google.com/chat/api/guides/v1/members/list). Listing
- * memberships with [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) lists
- * memberships in spaces that the Chat app has access to, but excludes Chat app memberships,
+ * Lists memberships in a space. For an example, see [List users and Google Chat apps in a
+ * space](https://developers.google.com/workspace/chat/list-members). Listing memberships with
+ * [app
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * lists memberships in spaces that the Chat app has access to, but excludes Chat app memberships,
* including its own. Listing memberships with [User
- * authentication](https://developers.google.com/chat/api/guides/auth/users) lists memberships in
- * spaces that the authenticated user has access to.
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * lists memberships in spaces that the authenticated user has access to.
*
- * Requires [authentication](https://developers.google.com/chat/api/guides/auth). Supports [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * Requires
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports
+ * [app
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * and [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* Sample code:
*
@@ -1055,18 +1084,21 @@ public final ListMembershipsPagedResponse listMemberships(String parent) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Lists memberships in a space. For an example, see [List
- * memberships](https://developers.google.com/chat/api/guides/v1/members/list). Listing
- * memberships with [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) lists
- * memberships in spaces that the Chat app has access to, but excludes Chat app memberships,
+ * Lists memberships in a space. For an example, see [List users and Google Chat apps in a
+ * space](https://developers.google.com/workspace/chat/list-members). Listing memberships with
+ * [app
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * lists memberships in spaces that the Chat app has access to, but excludes Chat app memberships,
* including its own. Listing memberships with [User
- * authentication](https://developers.google.com/chat/api/guides/auth/users) lists memberships in
- * spaces that the authenticated user has access to.
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * lists memberships in spaces that the authenticated user has access to.
*
- * Requires [authentication](https://developers.google.com/chat/api/guides/auth). Supports [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * Requires
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports
+ * [app
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * and [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* Sample code:
*
@@ -1101,18 +1133,21 @@ public final ListMembershipsPagedResponse listMemberships(ListMembershipsRequest
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Lists memberships in a space. For an example, see [List
- * memberships](https://developers.google.com/chat/api/guides/v1/members/list). Listing
- * memberships with [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) lists
- * memberships in spaces that the Chat app has access to, but excludes Chat app memberships,
+ * Lists memberships in a space. For an example, see [List users and Google Chat apps in a
+ * space](https://developers.google.com/workspace/chat/list-members). Listing memberships with
+ * [app
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * lists memberships in spaces that the Chat app has access to, but excludes Chat app memberships,
* including its own. Listing memberships with [User
- * authentication](https://developers.google.com/chat/api/guides/auth/users) lists memberships in
- * spaces that the authenticated user has access to.
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * lists memberships in spaces that the authenticated user has access to.
*
- * Requires [authentication](https://developers.google.com/chat/api/guides/auth). Supports [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * Requires
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports
+ * [app
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * and [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* Sample code:
*
@@ -1148,18 +1183,21 @@ public final ListMembershipsPagedResponse listMemberships(ListMembershipsRequest
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Lists memberships in a space. For an example, see [List
- * memberships](https://developers.google.com/chat/api/guides/v1/members/list). Listing
- * memberships with [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) lists
- * memberships in spaces that the Chat app has access to, but excludes Chat app memberships,
+ * Lists memberships in a space. For an example, see [List users and Google Chat apps in a
+ * space](https://developers.google.com/workspace/chat/list-members). Listing memberships with
+ * [app
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * lists memberships in spaces that the Chat app has access to, but excludes Chat app memberships,
* including its own. Listing memberships with [User
- * authentication](https://developers.google.com/chat/api/guides/auth/users) lists memberships in
- * spaces that the authenticated user has access to.
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * lists memberships in spaces that the authenticated user has access to.
*
- * Requires [authentication](https://developers.google.com/chat/api/guides/auth). Supports [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * Requires
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports
+ * [app
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * and [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* Sample code:
*
@@ -1202,12 +1240,15 @@ public final ListMembershipsPagedResponse listMemberships(ListMembershipsRequest
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Returns details about a membership. For an example, see [Get a
- * membership](https://developers.google.com/chat/api/guides/v1/members/get).
+ * Returns details about a membership. For an example, see [Get details about a user's or Google
+ * Chat app's membership](https://developers.google.com/workspace/chat/get-members).
*
- * Requires [authentication](https://developers.google.com/chat/api/guides/auth). Supports [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * Requires
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports
+ * [app
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * and [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* Sample code:
*
@@ -1227,8 +1268,8 @@ public final ListMembershipsPagedResponse listMemberships(ListMembershipsRequest
* To get the app's own membership, you can optionally use `spaces/{space}/members/app`.
* Format: `spaces/{space}/members/{member}` or `spaces/{space}/members/app`
* When [authenticated as a
- * user](https://developers.google.com/chat/api/guides/auth/users), you can use the user's
- * email as an alias for `{member}`. For example,
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), you
+ * can use the user's email as an alias for `{member}`. For example,
* `spaces/{space}/members/example{@literal @}gmail.com` where `example{@literal @}gmail.com`
* is the email of the Google Chat user.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
@@ -1241,12 +1282,15 @@ public final Membership getMembership(MembershipName name) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Returns details about a membership. For an example, see [Get a
- * membership](https://developers.google.com/chat/api/guides/v1/members/get).
+ * Returns details about a membership. For an example, see [Get details about a user's or Google
+ * Chat app's membership](https://developers.google.com/workspace/chat/get-members).
*
- * Requires [authentication](https://developers.google.com/chat/api/guides/auth). Supports [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * Requires
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports
+ * [app
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * and [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* Sample code:
*
@@ -1266,8 +1310,8 @@ public final Membership getMembership(MembershipName name) {
* To get the app's own membership, you can optionally use `spaces/{space}/members/app`.
* Format: `spaces/{space}/members/{member}` or `spaces/{space}/members/app`
* When [authenticated as a
- * user](https://developers.google.com/chat/api/guides/auth/users), you can use the user's
- * email as an alias for `{member}`. For example,
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), you
+ * can use the user's email as an alias for `{member}`. For example,
* `spaces/{space}/members/example{@literal @}gmail.com` where `example{@literal @}gmail.com`
* is the email of the Google Chat user.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
@@ -1279,12 +1323,15 @@ public final Membership getMembership(String name) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Returns details about a membership. For an example, see [Get a
- * membership](https://developers.google.com/chat/api/guides/v1/members/get).
+ * Returns details about a membership. For an example, see [Get details about a user's or Google
+ * Chat app's membership](https://developers.google.com/workspace/chat/get-members).
*
- * Requires [authentication](https://developers.google.com/chat/api/guides/auth). Supports [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * Requires
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports
+ * [app
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * and [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* Sample code:
*
@@ -1312,12 +1359,15 @@ public final Membership getMembership(GetMembershipRequest request) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Returns details about a membership. For an example, see [Get a
- * membership](https://developers.google.com/chat/api/guides/v1/members/get).
+ * Returns details about a membership. For an example, see [Get details about a user's or Google
+ * Chat app's membership](https://developers.google.com/workspace/chat/get-members).
*
- * Requires [authentication](https://developers.google.com/chat/api/guides/auth). Supports [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * Requires
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports
+ * [app
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * and [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* Sample code:
*
@@ -1344,12 +1394,15 @@ public final UnaryCallable Requires [authentication](https://developers.google.com/chat/api/guides/auth). Supports [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * Requires
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports
+ * [app
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * and [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* Note: Might return a message from a blocked member or space.
*
@@ -1371,7 +1424,7 @@ public final UnaryCallable Format: `spaces/{space}/messages/{message}`
* If you've set a custom ID for your message, you can use the value from the
* `clientAssignedMessageId` field for `{message}`. For details, see [Name a message]
- * (https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).
+ * (https://developers.google.com/workspace/chat/create-messages#name_a_created_message).
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Message getMessage(MessageName name) {
@@ -1382,12 +1435,15 @@ public final Message getMessage(MessageName name) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Returns details about a message. For an example, see [Read a
- * message](https://developers.google.com/chat/api/guides/v1/messages/get).
+ * Returns details about a message. For an example, see [Get details about a
+ * message](https://developers.google.com/workspace/chat/get-messages).
*
- * Requires [authentication](https://developers.google.com/chat/api/guides/auth). Supports [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * Requires
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports
+ * [app
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * and [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* Note: Might return a message from a blocked member or space.
*
@@ -1409,7 +1465,7 @@ public final Message getMessage(MessageName name) {
* Format: `spaces/{space}/messages/{message}`
* If you've set a custom ID for your message, you can use the value from the
* `clientAssignedMessageId` field for `{message}`. For details, see [Name a message]
- * (https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).
+ * (https://developers.google.com/workspace/chat/create-messages#name_a_created_message).
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Message getMessage(String name) {
@@ -1419,12 +1475,15 @@ public final Message getMessage(String name) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Returns details about a message. For an example, see [Read a
- * message](https://developers.google.com/chat/api/guides/v1/messages/get).
+ * Returns details about a message. For an example, see [Get details about a
+ * message](https://developers.google.com/workspace/chat/get-messages).
*
- * Requires [authentication](https://developers.google.com/chat/api/guides/auth). Supports [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * Requires
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports
+ * [app
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * and [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* Note: Might return a message from a blocked member or space.
*
@@ -1454,12 +1513,15 @@ public final Message getMessage(GetMessageRequest request) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Returns details about a message. For an example, see [Read a
- * message](https://developers.google.com/chat/api/guides/v1/messages/get).
+ * Returns details about a message. For an example, see [Get details about a
+ * message](https://developers.google.com/workspace/chat/get-messages).
*
- * Requires [authentication](https://developers.google.com/chat/api/guides/auth). Supports [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * Requires
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports
+ * [app
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * and [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* Note: Might return a message from a blocked member or space.
*
@@ -1491,12 +1553,16 @@ public final UnaryCallable Requires [authentication](https://developers.google.com/chat/api/guides/auth). Supports [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users). When using app
- * authentication, requests can only update messages created by the calling Chat app.
+ * Requires
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports
+ * [app
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * and [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
+ * When using app authentication, requests can only update messages created by the calling Chat
+ * app.
*
* Sample code:
*
@@ -1536,12 +1602,16 @@ public final Message updateMessage(Message message, FieldMask updateMask) {
* Updates a message. There's a difference between the `patch` and `update` methods. The `patch`
* method uses a `patch` request while the `update` method uses a `put` request. We recommend
* using the `patch` method. For an example, see [Update a
- * message](https://developers.google.com/chat/api/guides/v1/messages/update).
+ * message](https://developers.google.com/workspace/chat/update-messages).
*
- * Requires [authentication](https://developers.google.com/chat/api/guides/auth). Supports [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users). When using app
- * authentication, requests can only update messages created by the calling Chat app.
+ * Requires
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports
+ * [app
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * and [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
+ * When using app authentication, requests can only update messages created by the calling Chat
+ * app.
*
* Sample code:
*
@@ -1574,12 +1644,16 @@ public final Message updateMessage(UpdateMessageRequest request) {
* Updates a message. There's a difference between the `patch` and `update` methods. The `patch`
* method uses a `patch` request while the `update` method uses a `put` request. We recommend
* using the `patch` method. For an example, see [Update a
- * message](https://developers.google.com/chat/api/guides/v1/messages/update).
+ * message](https://developers.google.com/workspace/chat/update-messages).
*
- * Requires [authentication](https://developers.google.com/chat/api/guides/auth). Supports [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users). When using app
- * authentication, requests can only update messages created by the calling Chat app.
+ * Requires
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports
+ * [app
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * and [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
+ * When using app authentication, requests can only update messages created by the calling Chat
+ * app.
*
* Sample code:
*
@@ -1609,12 +1683,16 @@ public final UnaryCallable Requires [authentication](https://developers.google.com/chat/api/guides/auth). Supports [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users). When using app
- * authentication, requests can only delete messages created by the calling Chat app.
+ * Requires
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports
+ * [app
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * and [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
+ * When using app authentication, requests can only delete messages created by the calling Chat
+ * app.
*
* Sample code:
*
@@ -1634,7 +1712,7 @@ public final UnaryCallable Format: `spaces/{space}/messages/{message}`
* If you've set a custom ID for your message, you can use the value from the
* `clientAssignedMessageId` field for `{message}`. For details, see [Name a message]
- * (https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).
+ * (https://developers.google.com/workspace/chat/create-messages#name_a_created_message).
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final void deleteMessage(MessageName name) {
@@ -1646,12 +1724,16 @@ public final void deleteMessage(MessageName name) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Deletes a message. For an example, see [Delete a
- * message](https://developers.google.com/chat/api/guides/v1/messages/delete).
+ * message](https://developers.google.com/workspace/chat/delete-messages).
*
- * Requires [authentication](https://developers.google.com/chat/api/guides/auth). Supports [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users). When using app
- * authentication, requests can only delete messages created by the calling Chat app.
+ * Requires
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports
+ * [app
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * and [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
+ * When using app authentication, requests can only delete messages created by the calling Chat
+ * app.
*
* Sample code:
*
@@ -1671,7 +1753,7 @@ public final void deleteMessage(MessageName name) {
* Format: `spaces/{space}/messages/{message}`
* If you've set a custom ID for your message, you can use the value from the
* `clientAssignedMessageId` field for `{message}`. For details, see [Name a message]
- * (https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).
+ * (https://developers.google.com/workspace/chat/create-messages#name_a_created_message).
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final void deleteMessage(String name) {
@@ -1682,12 +1764,16 @@ public final void deleteMessage(String name) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Deletes a message. For an example, see [Delete a
- * message](https://developers.google.com/chat/api/guides/v1/messages/delete).
+ * message](https://developers.google.com/workspace/chat/delete-messages).
*
- * Requires [authentication](https://developers.google.com/chat/api/guides/auth). Supports [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users). When using app
- * authentication, requests can only delete messages created by the calling Chat app.
+ * Requires
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports
+ * [app
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * and [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
+ * When using app authentication, requests can only delete messages created by the calling Chat
+ * app.
*
* Sample code:
*
@@ -1717,12 +1803,16 @@ public final void deleteMessage(DeleteMessageRequest request) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Deletes a message. For an example, see [Delete a
- * message](https://developers.google.com/chat/api/guides/v1/messages/delete).
+ * message](https://developers.google.com/workspace/chat/delete-messages).
*
- * Requires [authentication](https://developers.google.com/chat/api/guides/auth). Supports [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users). When using app
- * authentication, requests can only delete messages created by the calling Chat app.
+ * Requires
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports
+ * [app
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * and [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
+ * When using app authentication, requests can only delete messages created by the calling Chat
+ * app.
*
* Sample code:
*
@@ -1751,11 +1841,10 @@ public final UnaryCallable Sample code:
*
@@ -1784,11 +1873,10 @@ public final Attachment getAttachment(AttachmentName name) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Gets the metadata of a message attachment. The attachment data is fetched using the [media
- * API](https://developers.google.com/chat/api/reference/rest/v1/media/download). For an example,
- * see [Get a message
- * attachment](https://developers.google.com/chat/api/guides/v1/media-and-attachments/get).
- * Requires [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts).
+ * API](https://developers.google.com/workspace/chat/api/reference/rest/v1/media/download). For an
+ * example, see [Get metadata about a message
+ * attachment](https://developers.google.com/workspace/chat/get-media-attachments). Requires [app
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
*
* Sample code:
*
@@ -1816,11 +1904,10 @@ public final Attachment getAttachment(String name) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Gets the metadata of a message attachment. The attachment data is fetched using the [media
- * API](https://developers.google.com/chat/api/reference/rest/v1/media/download). For an example,
- * see [Get a message
- * attachment](https://developers.google.com/chat/api/guides/v1/media-and-attachments/get).
- * Requires [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts).
+ * API](https://developers.google.com/workspace/chat/api/reference/rest/v1/media/download). For an
+ * example, see [Get metadata about a message
+ * attachment](https://developers.google.com/workspace/chat/get-media-attachments). Requires [app
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
*
* Sample code:
*
@@ -1849,11 +1936,10 @@ public final Attachment getAttachment(GetAttachmentRequest request) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Gets the metadata of a message attachment. The attachment data is fetched using the [media
- * API](https://developers.google.com/chat/api/reference/rest/v1/media/download). For an example,
- * see [Get a message
- * attachment](https://developers.google.com/chat/api/guides/v1/media-and-attachments/get).
- * Requires [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts).
+ * API](https://developers.google.com/workspace/chat/api/reference/rest/v1/media/download). For an
+ * example, see [Get metadata about a message
+ * attachment](https://developers.google.com/workspace/chat/get-media-attachments). Requires [app
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
*
* Sample code:
*
@@ -1881,8 +1967,9 @@ public final UnaryCallable You can upload attachments up to 200 MB. Certain file types aren't supported. For details,
* see [File types blocked by Google
@@ -1916,8 +2003,9 @@ public final UploadAttachmentResponse uploadAttachment(UploadAttachmentRequest r
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Uploads an attachment. For an example, see [Upload media as a file
- * attachment](https://developers.google.com/chat/api/guides/v1/media-and-attachments/upload).
- * Requires user [authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * attachment](https://developers.google.com/workspace/chat/upload-media-attachments). Requires
+ * user
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* You can upload attachments up to 200 MB. Certain file types aren't supported. For details,
* see [File types blocked by Google
@@ -1953,11 +2041,14 @@ public final UploadAttachmentResponse uploadAttachment(UploadAttachmentRequest r
/**
* Lists spaces the caller is a member of. Group chats and DMs aren't listed until the first
* message is sent. For an example, see [List
- * spaces](https://developers.google.com/chat/api/guides/v1/spaces/list).
+ * spaces](https://developers.google.com/workspace/chat/list-spaces).
*
- * Requires [authentication](https://developers.google.com/chat/api/guides/auth). Supports [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * Requires
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports
+ * [app
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * and [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* Lists spaces visible to the caller or authenticated user. Group chats and DMs aren't listed
* until the first message is sent.
@@ -1989,11 +2080,14 @@ public final ListSpacesPagedResponse listSpaces() {
/**
* Lists spaces the caller is a member of. Group chats and DMs aren't listed until the first
* message is sent. For an example, see [List
- * spaces](https://developers.google.com/chat/api/guides/v1/spaces/list).
+ * spaces](https://developers.google.com/workspace/chat/list-spaces).
*
- * Requires [authentication](https://developers.google.com/chat/api/guides/auth). Supports [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * Requires
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports
+ * [app
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * and [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* Lists spaces visible to the caller or authenticated user. Group chats and DMs aren't listed
* until the first message is sent.
@@ -2030,11 +2124,14 @@ public final ListSpacesPagedResponse listSpaces(ListSpacesRequest request) {
/**
* Lists spaces the caller is a member of. Group chats and DMs aren't listed until the first
* message is sent. For an example, see [List
- * spaces](https://developers.google.com/chat/api/guides/v1/spaces/list).
+ * spaces](https://developers.google.com/workspace/chat/list-spaces).
*
- * Requires [authentication](https://developers.google.com/chat/api/guides/auth). Supports [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * Requires
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports
+ * [app
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * and [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* Lists spaces visible to the caller or authenticated user. Group chats and DMs aren't listed
* until the first message is sent.
@@ -2070,11 +2167,14 @@ public final UnaryCallable Requires [authentication](https://developers.google.com/chat/api/guides/auth). Supports [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * Requires
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports
+ * [app
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * and [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* Lists spaces visible to the caller or authenticated user. Group chats and DMs aren't listed
* until the first message is sent.
@@ -2115,12 +2215,15 @@ public final UnaryCallable Requires [authentication](https://developers.google.com/chat/api/guides/auth). Supports [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * Requires
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports
+ * [app
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * and [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* Sample code:
*
@@ -2148,12 +2251,15 @@ public final Space getSpace(SpaceName name) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Returns details about a space. For an example, see [Get a
- * space](https://developers.google.com/chat/api/guides/v1/spaces/get).
+ * Returns details about a space. For an example, see [Get details about a
+ * space](https://developers.google.com/workspace/chat/get-spaces).
*
- * Requires [authentication](https://developers.google.com/chat/api/guides/auth). Supports [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * Requires
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports
+ * [app
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * and [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* Sample code:
*
@@ -2180,12 +2286,15 @@ public final Space getSpace(String name) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Returns details about a space. For an example, see [Get a
- * space](https://developers.google.com/chat/api/guides/v1/spaces/get).
+ * Returns details about a space. For an example, see [Get details about a
+ * space](https://developers.google.com/workspace/chat/get-spaces).
*
- * Requires [authentication](https://developers.google.com/chat/api/guides/auth). Supports [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * Requires
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports
+ * [app
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * and [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* Sample code:
*
@@ -2211,12 +2320,15 @@ public final Space getSpace(GetSpaceRequest request) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Returns details about a space. For an example, see [Get a
- * space](https://developers.google.com/chat/api/guides/v1/spaces/get).
+ * Returns details about a space. For an example, see [Get details about a
+ * space](https://developers.google.com/workspace/chat/get-spaces).
*
- * Requires [authentication](https://developers.google.com/chat/api/guides/auth). Supports [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * Requires
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports
+ * [app
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * and [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* Sample code:
*
@@ -2242,13 +2354,14 @@ public final UnaryCallable If you receive the error message `ALREADY_EXISTS` when creating a space, try a different
* `displayName`. An existing space within the Google Workspace organization might already use
* this display name.
*
- * Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * Requires [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* Sample code:
*
@@ -2281,13 +2394,14 @@ public final Space createSpace(Space space) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Creates a named space. Spaces grouped by topics aren't supported. For an example, see [Create a
- * space](https://developers.google.com/chat/api/guides/v1/spaces/create).
+ * space](https://developers.google.com/workspace/chat/create-spaces).
*
* If you receive the error message `ALREADY_EXISTS` when creating a space, try a different
* `displayName`. An existing space within the Google Workspace organization might already use
* this display name.
*
- * Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * Requires [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* Sample code:
*
@@ -2317,13 +2431,14 @@ public final Space createSpace(CreateSpaceRequest request) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Creates a named space. Spaces grouped by topics aren't supported. For an example, see [Create a
- * space](https://developers.google.com/chat/api/guides/v1/spaces/create).
+ * space](https://developers.google.com/workspace/chat/create-spaces).
*
* If you receive the error message `ALREADY_EXISTS` when creating a space, try a different
* `displayName`. An existing space within the Google Workspace organization might already use
* this display name.
*
- * Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * Requires [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* Sample code:
*
@@ -2353,7 +2468,7 @@ public final UnaryCallable To specify the human members to add, add memberships with the appropriate `member.name` in
* the `SetUpSpaceRequest`. To add a human user, use `users/{user}`, where `{user}` can be the
@@ -2373,8 +2488,8 @@ public final UnaryCallable To create a DM between the calling user and the calling app, set `Space.singleUserBotDm` to
* `true` and don't specify any memberships. You can only use this method to set up a DM with the
* calling app. To add the calling app as a member of a space or an existing DM between two human
- * users, see [create a
- * membership](https://developers.google.com/chat/api/guides/v1/members/create).
+ * users, see [Invite or add a user or app to a
+ * space](https://developers.google.com/workspace/chat/create-members).
*
* If a DM already exists between two users, even when one user blocks the other at the time a
* request is made, then the existing DM is returned.
@@ -2383,7 +2498,8 @@ public final UnaryCallable Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * Requires [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* Sample code:
*
@@ -2415,7 +2531,7 @@ public final Space setUpSpace(SetUpSpaceRequest request) {
/**
* Creates a space and adds specified users to it. The calling user is automatically added to the
* space, and shouldn't be specified as a membership in the request. For an example, see [Set up a
- * space](https://developers.google.com/chat/api/guides/v1/spaces/set-up).
+ * space with initial members](https://developers.google.com/workspace/chat/set-up-spaces).
*
* To specify the human members to add, add memberships with the appropriate `member.name` in
* the `SetUpSpaceRequest`. To add a human user, use `users/{user}`, where `{user}` can be the
@@ -2435,8 +2551,8 @@ public final Space setUpSpace(SetUpSpaceRequest request) {
* To create a DM between the calling user and the calling app, set `Space.singleUserBotDm` to
* `true` and don't specify any memberships. You can only use this method to set up a DM with the
* calling app. To add the calling app as a member of a space or an existing DM between two human
- * users, see [create a
- * membership](https://developers.google.com/chat/api/guides/v1/members/create).
+ * users, see [Invite or add a user or app to a
+ * space](https://developers.google.com/workspace/chat/create-members).
*
* If a DM already exists between two users, even when one user blocks the other at the time a
* request is made, then the existing DM is returned.
@@ -2445,7 +2561,8 @@ public final Space setUpSpace(SetUpSpaceRequest request) {
* `ALREADY_EXISTS` when setting up a space, try a different `displayName`. An existing space
* within the Google Workspace organization might already use this display name.
*
- * Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * Requires [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* Sample code:
*
@@ -2475,13 +2592,14 @@ public final UnaryCallable If you're updating the `displayName` field and receive the error message `ALREADY_EXISTS`,
* try a different display name.. An existing space within the Google Workspace organization might
* already use this display name.
*
- * Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * Requires [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* Sample code:
*
@@ -2518,8 +2636,8 @@ public final UnaryCallable - `space_history_state` (Supports [turning history on or off for the
* space](https://support.google.com/chat/answer/7664687) if [the organization allows users to
* change their history setting](https://support.google.com/a/answer/7664184). Warning:
- * mutually exclusive with all other field paths.) - Developer Preview:
- * `access_settings.audience` (Supports changing the [access
+ * mutually exclusive with all other field paths.)
+ * - Developer Preview: `access_settings.audience` (Supports changing the [access
* setting](https://support.google.com/chat/answer/11971020) of a space. If no audience is
* specified in the access setting, the space's access setting is updated to restricted.
* Warning: mutually exclusive with all other field paths.)
@@ -2534,13 +2652,14 @@ public final Space updateSpace(Space space, FieldMask updateMask) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Updates a space. For an example, see [Update a
- * space](https://developers.google.com/chat/api/guides/v1/spaces/update).
+ * space](https://developers.google.com/workspace/chat/update-spaces).
*
* If you're updating the `displayName` field and receive the error message `ALREADY_EXISTS`,
* try a different display name.. An existing space within the Google Workspace organization might
* already use this display name.
*
- * Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * Requires [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* Sample code:
*
@@ -2570,13 +2689,14 @@ public final Space updateSpace(UpdateSpaceRequest request) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Updates a space. For an example, see [Update a
- * space](https://developers.google.com/chat/api/guides/v1/spaces/update).
+ * space](https://developers.google.com/workspace/chat/update-spaces).
*
* If you're updating the `displayName` field and receive the error message `ALREADY_EXISTS`,
* try a different display name.. An existing space within the Google Workspace organization might
* already use this display name.
*
- * Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * Requires [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* Sample code:
*
@@ -2606,10 +2726,10 @@ public final UnaryCallable Sample code:
*
@@ -2639,10 +2759,10 @@ public final void deleteSpace(SpaceName name) {
/**
* Deletes a named space. Always performs a cascading delete, which means that the space's child
* resources—like messages posted in the space and memberships in the space—are also deleted. For
- * an example, see [Delete a
- * space](https://developers.google.com/chat/api/guides/v1/spaces/delete). Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users) from a user who has
- * permission to delete the space.
+ * an example, see [Delete a space](https://developers.google.com/workspace/chat/delete-spaces).
+ * Requires [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * from a user who has permission to delete the space.
*
* Sample code:
*
@@ -2671,10 +2791,10 @@ public final void deleteSpace(String name) {
/**
* Deletes a named space. Always performs a cascading delete, which means that the space's child
* resources—like messages posted in the space and memberships in the space—are also deleted. For
- * an example, see [Delete a
- * space](https://developers.google.com/chat/api/guides/v1/spaces/delete). Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users) from a user who has
- * permission to delete the space.
+ * an example, see [Delete a space](https://developers.google.com/workspace/chat/delete-spaces).
+ * Requires [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * from a user who has permission to delete the space.
*
* Sample code:
*
@@ -2702,10 +2822,10 @@ public final void deleteSpace(DeleteSpaceRequest request) {
/**
* Deletes a named space. Always performs a cascading delete, which means that the space's child
* resources—like messages posted in the space and memberships in the space—are also deleted. For
- * an example, see [Delete a
- * space](https://developers.google.com/chat/api/guides/v1/spaces/delete). Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users) from a user who has
- * permission to delete the space.
+ * an example, see [Delete a space](https://developers.google.com/workspace/chat/delete-spaces).
+ * Requires [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * from a user who has permission to delete the space.
*
* Sample code:
*
@@ -2730,10 +2850,10 @@ public final UnaryCallable Sample code:
*
@@ -2761,10 +2881,10 @@ public final CompleteImportSpaceResponse completeImportSpace(CompleteImportSpace
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Completes the [import process](https://developers.google.com/chat/api/guides/import-data) for
+ * Completes the [import process](https://developers.google.com/workspace/chat/import-data) for
* the specified space and makes it visible to users. Requires app authentication and domain-wide
* delegation. For more information, see [Authorize Google Chat apps to import
- * data](https://developers.google.com/chat/api/guides/authorize-import).
+ * data](https://developers.google.com/workspace/chat/authorize-import).
*
* Sample code:
*
@@ -2797,15 +2917,18 @@ public final CompleteImportSpaceResponse completeImportSpace(CompleteImportSpace
* found, returns a `404 NOT_FOUND` error. For an example, see [Find a direct
* message](/chat/api/guides/v1/spaces/find-direct-message).
*
- * With [user authentication](https://developers.google.com/chat/api/guides/auth/users),
+ * With [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
* returns the direct message space between the specified user and the authenticated user.
*
* With [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts), returns
- * the direct message space between the specified user and the calling Chat app.
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app),
+ * returns the direct message space between the specified user and the calling Chat app.
*
- * Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users) or
- * [app authentication](https://developers.google.com/chat/api/guides/auth/service-accounts).
+ * Requires [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * or [app
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
*
* Sample code:
*
@@ -2835,15 +2958,18 @@ public final Space findDirectMessage(FindDirectMessageRequest request) {
* found, returns a `404 NOT_FOUND` error. For an example, see [Find a direct
* message](/chat/api/guides/v1/spaces/find-direct-message).
*
- * With [user authentication](https://developers.google.com/chat/api/guides/auth/users),
+ * With [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
* returns the direct message space between the specified user and the authenticated user.
*
* With [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts), returns
- * the direct message space between the specified user and the calling Chat app.
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app),
+ * returns the direct message space between the specified user and the calling Chat app.
*
- * Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users) or
- * [app authentication](https://developers.google.com/chat/api/guides/auth/service-accounts).
+ * Requires [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * or [app
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
*
* Sample code:
*
@@ -2869,12 +2995,12 @@ public final UnaryCallable To specify the member to add, set the `membership.member.name` in the
* `CreateMembershipRequest`:
@@ -2934,12 +3060,12 @@ public final Membership createMembership(SpaceName parent, Membership membership
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Creates a human membership or app membership for the calling app. Creating memberships for
- * other apps isn't supported. For an example, see [ Create a
- * membership](https://developers.google.com/chat/api/guides/v1/members/create). When creating a
+ * other apps isn't supported. For an example, see [Invite or add a user or a Google Chat app to a
+ * space](https://developers.google.com/workspace/chat/create-members). When creating a
* membership, if the specified member has their auto-accept policy turned off, then they're
* invited, and must accept the space invitation before joining. Otherwise, creating a membership
* adds the member directly to the specified space. Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* To specify the member to add, set the `membership.member.name` in the
* `CreateMembershipRequest`:
@@ -2996,12 +3122,12 @@ public final Membership createMembership(String parent, Membership membership) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Creates a human membership or app membership for the calling app. Creating memberships for
- * other apps isn't supported. For an example, see [ Create a
- * membership](https://developers.google.com/chat/api/guides/v1/members/create). When creating a
+ * other apps isn't supported. For an example, see [Invite or add a user or a Google Chat app to a
+ * space](https://developers.google.com/workspace/chat/create-members). When creating a
* membership, if the specified member has their auto-accept policy turned off, then they're
* invited, and must accept the space invitation before joining. Otherwise, creating a membership
* adds the member directly to the specified space. Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* To specify the member to add, set the `membership.member.name` in the
* `CreateMembershipRequest`:
@@ -3044,12 +3170,12 @@ public final Membership createMembership(CreateMembershipRequest request) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Creates a human membership or app membership for the calling app. Creating memberships for
- * other apps isn't supported. For an example, see [ Create a
- * membership](https://developers.google.com/chat/api/guides/v1/members/create). When creating a
+ * other apps isn't supported. For an example, see [Invite or add a user or a Google Chat app to a
+ * space](https://developers.google.com/workspace/chat/create-members). When creating a
* membership, if the specified member has their auto-accept policy turned off, then they're
* invited, and must accept the space invitation before joining. Otherwise, creating a membership
* adds the member directly to the specified space. Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* To specify the member to add, set the `membership.member.name` in the
* `CreateMembershipRequest`:
@@ -3091,10 +3217,108 @@ public final UnaryCallable Sample code:
+ *
+ * Currently supported field paths:
+ * - `role`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Membership updateMembership(Membership membership, FieldMask updateMask) {
+ UpdateMembershipRequest request =
+ UpdateMembershipRequest.newBuilder()
+ .setMembership(membership)
+ .setUpdateMask(updateMask)
+ .build();
+ return updateMembership(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Updates a membership. Requires [user
+ * authentication](https://developers.google.com/chat/api/guides/auth/users).
*
- * Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Requires [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* Sample code:
*
@@ -3129,10 +3353,11 @@ public final Membership deleteMembership(MembershipName name) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Deletes a membership. For an example, see [Delete a
- * membership](https://developers.google.com/chat/api/guides/v1/members/delete).
+ * Deletes a membership. For an example, see [Remove a user or a Google Chat app from a
+ * space](https://developers.google.com/workspace/chat/delete-members).
*
- * Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * Requires [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* Sample code:
*
@@ -3166,10 +3391,11 @@ public final Membership deleteMembership(String name) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Deletes a membership. For an example, see [Delete a
- * membership](https://developers.google.com/chat/api/guides/v1/members/delete).
+ * Deletes a membership. For an example, see [Remove a user or a Google Chat app from a
+ * space](https://developers.google.com/workspace/chat/delete-members).
*
- * Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * Requires [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* Sample code:
*
@@ -3197,10 +3423,11 @@ public final Membership deleteMembership(DeleteMembershipRequest request) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Deletes a membership. For an example, see [Delete a
- * membership](https://developers.google.com/chat/api/guides/v1/members/delete).
+ * Deletes a membership. For an example, see [Remove a user or a Google Chat app from a
+ * space](https://developers.google.com/workspace/chat/delete-members).
*
- * Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * Requires [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* Sample code:
*
@@ -3228,10 +3455,10 @@ public final UnaryCallable Sample code:
*
@@ -3264,10 +3491,10 @@ public final Reaction createReaction(MessageName parent, Reaction reaction) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Creates a reaction and adds it to a message. For an example, see [Create a
- * reaction](https://developers.google.com/chat/api/guides/v1/reactions/create). Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users). Only unicode emoji
- * are supported.
+ * Creates a reaction and adds it to a message. Only unicode emojis are supported. For an example,
+ * see [Add a reaction to a
+ * message](https://developers.google.com/workspace/chat/create-reactions). Requires [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* Sample code:
*
@@ -3297,10 +3524,10 @@ public final Reaction createReaction(String parent, Reaction reaction) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Creates a reaction and adds it to a message. For an example, see [Create a
- * reaction](https://developers.google.com/chat/api/guides/v1/reactions/create). Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users). Only unicode emoji
- * are supported.
+ * Creates a reaction and adds it to a message. Only unicode emojis are supported. For an example,
+ * see [Add a reaction to a
+ * message](https://developers.google.com/workspace/chat/create-reactions). Requires [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* Sample code:
*
@@ -3329,10 +3556,10 @@ public final Reaction createReaction(CreateReactionRequest request) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Creates a reaction and adds it to a message. For an example, see [Create a
- * reaction](https://developers.google.com/chat/api/guides/v1/reactions/create). Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users). Only unicode emoji
- * are supported.
+ * Creates a reaction and adds it to a message. Only unicode emojis are supported. For an example,
+ * see [Add a reaction to a
+ * message](https://developers.google.com/workspace/chat/create-reactions). Requires [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* Sample code:
*
@@ -3360,9 +3587,9 @@ public final UnaryCallable Sample code:
*
@@ -3394,9 +3621,9 @@ public final ListReactionsPagedResponse listReactions(MessageName parent) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Lists reactions to a message. For an example, see [List
- * reactions](https://developers.google.com/chat/api/guides/v1/reactions/list). Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * Lists reactions to a message. For an example, see [List reactions for a
+ * message](https://developers.google.com/workspace/chat/list-reactions). Requires [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* Sample code:
*
@@ -3425,9 +3652,9 @@ public final ListReactionsPagedResponse listReactions(String parent) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Lists reactions to a message. For an example, see [List
- * reactions](https://developers.google.com/chat/api/guides/v1/reactions/list). Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * Lists reactions to a message. For an example, see [List reactions for a
+ * message](https://developers.google.com/workspace/chat/list-reactions). Requires [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* Sample code:
*
@@ -3460,9 +3687,9 @@ public final ListReactionsPagedResponse listReactions(ListReactionsRequest reque
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Lists reactions to a message. For an example, see [List
- * reactions](https://developers.google.com/chat/api/guides/v1/reactions/list). Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * Lists reactions to a message. For an example, see [List reactions for a
+ * message](https://developers.google.com/workspace/chat/list-reactions). Requires [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* Sample code:
*
@@ -3496,9 +3723,9 @@ public final ListReactionsPagedResponse listReactions(ListReactionsRequest reque
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Lists reactions to a message. For an example, see [List
- * reactions](https://developers.google.com/chat/api/guides/v1/reactions/list). Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * Lists reactions to a message. For an example, see [List reactions for a
+ * message](https://developers.google.com/workspace/chat/list-reactions). Requires [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* Sample code:
*
@@ -3537,9 +3764,9 @@ public final UnaryCallable Sample code:
*
@@ -3567,9 +3794,9 @@ public final void deleteReaction(ReactionName name) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Deletes a reaction to a message. For an example, see [Delete a
- * reaction](https://developers.google.com/chat/api/guides/v1/reactions/delete). Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * Deletes a reaction to a message. Only unicode emojis are supported. For an example, see [Delete
+ * a reaction](https://developers.google.com/workspace/chat/delete-reactions). Requires [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* Sample code:
*
@@ -3596,9 +3823,9 @@ public final void deleteReaction(String name) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Deletes a reaction to a message. For an example, see [Delete a
- * reaction](https://developers.google.com/chat/api/guides/v1/reactions/delete). Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * Deletes a reaction to a message. Only unicode emojis are supported. For an example, see [Delete
+ * a reaction](https://developers.google.com/workspace/chat/delete-reactions). Requires [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* Sample code:
*
@@ -3626,9 +3853,9 @@ public final void deleteReaction(DeleteReactionRequest request) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Deletes a reaction to a message. For an example, see [Delete a
- * reaction](https://developers.google.com/chat/api/guides/v1/reactions/delete). Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * Deletes a reaction to a message. Only unicode emojis are supported. For an example, see [Delete
+ * a reaction](https://developers.google.com/workspace/chat/delete-reactions). Requires [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
* Sample code:
*
diff --git a/java-chat/google-cloud-chat/src/main/java/com/google/chat/v1/ChatServiceSettings.java b/java-chat/google-cloud-chat/src/main/java/com/google/chat/v1/ChatServiceSettings.java
index 3c8830e1a874..aaa5969b33d8 100644
--- a/java-chat/google-cloud-chat/src/main/java/com/google/chat/v1/ChatServiceSettings.java
+++ b/java-chat/google-cloud-chat/src/main/java/com/google/chat/v1/ChatServiceSettings.java
@@ -174,6 +174,11 @@ public UnaryCallSettings{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ChatServiceClient chatServiceClient = ChatServiceClient.create()) {
+ * Membership membership = Membership.newBuilder().build();
+ * FieldMask updateMask = FieldMask.newBuilder().build();
+ * Membership response = chatServiceClient.updateMembership(membership, updateMask);
+ * }
+ * }
+ *
+ * @param membership Required. The membership to update. Only fields specified by `update_mask`
+ * are updated.
+ * @param updateMask Required. The field paths to update. Separate multiple values with commas or
+ * use `*` to update all field paths.
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ChatServiceClient chatServiceClient = ChatServiceClient.create()) {
+ * UpdateMembershipRequest request =
+ * UpdateMembershipRequest.newBuilder()
+ * .setMembership(Membership.newBuilder().build())
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .build();
+ * Membership response = chatServiceClient.updateMembership(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Membership updateMembership(UpdateMembershipRequest request) {
+ return updateMembershipCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Updates a membership. Requires [user
+ * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ChatServiceClient chatServiceClient = ChatServiceClient.create()) {
+ * UpdateMembershipRequest request =
+ * UpdateMembershipRequest.newBuilder()
+ * .setMembership(Membership.newBuilder().build())
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable
- * Creates a message in a Google Chat space. For an example, see [Create a
- * message](https://developers.google.com/chat/api/guides/v1/messages/create).
+ * Creates a message in a Google Chat space. For an example, see [Send a
+ * message](https://developers.google.com/workspace/chat/create-messages).
* Calling this method requires
- * [authentication](https://developers.google.com/chat/api/guides/auth) and
- * supports the following authentication types:
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize)
+ * and supports the following authentication types:
* - For text messages, user authentication or app authentication are
* supported.
* - For card messages, only app authentication is supported. (Only Chat apps
@@ -995,7 +1036,7 @@ default void createMessage(
* messages from blocked members and spaces. For an example, see
* [List messages](/chat/api/guides/v1/messages/list).
* Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
*/
default void listMessages(
@@ -1009,24 +1050,24 @@ default void listMessages(
*
*
*
- * Lists memberships in a space. For an example, see [List
- * memberships](https://developers.google.com/chat/api/guides/v1/members/list).
- * Listing memberships with
- * [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts)
+ * Lists memberships in a space. For an example, see [List users and Google
+ * Chat apps in a
+ * space](https://developers.google.com/workspace/chat/list-members). Listing
+ * memberships with [app
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
* lists memberships in spaces that the Chat app has
* access to, but excludes Chat app memberships,
* including its own. Listing memberships with
* [User
- * authentication](https://developers.google.com/chat/api/guides/auth/users)
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
* lists memberships in spaces that the authenticated user has access to.
* Requires
- * [authentication](https://developers.google.com/chat/api/guides/auth).
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize).
* Supports
* [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts)
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
* and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
*/
default void listMemberships(
@@ -1041,15 +1082,15 @@ default void listMemberships(
*
*
* Returns details about a membership. For an example, see
- * [Get a
- * membership](https://developers.google.com/chat/api/guides/v1/members/get).
+ * [Get details about a user's or Google Chat app's
+ * membership](https://developers.google.com/workspace/chat/get-members).
* Requires
- * [authentication](https://developers.google.com/chat/api/guides/auth).
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize).
* Supports
* [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts)
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
* and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
*/
default void getMembership(
@@ -1064,15 +1105,15 @@ default void getMembership(
*
*
* Returns details about a message.
- * For an example, see [Read a
- * message](https://developers.google.com/chat/api/guides/v1/messages/get).
+ * For an example, see [Get details about a
+ * message](https://developers.google.com/workspace/chat/get-messages).
* Requires
- * [authentication](https://developers.google.com/chat/api/guides/auth).
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize).
* Supports
* [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts)
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
* and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
* Note: Might return a message from a blocked member or space.
*
*/
@@ -1091,14 +1132,14 @@ default void getMessage(
* method uses a `patch` request while the `update` method uses a `put`
* request. We recommend using the `patch` method. For an example, see
* [Update a
- * message](https://developers.google.com/chat/api/guides/v1/messages/update).
+ * message](https://developers.google.com/workspace/chat/update-messages).
* Requires
- * [authentication](https://developers.google.com/chat/api/guides/auth).
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize).
* Supports
* [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts)
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
* and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
* When using app authentication, requests can only update messages
* created by the calling Chat app.
*
@@ -1116,14 +1157,14 @@ default void updateMessage(
*
* Deletes a message.
* For an example, see [Delete a
- * message](https://developers.google.com/chat/api/guides/v1/messages/delete).
+ * message](https://developers.google.com/workspace/chat/delete-messages).
* Requires
- * [authentication](https://developers.google.com/chat/api/guides/auth).
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize).
* Supports
* [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts)
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
* and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
* When using app authentication, requests can only delete messages
* created by the calling Chat app.
*
@@ -1141,12 +1182,12 @@ default void deleteMessage(
*
* Gets the metadata of a message attachment. The attachment data is fetched
* using the [media
- * API](https://developers.google.com/chat/api/reference/rest/v1/media/download).
+ * API](https://developers.google.com/workspace/chat/api/reference/rest/v1/media/download).
* For an example, see
- * [Get a message
- * attachment](https://developers.google.com/chat/api/guides/v1/media-and-attachments/get).
+ * [Get metadata about a message
+ * attachment](https://developers.google.com/workspace/chat/get-media-attachments).
* Requires [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
*
*/
default void getAttachment(
@@ -1162,9 +1203,9 @@ default void getAttachment(
*
* Uploads an attachment. For an example, see
* [Upload media as a file
- * attachment](https://developers.google.com/chat/api/guides/v1/media-and-attachments/upload).
+ * attachment](https://developers.google.com/workspace/chat/upload-media-attachments).
* Requires user
- * [authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
* You can upload attachments up to 200 MB. Certain file types aren't
* supported. For details, see [File types blocked by Google
* Chat](https://support.google.com/chat/answer/7651457?&co=GENIE.Platform%3DDesktop#File%20types%20blocked%20in%20Google%20Chat).
@@ -1184,14 +1225,14 @@ default void uploadAttachment(
* Lists spaces the caller is a member of. Group chats and DMs aren't listed
* until the first message is sent. For an example, see
* [List
- * spaces](https://developers.google.com/chat/api/guides/v1/spaces/list).
+ * spaces](https://developers.google.com/workspace/chat/list-spaces).
* Requires
- * [authentication](https://developers.google.com/chat/api/guides/auth).
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize).
* Supports
* [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts)
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
* and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
* Lists spaces visible to the caller or authenticated user. Group chats
* and DMs aren't listed until the first message is sent.
*
@@ -1207,14 +1248,15 @@ default void listSpaces(
*
*
* Returns details about a space. For an example, see
- * [Get a space](https://developers.google.com/chat/api/guides/v1/spaces/get).
+ * [Get details about a
+ * space](https://developers.google.com/workspace/chat/get-spaces).
* Requires
- * [authentication](https://developers.google.com/chat/api/guides/auth).
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize).
* Supports
* [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts)
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
* and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
*/
default void getSpace(
@@ -1229,12 +1271,12 @@ default void getSpace(
*
* Creates a named space. Spaces grouped by topics aren't supported. For an
* example, see [Create a
- * space](https://developers.google.com/chat/api/guides/v1/spaces/create).
+ * space](https://developers.google.com/workspace/chat/create-spaces).
* If you receive the error message `ALREADY_EXISTS` when creating
* a space, try a different `displayName`. An existing space within
* the Google Workspace organization might already use this display name.
* Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
*/
default void createSpace(
@@ -1251,8 +1293,8 @@ default void createSpace(
* Creates a space and adds specified users to it. The calling user is
* automatically added to the space, and shouldn't be specified as a
* membership in the request. For an example, see
- * [Set up a
- * space](https://developers.google.com/chat/api/guides/v1/spaces/set-up).
+ * [Set up a space with initial
+ * members](https://developers.google.com/workspace/chat/set-up-spaces).
* To specify the human members to add, add memberships with the appropriate
* `member.name` in the `SetUpSpaceRequest`. To add a human user, use
* `users/{user}`, where `{user}` can be the email address for the user. For
@@ -1272,8 +1314,8 @@ default void createSpace(
* can only use this method to set up a DM with the calling app. To add the
* calling app as a member of a space or an existing DM between two human
* users, see
- * [create a
- * membership](https://developers.google.com/chat/api/guides/v1/members/create).
+ * [Invite or add a user or app to a
+ * space](https://developers.google.com/workspace/chat/create-members).
* If a DM already exists between two users, even when one user blocks the
* other at the time a request is made, then the existing DM is returned.
* Spaces with threaded replies aren't supported. If you receive the error
@@ -1281,7 +1323,7 @@ default void createSpace(
* `displayName`. An existing space within the Google Workspace organization
* might already use this display name.
* Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
*/
default void setUpSpace(
@@ -1296,12 +1338,12 @@ default void setUpSpace(
*
* Updates a space. For an example, see
* [Update a
- * space](https://developers.google.com/chat/api/guides/v1/spaces/update).
+ * space](https://developers.google.com/workspace/chat/update-spaces).
* If you're updating the `displayName` field and receive the error message
* `ALREADY_EXISTS`, try a different display name.. An existing space within
* the Google Workspace organization might already use this display name.
* Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
*/
default void updateSpace(
@@ -1319,9 +1361,9 @@ default void updateSpace(
* that the space's child resources—like messages posted in the space and
* memberships in the space—are also deleted. For an example, see
* [Delete a
- * space](https://developers.google.com/chat/api/guides/v1/spaces/delete).
+ * space](https://developers.google.com/workspace/chat/delete-spaces).
* Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users)
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
* from a user who has permission to delete the space.
*
*/
@@ -1337,11 +1379,11 @@ default void deleteSpace(
*
*
* Completes the
- * [import process](https://developers.google.com/chat/api/guides/import-data)
+ * [import process](https://developers.google.com/workspace/chat/import-data)
* for the specified space and makes it visible to users.
* Requires app authentication and domain-wide delegation. For more
* information, see [Authorize Google Chat apps to import
- * data](https://developers.google.com/chat/api/guides/authorize-import).
+ * data](https://developers.google.com/workspace/chat/authorize-import).
*
*/
default void completeImportSpace(
@@ -1361,17 +1403,17 @@ default void completeImportSpace(
* see
* [Find a direct message](/chat/api/guides/v1/spaces/find-direct-message).
* With [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users),
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
* returns the direct message space between the specified user and the
* authenticated user.
* With [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts),
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app),
* returns the direct message space between the specified user and the calling
* Chat app.
* Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users)
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
* or [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
*
*/
default void findDirectMessage(
@@ -1387,13 +1429,13 @@ default void findDirectMessage(
*
* Creates a human membership or app membership for the calling app. Creating
* memberships for other apps isn't supported. For an example, see
- * [ Create a
- * membership](https://developers.google.com/chat/api/guides/v1/members/create).
+ * [Invite or add a user or a Google Chat app to a
+ * space](https://developers.google.com/workspace/chat/create-members).
* When creating a membership, if the specified member has their auto-accept
* policy turned off, then they're invited, and must accept the space
* invitation before joining. Otherwise, creating a membership adds the member
* directly to the specified space. Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
* To specify the member to add, set the `membership.member.name` in the
* `CreateMembershipRequest`:
* - To add the calling app to a space or a direct message between two human
@@ -1415,15 +1457,30 @@ default void createMembership(
getCreateMembershipMethod(), responseObserver);
}
+ /**
+ *
+ *
+ *
@@ -1687,14 +1745,14 @@ public void updateMessage(
*
+ * Updates a membership. Requires [user
+ * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ *
+ */
+ default void updateMembership(
+ com.google.chat.v1.UpdateMembershipRequest request,
+ io.grpc.stub.StreamObserver
* Deletes a membership. For an example, see
- * [Delete a
- * membership](https://developers.google.com/chat/api/guides/v1/members/delete).
+ * [Remove a user or a Google Chat app from a
+ * space](https://developers.google.com/workspace/chat/delete-members).
* Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
*/
default void deleteMembership(
@@ -1437,12 +1494,12 @@ default void deleteMembership(
*
*
*
- * Creates a reaction and adds it to a message. For an example, see
- * [Create a
- * reaction](https://developers.google.com/chat/api/guides/v1/reactions/create).
+ * Creates a reaction and adds it to a message. Only unicode emojis are
+ * supported. For an example, see
+ * [Add a reaction to a
+ * message](https://developers.google.com/workspace/chat/create-reactions).
* Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
- * Only unicode emoji are supported.
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
*/
default void createReaction(
@@ -1457,10 +1514,10 @@ default void createReaction(
*
*
* Lists reactions to a message. For an example, see
- * [List
- * reactions](https://developers.google.com/chat/api/guides/v1/reactions/list).
+ * [List reactions for a
+ * message](https://developers.google.com/workspace/chat/list-reactions).
* Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
*/
default void listReactions(
@@ -1474,11 +1531,12 @@ default void listReactions(
*
*
*
- * Deletes a reaction to a message. For an example, see
+ * Deletes a reaction to a message. Only unicode emojis are supported.
+ * For an example, see
* [Delete a
- * reaction](https://developers.google.com/chat/api/guides/v1/reactions/delete).
+ * reaction](https://developers.google.com/workspace/chat/delete-reactions).
* Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
*/
default void deleteReaction(
@@ -1529,11 +1587,11 @@ protected ChatServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions cal
*
*
*
- * Creates a message in a Google Chat space. For an example, see [Create a
- * message](https://developers.google.com/chat/api/guides/v1/messages/create).
+ * Creates a message in a Google Chat space. For an example, see [Send a
+ * message](https://developers.google.com/workspace/chat/create-messages).
* Calling this method requires
- * [authentication](https://developers.google.com/chat/api/guides/auth) and
- * supports the following authentication types:
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize)
+ * and supports the following authentication types:
* - For text messages, user authentication or app authentication are
* supported.
* - For card messages, only app authentication is supported. (Only Chat apps
@@ -1557,7 +1615,7 @@ public void createMessage(
* messages from blocked members and spaces. For an example, see
* [List messages](/chat/api/guides/v1/messages/list).
* Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
*/
public void listMessages(
@@ -1573,24 +1631,24 @@ public void listMessages(
*
*
*
- * Lists memberships in a space. For an example, see [List
- * memberships](https://developers.google.com/chat/api/guides/v1/members/list).
- * Listing memberships with
- * [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts)
+ * Lists memberships in a space. For an example, see [List users and Google
+ * Chat apps in a
+ * space](https://developers.google.com/workspace/chat/list-members). Listing
+ * memberships with [app
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
* lists memberships in spaces that the Chat app has
* access to, but excludes Chat app memberships,
* including its own. Listing memberships with
* [User
- * authentication](https://developers.google.com/chat/api/guides/auth/users)
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
* lists memberships in spaces that the authenticated user has access to.
* Requires
- * [authentication](https://developers.google.com/chat/api/guides/auth).
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize).
* Supports
* [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts)
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
* and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
*/
public void listMemberships(
@@ -1607,15 +1665,15 @@ public void listMemberships(
*
*
* Returns details about a membership. For an example, see
- * [Get a
- * membership](https://developers.google.com/chat/api/guides/v1/members/get).
+ * [Get details about a user's or Google Chat app's
+ * membership](https://developers.google.com/workspace/chat/get-members).
* Requires
- * [authentication](https://developers.google.com/chat/api/guides/auth).
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize).
* Supports
* [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts)
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
* and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
*/
public void getMembership(
@@ -1632,15 +1690,15 @@ public void getMembership(
*
*
* Returns details about a message.
- * For an example, see [Read a
- * message](https://developers.google.com/chat/api/guides/v1/messages/get).
+ * For an example, see [Get details about a
+ * message](https://developers.google.com/workspace/chat/get-messages).
* Requires
- * [authentication](https://developers.google.com/chat/api/guides/auth).
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize).
* Supports
* [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts)
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
* and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
* Note: Might return a message from a blocked member or space.
*
*/
@@ -1660,14 +1718,14 @@ public void getMessage(
* method uses a `patch` request while the `update` method uses a `put`
* request. We recommend using the `patch` method. For an example, see
* [Update a
- * message](https://developers.google.com/chat/api/guides/v1/messages/update).
+ * message](https://developers.google.com/workspace/chat/update-messages).
* Requires
- * [authentication](https://developers.google.com/chat/api/guides/auth).
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize).
* Supports
* [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts)
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
* and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
* When using app authentication, requests can only update messages
* created by the calling Chat app.
*
* Deletes a message.
* For an example, see [Delete a
- * message](https://developers.google.com/chat/api/guides/v1/messages/delete).
+ * message](https://developers.google.com/workspace/chat/delete-messages).
* Requires
- * [authentication](https://developers.google.com/chat/api/guides/auth).
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize).
* Supports
* [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts)
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
* and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
* When using app authentication, requests can only delete messages
* created by the calling Chat app.
*
@@ -1714,12 +1772,12 @@ public void deleteMessage(
*
* Gets the metadata of a message attachment. The attachment data is fetched
* using the [media
- * API](https://developers.google.com/chat/api/reference/rest/v1/media/download).
+ * API](https://developers.google.com/workspace/chat/api/reference/rest/v1/media/download).
* For an example, see
- * [Get a message
- * attachment](https://developers.google.com/chat/api/guides/v1/media-and-attachments/get).
+ * [Get metadata about a message
+ * attachment](https://developers.google.com/workspace/chat/get-media-attachments).
* Requires [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
*
*/
public void getAttachment(
@@ -1737,9 +1795,9 @@ public void getAttachment(
*
* Uploads an attachment. For an example, see
* [Upload media as a file
- * attachment](https://developers.google.com/chat/api/guides/v1/media-and-attachments/upload).
+ * attachment](https://developers.google.com/workspace/chat/upload-media-attachments).
* Requires user
- * [authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
* You can upload attachments up to 200 MB. Certain file types aren't
* supported. For details, see [File types blocked by Google
* Chat](https://support.google.com/chat/answer/7651457?&co=GENIE.Platform%3DDesktop#File%20types%20blocked%20in%20Google%20Chat).
@@ -1761,14 +1819,14 @@ public void uploadAttachment(
* Lists spaces the caller is a member of. Group chats and DMs aren't listed
* until the first message is sent. For an example, see
* [List
- * spaces](https://developers.google.com/chat/api/guides/v1/spaces/list).
+ * spaces](https://developers.google.com/workspace/chat/list-spaces).
* Requires
- * [authentication](https://developers.google.com/chat/api/guides/auth).
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize).
* Supports
* [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts)
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
* and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
* Lists spaces visible to the caller or authenticated user. Group chats
* and DMs aren't listed until the first message is sent.
*
@@ -1785,14 +1843,15 @@ public void listSpaces(
*
*
* Returns details about a space. For an example, see
- * [Get a space](https://developers.google.com/chat/api/guides/v1/spaces/get).
+ * [Get details about a
+ * space](https://developers.google.com/workspace/chat/get-spaces).
* Requires
- * [authentication](https://developers.google.com/chat/api/guides/auth).
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize).
* Supports
* [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts)
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
* and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
*/
public void getSpace(
@@ -1808,12 +1867,12 @@ public void getSpace(
*
* Creates a named space. Spaces grouped by topics aren't supported. For an
* example, see [Create a
- * space](https://developers.google.com/chat/api/guides/v1/spaces/create).
+ * space](https://developers.google.com/workspace/chat/create-spaces).
* If you receive the error message `ALREADY_EXISTS` when creating
* a space, try a different `displayName`. An existing space within
* the Google Workspace organization might already use this display name.
* Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
*/
public void createSpace(
@@ -1832,8 +1891,8 @@ public void createSpace(
* Creates a space and adds specified users to it. The calling user is
* automatically added to the space, and shouldn't be specified as a
* membership in the request. For an example, see
- * [Set up a
- * space](https://developers.google.com/chat/api/guides/v1/spaces/set-up).
+ * [Set up a space with initial
+ * members](https://developers.google.com/workspace/chat/set-up-spaces).
* To specify the human members to add, add memberships with the appropriate
* `member.name` in the `SetUpSpaceRequest`. To add a human user, use
* `users/{user}`, where `{user}` can be the email address for the user. For
@@ -1853,8 +1912,8 @@ public void createSpace(
* can only use this method to set up a DM with the calling app. To add the
* calling app as a member of a space or an existing DM between two human
* users, see
- * [create a
- * membership](https://developers.google.com/chat/api/guides/v1/members/create).
+ * [Invite or add a user or app to a
+ * space](https://developers.google.com/workspace/chat/create-members).
* If a DM already exists between two users, even when one user blocks the
* other at the time a request is made, then the existing DM is returned.
* Spaces with threaded replies aren't supported. If you receive the error
@@ -1862,7 +1921,7 @@ public void createSpace(
* `displayName`. An existing space within the Google Workspace organization
* might already use this display name.
* Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
*/
public void setUpSpace(
@@ -1878,12 +1937,12 @@ public void setUpSpace(
*
* Updates a space. For an example, see
* [Update a
- * space](https://developers.google.com/chat/api/guides/v1/spaces/update).
+ * space](https://developers.google.com/workspace/chat/update-spaces).
* If you're updating the `displayName` field and receive the error message
* `ALREADY_EXISTS`, try a different display name.. An existing space within
* the Google Workspace organization might already use this display name.
* Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
*/
public void updateSpace(
@@ -1903,9 +1962,9 @@ public void updateSpace(
* that the space's child resources—like messages posted in the space and
* memberships in the space—are also deleted. For an example, see
* [Delete a
- * space](https://developers.google.com/chat/api/guides/v1/spaces/delete).
+ * space](https://developers.google.com/workspace/chat/delete-spaces).
* Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users)
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
* from a user who has permission to delete the space.
*
*/
@@ -1923,11 +1982,11 @@ public void deleteSpace(
*
*
* Completes the
- * [import process](https://developers.google.com/chat/api/guides/import-data)
+ * [import process](https://developers.google.com/workspace/chat/import-data)
* for the specified space and makes it visible to users.
* Requires app authentication and domain-wide delegation. For more
* information, see [Authorize Google Chat apps to import
- * data](https://developers.google.com/chat/api/guides/authorize-import).
+ * data](https://developers.google.com/workspace/chat/authorize-import).
*
*/
public void completeImportSpace(
@@ -1949,17 +2008,17 @@ public void completeImportSpace(
* see
* [Find a direct message](/chat/api/guides/v1/spaces/find-direct-message).
* With [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users),
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
* returns the direct message space between the specified user and the
* authenticated user.
* With [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts),
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app),
* returns the direct message space between the specified user and the calling
* Chat app.
* Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users)
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
* or [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
*
*/
public void findDirectMessage(
@@ -1977,13 +2036,13 @@ public void findDirectMessage(
*
* Creates a human membership or app membership for the calling app. Creating
* memberships for other apps isn't supported. For an example, see
- * [ Create a
- * membership](https://developers.google.com/chat/api/guides/v1/members/create).
+ * [Invite or add a user or a Google Chat app to a
+ * space](https://developers.google.com/workspace/chat/create-members).
* When creating a membership, if the specified member has their auto-accept
* policy turned off, then they're invited, and must accept the space
* invitation before joining. Otherwise, creating a membership adds the member
* directly to the specified space. Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
* To specify the member to add, set the `membership.member.name` in the
* `CreateMembershipRequest`:
* - To add the calling app to a space or a direct message between two human
@@ -2007,15 +2066,32 @@ public void createMembership(
responseObserver);
}
+ /**
+ *
+ *
+ *
@@ -2254,14 +2331,14 @@ public com.google.chat.v1.Message updateMessage(
*
+ * Updates a membership. Requires [user
+ * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ *
+ */
+ public void updateMembership(
+ com.google.chat.v1.UpdateMembershipRequest request,
+ io.grpc.stub.StreamObserver
* Deletes a membership. For an example, see
- * [Delete a
- * membership](https://developers.google.com/chat/api/guides/v1/members/delete).
+ * [Remove a user or a Google Chat app from a
+ * space](https://developers.google.com/workspace/chat/delete-members).
* Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
*/
public void deleteMembership(
@@ -2031,12 +2107,12 @@ public void deleteMembership(
*
*
*
- * Creates a reaction and adds it to a message. For an example, see
- * [Create a
- * reaction](https://developers.google.com/chat/api/guides/v1/reactions/create).
+ * Creates a reaction and adds it to a message. Only unicode emojis are
+ * supported. For an example, see
+ * [Add a reaction to a
+ * message](https://developers.google.com/workspace/chat/create-reactions).
* Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
- * Only unicode emoji are supported.
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
*/
public void createReaction(
@@ -2053,10 +2129,10 @@ public void createReaction(
*
*
* Lists reactions to a message. For an example, see
- * [List
- * reactions](https://developers.google.com/chat/api/guides/v1/reactions/list).
+ * [List reactions for a
+ * message](https://developers.google.com/workspace/chat/list-reactions).
* Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
*/
public void listReactions(
@@ -2072,11 +2148,12 @@ public void listReactions(
*
*
*
- * Deletes a reaction to a message. For an example, see
+ * Deletes a reaction to a message. Only unicode emojis are supported.
+ * For an example, see
* [Delete a
- * reaction](https://developers.google.com/chat/api/guides/v1/reactions/delete).
+ * reaction](https://developers.google.com/workspace/chat/delete-reactions).
* Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
*/
public void deleteReaction(
@@ -2113,11 +2190,11 @@ protected ChatServiceBlockingStub build(
*
*
*
- * Creates a message in a Google Chat space. For an example, see [Create a
- * message](https://developers.google.com/chat/api/guides/v1/messages/create).
+ * Creates a message in a Google Chat space. For an example, see [Send a
+ * message](https://developers.google.com/workspace/chat/create-messages).
* Calling this method requires
- * [authentication](https://developers.google.com/chat/api/guides/auth) and
- * supports the following authentication types:
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize)
+ * and supports the following authentication types:
* - For text messages, user authentication or app authentication are
* supported.
* - For card messages, only app authentication is supported. (Only Chat apps
@@ -2138,7 +2215,7 @@ public com.google.chat.v1.Message createMessage(
* messages from blocked members and spaces. For an example, see
* [List messages](/chat/api/guides/v1/messages/list).
* Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
*/
public com.google.chat.v1.ListMessagesResponse listMessages(
@@ -2151,24 +2228,24 @@ public com.google.chat.v1.ListMessagesResponse listMessages(
*
*
*
- * Lists memberships in a space. For an example, see [List
- * memberships](https://developers.google.com/chat/api/guides/v1/members/list).
- * Listing memberships with
- * [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts)
+ * Lists memberships in a space. For an example, see [List users and Google
+ * Chat apps in a
+ * space](https://developers.google.com/workspace/chat/list-members). Listing
+ * memberships with [app
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
* lists memberships in spaces that the Chat app has
* access to, but excludes Chat app memberships,
* including its own. Listing memberships with
* [User
- * authentication](https://developers.google.com/chat/api/guides/auth/users)
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
* lists memberships in spaces that the authenticated user has access to.
* Requires
- * [authentication](https://developers.google.com/chat/api/guides/auth).
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize).
* Supports
* [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts)
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
* and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
*/
public com.google.chat.v1.ListMembershipsResponse listMemberships(
@@ -2182,15 +2259,15 @@ public com.google.chat.v1.ListMembershipsResponse listMemberships(
*
*
* Returns details about a membership. For an example, see
- * [Get a
- * membership](https://developers.google.com/chat/api/guides/v1/members/get).
+ * [Get details about a user's or Google Chat app's
+ * membership](https://developers.google.com/workspace/chat/get-members).
* Requires
- * [authentication](https://developers.google.com/chat/api/guides/auth).
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize).
* Supports
* [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts)
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
* and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
*/
public com.google.chat.v1.Membership getMembership(
@@ -2204,15 +2281,15 @@ public com.google.chat.v1.Membership getMembership(
*
*
* Returns details about a message.
- * For an example, see [Read a
- * message](https://developers.google.com/chat/api/guides/v1/messages/get).
+ * For an example, see [Get details about a
+ * message](https://developers.google.com/workspace/chat/get-messages).
* Requires
- * [authentication](https://developers.google.com/chat/api/guides/auth).
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize).
* Supports
* [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts)
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
* and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
* Note: Might return a message from a blocked member or space.
*
*/
@@ -2230,14 +2307,14 @@ public com.google.chat.v1.Message getMessage(com.google.chat.v1.GetMessageReques
* method uses a `patch` request while the `update` method uses a `put`
* request. We recommend using the `patch` method. For an example, see
* [Update a
- * message](https://developers.google.com/chat/api/guides/v1/messages/update).
+ * message](https://developers.google.com/workspace/chat/update-messages).
* Requires
- * [authentication](https://developers.google.com/chat/api/guides/auth).
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize).
* Supports
* [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts)
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
* and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
* When using app authentication, requests can only update messages
* created by the calling Chat app.
*
* Deletes a message.
* For an example, see [Delete a
- * message](https://developers.google.com/chat/api/guides/v1/messages/delete).
+ * message](https://developers.google.com/workspace/chat/delete-messages).
* Requires
- * [authentication](https://developers.google.com/chat/api/guides/auth).
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize).
* Supports
* [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts)
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
* and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
* When using app authentication, requests can only delete messages
* created by the calling Chat app.
*
@@ -2278,12 +2355,12 @@ public com.google.protobuf.Empty deleteMessage(
*
* Gets the metadata of a message attachment. The attachment data is fetched
* using the [media
- * API](https://developers.google.com/chat/api/reference/rest/v1/media/download).
+ * API](https://developers.google.com/workspace/chat/api/reference/rest/v1/media/download).
* For an example, see
- * [Get a message
- * attachment](https://developers.google.com/chat/api/guides/v1/media-and-attachments/get).
+ * [Get metadata about a message
+ * attachment](https://developers.google.com/workspace/chat/get-media-attachments).
* Requires [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
*
*/
public com.google.chat.v1.Attachment getAttachment(
@@ -2298,9 +2375,9 @@ public com.google.chat.v1.Attachment getAttachment(
*
* Uploads an attachment. For an example, see
* [Upload media as a file
- * attachment](https://developers.google.com/chat/api/guides/v1/media-and-attachments/upload).
+ * attachment](https://developers.google.com/workspace/chat/upload-media-attachments).
* Requires user
- * [authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
* You can upload attachments up to 200 MB. Certain file types aren't
* supported. For details, see [File types blocked by Google
* Chat](https://support.google.com/chat/answer/7651457?&co=GENIE.Platform%3DDesktop#File%20types%20blocked%20in%20Google%20Chat).
@@ -2319,14 +2396,14 @@ public com.google.chat.v1.UploadAttachmentResponse uploadAttachment(
* Lists spaces the caller is a member of. Group chats and DMs aren't listed
* until the first message is sent. For an example, see
* [List
- * spaces](https://developers.google.com/chat/api/guides/v1/spaces/list).
+ * spaces](https://developers.google.com/workspace/chat/list-spaces).
* Requires
- * [authentication](https://developers.google.com/chat/api/guides/auth).
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize).
* Supports
* [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts)
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
* and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
* Lists spaces visible to the caller or authenticated user. Group chats
* and DMs aren't listed until the first message is sent.
*
@@ -2342,14 +2419,15 @@ public com.google.chat.v1.ListSpacesResponse listSpaces(
*
*
* Returns details about a space. For an example, see
- * [Get a space](https://developers.google.com/chat/api/guides/v1/spaces/get).
+ * [Get details about a
+ * space](https://developers.google.com/workspace/chat/get-spaces).
* Requires
- * [authentication](https://developers.google.com/chat/api/guides/auth).
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize).
* Supports
* [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts)
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
* and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
*/
public com.google.chat.v1.Space getSpace(com.google.chat.v1.GetSpaceRequest request) {
@@ -2363,12 +2441,12 @@ public com.google.chat.v1.Space getSpace(com.google.chat.v1.GetSpaceRequest requ
*
* Creates a named space. Spaces grouped by topics aren't supported. For an
* example, see [Create a
- * space](https://developers.google.com/chat/api/guides/v1/spaces/create).
+ * space](https://developers.google.com/workspace/chat/create-spaces).
* If you receive the error message `ALREADY_EXISTS` when creating
* a space, try a different `displayName`. An existing space within
* the Google Workspace organization might already use this display name.
* Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
*/
public com.google.chat.v1.Space createSpace(com.google.chat.v1.CreateSpaceRequest request) {
@@ -2383,8 +2461,8 @@ public com.google.chat.v1.Space createSpace(com.google.chat.v1.CreateSpaceReques
* Creates a space and adds specified users to it. The calling user is
* automatically added to the space, and shouldn't be specified as a
* membership in the request. For an example, see
- * [Set up a
- * space](https://developers.google.com/chat/api/guides/v1/spaces/set-up).
+ * [Set up a space with initial
+ * members](https://developers.google.com/workspace/chat/set-up-spaces).
* To specify the human members to add, add memberships with the appropriate
* `member.name` in the `SetUpSpaceRequest`. To add a human user, use
* `users/{user}`, where `{user}` can be the email address for the user. For
@@ -2404,8 +2482,8 @@ public com.google.chat.v1.Space createSpace(com.google.chat.v1.CreateSpaceReques
* can only use this method to set up a DM with the calling app. To add the
* calling app as a member of a space or an existing DM between two human
* users, see
- * [create a
- * membership](https://developers.google.com/chat/api/guides/v1/members/create).
+ * [Invite or add a user or app to a
+ * space](https://developers.google.com/workspace/chat/create-members).
* If a DM already exists between two users, even when one user blocks the
* other at the time a request is made, then the existing DM is returned.
* Spaces with threaded replies aren't supported. If you receive the error
@@ -2413,7 +2491,7 @@ public com.google.chat.v1.Space createSpace(com.google.chat.v1.CreateSpaceReques
* `displayName`. An existing space within the Google Workspace organization
* might already use this display name.
* Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
*/
public com.google.chat.v1.Space setUpSpace(com.google.chat.v1.SetUpSpaceRequest request) {
@@ -2427,12 +2505,12 @@ public com.google.chat.v1.Space setUpSpace(com.google.chat.v1.SetUpSpaceRequest
*
* Updates a space. For an example, see
* [Update a
- * space](https://developers.google.com/chat/api/guides/v1/spaces/update).
+ * space](https://developers.google.com/workspace/chat/update-spaces).
* If you're updating the `displayName` field and receive the error message
* `ALREADY_EXISTS`, try a different display name.. An existing space within
* the Google Workspace organization might already use this display name.
* Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
*/
public com.google.chat.v1.Space updateSpace(com.google.chat.v1.UpdateSpaceRequest request) {
@@ -2448,9 +2526,9 @@ public com.google.chat.v1.Space updateSpace(com.google.chat.v1.UpdateSpaceReques
* that the space's child resources—like messages posted in the space and
* memberships in the space—are also deleted. For an example, see
* [Delete a
- * space](https://developers.google.com/chat/api/guides/v1/spaces/delete).
+ * space](https://developers.google.com/workspace/chat/delete-spaces).
* Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users)
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
* from a user who has permission to delete the space.
*
*/
@@ -2464,11 +2542,11 @@ public com.google.protobuf.Empty deleteSpace(com.google.chat.v1.DeleteSpaceReque
*
*
* Completes the
- * [import process](https://developers.google.com/chat/api/guides/import-data)
+ * [import process](https://developers.google.com/workspace/chat/import-data)
* for the specified space and makes it visible to users.
* Requires app authentication and domain-wide delegation. For more
* information, see [Authorize Google Chat apps to import
- * data](https://developers.google.com/chat/api/guides/authorize-import).
+ * data](https://developers.google.com/workspace/chat/authorize-import).
*
*/
public com.google.chat.v1.CompleteImportSpaceResponse completeImportSpace(
@@ -2486,17 +2564,17 @@ public com.google.chat.v1.CompleteImportSpaceResponse completeImportSpace(
* see
* [Find a direct message](/chat/api/guides/v1/spaces/find-direct-message).
* With [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users),
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
* returns the direct message space between the specified user and the
* authenticated user.
* With [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts),
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app),
* returns the direct message space between the specified user and the calling
* Chat app.
* Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users)
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
* or [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
*
*/
public com.google.chat.v1.Space findDirectMessage(
@@ -2511,13 +2589,13 @@ public com.google.chat.v1.Space findDirectMessage(
*
* Creates a human membership or app membership for the calling app. Creating
* memberships for other apps isn't supported. For an example, see
- * [ Create a
- * membership](https://developers.google.com/chat/api/guides/v1/members/create).
+ * [Invite or add a user or a Google Chat app to a
+ * space](https://developers.google.com/workspace/chat/create-members).
* When creating a membership, if the specified member has their auto-accept
* policy turned off, then they're invited, and must accept the space
* invitation before joining. Otherwise, creating a membership adds the member
* directly to the specified space. Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
* To specify the member to add, set the `membership.member.name` in the
* `CreateMembershipRequest`:
* - To add the calling app to a space or a direct message between two human
@@ -2538,15 +2616,29 @@ public com.google.chat.v1.Membership createMembership(
getChannel(), getCreateMembershipMethod(), getCallOptions(), request);
}
+ /**
+ *
+ *
+ *
@@ -2776,14 +2869,14 @@ protected ChatServiceFutureStub build(
*
+ * Updates a membership. Requires [user
+ * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ *
+ */
+ public com.google.chat.v1.Membership updateMembership(
+ com.google.chat.v1.UpdateMembershipRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getUpdateMembershipMethod(), getCallOptions(), request);
+ }
+
/**
*
*
*
* Deletes a membership. For an example, see
- * [Delete a
- * membership](https://developers.google.com/chat/api/guides/v1/members/delete).
+ * [Remove a user or a Google Chat app from a
+ * space](https://developers.google.com/workspace/chat/delete-members).
* Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
*/
public com.google.chat.v1.Membership deleteMembership(
@@ -2559,12 +2651,12 @@ public com.google.chat.v1.Membership deleteMembership(
*
*
*
- * Creates a reaction and adds it to a message. For an example, see
- * [Create a
- * reaction](https://developers.google.com/chat/api/guides/v1/reactions/create).
+ * Creates a reaction and adds it to a message. Only unicode emojis are
+ * supported. For an example, see
+ * [Add a reaction to a
+ * message](https://developers.google.com/workspace/chat/create-reactions).
* Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
- * Only unicode emoji are supported.
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
*/
public com.google.chat.v1.Reaction createReaction(
@@ -2578,10 +2670,10 @@ public com.google.chat.v1.Reaction createReaction(
*
*
* Lists reactions to a message. For an example, see
- * [List
- * reactions](https://developers.google.com/chat/api/guides/v1/reactions/list).
+ * [List reactions for a
+ * message](https://developers.google.com/workspace/chat/list-reactions).
* Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
*/
public com.google.chat.v1.ListReactionsResponse listReactions(
@@ -2594,11 +2686,12 @@ public com.google.chat.v1.ListReactionsResponse listReactions(
*
*
*
- * Deletes a reaction to a message. For an example, see
+ * Deletes a reaction to a message. Only unicode emojis are supported.
+ * For an example, see
* [Delete a
- * reaction](https://developers.google.com/chat/api/guides/v1/reactions/delete).
+ * reaction](https://developers.google.com/workspace/chat/delete-reactions).
* Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
*/
public com.google.protobuf.Empty deleteReaction(
@@ -2632,11 +2725,11 @@ protected ChatServiceFutureStub build(
*
*
*
- * Creates a message in a Google Chat space. For an example, see [Create a
- * message](https://developers.google.com/chat/api/guides/v1/messages/create).
+ * Creates a message in a Google Chat space. For an example, see [Send a
+ * message](https://developers.google.com/workspace/chat/create-messages).
* Calling this method requires
- * [authentication](https://developers.google.com/chat/api/guides/auth) and
- * supports the following authentication types:
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize)
+ * and supports the following authentication types:
* - For text messages, user authentication or app authentication are
* supported.
* - For card messages, only app authentication is supported. (Only Chat apps
@@ -2657,7 +2750,7 @@ protected ChatServiceFutureStub build(
* messages from blocked members and spaces. For an example, see
* [List messages](/chat/api/guides/v1/messages/list).
* Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
*/
public com.google.common.util.concurrent.ListenableFuture<
@@ -2671,24 +2764,24 @@ protected ChatServiceFutureStub build(
*
*
*
- * Lists memberships in a space. For an example, see [List
- * memberships](https://developers.google.com/chat/api/guides/v1/members/list).
- * Listing memberships with
- * [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts)
+ * Lists memberships in a space. For an example, see [List users and Google
+ * Chat apps in a
+ * space](https://developers.google.com/workspace/chat/list-members). Listing
+ * memberships with [app
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
* lists memberships in spaces that the Chat app has
* access to, but excludes Chat app memberships,
* including its own. Listing memberships with
* [User
- * authentication](https://developers.google.com/chat/api/guides/auth/users)
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
* lists memberships in spaces that the authenticated user has access to.
* Requires
- * [authentication](https://developers.google.com/chat/api/guides/auth).
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize).
* Supports
* [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts)
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
* and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
*/
public com.google.common.util.concurrent.ListenableFuture<
@@ -2703,15 +2796,15 @@ protected ChatServiceFutureStub build(
*
*
* Returns details about a membership. For an example, see
- * [Get a
- * membership](https://developers.google.com/chat/api/guides/v1/members/get).
+ * [Get details about a user's or Google Chat app's
+ * membership](https://developers.google.com/workspace/chat/get-members).
* Requires
- * [authentication](https://developers.google.com/chat/api/guides/auth).
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize).
* Supports
* [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts)
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
* and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
*/
public com.google.common.util.concurrent.ListenableFuture
* Returns details about a message.
- * For an example, see [Read a
- * message](https://developers.google.com/chat/api/guides/v1/messages/get).
+ * For an example, see [Get details about a
+ * message](https://developers.google.com/workspace/chat/get-messages).
* Requires
- * [authentication](https://developers.google.com/chat/api/guides/auth).
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize).
* Supports
* [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts)
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
* and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
* Note: Might return a message from a blocked member or space.
*
*/
@@ -2752,14 +2845,14 @@ protected ChatServiceFutureStub build(
* method uses a `patch` request while the `update` method uses a `put`
* request. We recommend using the `patch` method. For an example, see
* [Update a
- * message](https://developers.google.com/chat/api/guides/v1/messages/update).
+ * message](https://developers.google.com/workspace/chat/update-messages).
* Requires
- * [authentication](https://developers.google.com/chat/api/guides/auth).
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize).
* Supports
* [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts)
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
* and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
* When using app authentication, requests can only update messages
* created by the calling Chat app.
*
* Deletes a message.
* For an example, see [Delete a
- * message](https://developers.google.com/chat/api/guides/v1/messages/delete).
+ * message](https://developers.google.com/workspace/chat/delete-messages).
* Requires
- * [authentication](https://developers.google.com/chat/api/guides/auth).
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize).
* Supports
* [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts)
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
* and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
* When using app authentication, requests can only delete messages
* created by the calling Chat app.
*
@@ -2800,12 +2893,12 @@ protected ChatServiceFutureStub build(
*
* Gets the metadata of a message attachment. The attachment data is fetched
* using the [media
- * API](https://developers.google.com/chat/api/reference/rest/v1/media/download).
+ * API](https://developers.google.com/workspace/chat/api/reference/rest/v1/media/download).
* For an example, see
- * [Get a message
- * attachment](https://developers.google.com/chat/api/guides/v1/media-and-attachments/get).
+ * [Get metadata about a message
+ * attachment](https://developers.google.com/workspace/chat/get-media-attachments).
* Requires [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
*
*/
public com.google.common.util.concurrent.ListenableFuture
* Uploads an attachment. For an example, see
* [Upload media as a file
- * attachment](https://developers.google.com/chat/api/guides/v1/media-and-attachments/upload).
+ * attachment](https://developers.google.com/workspace/chat/upload-media-attachments).
* Requires user
- * [authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
* You can upload attachments up to 200 MB. Certain file types aren't
* supported. For details, see [File types blocked by Google
* Chat](https://support.google.com/chat/answer/7651457?&co=GENIE.Platform%3DDesktop#File%20types%20blocked%20in%20Google%20Chat).
@@ -2842,14 +2935,14 @@ protected ChatServiceFutureStub build(
* Lists spaces the caller is a member of. Group chats and DMs aren't listed
* until the first message is sent. For an example, see
* [List
- * spaces](https://developers.google.com/chat/api/guides/v1/spaces/list).
+ * spaces](https://developers.google.com/workspace/chat/list-spaces).
* Requires
- * [authentication](https://developers.google.com/chat/api/guides/auth).
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize).
* Supports
* [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts)
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
* and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
* Lists spaces visible to the caller or authenticated user. Group chats
* and DMs aren't listed until the first message is sent.
*
@@ -2865,14 +2958,15 @@ protected ChatServiceFutureStub build(
*
*
* Returns details about a space. For an example, see
- * [Get a space](https://developers.google.com/chat/api/guides/v1/spaces/get).
+ * [Get details about a
+ * space](https://developers.google.com/workspace/chat/get-spaces).
* Requires
- * [authentication](https://developers.google.com/chat/api/guides/auth).
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize).
* Supports
* [app
- * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts)
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
* and [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
*/
public com.google.common.util.concurrent.ListenableFuture
* Deletes a membership. For an example, see
- * [Delete a
- * membership](https://developers.google.com/chat/api/guides/v1/members/delete).
+ * [Remove a user or a Google Chat app from a
+ * space](https://developers.google.com/workspace/chat/delete-members).
* Requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
*/
public com.google.common.util.concurrent.ListenableFuture
- * A borderless widget attached to the bottom of an app's message.
+ * One or more interactive widgets that appear at the bottom of a message. For
+ * details, see [Add interactive widgets at the bottom of a
+ * message](https://developers.google.com/workspace/chat/create-messages#add-accessory-widgets).
*
*
* Protobuf type {@code google.chat.v1.AccessoryWidget}
@@ -112,7 +114,7 @@ public ActionCase getActionCase() {
*
*
*
- * A list of buttons that are displayed under the message.
+ * A list of buttons.
*
*
* .google.apps.card.v1.ButtonList button_list = 1;
@@ -127,7 +129,7 @@ public boolean hasButtonList() {
*
*
*
- * A list of buttons that are displayed under the message.
+ * A list of buttons.
*
*
* .google.apps.card.v1.ButtonList button_list = 1;
@@ -145,7 +147,7 @@ public com.google.apps.card.v1.ButtonList getButtonList() {
*
*
*
- * A list of buttons that are displayed under the message.
+ * A list of buttons.
*
*
* .google.apps.card.v1.ButtonList button_list = 1;
@@ -334,7 +336,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * A borderless widget attached to the bottom of an app's message.
+ * One or more interactive widgets that appear at the bottom of a message. For
+ * details, see [Add interactive widgets at the bottom of a
+ * message](https://developers.google.com/workspace/chat/create-messages#add-accessory-widgets).
*
*
* Protobuf type {@code google.chat.v1.AccessoryWidget}
@@ -550,7 +554,7 @@ public Builder clearAction() {
*
*
*
- * A list of buttons that are displayed under the message.
+ * A list of buttons.
*
*
* .google.apps.card.v1.ButtonList button_list = 1;
@@ -565,7 +569,7 @@ public boolean hasButtonList() {
*
*
*
- * A list of buttons that are displayed under the message.
+ * A list of buttons.
*
*
* .google.apps.card.v1.ButtonList button_list = 1;
@@ -590,7 +594,7 @@ public com.google.apps.card.v1.ButtonList getButtonList() {
*
*
*
- * A list of buttons that are displayed under the message.
+ * A list of buttons.
*
*
* .google.apps.card.v1.ButtonList button_list = 1;
@@ -612,7 +616,7 @@ public Builder setButtonList(com.google.apps.card.v1.ButtonList value) {
*
*
*
- * A list of buttons that are displayed under the message.
+ * A list of buttons.
*
*
* .google.apps.card.v1.ButtonList button_list = 1;
@@ -631,7 +635,7 @@ public Builder setButtonList(com.google.apps.card.v1.ButtonList.Builder builderF
*
*
*
- * A list of buttons that are displayed under the message.
+ * A list of buttons.
*
*
* .google.apps.card.v1.ButtonList button_list = 1;
@@ -663,7 +667,7 @@ public Builder mergeButtonList(com.google.apps.card.v1.ButtonList value) {
*
*
*
- * A list of buttons that are displayed under the message.
+ * A list of buttons.
*
*
* .google.apps.card.v1.ButtonList button_list = 1;
@@ -688,7 +692,7 @@ public Builder clearButtonList() {
*
*
*
- * A list of buttons that are displayed under the message.
+ * A list of buttons.
*
*
* .google.apps.card.v1.ButtonList button_list = 1;
@@ -700,7 +704,7 @@ public com.google.apps.card.v1.ButtonList.Builder getButtonListBuilder() {
*
*
*
- * A list of buttons that are displayed under the message.
+ * A list of buttons.
*
*
* .google.apps.card.v1.ButtonList button_list = 1;
@@ -720,7 +724,7 @@ public com.google.apps.card.v1.ButtonListOrBuilder getButtonListOrBuilder() {
*
*
*
- * A list of buttons that are displayed under the message.
+ * A list of buttons.
*
*
* .google.apps.card.v1.ButtonList button_list = 1;
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/AccessoryWidgetOrBuilder.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/AccessoryWidgetOrBuilder.java
index 32b764531544..8d05476336ce 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/AccessoryWidgetOrBuilder.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/AccessoryWidgetOrBuilder.java
@@ -28,7 +28,7 @@ public interface AccessoryWidgetOrBuilder
*
*
*
- * A list of buttons that are displayed under the message.
+ * A list of buttons.
*
*
* .google.apps.card.v1.ButtonList button_list = 1;
@@ -40,7 +40,7 @@ public interface AccessoryWidgetOrBuilder
*
*
*
- * A list of buttons that are displayed under the message.
+ * A list of buttons.
*
*
* .google.apps.card.v1.ButtonList button_list = 1;
@@ -52,7 +52,7 @@ public interface AccessoryWidgetOrBuilder
*
*
*
- * A list of buttons that are displayed under the message.
+ * A list of buttons.
*
*
* .google.apps.card.v1.ButtonList button_list = 1;
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/ActionResponse.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/ActionResponse.java
index fdb9cf4e9b83..5702c7635414 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/ActionResponse.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/ActionResponse.java
@@ -131,7 +131,7 @@ public enum ResponseType implements com.google.protobuf.ProtocolMessageEnum {
*
*
* Presents a
- * [dialog](https://developers.google.com/chat/how-tos/dialogs).
+ * [dialog](https://developers.google.com/workspace/chat/dialogs).
*
*
* DIALOG = 4;
@@ -208,7 +208,7 @@ public enum ResponseType implements com.google.protobuf.ProtocolMessageEnum {
*
*
* Presents a
- * [dialog](https://developers.google.com/chat/how-tos/dialogs).
+ * [dialog](https://developers.google.com/workspace/chat/dialogs).
*
*
* DIALOG = 4;
@@ -2471,7 +2471,7 @@ public com.google.protobuf.ByteString getUrlBytes() {
*
*
* Input only. A response to an interaction event related to a
- * [dialog](https://developers.google.com/chat/how-tos/dialogs). Must be
+ * [dialog](https://developers.google.com/workspace/chat/dialogs). Must be
* accompanied by `ResponseType.Dialog`.
*
*
@@ -2490,7 +2490,7 @@ public boolean hasDialogAction() {
*
*
* Input only. A response to an interaction event related to a
- * [dialog](https://developers.google.com/chat/how-tos/dialogs). Must be
+ * [dialog](https://developers.google.com/workspace/chat/dialogs). Must be
* accompanied by `ResponseType.Dialog`.
*
*
@@ -2511,7 +2511,7 @@ public com.google.chat.v1.DialogAction getDialogAction() {
*
*
* Input only. A response to an interaction event related to a
- * [dialog](https://developers.google.com/chat/how-tos/dialogs). Must be
+ * [dialog](https://developers.google.com/workspace/chat/dialogs). Must be
* accompanied by `ResponseType.Dialog`.
*
*
@@ -3242,7 +3242,7 @@ public Builder setUrlBytes(com.google.protobuf.ByteString value) {
*
*
* Input only. A response to an interaction event related to a
- * [dialog](https://developers.google.com/chat/how-tos/dialogs). Must be
+ * [dialog](https://developers.google.com/workspace/chat/dialogs). Must be
* accompanied by `ResponseType.Dialog`.
*
*
@@ -3260,7 +3260,7 @@ public boolean hasDialogAction() {
*
*
* Input only. A response to an interaction event related to a
- * [dialog](https://developers.google.com/chat/how-tos/dialogs). Must be
+ * [dialog](https://developers.google.com/workspace/chat/dialogs). Must be
* accompanied by `ResponseType.Dialog`.
*
*
@@ -3284,7 +3284,7 @@ public com.google.chat.v1.DialogAction getDialogAction() {
*
*
* Input only. A response to an interaction event related to a
- * [dialog](https://developers.google.com/chat/how-tos/dialogs). Must be
+ * [dialog](https://developers.google.com/workspace/chat/dialogs). Must be
* accompanied by `ResponseType.Dialog`.
*
*
@@ -3310,7 +3310,7 @@ public Builder setDialogAction(com.google.chat.v1.DialogAction value) {
*
*
* Input only. A response to an interaction event related to a
- * [dialog](https://developers.google.com/chat/how-tos/dialogs). Must be
+ * [dialog](https://developers.google.com/workspace/chat/dialogs). Must be
* accompanied by `ResponseType.Dialog`.
*
*
@@ -3333,7 +3333,7 @@ public Builder setDialogAction(com.google.chat.v1.DialogAction.Builder builderFo
*
*
* Input only. A response to an interaction event related to a
- * [dialog](https://developers.google.com/chat/how-tos/dialogs). Must be
+ * [dialog](https://developers.google.com/workspace/chat/dialogs). Must be
* accompanied by `ResponseType.Dialog`.
*
*
@@ -3364,7 +3364,7 @@ public Builder mergeDialogAction(com.google.chat.v1.DialogAction value) {
*
*
* Input only. A response to an interaction event related to a
- * [dialog](https://developers.google.com/chat/how-tos/dialogs). Must be
+ * [dialog](https://developers.google.com/workspace/chat/dialogs). Must be
* accompanied by `ResponseType.Dialog`.
*
*
@@ -3387,7 +3387,7 @@ public Builder clearDialogAction() {
*
*
* Input only. A response to an interaction event related to a
- * [dialog](https://developers.google.com/chat/how-tos/dialogs). Must be
+ * [dialog](https://developers.google.com/workspace/chat/dialogs). Must be
* accompanied by `ResponseType.Dialog`.
*
*
@@ -3405,7 +3405,7 @@ public com.google.chat.v1.DialogAction.Builder getDialogActionBuilder() {
*
*
* Input only. A response to an interaction event related to a
- * [dialog](https://developers.google.com/chat/how-tos/dialogs). Must be
+ * [dialog](https://developers.google.com/workspace/chat/dialogs). Must be
* accompanied by `ResponseType.Dialog`.
*
*
@@ -3427,7 +3427,7 @@ public com.google.chat.v1.DialogActionOrBuilder getDialogActionOrBuilder() {
*
*
* Input only. A response to an interaction event related to a
- * [dialog](https://developers.google.com/chat/how-tos/dialogs). Must be
+ * [dialog](https://developers.google.com/workspace/chat/dialogs). Must be
* accompanied by `ResponseType.Dialog`.
*
*
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/ActionResponseOrBuilder.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/ActionResponseOrBuilder.java
index 67bcc0eef7bf..513c99ae8188 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/ActionResponseOrBuilder.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/ActionResponseOrBuilder.java
@@ -85,7 +85,7 @@ public interface ActionResponseOrBuilder
*
*
* Input only. A response to an interaction event related to a
- * [dialog](https://developers.google.com/chat/how-tos/dialogs). Must be
+ * [dialog](https://developers.google.com/workspace/chat/dialogs). Must be
* accompanied by `ResponseType.Dialog`.
*
*
@@ -101,7 +101,7 @@ public interface ActionResponseOrBuilder
*
*
* Input only. A response to an interaction event related to a
- * [dialog](https://developers.google.com/chat/how-tos/dialogs). Must be
+ * [dialog](https://developers.google.com/workspace/chat/dialogs). Must be
* accompanied by `ResponseType.Dialog`.
*
*
@@ -117,7 +117,7 @@ public interface ActionResponseOrBuilder
*
*
* Input only. A response to an interaction event related to a
- * [dialog](https://developers.google.com/chat/how-tos/dialogs). Must be
+ * [dialog](https://developers.google.com/workspace/chat/dialogs). Must be
* accompanied by `ResponseType.Dialog`.
*
*
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/ActionStatus.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/ActionStatus.java
index d910cb833388..138f63283058 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/ActionStatus.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/ActionStatus.java
@@ -24,7 +24,7 @@
*
*
* Represents the status for a request to either invoke or submit a
- * [dialog](https://developers.google.com/chat/how-tos/dialogs).
+ * [dialog](https://developers.google.com/workspace/chat/dialogs).
*
*
* Protobuf type {@code google.chat.v1.ActionStatus}
@@ -322,7 +322,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
* Represents the status for a request to either invoke or submit a
- * [dialog](https://developers.google.com/chat/how-tos/dialogs).
+ * [dialog](https://developers.google.com/workspace/chat/dialogs).
*
*
* Protobuf type {@code google.chat.v1.ActionStatus}
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/Annotation.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/Annotation.java
index 1b46535872e0..f63a60a77ced 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/Annotation.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/Annotation.java
@@ -26,7 +26,7 @@
* Output only. Annotations associated with the plain-text body of the message.
* To add basic formatting to a text message, see
* [Format text
- * messages](https://developers.google.com/chat/format-messages).
+ * messages](https://developers.google.com/workspace/chat/format-messages).
*
* Example plain-text message body:
* ```
@@ -622,7 +622,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
* Output only. Annotations associated with the plain-text body of the message.
* To add basic formatting to a text message, see
* [Format text
- * messages](https://developers.google.com/chat/format-messages).
+ * messages](https://developers.google.com/workspace/chat/format-messages).
*
* Example plain-text message body:
* ```
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/Attachment.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/Attachment.java
index 2b4c17cc50ab..5b378d81c1fc 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/Attachment.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/Attachment.java
@@ -66,22 +66,78 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.chat.v1.Attachment.class, com.google.chat.v1.Attachment.Builder.class);
}
- /** Protobuf enum {@code google.chat.v1.Attachment.Source} */
+ /**
+ *
+ *
+ *
+ * The source of the attachment.
+ *
+ *
+ * Protobuf enum {@code google.chat.v1.Attachment.Source}
+ */
public enum Source implements com.google.protobuf.ProtocolMessageEnum {
- /** SOURCE_UNSPECIFIED = 0;
*/
+ /**
+ *
+ *
+ *
+ * Reserved.
+ *
+ *
+ * SOURCE_UNSPECIFIED = 0;
+ */
SOURCE_UNSPECIFIED(0),
- /** DRIVE_FILE = 1;
*/
+ /**
+ *
+ *
+ *
+ * The file is a Google Drive file.
+ *
+ *
+ * DRIVE_FILE = 1;
+ */
DRIVE_FILE(1),
- /** UPLOADED_CONTENT = 2;
*/
+ /**
+ *
+ *
+ *
+ * The file is uploaded to Chat.
+ *
+ *
+ * UPLOADED_CONTENT = 2;
+ */
UPLOADED_CONTENT(2),
UNRECOGNIZED(-1),
;
- /** SOURCE_UNSPECIFIED = 0;
*/
+ /**
+ *
+ *
+ *
+ * Reserved.
+ *
+ *
+ * SOURCE_UNSPECIFIED = 0;
+ */
public static final int SOURCE_UNSPECIFIED_VALUE = 0;
- /** DRIVE_FILE = 1;
*/
+ /**
+ *
+ *
+ *
+ * The file is a Google Drive file.
+ *
+ *
+ * DRIVE_FILE = 1;
+ */
public static final int DRIVE_FILE_VALUE = 1;
- /** UPLOADED_CONTENT = 2;
*/
+ /**
+ *
+ *
+ *
+ * The file is uploaded to Chat.
+ *
+ *
+ * UPLOADED_CONTENT = 2;
+ */
public static final int UPLOADED_CONTENT_VALUE = 2;
public final int getNumber() {
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/AttachmentDataRef.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/AttachmentDataRef.java
index a174847bcc08..b1e754f0c632 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/AttachmentDataRef.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/AttachmentDataRef.java
@@ -19,7 +19,15 @@
// Protobuf Java Version: 3.25.2
package com.google.chat.v1;
-/** Protobuf type {@code google.chat.v1.AttachmentDataRef} */
+/**
+ *
+ *
+ *
+ * A reference to the attachment data.
+ *
+ *
+ * Protobuf type {@code google.chat.v1.AttachmentDataRef}
+ */
public final class AttachmentDataRef extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:google.chat.v1.AttachmentDataRef)
@@ -330,7 +338,15 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
Builder builder = new Builder(parent);
return builder;
}
- /** Protobuf type {@code google.chat.v1.AttachmentDataRef} */
+ /**
+ *
+ *
+ *
+ * A reference to the attachment data.
+ *
+ *
+ * Protobuf type {@code google.chat.v1.AttachmentDataRef}
+ */
public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
- * A [card](https://developers.google.com/chat/api/reference/rest/v1/cards) in a
- * Google Chat message.
+ * A
+ * [card](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards)
+ * in a Google Chat message.
*
* Only Chat apps can create cards. If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the message
- * can't contain cards.
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the message can't contain cards.
*
* [Card builder](https://addons.gsuite.google.com/uikit/builder)
*
@@ -343,12 +344,13 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * A [card](https://developers.google.com/chat/api/reference/rest/v1/cards) in a
- * Google Chat message.
+ * A
+ * [card](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards)
+ * in a Google Chat message.
*
* Only Chat apps can create cards. If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the message
- * can't contain cards.
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the message can't contain cards.
*
* [Card builder](https://addons.gsuite.google.com/uikit/builder)
*
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/ChatServiceProto.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/ChatServiceProto.java
index a7dae5d1dcc1..1a0849769b24 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/ChatServiceProto.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/ChatServiceProto.java
@@ -44,7 +44,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "to\032\035google/chat/v1/reaction.proto\032\032googl"
+ "e/chat/v1/space.proto\032 google/chat/v1/sp"
+ "ace_setup.proto\032\033google/protobuf/empty.p"
- + "roto2\232\036\n\013ChatService\022\233\001\n\rCreateMessage\022$"
+ + "roto2\313\037\n\013ChatService\022\233\001\n\rCreateMessage\022$"
+ ".google.chat.v1.CreateMessageRequest\032\027.g"
+ "oogle.chat.v1.Message\"K\332A\031parent,message"
+ ",message_id\202\323\344\223\002)\"\036/v1/{parent=spaces/*}"
@@ -105,46 +105,51 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "ateMembership\022\'.google.chat.v1.CreateMem"
+ "bershipRequest\032\032.google.chat.v1.Membersh"
+ "ip\"E\332A\021parent,membership\202\323\344\223\002+\"\035/v1/{par"
- + "ent=spaces/*}/members:\nmembership\022\205\001\n\020De"
- + "leteMembership\022\'.google.chat.v1.DeleteMe"
+ + "ent=spaces/*}/members:\nmembership\022\256\001\n\020Up"
+ + "dateMembership\022\'.google.chat.v1.UpdateMe"
+ "mbershipRequest\032\032.google.chat.v1.Members"
- + "hip\",\332A\004name\202\323\344\223\002\037*\035/v1/{name=spaces/*/m"
- + "embers/*}\022\241\001\n\016CreateReaction\022%.google.ch"
- + "at.v1.CreateReactionRequest\032\030.google.cha"
- + "t.v1.Reaction\"N\332A\017parent,reaction\202\323\344\223\0026\""
- + "*/v1/{parent=spaces/*/messages/*}/reacti"
- + "ons:\010reaction\022\231\001\n\rListReactions\022$.google"
- + ".chat.v1.ListReactionsRequest\032%.google.c"
- + "hat.v1.ListReactionsResponse\";\332A\006parent\202"
- + "\323\344\223\002,\022*/v1/{parent=spaces/*/messages/*}/"
- + "reactions\022\212\001\n\016DeleteReaction\022%.google.ch"
- + "at.v1.DeleteReactionRequest\032\026.google.pro"
- + "tobuf.Empty\"9\332A\004name\202\323\344\223\002,**/v1/{name=sp"
- + "aces/*/messages/*/reactions/*}\032\240\006\312A\023chat"
- + ".googleapis.com\322A\206\006https://www.googleapi"
- + "s.com/auth/chat.bot,https://www.googleap"
- + "is.com/auth/chat.delete,https://www.goog"
- + "leapis.com/auth/chat.import,https://www."
- + "googleapis.com/auth/chat.memberships,htt"
- + "ps://www.googleapis.com/auth/chat.member"
- + "ships.app,https://www.googleapis.com/aut"
- + "h/chat.memberships.readonly,https://www."
- + "googleapis.com/auth/chat.messages,https:"
- + "//www.googleapis.com/auth/chat.messages."
- + "create,https://www.googleapis.com/auth/c"
- + "hat.messages.reactions,https://www.googl"
- + "eapis.com/auth/chat.messages.reactions.c"
- + "reate,https://www.googleapis.com/auth/ch"
- + "at.messages.reactions.readonly,https://w"
- + "ww.googleapis.com/auth/chat.messages.rea"
- + "donly,https://www.googleapis.com/auth/ch"
- + "at.spaces,https://www.googleapis.com/aut"
- + "h/chat.spaces.create,https://www.googlea"
- + "pis.com/auth/chat.spaces.readonlyB\233\001\n\022co"
- + "m.google.chat.v1B\020ChatServiceProtoP\001Z,cl"
- + "oud.google.com/go/chat/apiv1/chatpb;chat"
- + "pb\252\002\023Google.Apps.Chat.V1\312\002\023Google\\Apps\\C"
- + "hat\\V1\352\002\026Google::Apps::Chat::V1b\006proto3"
+ + "hip\"U\332A\026membership,update_mask\202\323\344\223\00262(/v"
+ + "1/{membership.name=spaces/*/members/*}:\n"
+ + "membership\022\205\001\n\020DeleteMembership\022\'.google"
+ + ".chat.v1.DeleteMembershipRequest\032\032.googl"
+ + "e.chat.v1.Membership\",\332A\004name\202\323\344\223\002\037*\035/v1"
+ + "/{name=spaces/*/members/*}\022\241\001\n\016CreateRea"
+ + "ction\022%.google.chat.v1.CreateReactionReq"
+ + "uest\032\030.google.chat.v1.Reaction\"N\332A\017paren"
+ + "t,reaction\202\323\344\223\0026\"*/v1/{parent=spaces/*/m"
+ + "essages/*}/reactions:\010reaction\022\231\001\n\rListR"
+ + "eactions\022$.google.chat.v1.ListReactionsR"
+ + "equest\032%.google.chat.v1.ListReactionsRes"
+ + "ponse\";\332A\006parent\202\323\344\223\002,\022*/v1/{parent=spac"
+ + "es/*/messages/*}/reactions\022\212\001\n\016DeleteRea"
+ + "ction\022%.google.chat.v1.DeleteReactionReq"
+ + "uest\032\026.google.protobuf.Empty\"9\332A\004name\202\323\344"
+ + "\223\002,**/v1/{name=spaces/*/messages/*/react"
+ + "ions/*}\032\240\006\312A\023chat.googleapis.com\322A\206\006http"
+ + "s://www.googleapis.com/auth/chat.bot,htt"
+ + "ps://www.googleapis.com/auth/chat.delete"
+ + ",https://www.googleapis.com/auth/chat.im"
+ + "port,https://www.googleapis.com/auth/cha"
+ + "t.memberships,https://www.googleapis.com"
+ + "/auth/chat.memberships.app,https://www.g"
+ + "oogleapis.com/auth/chat.memberships.read"
+ + "only,https://www.googleapis.com/auth/cha"
+ + "t.messages,https://www.googleapis.com/au"
+ + "th/chat.messages.create,https://www.goog"
+ + "leapis.com/auth/chat.messages.reactions,"
+ + "https://www.googleapis.com/auth/chat.mes"
+ + "sages.reactions.create,https://www.googl"
+ + "eapis.com/auth/chat.messages.reactions.r"
+ + "eadonly,https://www.googleapis.com/auth/"
+ + "chat.messages.readonly,https://www.googl"
+ + "eapis.com/auth/chat.spaces,https://www.g"
+ + "oogleapis.com/auth/chat.spaces.create,ht"
+ + "tps://www.googleapis.com/auth/chat.space"
+ + "s.readonlyB\233\001\n\022com.google.chat.v1B\020ChatS"
+ + "erviceProtoP\001Z,cloud.google.com/go/chat/"
+ + "apiv1/chatpb;chatpb\252\002\023Google.Apps.Chat.V"
+ + "1\312\002\023Google\\Apps\\Chat\\V1\352\002\026Google::Apps::"
+ + "Chat::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/CompleteImportSpaceResponse.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/CompleteImportSpaceResponse.java
index 718c9b451ad7..c1bf2b1242b0 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/CompleteImportSpaceResponse.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/CompleteImportSpaceResponse.java
@@ -19,7 +19,15 @@
// Protobuf Java Version: 3.25.2
package com.google.chat.v1;
-/** Protobuf type {@code google.chat.v1.CompleteImportSpaceResponse} */
+/**
+ *
+ *
+ *
+ * Response message for completing the import process for a space.
+ *
+ *
+ * Protobuf type {@code google.chat.v1.CompleteImportSpaceResponse}
+ */
public final class CompleteImportSpaceResponse extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:google.chat.v1.CompleteImportSpaceResponse)
@@ -264,7 +272,15 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
Builder builder = new Builder(parent);
return builder;
}
- /** Protobuf type {@code google.chat.v1.CompleteImportSpaceResponse} */
+ /**
+ *
+ *
+ *
+ * Response message for completing the import process for a space.
+ *
+ *
+ * Protobuf type {@code google.chat.v1.CompleteImportSpaceResponse}
+ */
public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Request message for creating a membership.
+ *
+ *
+ * Protobuf type {@code google.chat.v1.CreateMembershipRequest}
+ */
public final class CreateMembershipRequest extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:google.chat.v1.CreateMembershipRequest)
@@ -384,7 +392,15 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
Builder builder = new Builder(parent);
return builder;
}
- /** Protobuf type {@code google.chat.v1.CreateMembershipRequest} */
+ /**
+ *
+ *
+ *
+ * Request message for creating a membership.
+ *
+ *
+ * Protobuf type {@code google.chat.v1.CreateMembershipRequest}
+ */
public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builderstring thread_key = 6 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
*
*
* @deprecated google.chat.v1.CreateMessageRequest.thread_key is deprecated. See
- * google/chat/v1/message.proto;l=548
+ * google/chat/v1/message.proto;l=502
* @return The threadKey.
*/
@java.lang.Override
@@ -399,14 +399,14 @@ public java.lang.String getThreadKey() {
* a message and specify a `threadKey` or the
* [thread.name][google.chat.v1.Thread.name]. For example usage, see [Start or
* reply to a message
- * thread](https://developers.google.com/chat/api/guides/v1/messages/create#create-message-thread).
+ * thread](https://developers.google.com/workspace/chat/create-messages#create-message-thread).
*
*
* string thread_key = 6 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
*
*
* @deprecated google.chat.v1.CreateMessageRequest.thread_key is deprecated. See
- * google/chat/v1/message.proto;l=548
+ * google/chat/v1/message.proto;l=502
* @return The bytes for threadKey.
*/
@java.lang.Override
@@ -543,7 +543,7 @@ public com.google.chat.v1.CreateMessageRequest.MessageReplyOption getMessageRepl
* different messages.
*
* For details, see [Name a
- * message](https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).
+ * message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message).
*
*
* string message_id = 9 [(.google.api.field_behavior) = OPTIONAL];
@@ -580,7 +580,7 @@ public java.lang.String getMessageId() {
* different messages.
*
* For details, see [Name a
- * message](https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).
+ * message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message).
*
*
* string message_id = 9 [(.google.api.field_behavior) = OPTIONAL];
@@ -1401,14 +1401,14 @@ public com.google.chat.v1.MessageOrBuilder getMessageOrBuilder() {
* a message and specify a `threadKey` or the
* [thread.name][google.chat.v1.Thread.name]. For example usage, see [Start or
* reply to a message
- * thread](https://developers.google.com/chat/api/guides/v1/messages/create#create-message-thread).
+ * thread](https://developers.google.com/workspace/chat/create-messages#create-message-thread).
*
*
* string thread_key = 6 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
*
*
* @deprecated google.chat.v1.CreateMessageRequest.thread_key is deprecated. See
- * google/chat/v1/message.proto;l=548
+ * google/chat/v1/message.proto;l=502
* @return The threadKey.
*/
@java.lang.Deprecated
@@ -1433,14 +1433,14 @@ public java.lang.String getThreadKey() {
* a message and specify a `threadKey` or the
* [thread.name][google.chat.v1.Thread.name]. For example usage, see [Start or
* reply to a message
- * thread](https://developers.google.com/chat/api/guides/v1/messages/create#create-message-thread).
+ * thread](https://developers.google.com/workspace/chat/create-messages#create-message-thread).
*
*
* string thread_key = 6 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
*
*
* @deprecated google.chat.v1.CreateMessageRequest.thread_key is deprecated. See
- * google/chat/v1/message.proto;l=548
+ * google/chat/v1/message.proto;l=502
* @return The bytes for threadKey.
*/
@java.lang.Deprecated
@@ -1465,14 +1465,14 @@ public com.google.protobuf.ByteString getThreadKeyBytes() {
* a message and specify a `threadKey` or the
* [thread.name][google.chat.v1.Thread.name]. For example usage, see [Start or
* reply to a message
- * thread](https://developers.google.com/chat/api/guides/v1/messages/create#create-message-thread).
+ * thread](https://developers.google.com/workspace/chat/create-messages#create-message-thread).
*
*
* string thread_key = 6 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
*
*
* @deprecated google.chat.v1.CreateMessageRequest.thread_key is deprecated. See
- * google/chat/v1/message.proto;l=548
+ * google/chat/v1/message.proto;l=502
* @param value The threadKey to set.
* @return This builder for chaining.
*/
@@ -1496,14 +1496,14 @@ public Builder setThreadKey(java.lang.String value) {
* a message and specify a `threadKey` or the
* [thread.name][google.chat.v1.Thread.name]. For example usage, see [Start or
* reply to a message
- * thread](https://developers.google.com/chat/api/guides/v1/messages/create#create-message-thread).
+ * thread](https://developers.google.com/workspace/chat/create-messages#create-message-thread).
*
*
* string thread_key = 6 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
*
*
* @deprecated google.chat.v1.CreateMessageRequest.thread_key is deprecated. See
- * google/chat/v1/message.proto;l=548
+ * google/chat/v1/message.proto;l=502
* @return This builder for chaining.
*/
@java.lang.Deprecated
@@ -1523,14 +1523,14 @@ public Builder clearThreadKey() {
* a message and specify a `threadKey` or the
* [thread.name][google.chat.v1.Thread.name]. For example usage, see [Start or
* reply to a message
- * thread](https://developers.google.com/chat/api/guides/v1/messages/create#create-message-thread).
+ * thread](https://developers.google.com/workspace/chat/create-messages#create-message-thread).
*
*
* string thread_key = 6 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
*
*
* @deprecated google.chat.v1.CreateMessageRequest.thread_key is deprecated. See
- * google/chat/v1/message.proto;l=548
+ * google/chat/v1/message.proto;l=502
* @param value The bytes for threadKey to set.
* @return This builder for chaining.
*/
@@ -1789,7 +1789,7 @@ public Builder clearMessageReplyOption() {
* different messages.
*
* For details, see [Name a
- * message](https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).
+ * message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message).
*
*
* string message_id = 9 [(.google.api.field_behavior) = OPTIONAL];
@@ -1825,7 +1825,7 @@ public java.lang.String getMessageId() {
* different messages.
*
* For details, see [Name a
- * message](https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).
+ * message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message).
*
*
* string message_id = 9 [(.google.api.field_behavior) = OPTIONAL];
@@ -1861,7 +1861,7 @@ public com.google.protobuf.ByteString getMessageIdBytes() {
* different messages.
*
* For details, see [Name a
- * message](https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).
+ * message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message).
*
*
* string message_id = 9 [(.google.api.field_behavior) = OPTIONAL];
@@ -1896,7 +1896,7 @@ public Builder setMessageId(java.lang.String value) {
* different messages.
*
* For details, see [Name a
- * message](https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).
+ * message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message).
*
*
* string message_id = 9 [(.google.api.field_behavior) = OPTIONAL];
@@ -1927,7 +1927,7 @@ public Builder clearMessageId() {
* different messages.
*
* For details, see [Name a
- * message](https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).
+ * message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message).
*
*
* string message_id = 9 [(.google.api.field_behavior) = OPTIONAL];
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/CreateMessageRequestOrBuilder.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/CreateMessageRequestOrBuilder.java
index a95a752fc757..f19432ee6e56 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/CreateMessageRequestOrBuilder.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/CreateMessageRequestOrBuilder.java
@@ -102,14 +102,14 @@ public interface CreateMessageRequestOrBuilder
* a message and specify a `threadKey` or the
* [thread.name][google.chat.v1.Thread.name]. For example usage, see [Start or
* reply to a message
- * thread](https://developers.google.com/chat/api/guides/v1/messages/create#create-message-thread).
+ * thread](https://developers.google.com/workspace/chat/create-messages#create-message-thread).
*
*
* string thread_key = 6 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
*
*
* @deprecated google.chat.v1.CreateMessageRequest.thread_key is deprecated. See
- * google/chat/v1/message.proto;l=548
+ * google/chat/v1/message.proto;l=502
* @return The threadKey.
*/
@java.lang.Deprecated
@@ -124,14 +124,14 @@ public interface CreateMessageRequestOrBuilder
* a message and specify a `threadKey` or the
* [thread.name][google.chat.v1.Thread.name]. For example usage, see [Start or
* reply to a message
- * thread](https://developers.google.com/chat/api/guides/v1/messages/create#create-message-thread).
+ * thread](https://developers.google.com/workspace/chat/create-messages#create-message-thread).
*
*
* string thread_key = 6 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
*
*
* @deprecated google.chat.v1.CreateMessageRequest.thread_key is deprecated. See
- * google/chat/v1/message.proto;l=548
+ * google/chat/v1/message.proto;l=502
* @return The bytes for threadKey.
*/
@java.lang.Deprecated
@@ -215,7 +215,7 @@ public interface CreateMessageRequestOrBuilder
* different messages.
*
* For details, see [Name a
- * message](https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).
+ * message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message).
*
*
* string message_id = 9 [(.google.api.field_behavior) = OPTIONAL];
@@ -241,7 +241,7 @@ public interface CreateMessageRequestOrBuilder
* different messages.
*
* For details, see [Name a
- * message](https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).
+ * message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message).
*
*
* string message_id = 9 [(.google.api.field_behavior) = OPTIONAL];
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/CreateSpaceRequest.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/CreateSpaceRequest.java
index 38b73a7bef68..cb08251ba663 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/CreateSpaceRequest.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/CreateSpaceRequest.java
@@ -19,7 +19,15 @@
// Protobuf Java Version: 3.25.2
package com.google.chat.v1;
-/** Protobuf type {@code google.chat.v1.CreateSpaceRequest} */
+/**
+ *
+ *
+ *
+ * A request to create a named space.
+ *
+ *
+ * Protobuf type {@code google.chat.v1.CreateSpaceRequest}
+ */
public final class CreateSpaceRequest extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:google.chat.v1.CreateSpaceRequest)
@@ -358,7 +366,15 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
Builder builder = new Builder(parent);
return builder;
}
- /** Protobuf type {@code google.chat.v1.CreateSpaceRequest} */
+ /**
+ *
+ *
+ *
+ * A request to create a named space.
+ *
+ *
+ * Protobuf type {@code google.chat.v1.CreateSpaceRequest}
+ */
public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Request to delete a membership in a space.
+ *
+ *
+ * Protobuf type {@code google.chat.v1.DeleteMembershipRequest}
+ */
public final class DeleteMembershipRequest extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:google.chat.v1.DeleteMembershipRequest)
@@ -295,7 +303,15 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
Builder builder = new Builder(parent);
return builder;
}
- /** Protobuf type {@code google.chat.v1.DeleteMembershipRequest} */
+ /**
+ *
+ *
+ *
+ * Request to delete a membership in a space.
+ *
+ *
+ * Protobuf type {@code google.chat.v1.DeleteMembershipRequest}
+ */
public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Request to delete a message.
+ *
+ *
+ * Protobuf type {@code google.chat.v1.DeleteMessageRequest}
+ */
public final class DeleteMessageRequest extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:google.chat.v1.DeleteMessageRequest)
@@ -70,7 +78,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
* If you've set a custom ID for your message, you can use the value from the
* `clientAssignedMessageId` field for `{message}`. For details, see [Name a
* message]
- * (https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).
+ * (https://developers.google.com/workspace/chat/create-messages#name_a_created_message).
*
*
*
@@ -102,7 +110,7 @@ public java.lang.String getName() {
* If you've set a custom ID for your message, you can use the value from the
* `clientAssignedMessageId` field for `{message}`. For details, see [Name a
* message]
- * (https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).
+ * (https://developers.google.com/workspace/chat/create-messages#name_a_created_message).
*
*
*
@@ -134,9 +142,9 @@ public com.google.protobuf.ByteString getNameBytes() {
* `false`, if a message has threaded replies, deletion fails.
*
* Only applies when [authenticating as a
- * user](https://developers.google.com/chat/api/guides/auth/users). Has no
- * effect when [authenticating as a Chat app]
- * (https://developers.google.com/chat/api/guides/auth/service-accounts).
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
+ * Has no effect when [authenticating as a Chat app]
+ * (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
*
*
*
bool force = 2;
@@ -315,7 +323,15 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
Builder builder = new Builder(parent);
return builder;
}
- /** Protobuf type {@code google.chat.v1.DeleteMessageRequest} */
+ /**
+ *
+ *
+ *
+ * Request to delete a message.
+ *
+ *
+ * Protobuf type {@code google.chat.v1.DeleteMessageRequest}
+ */
public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
@@ -545,7 +561,7 @@ public java.lang.String getName() {
* If you've set a custom ID for your message, you can use the value from the
* `clientAssignedMessageId` field for `{message}`. For details, see [Name a
* message]
- * (https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).
+ * (https://developers.google.com/workspace/chat/create-messages#name_a_created_message).
*
*
*
@@ -576,7 +592,7 @@ public com.google.protobuf.ByteString getNameBytes() {
* If you've set a custom ID for your message, you can use the value from the
* `clientAssignedMessageId` field for `{message}`. For details, see [Name a
* message]
- * (https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).
+ * (https://developers.google.com/workspace/chat/create-messages#name_a_created_message).
*
*
*
@@ -606,7 +622,7 @@ public Builder setName(java.lang.String value) {
* If you've set a custom ID for your message, you can use the value from the
* `clientAssignedMessageId` field for `{message}`. For details, see [Name a
* message]
- * (https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).
+ * (https://developers.google.com/workspace/chat/create-messages#name_a_created_message).
*
*
*
@@ -632,7 +648,7 @@ public Builder clearName() {
* If you've set a custom ID for your message, you can use the value from the
* `clientAssignedMessageId` field for `{message}`. For details, see [Name a
* message]
- * (https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).
+ * (https://developers.google.com/workspace/chat/create-messages#name_a_created_message).
*
*
*
@@ -662,9 +678,9 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
* `false`, if a message has threaded replies, deletion fails.
*
* Only applies when [authenticating as a
- * user](https://developers.google.com/chat/api/guides/auth/users). Has no
- * effect when [authenticating as a Chat app]
- * (https://developers.google.com/chat/api/guides/auth/service-accounts).
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
+ * Has no effect when [authenticating as a Chat app]
+ * (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
*
*
*
bool force = 2;
@@ -683,9 +699,9 @@ public boolean getForce() {
* `false`, if a message has threaded replies, deletion fails.
*
* Only applies when [authenticating as a
- * user](https://developers.google.com/chat/api/guides/auth/users). Has no
- * effect when [authenticating as a Chat app]
- * (https://developers.google.com/chat/api/guides/auth/service-accounts).
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
+ * Has no effect when [authenticating as a Chat app]
+ * (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
*
*
* bool force = 2;
@@ -708,9 +724,9 @@ public Builder setForce(boolean value) {
* `false`, if a message has threaded replies, deletion fails.
*
* Only applies when [authenticating as a
- * user](https://developers.google.com/chat/api/guides/auth/users). Has no
- * effect when [authenticating as a Chat app]
- * (https://developers.google.com/chat/api/guides/auth/service-accounts).
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
+ * Has no effect when [authenticating as a Chat app]
+ * (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
*
*
* bool force = 2;
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/DeleteMessageRequestOrBuilder.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/DeleteMessageRequestOrBuilder.java
index 4598fb335ba3..0dbb9ba92ae4 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/DeleteMessageRequestOrBuilder.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/DeleteMessageRequestOrBuilder.java
@@ -35,7 +35,7 @@ public interface DeleteMessageRequestOrBuilder
* If you've set a custom ID for your message, you can use the value from the
* `clientAssignedMessageId` field for `{message}`. For details, see [Name a
* message]
- * (https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).
+ * (https://developers.google.com/workspace/chat/create-messages#name_a_created_message).
*
*
*
@@ -56,7 +56,7 @@ public interface DeleteMessageRequestOrBuilder
* If you've set a custom ID for your message, you can use the value from the
* `clientAssignedMessageId` field for `{message}`. For details, see [Name a
* message]
- * (https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).
+ * (https://developers.google.com/workspace/chat/create-messages#name_a_created_message).
*
*
*
@@ -75,9 +75,9 @@ public interface DeleteMessageRequestOrBuilder
* `false`, if a message has threaded replies, deletion fails.
*
* Only applies when [authenticating as a
- * user](https://developers.google.com/chat/api/guides/auth/users). Has no
- * effect when [authenticating as a Chat app]
- * (https://developers.google.com/chat/api/guides/auth/service-accounts).
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
+ * Has no effect when [authenticating as a Chat app]
+ * (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
*
*
*
bool force = 2;
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/DialogAction.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/DialogAction.java
index cc7b8005237a..e532e83194ef 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/DialogAction.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/DialogAction.java
@@ -24,7 +24,7 @@
*
*
* Contains a
- * [dialog](https://developers.google.com/chat/how-tos/dialogs) and request
+ * [dialog](https://developers.google.com/workspace/chat/dialogs) and request
* status code.
*
*
@@ -113,8 +113,9 @@ public ActionCase getActionCase() {
*
*
*
- * Input only. [Dialog](https://developers.google.com/chat/how-tos/dialogs)
- * for the request.
+ * Input only.
+ * [Dialog](https://developers.google.com/workspace/chat/dialogs) for the
+ * request.
*
*
* .google.chat.v1.Dialog dialog = 1 [(.google.api.field_behavior) = INPUT_ONLY];
@@ -129,8 +130,9 @@ public boolean hasDialog() {
*
*
*
- * Input only. [Dialog](https://developers.google.com/chat/how-tos/dialogs)
- * for the request.
+ * Input only.
+ * [Dialog](https://developers.google.com/workspace/chat/dialogs) for the
+ * request.
*
*
* .google.chat.v1.Dialog dialog = 1 [(.google.api.field_behavior) = INPUT_ONLY];
@@ -148,8 +150,9 @@ public com.google.chat.v1.Dialog getDialog() {
*
*
*
- * Input only. [Dialog](https://developers.google.com/chat/how-tos/dialogs)
- * for the request.
+ * Input only.
+ * [Dialog](https://developers.google.com/workspace/chat/dialogs) for the
+ * request.
*
*
* .google.chat.v1.Dialog dialog = 1 [(.google.api.field_behavior) = INPUT_ONLY];
@@ -169,7 +172,7 @@ public com.google.chat.v1.DialogOrBuilder getDialogOrBuilder() {
*
*
* Input only. Status for a request to either invoke or submit a
- * [dialog](https://developers.google.com/chat/how-tos/dialogs). Displays
+ * [dialog](https://developers.google.com/workspace/chat/dialogs). Displays
* a status and message to users, if necessary.
* For example, in case of an error or success.
*
@@ -189,7 +192,7 @@ public boolean hasActionStatus() {
*
*
* Input only. Status for a request to either invoke or submit a
- * [dialog](https://developers.google.com/chat/how-tos/dialogs). Displays
+ * [dialog](https://developers.google.com/workspace/chat/dialogs). Displays
* a status and message to users, if necessary.
* For example, in case of an error or success.
*
@@ -211,7 +214,7 @@ public com.google.chat.v1.ActionStatus getActionStatus() {
*
*
* Input only. Status for a request to either invoke or submit a
- * [dialog](https://developers.google.com/chat/how-tos/dialogs). Displays
+ * [dialog](https://developers.google.com/workspace/chat/dialogs). Displays
* a status and message to users, if necessary.
* For example, in case of an error or success.
*
@@ -418,7 +421,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
* Contains a
- * [dialog](https://developers.google.com/chat/how-tos/dialogs) and request
+ * [dialog](https://developers.google.com/workspace/chat/dialogs) and request
* status code.
*
*
@@ -662,8 +665,9 @@ public Builder clearAction() {
*
*
*
- * Input only. [Dialog](https://developers.google.com/chat/how-tos/dialogs)
- * for the request.
+ * Input only.
+ * [Dialog](https://developers.google.com/workspace/chat/dialogs) for the
+ * request.
*
*
* .google.chat.v1.Dialog dialog = 1 [(.google.api.field_behavior) = INPUT_ONLY];
@@ -678,8 +682,9 @@ public boolean hasDialog() {
*
*
*
- * Input only. [Dialog](https://developers.google.com/chat/how-tos/dialogs)
- * for the request.
+ * Input only.
+ * [Dialog](https://developers.google.com/workspace/chat/dialogs) for the
+ * request.
*
*
* .google.chat.v1.Dialog dialog = 1 [(.google.api.field_behavior) = INPUT_ONLY];
@@ -704,8 +709,9 @@ public com.google.chat.v1.Dialog getDialog() {
*
*
*
- * Input only. [Dialog](https://developers.google.com/chat/how-tos/dialogs)
- * for the request.
+ * Input only.
+ * [Dialog](https://developers.google.com/workspace/chat/dialogs) for the
+ * request.
*
*
* .google.chat.v1.Dialog dialog = 1 [(.google.api.field_behavior) = INPUT_ONLY];
@@ -727,8 +733,9 @@ public Builder setDialog(com.google.chat.v1.Dialog value) {
*
*
*
- * Input only. [Dialog](https://developers.google.com/chat/how-tos/dialogs)
- * for the request.
+ * Input only.
+ * [Dialog](https://developers.google.com/workspace/chat/dialogs) for the
+ * request.
*
*
* .google.chat.v1.Dialog dialog = 1 [(.google.api.field_behavior) = INPUT_ONLY];
@@ -747,8 +754,9 @@ public Builder setDialog(com.google.chat.v1.Dialog.Builder builderForValue) {
*
*
*
- * Input only. [Dialog](https://developers.google.com/chat/how-tos/dialogs)
- * for the request.
+ * Input only.
+ * [Dialog](https://developers.google.com/workspace/chat/dialogs) for the
+ * request.
*
*
* .google.chat.v1.Dialog dialog = 1 [(.google.api.field_behavior) = INPUT_ONLY];
@@ -778,8 +786,9 @@ public Builder mergeDialog(com.google.chat.v1.Dialog value) {
*
*
*
- * Input only. [Dialog](https://developers.google.com/chat/how-tos/dialogs)
- * for the request.
+ * Input only.
+ * [Dialog](https://developers.google.com/workspace/chat/dialogs) for the
+ * request.
*
*
* .google.chat.v1.Dialog dialog = 1 [(.google.api.field_behavior) = INPUT_ONLY];
@@ -804,8 +813,9 @@ public Builder clearDialog() {
*
*
*
- * Input only. [Dialog](https://developers.google.com/chat/how-tos/dialogs)
- * for the request.
+ * Input only.
+ * [Dialog](https://developers.google.com/workspace/chat/dialogs) for the
+ * request.
*
*
* .google.chat.v1.Dialog dialog = 1 [(.google.api.field_behavior) = INPUT_ONLY];
@@ -817,8 +827,9 @@ public com.google.chat.v1.Dialog.Builder getDialogBuilder() {
*
*
*
- * Input only. [Dialog](https://developers.google.com/chat/how-tos/dialogs)
- * for the request.
+ * Input only.
+ * [Dialog](https://developers.google.com/workspace/chat/dialogs) for the
+ * request.
*
*
* .google.chat.v1.Dialog dialog = 1 [(.google.api.field_behavior) = INPUT_ONLY];
@@ -838,8 +849,9 @@ public com.google.chat.v1.DialogOrBuilder getDialogOrBuilder() {
*
*
*
- * Input only. [Dialog](https://developers.google.com/chat/how-tos/dialogs)
- * for the request.
+ * Input only.
+ * [Dialog](https://developers.google.com/workspace/chat/dialogs) for the
+ * request.
*
*
* .google.chat.v1.Dialog dialog = 1 [(.google.api.field_behavior) = INPUT_ONLY];
@@ -877,7 +889,7 @@ public com.google.chat.v1.DialogOrBuilder getDialogOrBuilder() {
*
*
* Input only. Status for a request to either invoke or submit a
- * [dialog](https://developers.google.com/chat/how-tos/dialogs). Displays
+ * [dialog](https://developers.google.com/workspace/chat/dialogs). Displays
* a status and message to users, if necessary.
* For example, in case of an error or success.
*
@@ -896,7 +908,7 @@ public boolean hasActionStatus() {
*
*
* Input only. Status for a request to either invoke or submit a
- * [dialog](https://developers.google.com/chat/how-tos/dialogs). Displays
+ * [dialog](https://developers.google.com/workspace/chat/dialogs). Displays
* a status and message to users, if necessary.
* For example, in case of an error or success.
*
@@ -921,7 +933,7 @@ public com.google.chat.v1.ActionStatus getActionStatus() {
*
*
* Input only. Status for a request to either invoke or submit a
- * [dialog](https://developers.google.com/chat/how-tos/dialogs). Displays
+ * [dialog](https://developers.google.com/workspace/chat/dialogs). Displays
* a status and message to users, if necessary.
* For example, in case of an error or success.
*
@@ -948,7 +960,7 @@ public Builder setActionStatus(com.google.chat.v1.ActionStatus value) {
*
*
* Input only. Status for a request to either invoke or submit a
- * [dialog](https://developers.google.com/chat/how-tos/dialogs). Displays
+ * [dialog](https://developers.google.com/workspace/chat/dialogs). Displays
* a status and message to users, if necessary.
* For example, in case of an error or success.
*
@@ -972,7 +984,7 @@ public Builder setActionStatus(com.google.chat.v1.ActionStatus.Builder builderFo
*
*
* Input only. Status for a request to either invoke or submit a
- * [dialog](https://developers.google.com/chat/how-tos/dialogs). Displays
+ * [dialog](https://developers.google.com/workspace/chat/dialogs). Displays
* a status and message to users, if necessary.
* For example, in case of an error or success.
*
@@ -1004,7 +1016,7 @@ public Builder mergeActionStatus(com.google.chat.v1.ActionStatus value) {
*
*
* Input only. Status for a request to either invoke or submit a
- * [dialog](https://developers.google.com/chat/how-tos/dialogs). Displays
+ * [dialog](https://developers.google.com/workspace/chat/dialogs). Displays
* a status and message to users, if necessary.
* For example, in case of an error or success.
*
@@ -1028,7 +1040,7 @@ public Builder clearActionStatus() {
*
*
* Input only. Status for a request to either invoke or submit a
- * [dialog](https://developers.google.com/chat/how-tos/dialogs). Displays
+ * [dialog](https://developers.google.com/workspace/chat/dialogs). Displays
* a status and message to users, if necessary.
* For example, in case of an error or success.
*
@@ -1047,7 +1059,7 @@ public com.google.chat.v1.ActionStatus.Builder getActionStatusBuilder() {
*
*
* Input only. Status for a request to either invoke or submit a
- * [dialog](https://developers.google.com/chat/how-tos/dialogs). Displays
+ * [dialog](https://developers.google.com/workspace/chat/dialogs). Displays
* a status and message to users, if necessary.
* For example, in case of an error or success.
*
@@ -1070,7 +1082,7 @@ public com.google.chat.v1.ActionStatusOrBuilder getActionStatusOrBuilder() {
*
*
* Input only. Status for a request to either invoke or submit a
- * [dialog](https://developers.google.com/chat/how-tos/dialogs). Displays
+ * [dialog](https://developers.google.com/workspace/chat/dialogs). Displays
* a status and message to users, if necessary.
* For example, in case of an error or success.
*
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/DialogActionOrBuilder.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/DialogActionOrBuilder.java
index f09bbf6d65d7..dc0cbd9c6c04 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/DialogActionOrBuilder.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/DialogActionOrBuilder.java
@@ -28,8 +28,9 @@ public interface DialogActionOrBuilder
*
*
*
- * Input only. [Dialog](https://developers.google.com/chat/how-tos/dialogs)
- * for the request.
+ * Input only.
+ * [Dialog](https://developers.google.com/workspace/chat/dialogs) for the
+ * request.
*
*
* .google.chat.v1.Dialog dialog = 1 [(.google.api.field_behavior) = INPUT_ONLY];
@@ -41,8 +42,9 @@ public interface DialogActionOrBuilder
*
*
*
- * Input only. [Dialog](https://developers.google.com/chat/how-tos/dialogs)
- * for the request.
+ * Input only.
+ * [Dialog](https://developers.google.com/workspace/chat/dialogs) for the
+ * request.
*
*
* .google.chat.v1.Dialog dialog = 1 [(.google.api.field_behavior) = INPUT_ONLY];
@@ -54,8 +56,9 @@ public interface DialogActionOrBuilder
*
*
*
- * Input only. [Dialog](https://developers.google.com/chat/how-tos/dialogs)
- * for the request.
+ * Input only.
+ * [Dialog](https://developers.google.com/workspace/chat/dialogs) for the
+ * request.
*
*
* .google.chat.v1.Dialog dialog = 1 [(.google.api.field_behavior) = INPUT_ONLY];
@@ -67,7 +70,7 @@ public interface DialogActionOrBuilder
*
*
* Input only. Status for a request to either invoke or submit a
- * [dialog](https://developers.google.com/chat/how-tos/dialogs). Displays
+ * [dialog](https://developers.google.com/workspace/chat/dialogs). Displays
* a status and message to users, if necessary.
* For example, in case of an error or success.
*
@@ -84,7 +87,7 @@ public interface DialogActionOrBuilder
*
*
* Input only. Status for a request to either invoke or submit a
- * [dialog](https://developers.google.com/chat/how-tos/dialogs). Displays
+ * [dialog](https://developers.google.com/workspace/chat/dialogs). Displays
* a status and message to users, if necessary.
* For example, in case of an error or success.
*
@@ -101,7 +104,7 @@ public interface DialogActionOrBuilder
*
*
* Input only. Status for a request to either invoke or submit a
- * [dialog](https://developers.google.com/chat/how-tos/dialogs). Displays
+ * [dialog](https://developers.google.com/workspace/chat/dialogs). Displays
* a status and message to users, if necessary.
* For example, in case of an error or success.
*
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/DriveLinkData.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/DriveLinkData.java
index dd3697cf4337..741844df537f 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/DriveLinkData.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/DriveLinkData.java
@@ -70,7 +70,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* A
- * [DriveDataRef](https://developers.google.com/chat/api/reference/rest/v1/spaces.messages.attachments#drivedataref)
+ * [DriveDataRef](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.attachments#drivedataref)
* which references a Google Drive file.
*
*
@@ -87,7 +87,7 @@ public boolean hasDriveDataRef() {
*
*
* A
- * [DriveDataRef](https://developers.google.com/chat/api/reference/rest/v1/spaces.messages.attachments#drivedataref)
+ * [DriveDataRef](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.attachments#drivedataref)
* which references a Google Drive file.
*
*
@@ -106,7 +106,7 @@ public com.google.chat.v1.DriveDataRef getDriveDataRef() {
*
*
* A
- * [DriveDataRef](https://developers.google.com/chat/api/reference/rest/v1/spaces.messages.attachments#drivedataref)
+ * [DriveDataRef](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.attachments#drivedataref)
* which references a Google Drive file.
*
*
@@ -563,7 +563,7 @@ public Builder mergeFrom(
*
*
* A
- * [DriveDataRef](https://developers.google.com/chat/api/reference/rest/v1/spaces.messages.attachments#drivedataref)
+ * [DriveDataRef](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.attachments#drivedataref)
* which references a Google Drive file.
*
*
@@ -579,7 +579,7 @@ public boolean hasDriveDataRef() {
*
*
* A
- * [DriveDataRef](https://developers.google.com/chat/api/reference/rest/v1/spaces.messages.attachments#drivedataref)
+ * [DriveDataRef](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.attachments#drivedataref)
* which references a Google Drive file.
*
*
@@ -601,7 +601,7 @@ public com.google.chat.v1.DriveDataRef getDriveDataRef() {
*
*
* A
- * [DriveDataRef](https://developers.google.com/chat/api/reference/rest/v1/spaces.messages.attachments#drivedataref)
+ * [DriveDataRef](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.attachments#drivedataref)
* which references a Google Drive file.
*
*
@@ -625,7 +625,7 @@ public Builder setDriveDataRef(com.google.chat.v1.DriveDataRef value) {
*
*
* A
- * [DriveDataRef](https://developers.google.com/chat/api/reference/rest/v1/spaces.messages.attachments#drivedataref)
+ * [DriveDataRef](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.attachments#drivedataref)
* which references a Google Drive file.
*
*
@@ -646,7 +646,7 @@ public Builder setDriveDataRef(com.google.chat.v1.DriveDataRef.Builder builderFo
*
*
* A
- * [DriveDataRef](https://developers.google.com/chat/api/reference/rest/v1/spaces.messages.attachments#drivedataref)
+ * [DriveDataRef](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.attachments#drivedataref)
* which references a Google Drive file.
*
*
@@ -675,7 +675,7 @@ public Builder mergeDriveDataRef(com.google.chat.v1.DriveDataRef value) {
*
*
* A
- * [DriveDataRef](https://developers.google.com/chat/api/reference/rest/v1/spaces.messages.attachments#drivedataref)
+ * [DriveDataRef](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.attachments#drivedataref)
* which references a Google Drive file.
*
*
@@ -696,7 +696,7 @@ public Builder clearDriveDataRef() {
*
*
* A
- * [DriveDataRef](https://developers.google.com/chat/api/reference/rest/v1/spaces.messages.attachments#drivedataref)
+ * [DriveDataRef](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.attachments#drivedataref)
* which references a Google Drive file.
*
*
@@ -712,7 +712,7 @@ public com.google.chat.v1.DriveDataRef.Builder getDriveDataRefBuilder() {
*
*
* A
- * [DriveDataRef](https://developers.google.com/chat/api/reference/rest/v1/spaces.messages.attachments#drivedataref)
+ * [DriveDataRef](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.attachments#drivedataref)
* which references a Google Drive file.
*
*
@@ -732,7 +732,7 @@ public com.google.chat.v1.DriveDataRefOrBuilder getDriveDataRefOrBuilder() {
*
*
* A
- * [DriveDataRef](https://developers.google.com/chat/api/reference/rest/v1/spaces.messages.attachments#drivedataref)
+ * [DriveDataRef](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.attachments#drivedataref)
* which references a Google Drive file.
*
*
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/DriveLinkDataOrBuilder.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/DriveLinkDataOrBuilder.java
index 20d2b8696e7f..204244159705 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/DriveLinkDataOrBuilder.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/DriveLinkDataOrBuilder.java
@@ -29,7 +29,7 @@ public interface DriveLinkDataOrBuilder
*
*
* A
- * [DriveDataRef](https://developers.google.com/chat/api/reference/rest/v1/spaces.messages.attachments#drivedataref)
+ * [DriveDataRef](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.attachments#drivedataref)
* which references a Google Drive file.
*
*
@@ -43,7 +43,7 @@ public interface DriveLinkDataOrBuilder
*
*
* A
- * [DriveDataRef](https://developers.google.com/chat/api/reference/rest/v1/spaces.messages.attachments#drivedataref)
+ * [DriveDataRef](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.attachments#drivedataref)
* which references a Google Drive file.
*
*
@@ -57,7 +57,7 @@ public interface DriveLinkDataOrBuilder
*
*
* A
- * [DriveDataRef](https://developers.google.com/chat/api/reference/rest/v1/spaces.messages.attachments#drivedataref)
+ * [DriveDataRef](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.attachments#drivedataref)
* which references a Google Drive file.
*
*
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/FindDirectMessageRequest.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/FindDirectMessageRequest.java
index 4c0198e1895f..4938cc1d3e47 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/FindDirectMessageRequest.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/FindDirectMessageRequest.java
@@ -80,8 +80,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
* in the Directory API. For example, if the People API profile ID is
* `123456789`, you can find a direct message with that person by using
* `users/123456789` as the `name`. When [authenticated as a
- * user](https://developers.google.com/chat/api/guides/auth/users), you can
- * use the email as an alias for `{user}`. For example,
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * you can use the email as an alias for `{user}`. For example,
* `users/example@gmail.com` where `example@gmail.com` is the email of the
* Google Chat user.
*
@@ -115,8 +115,8 @@ public java.lang.String getName() {
* in the Directory API. For example, if the People API profile ID is
* `123456789`, you can find a direct message with that person by using
* `users/123456789` as the `name`. When [authenticated as a
- * user](https://developers.google.com/chat/api/guides/auth/users), you can
- * use the email as an alias for `{user}`. For example,
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * you can use the email as an alias for `{user}`. For example,
* `users/example@gmail.com` where `example@gmail.com` is the email of the
* Google Chat user.
*
@@ -493,8 +493,8 @@ public Builder mergeFrom(
* in the Directory API. For example, if the People API profile ID is
* `123456789`, you can find a direct message with that person by using
* `users/123456789` as the `name`. When [authenticated as a
- * user](https://developers.google.com/chat/api/guides/auth/users), you can
- * use the email as an alias for `{user}`. For example,
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * you can use the email as an alias for `{user}`. For example,
* `users/example@gmail.com` where `example@gmail.com` is the email of the
* Google Chat user.
*
@@ -527,8 +527,8 @@ public java.lang.String getName() {
* in the Directory API. For example, if the People API profile ID is
* `123456789`, you can find a direct message with that person by using
* `users/123456789` as the `name`. When [authenticated as a
- * user](https://developers.google.com/chat/api/guides/auth/users), you can
- * use the email as an alias for `{user}`. For example,
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * you can use the email as an alias for `{user}`. For example,
* `users/example@gmail.com` where `example@gmail.com` is the email of the
* Google Chat user.
*
@@ -561,8 +561,8 @@ public com.google.protobuf.ByteString getNameBytes() {
* in the Directory API. For example, if the People API profile ID is
* `123456789`, you can find a direct message with that person by using
* `users/123456789` as the `name`. When [authenticated as a
- * user](https://developers.google.com/chat/api/guides/auth/users), you can
- * use the email as an alias for `{user}`. For example,
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * you can use the email as an alias for `{user}`. For example,
* `users/example@gmail.com` where `example@gmail.com` is the email of the
* Google Chat user.
*
@@ -594,8 +594,8 @@ public Builder setName(java.lang.String value) {
* in the Directory API. For example, if the People API profile ID is
* `123456789`, you can find a direct message with that person by using
* `users/123456789` as the `name`. When [authenticated as a
- * user](https://developers.google.com/chat/api/guides/auth/users), you can
- * use the email as an alias for `{user}`. For example,
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * you can use the email as an alias for `{user}`. For example,
* `users/example@gmail.com` where `example@gmail.com` is the email of the
* Google Chat user.
*
@@ -623,8 +623,8 @@ public Builder clearName() {
* in the Directory API. For example, if the People API profile ID is
* `123456789`, you can find a direct message with that person by using
* `users/123456789` as the `name`. When [authenticated as a
- * user](https://developers.google.com/chat/api/guides/auth/users), you can
- * use the email as an alias for `{user}`. For example,
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * you can use the email as an alias for `{user}`. For example,
* `users/example@gmail.com` where `example@gmail.com` is the email of the
* Google Chat user.
*
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/FindDirectMessageRequestOrBuilder.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/FindDirectMessageRequestOrBuilder.java
index 3e134e318ef6..e235a06c18e1 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/FindDirectMessageRequestOrBuilder.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/FindDirectMessageRequestOrBuilder.java
@@ -37,8 +37,8 @@ public interface FindDirectMessageRequestOrBuilder
* in the Directory API. For example, if the People API profile ID is
* `123456789`, you can find a direct message with that person by using
* `users/123456789` as the `name`. When [authenticated as a
- * user](https://developers.google.com/chat/api/guides/auth/users), you can
- * use the email as an alias for `{user}`. For example,
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * you can use the email as an alias for `{user}`. For example,
* `users/example@gmail.com` where `example@gmail.com` is the email of the
* Google Chat user.
*
@@ -61,8 +61,8 @@ public interface FindDirectMessageRequestOrBuilder
* in the Directory API. For example, if the People API profile ID is
* `123456789`, you can find a direct message with that person by using
* `users/123456789` as the `name`. When [authenticated as a
- * user](https://developers.google.com/chat/api/guides/auth/users), you can
- * use the email as an alias for `{user}`. For example,
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * you can use the email as an alias for `{user}`. For example,
* `users/example@gmail.com` where `example@gmail.com` is the email of the
* Google Chat user.
*
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/GetAttachmentRequest.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/GetAttachmentRequest.java
index 3b9ca0b9b494..b5f3fbf1f453 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/GetAttachmentRequest.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/GetAttachmentRequest.java
@@ -19,7 +19,15 @@
// Protobuf Java Version: 3.25.2
package com.google.chat.v1;
-/** Protobuf type {@code google.chat.v1.GetAttachmentRequest} */
+/**
+ *
+ *
+ *
+ * Request to get an attachment.
+ *
+ *
+ * Protobuf type {@code google.chat.v1.GetAttachmentRequest}
+ */
public final class GetAttachmentRequest extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:google.chat.v1.GetAttachmentRequest)
@@ -270,7 +278,15 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
Builder builder = new Builder(parent);
return builder;
}
- /** Protobuf type {@code google.chat.v1.GetAttachmentRequest} */
+ /**
+ *
+ *
+ *
+ * Request to get an attachment.
+ *
+ *
+ * Protobuf type {@code google.chat.v1.GetAttachmentRequest}
+ */
public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Request to get a membership of a space.
+ *
+ *
+ * Protobuf type {@code google.chat.v1.GetMembershipRequest}
+ */
public final class GetMembershipRequest extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:google.chat.v1.GetMembershipRequest)
@@ -71,8 +79,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
* Format: `spaces/{space}/members/{member}` or `spaces/{space}/members/app`
*
* When [authenticated as a
- * user](https://developers.google.com/chat/api/guides/auth/users), you can
- * use the user's email as an alias for `{member}`. For example,
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * you can use the user's email as an alias for `{member}`. For example,
* `spaces/{space}/members/example@gmail.com` where `example@gmail.com` is the
* email of the Google Chat user.
*
@@ -107,8 +115,8 @@ public java.lang.String getName() {
* Format: `spaces/{space}/members/{member}` or `spaces/{space}/members/app`
*
* When [authenticated as a
- * user](https://developers.google.com/chat/api/guides/auth/users), you can
- * use the user's email as an alias for `{member}`. For example,
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * you can use the user's email as an alias for `{member}`. For example,
* `spaces/{space}/members/example@gmail.com` where `example@gmail.com` is the
* email of the Google Chat user.
*
@@ -290,7 +298,15 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
Builder builder = new Builder(parent);
return builder;
}
- /** Protobuf type {@code google.chat.v1.GetMembershipRequest} */
+ /**
+ *
+ *
+ *
+ * Request to get a membership of a space.
+ *
+ *
+ * Protobuf type {@code google.chat.v1.GetMembershipRequest}
+ */
public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Request to get a message.
+ *
+ *
+ * Protobuf type {@code google.chat.v1.GetMessageRequest}
+ */
public final class GetMessageRequest extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:google.chat.v1.GetMessageRequest)
@@ -70,7 +78,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
* If you've set a custom ID for your message, you can use the value from the
* `clientAssignedMessageId` field for `{message}`. For details, see [Name a
* message]
- * (https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).
+ * (https://developers.google.com/workspace/chat/create-messages#name_a_created_message).
*
*
*
@@ -102,7 +110,7 @@ public java.lang.String getName() {
* If you've set a custom ID for your message, you can use the value from the
* `clientAssignedMessageId` field for `{message}`. For details, see [Name a
* message]
- * (https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).
+ * (https://developers.google.com/workspace/chat/create-messages#name_a_created_message).
*
*
*
@@ -281,7 +289,15 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
Builder builder = new Builder(parent);
return builder;
}
- /** Protobuf type {@code google.chat.v1.GetMessageRequest} */
+ /**
+ *
+ *
+ *
+ * Request to get a message.
+ *
+ *
+ * Protobuf type {@code google.chat.v1.GetMessageRequest}
+ */
public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
@@ -497,7 +513,7 @@ public java.lang.String getName() {
* If you've set a custom ID for your message, you can use the value from the
* `clientAssignedMessageId` field for `{message}`. For details, see [Name a
* message]
- * (https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).
+ * (https://developers.google.com/workspace/chat/create-messages#name_a_created_message).
*
*
*
@@ -528,7 +544,7 @@ public com.google.protobuf.ByteString getNameBytes() {
* If you've set a custom ID for your message, you can use the value from the
* `clientAssignedMessageId` field for `{message}`. For details, see [Name a
* message]
- * (https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).
+ * (https://developers.google.com/workspace/chat/create-messages#name_a_created_message).
*
*
*
@@ -558,7 +574,7 @@ public Builder setName(java.lang.String value) {
* If you've set a custom ID for your message, you can use the value from the
* `clientAssignedMessageId` field for `{message}`. For details, see [Name a
* message]
- * (https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).
+ * (https://developers.google.com/workspace/chat/create-messages#name_a_created_message).
*
*
*
@@ -584,7 +600,7 @@ public Builder clearName() {
* If you've set a custom ID for your message, you can use the value from the
* `clientAssignedMessageId` field for `{message}`. For details, see [Name a
* message]
- * (https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).
+ * (https://developers.google.com/workspace/chat/create-messages#name_a_created_message).
*
*
*
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/GetMessageRequestOrBuilder.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/GetMessageRequestOrBuilder.java
index 32413965d207..2771f05d3e74 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/GetMessageRequestOrBuilder.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/GetMessageRequestOrBuilder.java
@@ -35,7 +35,7 @@ public interface GetMessageRequestOrBuilder
* If you've set a custom ID for your message, you can use the value from the
* `clientAssignedMessageId` field for `{message}`. For details, see [Name a
* message]
- * (https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).
+ * (https://developers.google.com/workspace/chat/create-messages#name_a_created_message).
*
*
*
@@ -56,7 +56,7 @@ public interface GetMessageRequestOrBuilder
* If you've set a custom ID for your message, you can use the value from the
* `clientAssignedMessageId` field for `{message}`. For details, see [Name a
* message]
- * (https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).
+ * (https://developers.google.com/workspace/chat/create-messages#name_a_created_message).
*
*
*
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/ListMembershipsRequest.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/ListMembershipsRequest.java
index 39687a6cf75b..442daaa46a84 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/ListMembershipsRequest.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/ListMembershipsRequest.java
@@ -19,7 +19,15 @@
// Protobuf Java Version: 3.25.2
package com.google.chat.v1;
-/** Protobuf type {@code google.chat.v1.ListMembershipsRequest} */
+/**
+ *
+ *
+ *
+ * Request message for listing memberships.
+ *
+ *
+ * Protobuf type {@code google.chat.v1.ListMembershipsRequest}
+ */
public final class ListMembershipsRequest extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:google.chat.v1.ListMembershipsRequest)
@@ -129,8 +137,8 @@ public com.google.protobuf.ByteString getParentBytes() {
*
* If unspecified, at most 100 memberships are returned.
*
- * The maximum value is 1,000. If you use a value more than 1,000, it's
- * automatically changed to 1,000.
+ * The maximum value is 1000. If you use a value more than 1000, it's
+ * automatically changed to 1000.
*
* Negative values return an `INVALID_ARGUMENT` error.
*
@@ -216,9 +224,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
* Optional. A query filter.
*
* You can filter memberships by a member's role
- * ([`role`](https://developers.google.com/chat/api/reference/rest/v1/spaces.members#membershiprole))
+ * ([`role`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.members#membershiprole))
* and type
- * ([`member.type`](https://developers.google.com/chat/api/reference/rest/v1/User#type)).
+ * ([`member.type`](https://developers.google.com/workspace/chat/api/reference/rest/v1/User#type)).
*
* To filter by role, set `role` to `ROLE_MEMBER` or `ROLE_MANAGER`.
*
@@ -241,6 +249,7 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
* role = "ROLE_MANAGER" AND role = "ROLE_MEMBER"
* ```
*
+ *
* Invalid queries are rejected by the server with an `INVALID_ARGUMENT`
* error.
*
@@ -268,9 +277,9 @@ public java.lang.String getFilter() {
* Optional. A query filter.
*
* You can filter memberships by a member's role
- * ([`role`](https://developers.google.com/chat/api/reference/rest/v1/spaces.members#membershiprole))
+ * ([`role`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.members#membershiprole))
* and type
- * ([`member.type`](https://developers.google.com/chat/api/reference/rest/v1/User#type)).
+ * ([`member.type`](https://developers.google.com/workspace/chat/api/reference/rest/v1/User#type)).
*
* To filter by role, set `role` to `ROLE_MEMBER` or `ROLE_MANAGER`.
*
@@ -293,6 +302,7 @@ public java.lang.String getFilter() {
* role = "ROLE_MANAGER" AND role = "ROLE_MEMBER"
* ```
*
+ *
* Invalid queries are rejected by the server with an `INVALID_ARGUMENT`
* error.
*
@@ -351,7 +361,7 @@ public boolean getShowGroups() {
* that don't match the filter criteria aren't returned.
*
* Currently requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
*
* bool show_invited = 7 [(.google.api.field_behavior) = OPTIONAL];
@@ -567,7 +577,15 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
Builder builder = new Builder(parent);
return builder;
}
- /** Protobuf type {@code google.chat.v1.ListMembershipsRequest} */
+ /**
+ *
+ *
+ *
+ * Request message for listing memberships.
+ *
+ *
+ * Protobuf type {@code google.chat.v1.ListMembershipsRequest}
+ */
public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builderbool show_invited = 7 [(.google.api.field_behavior) = OPTIONAL];
@@ -1504,7 +1527,7 @@ public boolean getShowInvited() {
* that don't match the filter criteria aren't returned.
*
* Currently requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
*
* bool show_invited = 7 [(.google.api.field_behavior) = OPTIONAL];
@@ -1531,7 +1554,7 @@ public Builder setShowInvited(boolean value) {
* that don't match the filter criteria aren't returned.
*
* Currently requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
*
* bool show_invited = 7 [(.google.api.field_behavior) = OPTIONAL];
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/ListMembershipsRequestOrBuilder.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/ListMembershipsRequestOrBuilder.java
index 7c3d25aaf247..e2b45c726bd9 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/ListMembershipsRequestOrBuilder.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/ListMembershipsRequestOrBuilder.java
@@ -68,8 +68,8 @@ public interface ListMembershipsRequestOrBuilder
*
* If unspecified, at most 100 memberships are returned.
*
- * The maximum value is 1,000. If you use a value more than 1,000, it's
- * automatically changed to 1,000.
+ * The maximum value is 1000. If you use a value more than 1000, it's
+ * automatically changed to 1000.
*
* Negative values return an `INVALID_ARGUMENT` error.
*
@@ -122,9 +122,9 @@ public interface ListMembershipsRequestOrBuilder
* Optional. A query filter.
*
* You can filter memberships by a member's role
- * ([`role`](https://developers.google.com/chat/api/reference/rest/v1/spaces.members#membershiprole))
+ * ([`role`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.members#membershiprole))
* and type
- * ([`member.type`](https://developers.google.com/chat/api/reference/rest/v1/User#type)).
+ * ([`member.type`](https://developers.google.com/workspace/chat/api/reference/rest/v1/User#type)).
*
* To filter by role, set `role` to `ROLE_MEMBER` or `ROLE_MANAGER`.
*
@@ -147,6 +147,7 @@ public interface ListMembershipsRequestOrBuilder
* role = "ROLE_MANAGER" AND role = "ROLE_MEMBER"
* ```
*
+ *
* Invalid queries are rejected by the server with an `INVALID_ARGUMENT`
* error.
*
@@ -163,9 +164,9 @@ public interface ListMembershipsRequestOrBuilder
* Optional. A query filter.
*
* You can filter memberships by a member's role
- * ([`role`](https://developers.google.com/chat/api/reference/rest/v1/spaces.members#membershiprole))
+ * ([`role`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.members#membershiprole))
* and type
- * ([`member.type`](https://developers.google.com/chat/api/reference/rest/v1/User#type)).
+ * ([`member.type`](https://developers.google.com/workspace/chat/api/reference/rest/v1/User#type)).
*
* To filter by role, set `role` to `ROLE_MEMBER` or `ROLE_MANAGER`.
*
@@ -188,6 +189,7 @@ public interface ListMembershipsRequestOrBuilder
* role = "ROLE_MANAGER" AND role = "ROLE_MEMBER"
* ```
*
+ *
* Invalid queries are rejected by the server with an `INVALID_ARGUMENT`
* error.
*
@@ -228,7 +230,7 @@ public interface ListMembershipsRequestOrBuilder
* that don't match the filter criteria aren't returned.
*
* Currently requires [user
- * authentication](https://developers.google.com/chat/api/guides/auth/users).
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
*
*
* bool show_invited = 7 [(.google.api.field_behavior) = OPTIONAL];
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/ListMembershipsResponse.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/ListMembershipsResponse.java
index 64e3566bf795..137bb1e60607 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/ListMembershipsResponse.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/ListMembershipsResponse.java
@@ -19,7 +19,15 @@
// Protobuf Java Version: 3.25.2
package com.google.chat.v1;
-/** Protobuf type {@code google.chat.v1.ListMembershipsResponse} */
+/**
+ *
+ *
+ *
+ * Response to list memberships of the space.
+ *
+ *
+ * Protobuf type {@code google.chat.v1.ListMembershipsResponse}
+ */
public final class ListMembershipsResponse extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:google.chat.v1.ListMembershipsResponse)
@@ -360,7 +368,15 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
Builder builder = new Builder(parent);
return builder;
}
- /** Protobuf type {@code google.chat.v1.ListMembershipsResponse} */
+ /**
+ *
+ *
+ *
+ * Response to list memberships of the space.
+ *
+ *
+ * Protobuf type {@code google.chat.v1.ListMembershipsResponse}
+ */
public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Response message for listing messages.
+ *
+ *
+ * Protobuf type {@code google.chat.v1.ListMessagesResponse}
+ */
public final class ListMessagesResponse extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:google.chat.v1.ListMessagesResponse)
@@ -348,7 +356,15 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
Builder builder = new Builder(parent);
return builder;
}
- /** Protobuf type {@code google.chat.v1.ListMessagesResponse} */
+ /**
+ *
+ *
+ *
+ * Response message for listing messages.
+ *
+ *
+ * Protobuf type {@code google.chat.v1.ListMessagesResponse}
+ */
public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Response to a list reactions request.
+ *
+ *
+ * Protobuf type {@code google.chat.v1.ListReactionsResponse}
+ */
public final class ListReactionsResponse extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:google.chat.v1.ListReactionsResponse)
@@ -349,7 +357,15 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
Builder builder = new Builder(parent);
return builder;
}
- /** Protobuf type {@code google.chat.v1.ListReactionsResponse} */
+ /**
+ *
+ *
+ *
+ * Response to a list reactions request.
+ *
+ *
+ * Protobuf type {@code google.chat.v1.ListReactionsResponse}
+ */
public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * The response for a list spaces request.
+ *
+ *
+ * Protobuf type {@code google.chat.v1.ListSpacesResponse}
+ */
public final class ListSpacesResponse extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:google.chat.v1.ListSpacesResponse)
@@ -347,7 +355,15 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
Builder builder = new Builder(parent);
return builder;
}
- /** Protobuf type {@code google.chat.v1.ListSpacesResponse} */
+ /**
+ *
+ *
+ *
+ * The response for a list spaces request.
+ *
+ *
+ * Protobuf type {@code google.chat.v1.ListSpacesResponse}
+ */
public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
* The Google Chat user or app the membership corresponds to.
* If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the
- * output populates the
- * [user](https://developers.google.com/chat/api/reference/rest/v1/User)
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the output populates the
+ * [user](https://developers.google.com/workspace/chat/api/reference/rest/v1/User)
* `name` and `type`.
*
*
@@ -640,9 +638,9 @@ public boolean hasMember() {
*
* The Google Chat user or app the membership corresponds to.
* If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the
- * output populates the
- * [user](https://developers.google.com/chat/api/reference/rest/v1/User)
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the output populates the
+ * [user](https://developers.google.com/workspace/chat/api/reference/rest/v1/User)
* `name` and `type`.
*
*
@@ -663,9 +661,9 @@ public com.google.chat.v1.User getMember() {
*
* The Google Chat user or app the membership corresponds to.
* If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the
- * output populates the
- * [user](https://developers.google.com/chat/api/reference/rest/v1/User)
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the output populates the
+ * [user](https://developers.google.com/workspace/chat/api/reference/rest/v1/User)
* `name` and `type`.
*
*
@@ -1639,7 +1637,6 @@ public Builder clearState() {
* Optional. User's role within a Chat space, which determines their permitted
* actions in the space.
*
- * [Developer Preview](https://developers.google.com/workspace/preview):
* This field can only be used as input in `UpdateMembership`.
*
*
@@ -1660,7 +1657,6 @@ public int getRoleValue() {
* Optional. User's role within a Chat space, which determines their permitted
* actions in the space.
*
- * [Developer Preview](https://developers.google.com/workspace/preview):
* This field can only be used as input in `UpdateMembership`.
*
*
@@ -1684,7 +1680,6 @@ public Builder setRoleValue(int value) {
* Optional. User's role within a Chat space, which determines their permitted
* actions in the space.
*
- * [Developer Preview](https://developers.google.com/workspace/preview):
* This field can only be used as input in `UpdateMembership`.
*
*
@@ -1707,7 +1702,6 @@ public com.google.chat.v1.Membership.MembershipRole getRole() {
* Optional. User's role within a Chat space, which determines their permitted
* actions in the space.
*
- * [Developer Preview](https://developers.google.com/workspace/preview):
* This field can only be used as input in `UpdateMembership`.
*
*
@@ -1734,7 +1728,6 @@ public Builder setRole(com.google.chat.v1.Membership.MembershipRole value) {
* Optional. User's role within a Chat space, which determines their permitted
* actions in the space.
*
- * [Developer Preview](https://developers.google.com/workspace/preview):
* This field can only be used as input in `UpdateMembership`.
*
*
@@ -1762,9 +1755,9 @@ public Builder clearRole() {
*
* The Google Chat user or app the membership corresponds to.
* If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the
- * output populates the
- * [user](https://developers.google.com/chat/api/reference/rest/v1/User)
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the output populates the
+ * [user](https://developers.google.com/workspace/chat/api/reference/rest/v1/User)
* `name` and `type`.
*
*
@@ -1782,9 +1775,9 @@ public boolean hasMember() {
*
* The Google Chat user or app the membership corresponds to.
* If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the
- * output populates the
- * [user](https://developers.google.com/chat/api/reference/rest/v1/User)
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the output populates the
+ * [user](https://developers.google.com/workspace/chat/api/reference/rest/v1/User)
* `name` and `type`.
*
*
@@ -1812,9 +1805,9 @@ public com.google.chat.v1.User getMember() {
*
* The Google Chat user or app the membership corresponds to.
* If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the
- * output populates the
- * [user](https://developers.google.com/chat/api/reference/rest/v1/User)
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the output populates the
+ * [user](https://developers.google.com/workspace/chat/api/reference/rest/v1/User)
* `name` and `type`.
*
*
@@ -1839,9 +1832,9 @@ public Builder setMember(com.google.chat.v1.User value) {
*
* The Google Chat user or app the membership corresponds to.
* If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the
- * output populates the
- * [user](https://developers.google.com/chat/api/reference/rest/v1/User)
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the output populates the
+ * [user](https://developers.google.com/workspace/chat/api/reference/rest/v1/User)
* `name` and `type`.
*
*
@@ -1863,9 +1856,9 @@ public Builder setMember(com.google.chat.v1.User.Builder builderForValue) {
*
* The Google Chat user or app the membership corresponds to.
* If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the
- * output populates the
- * [user](https://developers.google.com/chat/api/reference/rest/v1/User)
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the output populates the
+ * [user](https://developers.google.com/workspace/chat/api/reference/rest/v1/User)
* `name` and `type`.
*
*
@@ -1898,9 +1891,9 @@ public Builder mergeMember(com.google.chat.v1.User value) {
*
* The Google Chat user or app the membership corresponds to.
* If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the
- * output populates the
- * [user](https://developers.google.com/chat/api/reference/rest/v1/User)
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the output populates the
+ * [user](https://developers.google.com/workspace/chat/api/reference/rest/v1/User)
* `name` and `type`.
*
*
@@ -1928,9 +1921,9 @@ public Builder clearMember() {
*
* The Google Chat user or app the membership corresponds to.
* If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the
- * output populates the
- * [user](https://developers.google.com/chat/api/reference/rest/v1/User)
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the output populates the
+ * [user](https://developers.google.com/workspace/chat/api/reference/rest/v1/User)
* `name` and `type`.
*
*
@@ -1945,9 +1938,9 @@ public com.google.chat.v1.User.Builder getMemberBuilder() {
*
* The Google Chat user or app the membership corresponds to.
* If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the
- * output populates the
- * [user](https://developers.google.com/chat/api/reference/rest/v1/User)
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the output populates the
+ * [user](https://developers.google.com/workspace/chat/api/reference/rest/v1/User)
* `name` and `type`.
*
*
@@ -1970,9 +1963,9 @@ public com.google.chat.v1.UserOrBuilder getMemberOrBuilder() {
*
* The Google Chat user or app the membership corresponds to.
* If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the
- * output populates the
- * [user](https://developers.google.com/chat/api/reference/rest/v1/User)
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the output populates the
+ * [user](https://developers.google.com/workspace/chat/api/reference/rest/v1/User)
* `name` and `type`.
*
*
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/MembershipOrBuilder.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/MembershipOrBuilder.java
index 2040927ceb23..80cf94f89a3f 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/MembershipOrBuilder.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/MembershipOrBuilder.java
@@ -89,7 +89,6 @@ public interface MembershipOrBuilder
* Optional. User's role within a Chat space, which determines their permitted
* actions in the space.
*
- * [Developer Preview](https://developers.google.com/workspace/preview):
* This field can only be used as input in `UpdateMembership`.
*
*
@@ -107,7 +106,6 @@ public interface MembershipOrBuilder
* Optional. User's role within a Chat space, which determines their permitted
* actions in the space.
*
- * [Developer Preview](https://developers.google.com/workspace/preview):
* This field can only be used as input in `UpdateMembership`.
*
*
@@ -125,9 +123,9 @@ public interface MembershipOrBuilder
*
* The Google Chat user or app the membership corresponds to.
* If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the
- * output populates the
- * [user](https://developers.google.com/chat/api/reference/rest/v1/User)
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the output populates the
+ * [user](https://developers.google.com/workspace/chat/api/reference/rest/v1/User)
* `name` and `type`.
*
*
@@ -142,9 +140,9 @@ public interface MembershipOrBuilder
*
* The Google Chat user or app the membership corresponds to.
* If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the
- * output populates the
- * [user](https://developers.google.com/chat/api/reference/rest/v1/User)
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the output populates the
+ * [user](https://developers.google.com/workspace/chat/api/reference/rest/v1/User)
* `name` and `type`.
*
*
@@ -159,9 +157,9 @@ public interface MembershipOrBuilder
*
* The Google Chat user or app the membership corresponds to.
* If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the
- * output populates the
- * [user](https://developers.google.com/chat/api/reference/rest/v1/User)
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the output populates the
+ * [user](https://developers.google.com/workspace/chat/api/reference/rest/v1/User)
* `name` and `type`.
*
*
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/MembershipProto.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/MembershipProto.java
index 2f52325c78be..decec34c8db2 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/MembershipProto.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/MembershipProto.java
@@ -36,6 +36,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_chat_v1_CreateMembershipRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_chat_v1_CreateMembershipRequest_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_chat_v1_UpdateMembershipRequest_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_chat_v1_UpdateMembershipRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_chat_v1_ListMembershipsRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@@ -65,43 +69,47 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "e.chat.v1\032\037google/api/field_behavior.pro"
+ "to\032\031google/api/resource.proto\032\032google/ch"
+ "at/v1/group.proto\032\031google/chat/v1/user.p"
- + "roto\032\037google/protobuf/timestamp.proto\"\220\005"
- + "\n\nMembership\0221\n\004name\030\001 \001(\tB#\372A \n\036chat.go"
- + "ogleapis.com/Membership\022>\n\005state\030\002 \001(\0162*"
- + ".google.chat.v1.Membership.MembershipSta"
- + "teB\003\340A\003\022<\n\004role\030\007 \001(\0162).google.chat.v1.M"
- + "embership.MembershipRoleB\003\340A\001\022&\n\006member\030"
- + "\003 \001(\0132\024.google.chat.v1.UserH\000\022-\n\014group_m"
- + "ember\030\005 \001(\0132\025.google.chat.v1.GroupH\000\0227\n\013"
- + "create_time\030\004 \001(\0132\032.google.protobuf.Time"
- + "stampB\006\340A\005\340A\001\0227\n\013delete_time\030\010 \001(\0132\032.goo"
- + "gle.protobuf.TimestampB\006\340A\005\340A\001\"^\n\017Member"
- + "shipState\022 \n\034MEMBERSHIP_STATE_UNSPECIFIE"
- + "D\020\000\022\n\n\006JOINED\020\001\022\013\n\007INVITED\020\002\022\020\n\014NOT_A_ME"
- + "MBER\020\003\"T\n\016MembershipRole\022\037\n\033MEMBERSHIP_R"
- + "OLE_UNSPECIFIED\020\000\022\017\n\013ROLE_MEMBER\020\001\022\020\n\014RO"
- + "LE_MANAGER\020\002:D\352AA\n\036chat.googleapis.com/M"
- + "embership\022\037spaces/{space}/members/{membe"
- + "r}B\014\n\nmemberType\"\206\001\n\027CreateMembershipReq"
- + "uest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036chat.googl"
- + "eapis.com/Membership\0223\n\nmembership\030\002 \001(\013"
- + "2\032.google.chat.v1.MembershipB\003\340A\002\"\313\001\n\026Li"
- + "stMembershipsRequest\0226\n\006parent\030\001 \001(\tB&\340A"
- + "\002\372A \022\036chat.googleapis.com/Membership\022\026\n\t"
- + "page_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\t"
- + "B\003\340A\001\022\023\n\006filter\030\005 \001(\tB\003\340A\001\022\030\n\013show_group"
- + "s\030\006 \001(\010B\003\340A\001\022\031\n\014show_invited\030\007 \001(\010B\003\340A\001\""
- + "h\n\027ListMembershipsResponse\0224\n\013membership"
- + "s\030\001 \003(\0132\032.google.chat.v1.MembershipB\003\340A\006"
- + "\022\027\n\017next_page_token\030\002 \001(\t\"L\n\024GetMembersh"
- + "ipRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036chat.go"
- + "ogleapis.com/Membership\"O\n\027DeleteMembers"
- + "hipRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036chat.g"
- + "oogleapis.com/MembershipB\232\001\n\022com.google."
- + "chat.v1B\017MembershipProtoP\001Z,cloud.google"
- + ".com/go/chat/apiv1/chatpb;chatpb\252\002\023Googl"
- + "e.Apps.Chat.V1\312\002\023Google\\Apps\\Chat\\V1\352\002\026G"
- + "oogle::Apps::Chat::V1b\006proto3"
+ + "roto\032 google/protobuf/field_mask.proto\032\037"
+ + "google/protobuf/timestamp.proto\"\220\005\n\nMemb"
+ + "ership\0221\n\004name\030\001 \001(\tB#\372A \n\036chat.googleap"
+ + "is.com/Membership\022>\n\005state\030\002 \001(\0162*.googl"
+ + "e.chat.v1.Membership.MembershipStateB\003\340A"
+ + "\003\022<\n\004role\030\007 \001(\0162).google.chat.v1.Members"
+ + "hip.MembershipRoleB\003\340A\001\022&\n\006member\030\003 \001(\0132"
+ + "\024.google.chat.v1.UserH\000\022-\n\014group_member\030"
+ + "\005 \001(\0132\025.google.chat.v1.GroupH\000\0227\n\013create"
+ + "_time\030\004 \001(\0132\032.google.protobuf.TimestampB"
+ + "\006\340A\005\340A\001\0227\n\013delete_time\030\010 \001(\0132\032.google.pr"
+ + "otobuf.TimestampB\006\340A\005\340A\001\"^\n\017MembershipSt"
+ + "ate\022 \n\034MEMBERSHIP_STATE_UNSPECIFIED\020\000\022\n\n"
+ + "\006JOINED\020\001\022\013\n\007INVITED\020\002\022\020\n\014NOT_A_MEMBER\020\003"
+ + "\"T\n\016MembershipRole\022\037\n\033MEMBERSHIP_ROLE_UN"
+ + "SPECIFIED\020\000\022\017\n\013ROLE_MEMBER\020\001\022\020\n\014ROLE_MAN"
+ + "AGER\020\002:D\352AA\n\036chat.googleapis.com/Members"
+ + "hip\022\037spaces/{space}/members/{member}B\014\n\n"
+ + "memberType\"\206\001\n\027CreateMembershipRequest\0226"
+ + "\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036chat.googleapis."
+ + "com/Membership\0223\n\nmembership\030\002 \001(\0132\032.goo"
+ + "gle.chat.v1.MembershipB\003\340A\002\"\204\001\n\027UpdateMe"
+ + "mbershipRequest\0223\n\nmembership\030\001 \001(\0132\032.go"
+ + "ogle.chat.v1.MembershipB\003\340A\002\0224\n\013update_m"
+ + "ask\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340"
+ + "A\002\"\313\001\n\026ListMembershipsRequest\0226\n\006parent\030"
+ + "\001 \001(\tB&\340A\002\372A \022\036chat.googleapis.com/Membe"
+ + "rship\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_to"
+ + "ken\030\003 \001(\tB\003\340A\001\022\023\n\006filter\030\005 \001(\tB\003\340A\001\022\030\n\013s"
+ + "how_groups\030\006 \001(\010B\003\340A\001\022\031\n\014show_invited\030\007 "
+ + "\001(\010B\003\340A\001\"h\n\027ListMembershipsResponse\0224\n\013m"
+ + "emberships\030\001 \003(\0132\032.google.chat.v1.Member"
+ + "shipB\003\340A\006\022\027\n\017next_page_token\030\002 \001(\t\"L\n\024Ge"
+ + "tMembershipRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A "
+ + "\n\036chat.googleapis.com/Membership\"O\n\027Dele"
+ + "teMembershipRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A"
+ + " \n\036chat.googleapis.com/MembershipB\232\001\n\022co"
+ + "m.google.chat.v1B\017MembershipProtoP\001Z,clo"
+ + "ud.google.com/go/chat/apiv1/chatpb;chatp"
+ + "b\252\002\023Google.Apps.Chat.V1\312\002\023Google\\Apps\\Ch"
+ + "at\\V1\352\002\026Google::Apps::Chat::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -111,6 +119,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.api.ResourceProto.getDescriptor(),
com.google.chat.v1.GroupProto.getDescriptor(),
com.google.chat.v1.UserProto.getDescriptor(),
+ com.google.protobuf.FieldMaskProto.getDescriptor(),
com.google.protobuf.TimestampProto.getDescriptor(),
});
internal_static_google_chat_v1_Membership_descriptor = getDescriptor().getMessageTypes().get(0);
@@ -135,8 +144,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new java.lang.String[] {
"Parent", "Membership",
});
- internal_static_google_chat_v1_ListMembershipsRequest_descriptor =
+ internal_static_google_chat_v1_UpdateMembershipRequest_descriptor =
getDescriptor().getMessageTypes().get(2);
+ internal_static_google_chat_v1_UpdateMembershipRequest_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_chat_v1_UpdateMembershipRequest_descriptor,
+ new java.lang.String[] {
+ "Membership", "UpdateMask",
+ });
+ internal_static_google_chat_v1_ListMembershipsRequest_descriptor =
+ getDescriptor().getMessageTypes().get(3);
internal_static_google_chat_v1_ListMembershipsRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_chat_v1_ListMembershipsRequest_descriptor,
@@ -144,7 +161,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "PageSize", "PageToken", "Filter", "ShowGroups", "ShowInvited",
});
internal_static_google_chat_v1_ListMembershipsResponse_descriptor =
- getDescriptor().getMessageTypes().get(3);
+ getDescriptor().getMessageTypes().get(4);
internal_static_google_chat_v1_ListMembershipsResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_chat_v1_ListMembershipsResponse_descriptor,
@@ -152,7 +169,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Memberships", "NextPageToken",
});
internal_static_google_chat_v1_GetMembershipRequest_descriptor =
- getDescriptor().getMessageTypes().get(4);
+ getDescriptor().getMessageTypes().get(5);
internal_static_google_chat_v1_GetMembershipRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_chat_v1_GetMembershipRequest_descriptor,
@@ -160,7 +177,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_chat_v1_DeleteMembershipRequest_descriptor =
- getDescriptor().getMessageTypes().get(5);
+ getDescriptor().getMessageTypes().get(6);
internal_static_google_chat_v1_DeleteMembershipRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_chat_v1_DeleteMembershipRequest_descriptor,
@@ -178,6 +195,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.api.ResourceProto.getDescriptor();
com.google.chat.v1.GroupProto.getDescriptor();
com.google.chat.v1.UserProto.getDescriptor();
+ com.google.protobuf.FieldMaskProto.getDescriptor();
com.google.protobuf.TimestampProto.getDescriptor();
}
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/Message.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/Message.java
index 931db1258203..cdfcc5be231f 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/Message.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/Message.java
@@ -95,7 +95,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
* from the `clientAssignedMessageId` field. For example,
* `spaces/AAAAAAAAAAA/messages/client-custom-name`. For details, see [Name
* a
- * message](https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).
+ * message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message).
*
*
* string name = 1;
@@ -132,7 +132,7 @@ public java.lang.String getName() {
* from the `clientAssignedMessageId` field. For example,
* `spaces/AAAAAAAAAAA/messages/client-custom-name`. For details, see [Name
* a
- * message](https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).
+ * message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message).
*
*
* string name = 1;
@@ -160,9 +160,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
* Output only. The user who created the message.
* If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the output
- * populates the
- * [user](https://developers.google.com/chat/api/reference/rest/v1/User)
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the output populates the
+ * [user](https://developers.google.com/workspace/chat/api/reference/rest/v1/User)
* `name` and `type`.
*
*
@@ -180,9 +180,9 @@ public boolean hasSender() {
*
* Output only. The user who created the message.
* If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the output
- * populates the
- * [user](https://developers.google.com/chat/api/reference/rest/v1/User)
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the output populates the
+ * [user](https://developers.google.com/workspace/chat/api/reference/rest/v1/User)
* `name` and `type`.
*
*
@@ -200,9 +200,9 @@ public com.google.chat.v1.User getSender() {
*
* Output only. The user who created the message.
* If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the output
- * populates the
- * [user](https://developers.google.com/chat/api/reference/rest/v1/User)
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the output populates the
+ * [user](https://developers.google.com/workspace/chat/api/reference/rest/v1/User)
* `name` and `type`.
*
*
@@ -404,13 +404,13 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() {
*
* Plain-text body of the message. The first link to an image, video, or web
* page generates a
- * [preview chip](https://developers.google.com/chat/how-tos/preview-links).
+ * [preview chip](https://developers.google.com/workspace/chat/preview-links).
* You can also [@mention a Google Chat
- * user](https://developers.google.com/chat/format-messages#messages-@mention),
+ * user](https://developers.google.com/workspace/chat/format-messages#messages-@mention),
* or everyone in the space.
*
* To learn about creating text messages, see [Send a text
- * message](https://developers.google.com/chat/api/guides/v1/messages/create#create-text-messages).
+ * message](https://developers.google.com/workspace/chat/create-messages#create-text-messages).
*
*
* string text = 4;
@@ -435,13 +435,13 @@ public java.lang.String getText() {
*
* Plain-text body of the message. The first link to an image, video, or web
* page generates a
- * [preview chip](https://developers.google.com/chat/how-tos/preview-links).
+ * [preview chip](https://developers.google.com/workspace/chat/preview-links).
* You can also [@mention a Google Chat
- * user](https://developers.google.com/chat/format-messages#messages-@mention),
+ * user](https://developers.google.com/workspace/chat/format-messages#messages-@mention),
* or everyone in the space.
*
* To learn about creating text messages, see [Send a text
- * message](https://developers.google.com/chat/api/guides/v1/messages/create#create-text-messages).
+ * message](https://developers.google.com/workspace/chat/create-messages#create-text-messages).
*
*
* string text = 4;
@@ -474,23 +474,24 @@ public com.google.protobuf.ByteString getTextBytes() {
* but includes the following:
*
* * [Markup
- * syntax](https://developers.google.com/chat/format-messages)
- * for bold, italic, strikethrough, monospace, and monospace block.
+ * syntax](https://developers.google.com/workspace/chat/format-messages)
+ * for bold, italic, strikethrough, monospace, monospace block, and bulleted
+ * list.
*
* * [User
- * mentions](https://developers.google.com/chat/format-messages#messages-@mention)
- * using the format `<users/{user}>`.
+ * mentions](https://developers.google.com/workspace/chat/format-messages#messages-@mention)
+ * using the format `<users/{user}>`.
*
* * Custom hyperlinks using the format `<{url}|{rendered_text}>` where the
- * first string is the URL and the second is the rendered text—for example,
- * `<http://example.com|custom text>`.
+ * first string is the URL and the second is the rendered text—for example,
+ * `<http://example.com|custom text>`.
*
* * Custom emoji using the format `:{emoji_name}:`—for example, `:smile:`.
- * This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning
+ * This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning
* face emoji.
*
* For more information, see [View text formatting sent in a
- * message](https://developers.google.com/chat/format-messages#view_text_formatting_sent_in_a_message)
+ * message](https://developers.google.com/workspace/chat/format-messages#view_text_formatting_sent_in_a_message)
*
*
* string formatted_text = 43 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -518,23 +519,24 @@ public java.lang.String getFormattedText() {
* but includes the following:
*
* * [Markup
- * syntax](https://developers.google.com/chat/format-messages)
- * for bold, italic, strikethrough, monospace, and monospace block.
+ * syntax](https://developers.google.com/workspace/chat/format-messages)
+ * for bold, italic, strikethrough, monospace, monospace block, and bulleted
+ * list.
*
* * [User
- * mentions](https://developers.google.com/chat/format-messages#messages-@mention)
- * using the format `<users/{user}>`.
+ * mentions](https://developers.google.com/workspace/chat/format-messages#messages-@mention)
+ * using the format `<users/{user}>`.
*
* * Custom hyperlinks using the format `<{url}|{rendered_text}>` where the
- * first string is the URL and the second is the rendered text—for example,
- * `<http://example.com|custom text>`.
+ * first string is the URL and the second is the rendered text—for example,
+ * `<http://example.com|custom text>`.
*
* * Custom emoji using the format `:{emoji_name}:`—for example, `:smile:`.
- * This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning
+ * This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning
* face emoji.
*
* For more information, see [View text formatting sent in a
- * message](https://developers.google.com/chat/format-messages#view_text_formatting_sent_in_a_message)
+ * message](https://developers.google.com/workspace/chat/format-messages#view_text_formatting_sent_in_a_message)
*
*
* string formatted_text = 43 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -664,15 +666,14 @@ public com.google.chat.v1.ContextualAddOnMarkup.CardOrBuilder getCardsOrBuilder(
*
*
* An array of
- * [cards](https://developers.google.com/chat/api/reference/rest/v1/cards).
+ * [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards).
*
* Only Chat apps can create cards. If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the
- * messages can't contain cards.
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the messages can't contain cards.
*
- * To learn about cards and how to create them, see [Design dynamic,
- * interactive, and consistent UIs with
- * cards](https://developers.google.com/chat/ui).
+ * To learn about cards and how to create them, see [Send card
+ * messages](https://developers.google.com/workspace/chat/create-messages#create).
*
* [Card builder](https://addons.gsuite.google.com/uikit/builder)
*
@@ -688,15 +689,14 @@ public java.util.List
* An array of
- * [cards](https://developers.google.com/chat/api/reference/rest/v1/cards).
+ * [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards).
*
* Only Chat apps can create cards. If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the
- * messages can't contain cards.
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the messages can't contain cards.
*
- * To learn about cards and how to create them, see [Design dynamic,
- * interactive, and consistent UIs with
- * cards](https://developers.google.com/chat/ui).
+ * To learn about cards and how to create them, see [Send card
+ * messages](https://developers.google.com/workspace/chat/create-messages#create).
*
* [Card builder](https://addons.gsuite.google.com/uikit/builder)
*
@@ -713,15 +713,14 @@ public java.util.List
* An array of
- * [cards](https://developers.google.com/chat/api/reference/rest/v1/cards).
+ * [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards).
*
* Only Chat apps can create cards. If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the
- * messages can't contain cards.
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the messages can't contain cards.
*
- * To learn about cards and how to create them, see [Design dynamic,
- * interactive, and consistent UIs with
- * cards](https://developers.google.com/chat/ui).
+ * To learn about cards and how to create them, see [Send card
+ * messages](https://developers.google.com/workspace/chat/create-messages#create).
*
* [Card builder](https://addons.gsuite.google.com/uikit/builder)
*
@@ -737,15 +736,14 @@ public int getCardsV2Count() {
*
*
* An array of
- * [cards](https://developers.google.com/chat/api/reference/rest/v1/cards).
+ * [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards).
*
* Only Chat apps can create cards. If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the
- * messages can't contain cards.
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the messages can't contain cards.
*
- * To learn about cards and how to create them, see [Design dynamic,
- * interactive, and consistent UIs with
- * cards](https://developers.google.com/chat/ui).
+ * To learn about cards and how to create them, see [Send card
+ * messages](https://developers.google.com/workspace/chat/create-messages#create).
*
* [Card builder](https://addons.gsuite.google.com/uikit/builder)
*
@@ -761,15 +759,14 @@ public com.google.chat.v1.CardWithId getCardsV2(int index) {
*
*
* An array of
- * [cards](https://developers.google.com/chat/api/reference/rest/v1/cards).
+ * [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards).
*
* Only Chat apps can create cards. If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the
- * messages can't contain cards.
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the messages can't contain cards.
*
- * To learn about cards and how to create them, see [Design dynamic,
- * interactive, and consistent UIs with
- * cards](https://developers.google.com/chat/ui).
+ * To learn about cards and how to create them, see [Send card
+ * messages](https://developers.google.com/workspace/chat/create-messages#create).
*
* [Card builder](https://addons.gsuite.google.com/uikit/builder)
*
@@ -870,7 +867,7 @@ public com.google.chat.v1.AnnotationOrBuilder getAnnotationsOrBuilder(int index)
*
* The thread the message belongs to. For example usage, see
* [Start or reply to a message
- * thread](https://developers.google.com/chat/api/guides/v1/messages/create#create-message-thread).
+ * thread](https://developers.google.com/workspace/chat/create-messages#create-message-thread).
*
*
* .google.chat.v1.Thread thread = 11;
@@ -887,7 +884,7 @@ public boolean hasThread() {
*
* The thread the message belongs to. For example usage, see
* [Start or reply to a message
- * thread](https://developers.google.com/chat/api/guides/v1/messages/create#create-message-thread).
+ * thread](https://developers.google.com/workspace/chat/create-messages#create-message-thread).
*
*
* .google.chat.v1.Thread thread = 11;
@@ -904,7 +901,7 @@ public com.google.chat.v1.Thread getThread() {
*
* The thread the message belongs to. For example usage, see
* [Start or reply to a message
- * thread](https://developers.google.com/chat/api/guides/v1/messages/create#create-message-thread).
+ * thread](https://developers.google.com/workspace/chat/create-messages#create-message-thread).
*
*
* .google.chat.v1.Thread thread = 11;
@@ -921,9 +918,9 @@ public com.google.chat.v1.ThreadOrBuilder getThreadOrBuilder() {
*
*
* If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the output
- * populates the
- * [space](https://developers.google.com/chat/api/reference/rest/v1/spaces)
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the output populates the
+ * [space](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces)
* `name`.
*
*
@@ -940,9 +937,9 @@ public boolean hasSpace() {
*
*
* If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the output
- * populates the
- * [space](https://developers.google.com/chat/api/reference/rest/v1/spaces)
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the output populates the
+ * [space](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces)
* `name`.
*
*
@@ -959,9 +956,9 @@ public com.google.chat.v1.Space getSpace() {
*
*
* If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the output
- * populates the
- * [space](https://developers.google.com/chat/api/reference/rest/v1/spaces)
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the output populates the
+ * [space](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces)
* `name`.
*
*
@@ -1272,7 +1269,7 @@ public com.google.chat.v1.AttachmentOrBuilder getAttachmentOrBuilder(int index)
*
* Output only. A URL in `spaces.messages.text` that matches a link preview
* pattern. For more information, see [Preview
- * links](https://developers.google.com/chat/how-tos/preview-links).
+ * links](https://developers.google.com/workspace/chat/preview-links).
*
*
* .google.chat.v1.MatchedUrl matched_url = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -1290,7 +1287,7 @@ public boolean hasMatchedUrl() {
*
* Output only. A URL in `spaces.messages.text` that matches a link preview
* pattern. For more information, see [Preview
- * links](https://developers.google.com/chat/how-tos/preview-links).
+ * links](https://developers.google.com/workspace/chat/preview-links).
*
*
* .google.chat.v1.MatchedUrl matched_url = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -1308,7 +1305,7 @@ public com.google.chat.v1.MatchedUrl getMatchedUrl() {
*
* Output only. A URL in `spaces.messages.text` that matches a link preview
* pattern. For more information, see [Preview
- * links](https://developers.google.com/chat/how-tos/preview-links).
+ * links](https://developers.google.com/workspace/chat/preview-links).
*
*
* .google.chat.v1.MatchedUrl matched_url = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -1353,9 +1350,9 @@ public boolean getThreadReply() {
* Optional. A custom ID for the message. You can use field to identify a
* message, or to get, delete, or update a message. To set a custom ID,
* specify the
- * [`messageId`](https://developers.google.com/chat/api/reference/rest/v1/spaces.messages/create#body.QUERY_PARAMETERS.message_id)
+ * [`messageId`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages/create#body.QUERY_PARAMETERS.message_id)
* field when you create the message. For details, see [Name a
- * message](https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).
+ * message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message).
*
*
*
string client_assigned_message_id = 32;
@@ -1381,9 +1378,9 @@ public java.lang.String getClientAssignedMessageId() {
* Optional. A custom ID for the message. You can use field to identify a
* message, or to get, delete, or update a message. To set a custom ID,
* specify the
- * [`messageId`](https://developers.google.com/chat/api/reference/rest/v1/spaces.messages/create#body.QUERY_PARAMETERS.message_id)
+ * [`messageId`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages/create#body.QUERY_PARAMETERS.message_id)
* field when you create the message. For details, see [Name a
- * message](https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).
+ * message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message).
*
*
* string client_assigned_message_id = 32;
@@ -1497,11 +1494,12 @@ public com.google.chat.v1.EmojiReactionSummaryOrBuilder getEmojiReactionSummarie
* attachments aren't supported for private messages.
*
* Only Chat apps can send private messages. If your Chat app [authenticates
- * as a user](https://developers.google.com/chat/api/guides/auth/users) to
- * send a message, the message can't be private and must omit this field.
+ * as a
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * to send a message, the message can't be private and must omit this field.
*
* For details, see [Send private messages to Google Chat
- * users](https://developers.google.com/chat/api/guides/v1/messages/private).
+ * users](https://developers.google.com/workspace/chat/private-messages).
*
*
*
@@ -1524,11 +1522,12 @@ public boolean hasPrivateMessageViewer() {
* attachments aren't supported for private messages.
*
* Only Chat apps can send private messages. If your Chat app [authenticates
- * as a user](https://developers.google.com/chat/api/guides/auth/users) to
- * send a message, the message can't be private and must omit this field.
+ * as a
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * to send a message, the message can't be private and must omit this field.
*
* For details, see [Send private messages to Google Chat
- * users](https://developers.google.com/chat/api/guides/v1/messages/private).
+ * users](https://developers.google.com/workspace/chat/private-messages).
*
*
*
@@ -1553,11 +1552,12 @@ public com.google.chat.v1.User getPrivateMessageViewer() {
* attachments aren't supported for private messages.
*
* Only Chat apps can send private messages. If your Chat app [authenticates
- * as a user](https://developers.google.com/chat/api/guides/auth/users) to
- * send a message, the message can't be private and must omit this field.
+ * as a
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * to send a message, the message can't be private and must omit this field.
*
* For details, see [Send private messages to Google Chat
- * users](https://developers.google.com/chat/api/guides/v1/messages/private).
+ * users](https://developers.google.com/workspace/chat/private-messages).
*
*
*
@@ -1780,67 +1780,13 @@ public com.google.chat.v1.AttachedGifOrBuilder getAttachedGifsOrBuilder(int inde
*
* One or more interactive widgets that appear at the bottom of a message.
* You can add accessory widgets to messages that contain text, cards, or both
- * text and cards. Not supported for messages that contain dialogs.
+ * text and cards. Not supported for messages that contain dialogs. For
+ * details, see [Add interactive widgets at the bottom of a
+ * message](https://developers.google.com/workspace/chat/create-messages#add-accessory-widgets).
*
* Creating a message with accessory widgets requires [app
* authentication]
- * (https://developers.google.com/chat/api/guides/auth/service-accounts).
- *
- * The following example shows a Chat app that uses accessory widgets (thumbs
- * up and thumbs down buttons) in a text message:
- *
- * ![Example accessory widgets
- * message](https://developers.google.com/chat/images/message-accessory-widgets-reference.png)
- *
- * The JSON for this example message is the following:
- *
- * ```
- * {
- * "text": "Rate your experience with this Chat app.",
- * "accessoryWidgets": [
- * {
- * "buttonList": {
- * "buttons": [
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_up"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doUpvote",
- * }
- * }
- * },
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_down"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doDownvote",
- * }
- * }
- * }
- * ]
- * }
- * }
- * ]
- * }
- * ```
+ * (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
*
*
* repeated .google.chat.v1.AccessoryWidget accessory_widgets = 44;
@@ -1855,67 +1801,13 @@ public java.util.List
* One or more interactive widgets that appear at the bottom of a message.
* You can add accessory widgets to messages that contain text, cards, or both
- * text and cards. Not supported for messages that contain dialogs.
+ * text and cards. Not supported for messages that contain dialogs. For
+ * details, see [Add interactive widgets at the bottom of a
+ * message](https://developers.google.com/workspace/chat/create-messages#add-accessory-widgets).
*
* Creating a message with accessory widgets requires [app
* authentication]
- * (https://developers.google.com/chat/api/guides/auth/service-accounts).
- *
- * The following example shows a Chat app that uses accessory widgets (thumbs
- * up and thumbs down buttons) in a text message:
- *
- * ![Example accessory widgets
- * message](https://developers.google.com/chat/images/message-accessory-widgets-reference.png)
- *
- * The JSON for this example message is the following:
- *
- * ```
- * {
- * "text": "Rate your experience with this Chat app.",
- * "accessoryWidgets": [
- * {
- * "buttonList": {
- * "buttons": [
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_up"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doUpvote",
- * }
- * }
- * },
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_down"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doDownvote",
- * }
- * }
- * }
- * ]
- * }
- * }
- * ]
- * }
- * ```
+ * (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
*
*
* repeated .google.chat.v1.AccessoryWidget accessory_widgets = 44;
@@ -1931,67 +1823,13 @@ public java.util.List
* One or more interactive widgets that appear at the bottom of a message.
* You can add accessory widgets to messages that contain text, cards, or both
- * text and cards. Not supported for messages that contain dialogs.
+ * text and cards. Not supported for messages that contain dialogs. For
+ * details, see [Add interactive widgets at the bottom of a
+ * message](https://developers.google.com/workspace/chat/create-messages#add-accessory-widgets).
*
* Creating a message with accessory widgets requires [app
* authentication]
- * (https://developers.google.com/chat/api/guides/auth/service-accounts).
- *
- * The following example shows a Chat app that uses accessory widgets (thumbs
- * up and thumbs down buttons) in a text message:
- *
- * ![Example accessory widgets
- * message](https://developers.google.com/chat/images/message-accessory-widgets-reference.png)
- *
- * The JSON for this example message is the following:
- *
- * ```
- * {
- * "text": "Rate your experience with this Chat app.",
- * "accessoryWidgets": [
- * {
- * "buttonList": {
- * "buttons": [
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_up"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doUpvote",
- * }
- * }
- * },
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_down"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doDownvote",
- * }
- * }
- * }
- * ]
- * }
- * }
- * ]
- * }
- * ```
+ * (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
*
*
* repeated .google.chat.v1.AccessoryWidget accessory_widgets = 44;
@@ -2006,67 +1844,13 @@ public int getAccessoryWidgetsCount() {
*
* One or more interactive widgets that appear at the bottom of a message.
* You can add accessory widgets to messages that contain text, cards, or both
- * text and cards. Not supported for messages that contain dialogs.
+ * text and cards. Not supported for messages that contain dialogs. For
+ * details, see [Add interactive widgets at the bottom of a
+ * message](https://developers.google.com/workspace/chat/create-messages#add-accessory-widgets).
*
* Creating a message with accessory widgets requires [app
* authentication]
- * (https://developers.google.com/chat/api/guides/auth/service-accounts).
- *
- * The following example shows a Chat app that uses accessory widgets (thumbs
- * up and thumbs down buttons) in a text message:
- *
- * ![Example accessory widgets
- * message](https://developers.google.com/chat/images/message-accessory-widgets-reference.png)
- *
- * The JSON for this example message is the following:
- *
- * ```
- * {
- * "text": "Rate your experience with this Chat app.",
- * "accessoryWidgets": [
- * {
- * "buttonList": {
- * "buttons": [
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_up"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doUpvote",
- * }
- * }
- * },
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_down"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doDownvote",
- * }
- * }
- * }
- * ]
- * }
- * }
- * ]
- * }
- * ```
+ * (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
*
*
* repeated .google.chat.v1.AccessoryWidget accessory_widgets = 44;
@@ -2081,67 +1865,13 @@ public com.google.chat.v1.AccessoryWidget getAccessoryWidgets(int index) {
*
* One or more interactive widgets that appear at the bottom of a message.
* You can add accessory widgets to messages that contain text, cards, or both
- * text and cards. Not supported for messages that contain dialogs.
+ * text and cards. Not supported for messages that contain dialogs. For
+ * details, see [Add interactive widgets at the bottom of a
+ * message](https://developers.google.com/workspace/chat/create-messages#add-accessory-widgets).
*
* Creating a message with accessory widgets requires [app
* authentication]
- * (https://developers.google.com/chat/api/guides/auth/service-accounts).
- *
- * The following example shows a Chat app that uses accessory widgets (thumbs
- * up and thumbs down buttons) in a text message:
- *
- * ![Example accessory widgets
- * message](https://developers.google.com/chat/images/message-accessory-widgets-reference.png)
- *
- * The JSON for this example message is the following:
- *
- * ```
- * {
- * "text": "Rate your experience with this Chat app.",
- * "accessoryWidgets": [
- * {
- * "buttonList": {
- * "buttons": [
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_up"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doUpvote",
- * }
- * }
- * },
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_down"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doDownvote",
- * }
- * }
- * }
- * ]
- * }
- * }
- * ]
- * }
- * ```
+ * (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
*
*
* repeated .google.chat.v1.AccessoryWidget accessory_widgets = 44;
@@ -3549,7 +3279,7 @@ public Builder mergeFrom(
* from the `clientAssignedMessageId` field. For example,
* `spaces/AAAAAAAAAAA/messages/client-custom-name`. For details, see [Name
* a
- * message](https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).
+ * message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message).
*
*
* string name = 1;
@@ -3585,7 +3315,7 @@ public java.lang.String getName() {
* from the `clientAssignedMessageId` field. For example,
* `spaces/AAAAAAAAAAA/messages/client-custom-name`. For details, see [Name
* a
- * message](https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).
+ * message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message).
*
*
* string name = 1;
@@ -3621,7 +3351,7 @@ public com.google.protobuf.ByteString getNameBytes() {
* from the `clientAssignedMessageId` field. For example,
* `spaces/AAAAAAAAAAA/messages/client-custom-name`. For details, see [Name
* a
- * message](https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).
+ * message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message).
*
*
* string name = 1;
@@ -3656,7 +3386,7 @@ public Builder setName(java.lang.String value) {
* from the `clientAssignedMessageId` field. For example,
* `spaces/AAAAAAAAAAA/messages/client-custom-name`. For details, see [Name
* a
- * message](https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).
+ * message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message).
*
*
* string name = 1;
@@ -3687,7 +3417,7 @@ public Builder clearName() {
* from the `clientAssignedMessageId` field. For example,
* `spaces/AAAAAAAAAAA/messages/client-custom-name`. For details, see [Name
* a
- * message](https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).
+ * message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message).
*
*
* string name = 1;
@@ -3718,9 +3448,9 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
* Output only. The user who created the message.
* If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the output
- * populates the
- * [user](https://developers.google.com/chat/api/reference/rest/v1/User)
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the output populates the
+ * [user](https://developers.google.com/workspace/chat/api/reference/rest/v1/User)
* `name` and `type`.
*
*
@@ -3737,9 +3467,9 @@ public boolean hasSender() {
*
* Output only. The user who created the message.
* If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the output
- * populates the
- * [user](https://developers.google.com/chat/api/reference/rest/v1/User)
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the output populates the
+ * [user](https://developers.google.com/workspace/chat/api/reference/rest/v1/User)
* `name` and `type`.
*
*
@@ -3760,9 +3490,9 @@ public com.google.chat.v1.User getSender() {
*
* Output only. The user who created the message.
* If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the output
- * populates the
- * [user](https://developers.google.com/chat/api/reference/rest/v1/User)
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the output populates the
+ * [user](https://developers.google.com/workspace/chat/api/reference/rest/v1/User)
* `name` and `type`.
*
*
@@ -3787,9 +3517,9 @@ public Builder setSender(com.google.chat.v1.User value) {
*
* Output only. The user who created the message.
* If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the output
- * populates the
- * [user](https://developers.google.com/chat/api/reference/rest/v1/User)
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the output populates the
+ * [user](https://developers.google.com/workspace/chat/api/reference/rest/v1/User)
* `name` and `type`.
*
*
@@ -3811,9 +3541,9 @@ public Builder setSender(com.google.chat.v1.User.Builder builderForValue) {
*
* Output only. The user who created the message.
* If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the output
- * populates the
- * [user](https://developers.google.com/chat/api/reference/rest/v1/User)
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the output populates the
+ * [user](https://developers.google.com/workspace/chat/api/reference/rest/v1/User)
* `name` and `type`.
*
*
@@ -3843,9 +3573,9 @@ public Builder mergeSender(com.google.chat.v1.User value) {
*
* Output only. The user who created the message.
* If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the output
- * populates the
- * [user](https://developers.google.com/chat/api/reference/rest/v1/User)
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the output populates the
+ * [user](https://developers.google.com/workspace/chat/api/reference/rest/v1/User)
* `name` and `type`.
*
*
@@ -3867,9 +3597,9 @@ public Builder clearSender() {
*
* Output only. The user who created the message.
* If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the output
- * populates the
- * [user](https://developers.google.com/chat/api/reference/rest/v1/User)
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the output populates the
+ * [user](https://developers.google.com/workspace/chat/api/reference/rest/v1/User)
* `name` and `type`.
*
*
@@ -3886,9 +3616,9 @@ public com.google.chat.v1.User.Builder getSenderBuilder() {
*
* Output only. The user who created the message.
* If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the output
- * populates the
- * [user](https://developers.google.com/chat/api/reference/rest/v1/User)
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the output populates the
+ * [user](https://developers.google.com/workspace/chat/api/reference/rest/v1/User)
* `name` and `type`.
*
*
@@ -3907,9 +3637,9 @@ public com.google.chat.v1.UserOrBuilder getSenderOrBuilder() {
*
* Output only. The user who created the message.
* If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the output
- * populates the
- * [user](https://developers.google.com/chat/api/reference/rest/v1/User)
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the output populates the
+ * [user](https://developers.google.com/workspace/chat/api/reference/rest/v1/User)
* `name` and `type`.
*
*
@@ -4619,13 +4349,13 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() {
*
* Plain-text body of the message. The first link to an image, video, or web
* page generates a
- * [preview chip](https://developers.google.com/chat/how-tos/preview-links).
+ * [preview chip](https://developers.google.com/workspace/chat/preview-links).
* You can also [@mention a Google Chat
- * user](https://developers.google.com/chat/format-messages#messages-@mention),
+ * user](https://developers.google.com/workspace/chat/format-messages#messages-@mention),
* or everyone in the space.
*
* To learn about creating text messages, see [Send a text
- * message](https://developers.google.com/chat/api/guides/v1/messages/create#create-text-messages).
+ * message](https://developers.google.com/workspace/chat/create-messages#create-text-messages).
*
*
* string text = 4;
@@ -4649,13 +4379,13 @@ public java.lang.String getText() {
*
* Plain-text body of the message. The first link to an image, video, or web
* page generates a
- * [preview chip](https://developers.google.com/chat/how-tos/preview-links).
+ * [preview chip](https://developers.google.com/workspace/chat/preview-links).
* You can also [@mention a Google Chat
- * user](https://developers.google.com/chat/format-messages#messages-@mention),
+ * user](https://developers.google.com/workspace/chat/format-messages#messages-@mention),
* or everyone in the space.
*
* To learn about creating text messages, see [Send a text
- * message](https://developers.google.com/chat/api/guides/v1/messages/create#create-text-messages).
+ * message](https://developers.google.com/workspace/chat/create-messages#create-text-messages).
*
*
* string text = 4;
@@ -4679,13 +4409,13 @@ public com.google.protobuf.ByteString getTextBytes() {
*
* Plain-text body of the message. The first link to an image, video, or web
* page generates a
- * [preview chip](https://developers.google.com/chat/how-tos/preview-links).
+ * [preview chip](https://developers.google.com/workspace/chat/preview-links).
* You can also [@mention a Google Chat
- * user](https://developers.google.com/chat/format-messages#messages-@mention),
+ * user](https://developers.google.com/workspace/chat/format-messages#messages-@mention),
* or everyone in the space.
*
* To learn about creating text messages, see [Send a text
- * message](https://developers.google.com/chat/api/guides/v1/messages/create#create-text-messages).
+ * message](https://developers.google.com/workspace/chat/create-messages#create-text-messages).
*
*
* string text = 4;
@@ -4708,13 +4438,13 @@ public Builder setText(java.lang.String value) {
*
* Plain-text body of the message. The first link to an image, video, or web
* page generates a
- * [preview chip](https://developers.google.com/chat/how-tos/preview-links).
+ * [preview chip](https://developers.google.com/workspace/chat/preview-links).
* You can also [@mention a Google Chat
- * user](https://developers.google.com/chat/format-messages#messages-@mention),
+ * user](https://developers.google.com/workspace/chat/format-messages#messages-@mention),
* or everyone in the space.
*
* To learn about creating text messages, see [Send a text
- * message](https://developers.google.com/chat/api/guides/v1/messages/create#create-text-messages).
+ * message](https://developers.google.com/workspace/chat/create-messages#create-text-messages).
*
*
* string text = 4;
@@ -4733,13 +4463,13 @@ public Builder clearText() {
*
* Plain-text body of the message. The first link to an image, video, or web
* page generates a
- * [preview chip](https://developers.google.com/chat/how-tos/preview-links).
+ * [preview chip](https://developers.google.com/workspace/chat/preview-links).
* You can also [@mention a Google Chat
- * user](https://developers.google.com/chat/format-messages#messages-@mention),
+ * user](https://developers.google.com/workspace/chat/format-messages#messages-@mention),
* or everyone in the space.
*
* To learn about creating text messages, see [Send a text
- * message](https://developers.google.com/chat/api/guides/v1/messages/create#create-text-messages).
+ * message](https://developers.google.com/workspace/chat/create-messages#create-text-messages).
*
*
* string text = 4;
@@ -4768,23 +4498,24 @@ public Builder setTextBytes(com.google.protobuf.ByteString value) {
* but includes the following:
*
* * [Markup
- * syntax](https://developers.google.com/chat/format-messages)
- * for bold, italic, strikethrough, monospace, and monospace block.
+ * syntax](https://developers.google.com/workspace/chat/format-messages)
+ * for bold, italic, strikethrough, monospace, monospace block, and bulleted
+ * list.
*
* * [User
- * mentions](https://developers.google.com/chat/format-messages#messages-@mention)
- * using the format `<users/{user}>`.
+ * mentions](https://developers.google.com/workspace/chat/format-messages#messages-@mention)
+ * using the format `<users/{user}>`.
*
* * Custom hyperlinks using the format `<{url}|{rendered_text}>` where the
- * first string is the URL and the second is the rendered text—for example,
- * `<http://example.com|custom text>`.
+ * first string is the URL and the second is the rendered text—for example,
+ * `<http://example.com|custom text>`.
*
* * Custom emoji using the format `:{emoji_name}:`—for example, `:smile:`.
- * This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning
+ * This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning
* face emoji.
*
* For more information, see [View text formatting sent in a
- * message](https://developers.google.com/chat/format-messages#view_text_formatting_sent_in_a_message)
+ * message](https://developers.google.com/workspace/chat/format-messages#view_text_formatting_sent_in_a_message)
*
*
* string formatted_text = 43 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -4811,23 +4542,24 @@ public java.lang.String getFormattedText() {
* but includes the following:
*
* * [Markup
- * syntax](https://developers.google.com/chat/format-messages)
- * for bold, italic, strikethrough, monospace, and monospace block.
+ * syntax](https://developers.google.com/workspace/chat/format-messages)
+ * for bold, italic, strikethrough, monospace, monospace block, and bulleted
+ * list.
*
* * [User
- * mentions](https://developers.google.com/chat/format-messages#messages-@mention)
- * using the format `<users/{user}>`.
+ * mentions](https://developers.google.com/workspace/chat/format-messages#messages-@mention)
+ * using the format `<users/{user}>`.
*
* * Custom hyperlinks using the format `<{url}|{rendered_text}>` where the
- * first string is the URL and the second is the rendered text—for example,
- * `<http://example.com|custom text>`.
+ * first string is the URL and the second is the rendered text—for example,
+ * `<http://example.com|custom text>`.
*
* * Custom emoji using the format `:{emoji_name}:`—for example, `:smile:`.
- * This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning
+ * This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning
* face emoji.
*
* For more information, see [View text formatting sent in a
- * message](https://developers.google.com/chat/format-messages#view_text_formatting_sent_in_a_message)
+ * message](https://developers.google.com/workspace/chat/format-messages#view_text_formatting_sent_in_a_message)
*
*
* string formatted_text = 43 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -4854,23 +4586,24 @@ public com.google.protobuf.ByteString getFormattedTextBytes() {
* but includes the following:
*
* * [Markup
- * syntax](https://developers.google.com/chat/format-messages)
- * for bold, italic, strikethrough, monospace, and monospace block.
+ * syntax](https://developers.google.com/workspace/chat/format-messages)
+ * for bold, italic, strikethrough, monospace, monospace block, and bulleted
+ * list.
*
* * [User
- * mentions](https://developers.google.com/chat/format-messages#messages-@mention)
- * using the format `<users/{user}>`.
+ * mentions](https://developers.google.com/workspace/chat/format-messages#messages-@mention)
+ * using the format `<users/{user}>`.
*
* * Custom hyperlinks using the format `<{url}|{rendered_text}>` where the
- * first string is the URL and the second is the rendered text—for example,
- * `<http://example.com|custom text>`.
+ * first string is the URL and the second is the rendered text—for example,
+ * `<http://example.com|custom text>`.
*
* * Custom emoji using the format `:{emoji_name}:`—for example, `:smile:`.
- * This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning
+ * This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning
* face emoji.
*
* For more information, see [View text formatting sent in a
- * message](https://developers.google.com/chat/format-messages#view_text_formatting_sent_in_a_message)
+ * message](https://developers.google.com/workspace/chat/format-messages#view_text_formatting_sent_in_a_message)
*
*
* string formatted_text = 43 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -4896,23 +4629,24 @@ public Builder setFormattedText(java.lang.String value) {
* but includes the following:
*
* * [Markup
- * syntax](https://developers.google.com/chat/format-messages)
- * for bold, italic, strikethrough, monospace, and monospace block.
+ * syntax](https://developers.google.com/workspace/chat/format-messages)
+ * for bold, italic, strikethrough, monospace, monospace block, and bulleted
+ * list.
*
* * [User
- * mentions](https://developers.google.com/chat/format-messages#messages-@mention)
- * using the format `<users/{user}>`.
+ * mentions](https://developers.google.com/workspace/chat/format-messages#messages-@mention)
+ * using the format `<users/{user}>`.
*
* * Custom hyperlinks using the format `<{url}|{rendered_text}>` where the
- * first string is the URL and the second is the rendered text—for example,
- * `<http://example.com|custom text>`.
+ * first string is the URL and the second is the rendered text—for example,
+ * `<http://example.com|custom text>`.
*
* * Custom emoji using the format `:{emoji_name}:`—for example, `:smile:`.
- * This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning
+ * This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning
* face emoji.
*
* For more information, see [View text formatting sent in a
- * message](https://developers.google.com/chat/format-messages#view_text_formatting_sent_in_a_message)
+ * message](https://developers.google.com/workspace/chat/format-messages#view_text_formatting_sent_in_a_message)
*
*
* string formatted_text = 43 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -4934,23 +4668,24 @@ public Builder clearFormattedText() {
* but includes the following:
*
* * [Markup
- * syntax](https://developers.google.com/chat/format-messages)
- * for bold, italic, strikethrough, monospace, and monospace block.
+ * syntax](https://developers.google.com/workspace/chat/format-messages)
+ * for bold, italic, strikethrough, monospace, monospace block, and bulleted
+ * list.
*
* * [User
- * mentions](https://developers.google.com/chat/format-messages#messages-@mention)
- * using the format `<users/{user}>`.
+ * mentions](https://developers.google.com/workspace/chat/format-messages#messages-@mention)
+ * using the format `<users/{user}>`.
*
* * Custom hyperlinks using the format `<{url}|{rendered_text}>` where the
- * first string is the URL and the second is the rendered text—for example,
- * `<http://example.com|custom text>`.
+ * first string is the URL and the second is the rendered text—for example,
+ * `<http://example.com|custom text>`.
*
* * Custom emoji using the format `:{emoji_name}:`—for example, `:smile:`.
- * This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning
+ * This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning
* face emoji.
*
* For more information, see [View text formatting sent in a
- * message](https://developers.google.com/chat/format-messages#view_text_formatting_sent_in_a_message)
+ * message](https://developers.google.com/workspace/chat/format-messages#view_text_formatting_sent_in_a_message)
*
*
* string formatted_text = 43 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -5465,15 +5200,14 @@ private void ensureCardsV2IsMutable() {
*
*
* An array of
- * [cards](https://developers.google.com/chat/api/reference/rest/v1/cards).
+ * [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards).
*
* Only Chat apps can create cards. If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the
- * messages can't contain cards.
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the messages can't contain cards.
*
- * To learn about cards and how to create them, see [Design dynamic,
- * interactive, and consistent UIs with
- * cards](https://developers.google.com/chat/ui).
+ * To learn about cards and how to create them, see [Send card
+ * messages](https://developers.google.com/workspace/chat/create-messages#create).
*
* [Card builder](https://addons.gsuite.google.com/uikit/builder)
*
@@ -5492,15 +5226,14 @@ public java.util.List
* An array of
- * [cards](https://developers.google.com/chat/api/reference/rest/v1/cards).
+ * [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards).
*
* Only Chat apps can create cards. If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the
- * messages can't contain cards.
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the messages can't contain cards.
*
- * To learn about cards and how to create them, see [Design dynamic,
- * interactive, and consistent UIs with
- * cards](https://developers.google.com/chat/ui).
+ * To learn about cards and how to create them, see [Send card
+ * messages](https://developers.google.com/workspace/chat/create-messages#create).
*
* [Card builder](https://addons.gsuite.google.com/uikit/builder)
*
@@ -5519,15 +5252,14 @@ public int getCardsV2Count() {
*
*
* An array of
- * [cards](https://developers.google.com/chat/api/reference/rest/v1/cards).
+ * [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards).
*
* Only Chat apps can create cards. If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the
- * messages can't contain cards.
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the messages can't contain cards.
*
- * To learn about cards and how to create them, see [Design dynamic,
- * interactive, and consistent UIs with
- * cards](https://developers.google.com/chat/ui).
+ * To learn about cards and how to create them, see [Send card
+ * messages](https://developers.google.com/workspace/chat/create-messages#create).
*
* [Card builder](https://addons.gsuite.google.com/uikit/builder)
*
@@ -5546,15 +5278,14 @@ public com.google.chat.v1.CardWithId getCardsV2(int index) {
*
*
* An array of
- * [cards](https://developers.google.com/chat/api/reference/rest/v1/cards).
+ * [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards).
*
* Only Chat apps can create cards. If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the
- * messages can't contain cards.
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the messages can't contain cards.
*
- * To learn about cards and how to create them, see [Design dynamic,
- * interactive, and consistent UIs with
- * cards](https://developers.google.com/chat/ui).
+ * To learn about cards and how to create them, see [Send card
+ * messages](https://developers.google.com/workspace/chat/create-messages#create).
*
* [Card builder](https://addons.gsuite.google.com/uikit/builder)
*
@@ -5579,15 +5310,14 @@ public Builder setCardsV2(int index, com.google.chat.v1.CardWithId value) {
*
*
* An array of
- * [cards](https://developers.google.com/chat/api/reference/rest/v1/cards).
+ * [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards).
*
* Only Chat apps can create cards. If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the
- * messages can't contain cards.
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the messages can't contain cards.
*
- * To learn about cards and how to create them, see [Design dynamic,
- * interactive, and consistent UIs with
- * cards](https://developers.google.com/chat/ui).
+ * To learn about cards and how to create them, see [Send card
+ * messages](https://developers.google.com/workspace/chat/create-messages#create).
*
* [Card builder](https://addons.gsuite.google.com/uikit/builder)
*
@@ -5609,15 +5339,14 @@ public Builder setCardsV2(int index, com.google.chat.v1.CardWithId.Builder build
*
*
* An array of
- * [cards](https://developers.google.com/chat/api/reference/rest/v1/cards).
+ * [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards).
*
* Only Chat apps can create cards. If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the
- * messages can't contain cards.
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the messages can't contain cards.
*
- * To learn about cards and how to create them, see [Design dynamic,
- * interactive, and consistent UIs with
- * cards](https://developers.google.com/chat/ui).
+ * To learn about cards and how to create them, see [Send card
+ * messages](https://developers.google.com/workspace/chat/create-messages#create).
*
* [Card builder](https://addons.gsuite.google.com/uikit/builder)
*
@@ -5642,15 +5371,14 @@ public Builder addCardsV2(com.google.chat.v1.CardWithId value) {
*
*
* An array of
- * [cards](https://developers.google.com/chat/api/reference/rest/v1/cards).
+ * [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards).
*
* Only Chat apps can create cards. If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the
- * messages can't contain cards.
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the messages can't contain cards.
*
- * To learn about cards and how to create them, see [Design dynamic,
- * interactive, and consistent UIs with
- * cards](https://developers.google.com/chat/ui).
+ * To learn about cards and how to create them, see [Send card
+ * messages](https://developers.google.com/workspace/chat/create-messages#create).
*
* [Card builder](https://addons.gsuite.google.com/uikit/builder)
*
@@ -5675,15 +5403,14 @@ public Builder addCardsV2(int index, com.google.chat.v1.CardWithId value) {
*
*
* An array of
- * [cards](https://developers.google.com/chat/api/reference/rest/v1/cards).
+ * [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards).
*
* Only Chat apps can create cards. If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the
- * messages can't contain cards.
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the messages can't contain cards.
*
- * To learn about cards and how to create them, see [Design dynamic,
- * interactive, and consistent UIs with
- * cards](https://developers.google.com/chat/ui).
+ * To learn about cards and how to create them, see [Send card
+ * messages](https://developers.google.com/workspace/chat/create-messages#create).
*
* [Card builder](https://addons.gsuite.google.com/uikit/builder)
*
@@ -5705,15 +5432,14 @@ public Builder addCardsV2(com.google.chat.v1.CardWithId.Builder builderForValue)
*
*
* An array of
- * [cards](https://developers.google.com/chat/api/reference/rest/v1/cards).
+ * [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards).
*
* Only Chat apps can create cards. If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the
- * messages can't contain cards.
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the messages can't contain cards.
*
- * To learn about cards and how to create them, see [Design dynamic,
- * interactive, and consistent UIs with
- * cards](https://developers.google.com/chat/ui).
+ * To learn about cards and how to create them, see [Send card
+ * messages](https://developers.google.com/workspace/chat/create-messages#create).
*
* [Card builder](https://addons.gsuite.google.com/uikit/builder)
*
@@ -5735,15 +5461,14 @@ public Builder addCardsV2(int index, com.google.chat.v1.CardWithId.Builder build
*
*
* An array of
- * [cards](https://developers.google.com/chat/api/reference/rest/v1/cards).
+ * [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards).
*
* Only Chat apps can create cards. If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the
- * messages can't contain cards.
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the messages can't contain cards.
*
- * To learn about cards and how to create them, see [Design dynamic,
- * interactive, and consistent UIs with
- * cards](https://developers.google.com/chat/ui).
+ * To learn about cards and how to create them, see [Send card
+ * messages](https://developers.google.com/workspace/chat/create-messages#create).
*
* [Card builder](https://addons.gsuite.google.com/uikit/builder)
*
@@ -5766,15 +5491,14 @@ public Builder addAllCardsV2(
*
*
* An array of
- * [cards](https://developers.google.com/chat/api/reference/rest/v1/cards).
+ * [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards).
*
* Only Chat apps can create cards. If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the
- * messages can't contain cards.
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the messages can't contain cards.
*
- * To learn about cards and how to create them, see [Design dynamic,
- * interactive, and consistent UIs with
- * cards](https://developers.google.com/chat/ui).
+ * To learn about cards and how to create them, see [Send card
+ * messages](https://developers.google.com/workspace/chat/create-messages#create).
*
* [Card builder](https://addons.gsuite.google.com/uikit/builder)
*
@@ -5796,15 +5520,14 @@ public Builder clearCardsV2() {
*
*
* An array of
- * [cards](https://developers.google.com/chat/api/reference/rest/v1/cards).
+ * [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards).
*
* Only Chat apps can create cards. If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the
- * messages can't contain cards.
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the messages can't contain cards.
*
- * To learn about cards and how to create them, see [Design dynamic,
- * interactive, and consistent UIs with
- * cards](https://developers.google.com/chat/ui).
+ * To learn about cards and how to create them, see [Send card
+ * messages](https://developers.google.com/workspace/chat/create-messages#create).
*
* [Card builder](https://addons.gsuite.google.com/uikit/builder)
*
@@ -5826,15 +5549,14 @@ public Builder removeCardsV2(int index) {
*
*
* An array of
- * [cards](https://developers.google.com/chat/api/reference/rest/v1/cards).
+ * [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards).
*
* Only Chat apps can create cards. If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the
- * messages can't contain cards.
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the messages can't contain cards.
*
- * To learn about cards and how to create them, see [Design dynamic,
- * interactive, and consistent UIs with
- * cards](https://developers.google.com/chat/ui).
+ * To learn about cards and how to create them, see [Send card
+ * messages](https://developers.google.com/workspace/chat/create-messages#create).
*
* [Card builder](https://addons.gsuite.google.com/uikit/builder)
*
@@ -5849,15 +5571,14 @@ public com.google.chat.v1.CardWithId.Builder getCardsV2Builder(int index) {
*
*
* An array of
- * [cards](https://developers.google.com/chat/api/reference/rest/v1/cards).
+ * [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards).
*
* Only Chat apps can create cards. If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the
- * messages can't contain cards.
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the messages can't contain cards.
*
- * To learn about cards and how to create them, see [Design dynamic,
- * interactive, and consistent UIs with
- * cards](https://developers.google.com/chat/ui).
+ * To learn about cards and how to create them, see [Send card
+ * messages](https://developers.google.com/workspace/chat/create-messages#create).
*
* [Card builder](https://addons.gsuite.google.com/uikit/builder)
*
@@ -5876,15 +5597,14 @@ public com.google.chat.v1.CardWithIdOrBuilder getCardsV2OrBuilder(int index) {
*
*
* An array of
- * [cards](https://developers.google.com/chat/api/reference/rest/v1/cards).
+ * [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards).
*
* Only Chat apps can create cards. If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the
- * messages can't contain cards.
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the messages can't contain cards.
*
- * To learn about cards and how to create them, see [Design dynamic,
- * interactive, and consistent UIs with
- * cards](https://developers.google.com/chat/ui).
+ * To learn about cards and how to create them, see [Send card
+ * messages](https://developers.google.com/workspace/chat/create-messages#create).
*
* [Card builder](https://addons.gsuite.google.com/uikit/builder)
*
@@ -5904,15 +5624,14 @@ public com.google.chat.v1.CardWithIdOrBuilder getCardsV2OrBuilder(int index) {
*
*
* An array of
- * [cards](https://developers.google.com/chat/api/reference/rest/v1/cards).
+ * [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards).
*
* Only Chat apps can create cards. If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the
- * messages can't contain cards.
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the messages can't contain cards.
*
- * To learn about cards and how to create them, see [Design dynamic,
- * interactive, and consistent UIs with
- * cards](https://developers.google.com/chat/ui).
+ * To learn about cards and how to create them, see [Send card
+ * messages](https://developers.google.com/workspace/chat/create-messages#create).
*
* [Card builder](https://addons.gsuite.google.com/uikit/builder)
*
@@ -5928,15 +5647,14 @@ public com.google.chat.v1.CardWithId.Builder addCardsV2Builder() {
*
*
* An array of
- * [cards](https://developers.google.com/chat/api/reference/rest/v1/cards).
+ * [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards).
*
* Only Chat apps can create cards. If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the
- * messages can't contain cards.
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the messages can't contain cards.
*
- * To learn about cards and how to create them, see [Design dynamic,
- * interactive, and consistent UIs with
- * cards](https://developers.google.com/chat/ui).
+ * To learn about cards and how to create them, see [Send card
+ * messages](https://developers.google.com/workspace/chat/create-messages#create).
*
* [Card builder](https://addons.gsuite.google.com/uikit/builder)
*
@@ -5952,15 +5670,14 @@ public com.google.chat.v1.CardWithId.Builder addCardsV2Builder(int index) {
*
*
* An array of
- * [cards](https://developers.google.com/chat/api/reference/rest/v1/cards).
+ * [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards).
*
* Only Chat apps can create cards. If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the
- * messages can't contain cards.
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the messages can't contain cards.
*
- * To learn about cards and how to create them, see [Design dynamic,
- * interactive, and consistent UIs with
- * cards](https://developers.google.com/chat/ui).
+ * To learn about cards and how to create them, see [Send card
+ * messages](https://developers.google.com/workspace/chat/create-messages#create).
*
* [Card builder](https://addons.gsuite.google.com/uikit/builder)
*
@@ -6384,7 +6101,7 @@ public java.util.List
* The thread the message belongs to. For example usage, see
* [Start or reply to a message
- * thread](https://developers.google.com/chat/api/guides/v1/messages/create#create-message-thread).
+ * thread](https://developers.google.com/workspace/chat/create-messages#create-message-thread).
*
*
* .google.chat.v1.Thread thread = 11;
@@ -6400,7 +6117,7 @@ public boolean hasThread() {
*
* The thread the message belongs to. For example usage, see
* [Start or reply to a message
- * thread](https://developers.google.com/chat/api/guides/v1/messages/create#create-message-thread).
+ * thread](https://developers.google.com/workspace/chat/create-messages#create-message-thread).
*
*
* .google.chat.v1.Thread thread = 11;
@@ -6420,7 +6137,7 @@ public com.google.chat.v1.Thread getThread() {
*
* The thread the message belongs to. For example usage, see
* [Start or reply to a message
- * thread](https://developers.google.com/chat/api/guides/v1/messages/create#create-message-thread).
+ * thread](https://developers.google.com/workspace/chat/create-messages#create-message-thread).
*
*
* .google.chat.v1.Thread thread = 11;
@@ -6444,7 +6161,7 @@ public Builder setThread(com.google.chat.v1.Thread value) {
*
* The thread the message belongs to. For example usage, see
* [Start or reply to a message
- * thread](https://developers.google.com/chat/api/guides/v1/messages/create#create-message-thread).
+ * thread](https://developers.google.com/workspace/chat/create-messages#create-message-thread).
*
*
* .google.chat.v1.Thread thread = 11;
@@ -6465,7 +6182,7 @@ public Builder setThread(com.google.chat.v1.Thread.Builder builderForValue) {
*
* The thread the message belongs to. For example usage, see
* [Start or reply to a message
- * thread](https://developers.google.com/chat/api/guides/v1/messages/create#create-message-thread).
+ * thread](https://developers.google.com/workspace/chat/create-messages#create-message-thread).
*
*
* .google.chat.v1.Thread thread = 11;
@@ -6494,7 +6211,7 @@ public Builder mergeThread(com.google.chat.v1.Thread value) {
*
* The thread the message belongs to. For example usage, see
* [Start or reply to a message
- * thread](https://developers.google.com/chat/api/guides/v1/messages/create#create-message-thread).
+ * thread](https://developers.google.com/workspace/chat/create-messages#create-message-thread).
*
*
* .google.chat.v1.Thread thread = 11;
@@ -6515,7 +6232,7 @@ public Builder clearThread() {
*
* The thread the message belongs to. For example usage, see
* [Start or reply to a message
- * thread](https://developers.google.com/chat/api/guides/v1/messages/create#create-message-thread).
+ * thread](https://developers.google.com/workspace/chat/create-messages#create-message-thread).
*
*
* .google.chat.v1.Thread thread = 11;
@@ -6531,7 +6248,7 @@ public com.google.chat.v1.Thread.Builder getThreadBuilder() {
*
* The thread the message belongs to. For example usage, see
* [Start or reply to a message
- * thread](https://developers.google.com/chat/api/guides/v1/messages/create#create-message-thread).
+ * thread](https://developers.google.com/workspace/chat/create-messages#create-message-thread).
*
*
* .google.chat.v1.Thread thread = 11;
@@ -6549,7 +6266,7 @@ public com.google.chat.v1.ThreadOrBuilder getThreadOrBuilder() {
*
* The thread the message belongs to. For example usage, see
* [Start or reply to a message
- * thread](https://developers.google.com/chat/api/guides/v1/messages/create#create-message-thread).
+ * thread](https://developers.google.com/workspace/chat/create-messages#create-message-thread).
*
*
* .google.chat.v1.Thread thread = 11;
@@ -6581,9 +6298,9 @@ public com.google.chat.v1.ThreadOrBuilder getThreadOrBuilder() {
*
*
* If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the output
- * populates the
- * [space](https://developers.google.com/chat/api/reference/rest/v1/spaces)
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the output populates the
+ * [space](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces)
* `name`.
*
*
@@ -6599,9 +6316,9 @@ public boolean hasSpace() {
*
*
* If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the output
- * populates the
- * [space](https://developers.google.com/chat/api/reference/rest/v1/spaces)
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the output populates the
+ * [space](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces)
* `name`.
*
*
@@ -6621,9 +6338,9 @@ public com.google.chat.v1.Space getSpace() {
*
*
* If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the output
- * populates the
- * [space](https://developers.google.com/chat/api/reference/rest/v1/spaces)
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the output populates the
+ * [space](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces)
* `name`.
*
*
@@ -6647,9 +6364,9 @@ public Builder setSpace(com.google.chat.v1.Space value) {
*
*
* If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the output
- * populates the
- * [space](https://developers.google.com/chat/api/reference/rest/v1/spaces)
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the output populates the
+ * [space](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces)
* `name`.
*
*
@@ -6670,9 +6387,9 @@ public Builder setSpace(com.google.chat.v1.Space.Builder builderForValue) {
*
*
* If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the output
- * populates the
- * [space](https://developers.google.com/chat/api/reference/rest/v1/spaces)
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the output populates the
+ * [space](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces)
* `name`.
*
*
@@ -6701,9 +6418,9 @@ public Builder mergeSpace(com.google.chat.v1.Space value) {
*
*
* If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the output
- * populates the
- * [space](https://developers.google.com/chat/api/reference/rest/v1/spaces)
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the output populates the
+ * [space](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces)
* `name`.
*
*
@@ -6724,9 +6441,9 @@ public Builder clearSpace() {
*
*
* If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the output
- * populates the
- * [space](https://developers.google.com/chat/api/reference/rest/v1/spaces)
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the output populates the
+ * [space](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces)
* `name`.
*
*
@@ -6742,9 +6459,9 @@ public com.google.chat.v1.Space.Builder getSpaceBuilder() {
*
*
* If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the output
- * populates the
- * [space](https://developers.google.com/chat/api/reference/rest/v1/spaces)
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the output populates the
+ * [space](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces)
* `name`.
*
*
@@ -6762,9 +6479,9 @@ public com.google.chat.v1.SpaceOrBuilder getSpaceOrBuilder() {
*
*
* If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the output
- * populates the
- * [space](https://developers.google.com/chat/api/reference/rest/v1/spaces)
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the output populates the
+ * [space](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces)
* `name`.
*
*
@@ -7781,7 +7498,7 @@ public java.util.List
* Output only. A URL in `spaces.messages.text` that matches a link preview
* pattern. For more information, see [Preview
- * links](https://developers.google.com/chat/how-tos/preview-links).
+ * links](https://developers.google.com/workspace/chat/preview-links).
*
*
*
@@ -7799,7 +7516,7 @@ public boolean hasMatchedUrl() {
*
* Output only. A URL in `spaces.messages.text` that matches a link preview
* pattern. For more information, see [Preview
- * links](https://developers.google.com/chat/how-tos/preview-links).
+ * links](https://developers.google.com/workspace/chat/preview-links).
*
*
*
@@ -7823,7 +7540,7 @@ public com.google.chat.v1.MatchedUrl getMatchedUrl() {
*
* Output only. A URL in `spaces.messages.text` that matches a link preview
* pattern. For more information, see [Preview
- * links](https://developers.google.com/chat/how-tos/preview-links).
+ * links](https://developers.google.com/workspace/chat/preview-links).
*
*
*
@@ -7849,7 +7566,7 @@ public Builder setMatchedUrl(com.google.chat.v1.MatchedUrl value) {
*
* Output only. A URL in `spaces.messages.text` that matches a link preview
* pattern. For more information, see [Preview
- * links](https://developers.google.com/chat/how-tos/preview-links).
+ * links](https://developers.google.com/workspace/chat/preview-links).
*
*
*
@@ -7872,7 +7589,7 @@ public Builder setMatchedUrl(com.google.chat.v1.MatchedUrl.Builder builderForVal
*
* Output only. A URL in `spaces.messages.text` that matches a link preview
* pattern. For more information, see [Preview
- * links](https://developers.google.com/chat/how-tos/preview-links).
+ * links](https://developers.google.com/workspace/chat/preview-links).
*
*
*
@@ -7903,7 +7620,7 @@ public Builder mergeMatchedUrl(com.google.chat.v1.MatchedUrl value) {
*
* Output only. A URL in `spaces.messages.text` that matches a link preview
* pattern. For more information, see [Preview
- * links](https://developers.google.com/chat/how-tos/preview-links).
+ * links](https://developers.google.com/workspace/chat/preview-links).
*
*
*
@@ -7926,7 +7643,7 @@ public Builder clearMatchedUrl() {
*
* Output only. A URL in `spaces.messages.text` that matches a link preview
* pattern. For more information, see [Preview
- * links](https://developers.google.com/chat/how-tos/preview-links).
+ * links](https://developers.google.com/workspace/chat/preview-links).
*
*
*
@@ -7944,7 +7661,7 @@ public com.google.chat.v1.MatchedUrl.Builder getMatchedUrlBuilder() {
*
* Output only. A URL in `spaces.messages.text` that matches a link preview
* pattern. For more information, see [Preview
- * links](https://developers.google.com/chat/how-tos/preview-links).
+ * links](https://developers.google.com/workspace/chat/preview-links).
*
*
*
@@ -7966,7 +7683,7 @@ public com.google.chat.v1.MatchedUrlOrBuilder getMatchedUrlOrBuilder() {
*
* Output only. A URL in `spaces.messages.text` that matches a link preview
* pattern. For more information, see [Preview
- * links](https://developers.google.com/chat/how-tos/preview-links).
+ * links](https://developers.google.com/workspace/chat/preview-links).
*
*
*
@@ -8066,9 +7783,9 @@ public Builder clearThreadReply() {
* Optional. A custom ID for the message. You can use field to identify a
* message, or to get, delete, or update a message. To set a custom ID,
* specify the
- * [`messageId`](https://developers.google.com/chat/api/reference/rest/v1/spaces.messages/create#body.QUERY_PARAMETERS.message_id)
+ * [`messageId`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages/create#body.QUERY_PARAMETERS.message_id)
* field when you create the message. For details, see [Name a
- * message](https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).
+ * message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message).
*
*
*
string client_assigned_message_id = 32;
@@ -8093,9 +7810,9 @@ public java.lang.String getClientAssignedMessageId() {
* Optional. A custom ID for the message. You can use field to identify a
* message, or to get, delete, or update a message. To set a custom ID,
* specify the
- * [`messageId`](https://developers.google.com/chat/api/reference/rest/v1/spaces.messages/create#body.QUERY_PARAMETERS.message_id)
+ * [`messageId`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages/create#body.QUERY_PARAMETERS.message_id)
* field when you create the message. For details, see [Name a
- * message](https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).
+ * message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message).
*
*
* string client_assigned_message_id = 32;
@@ -8120,9 +7837,9 @@ public com.google.protobuf.ByteString getClientAssignedMessageIdBytes() {
* Optional. A custom ID for the message. You can use field to identify a
* message, or to get, delete, or update a message. To set a custom ID,
* specify the
- * [`messageId`](https://developers.google.com/chat/api/reference/rest/v1/spaces.messages/create#body.QUERY_PARAMETERS.message_id)
+ * [`messageId`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages/create#body.QUERY_PARAMETERS.message_id)
* field when you create the message. For details, see [Name a
- * message](https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).
+ * message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message).
*
*
* string client_assigned_message_id = 32;
@@ -8146,9 +7863,9 @@ public Builder setClientAssignedMessageId(java.lang.String value) {
* Optional. A custom ID for the message. You can use field to identify a
* message, or to get, delete, or update a message. To set a custom ID,
* specify the
- * [`messageId`](https://developers.google.com/chat/api/reference/rest/v1/spaces.messages/create#body.QUERY_PARAMETERS.message_id)
+ * [`messageId`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages/create#body.QUERY_PARAMETERS.message_id)
* field when you create the message. For details, see [Name a
- * message](https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).
+ * message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message).
*
*
* string client_assigned_message_id = 32;
@@ -8168,9 +7885,9 @@ public Builder clearClientAssignedMessageId() {
* Optional. A custom ID for the message. You can use field to identify a
* message, or to get, delete, or update a message. To set a custom ID,
* specify the
- * [`messageId`](https://developers.google.com/chat/api/reference/rest/v1/spaces.messages/create#body.QUERY_PARAMETERS.message_id)
+ * [`messageId`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages/create#body.QUERY_PARAMETERS.message_id)
* field when you create the message. For details, see [Name a
- * message](https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).
+ * message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message).
*
*
* string client_assigned_message_id = 32;
@@ -8601,11 +8318,12 @@ public com.google.chat.v1.EmojiReactionSummary.Builder addEmojiReactionSummaries
* attachments aren't supported for private messages.
*
* Only Chat apps can send private messages. If your Chat app [authenticates
- * as a user](https://developers.google.com/chat/api/guides/auth/users) to
- * send a message, the message can't be private and must omit this field.
+ * as a
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * to send a message, the message can't be private and must omit this field.
*
* For details, see [Send private messages to Google Chat
- * users](https://developers.google.com/chat/api/guides/v1/messages/private).
+ * users](https://developers.google.com/workspace/chat/private-messages).
*
*
*
@@ -8627,11 +8345,12 @@ public boolean hasPrivateMessageViewer() {
* attachments aren't supported for private messages.
*
* Only Chat apps can send private messages. If your Chat app [authenticates
- * as a user](https://developers.google.com/chat/api/guides/auth/users) to
- * send a message, the message can't be private and must omit this field.
+ * as a
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * to send a message, the message can't be private and must omit this field.
*
* For details, see [Send private messages to Google Chat
- * users](https://developers.google.com/chat/api/guides/v1/messages/private).
+ * users](https://developers.google.com/workspace/chat/private-messages).
*
*
*
@@ -8659,11 +8378,12 @@ public com.google.chat.v1.User getPrivateMessageViewer() {
* attachments aren't supported for private messages.
*
* Only Chat apps can send private messages. If your Chat app [authenticates
- * as a user](https://developers.google.com/chat/api/guides/auth/users) to
- * send a message, the message can't be private and must omit this field.
+ * as a
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * to send a message, the message can't be private and must omit this field.
*
* For details, see [Send private messages to Google Chat
- * users](https://developers.google.com/chat/api/guides/v1/messages/private).
+ * users](https://developers.google.com/workspace/chat/private-messages).
*
*
*
@@ -8693,11 +8413,12 @@ public Builder setPrivateMessageViewer(com.google.chat.v1.User value) {
* attachments aren't supported for private messages.
*
* Only Chat apps can send private messages. If your Chat app [authenticates
- * as a user](https://developers.google.com/chat/api/guides/auth/users) to
- * send a message, the message can't be private and must omit this field.
+ * as a
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * to send a message, the message can't be private and must omit this field.
*
* For details, see [Send private messages to Google Chat
- * users](https://developers.google.com/chat/api/guides/v1/messages/private).
+ * users](https://developers.google.com/workspace/chat/private-messages).
*
*
*
@@ -8724,11 +8445,12 @@ public Builder setPrivateMessageViewer(com.google.chat.v1.User.Builder builderFo
* attachments aren't supported for private messages.
*
* Only Chat apps can send private messages. If your Chat app [authenticates
- * as a user](https://developers.google.com/chat/api/guides/auth/users) to
- * send a message, the message can't be private and must omit this field.
+ * as a
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * to send a message, the message can't be private and must omit this field.
*
* For details, see [Send private messages to Google Chat
- * users](https://developers.google.com/chat/api/guides/v1/messages/private).
+ * users](https://developers.google.com/workspace/chat/private-messages).
*
*
*
@@ -8763,11 +8485,12 @@ public Builder mergePrivateMessageViewer(com.google.chat.v1.User value) {
* attachments aren't supported for private messages.
*
* Only Chat apps can send private messages. If your Chat app [authenticates
- * as a user](https://developers.google.com/chat/api/guides/auth/users) to
- * send a message, the message can't be private and must omit this field.
+ * as a
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * to send a message, the message can't be private and must omit this field.
*
* For details, see [Send private messages to Google Chat
- * users](https://developers.google.com/chat/api/guides/v1/messages/private).
+ * users](https://developers.google.com/workspace/chat/private-messages).
*
*
*
@@ -8794,11 +8517,12 @@ public Builder clearPrivateMessageViewer() {
* attachments aren't supported for private messages.
*
* Only Chat apps can send private messages. If your Chat app [authenticates
- * as a user](https://developers.google.com/chat/api/guides/auth/users) to
- * send a message, the message can't be private and must omit this field.
+ * as a
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * to send a message, the message can't be private and must omit this field.
*
* For details, see [Send private messages to Google Chat
- * users](https://developers.google.com/chat/api/guides/v1/messages/private).
+ * users](https://developers.google.com/workspace/chat/private-messages).
*
*
*
@@ -8820,11 +8544,12 @@ public com.google.chat.v1.User.Builder getPrivateMessageViewerBuilder() {
* attachments aren't supported for private messages.
*
* Only Chat apps can send private messages. If your Chat app [authenticates
- * as a user](https://developers.google.com/chat/api/guides/auth/users) to
- * send a message, the message can't be private and must omit this field.
+ * as a
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * to send a message, the message can't be private and must omit this field.
*
* For details, see [Send private messages to Google Chat
- * users](https://developers.google.com/chat/api/guides/v1/messages/private).
+ * users](https://developers.google.com/workspace/chat/private-messages).
*
*
*
*
- * @deprecated google.chat.v1.Space.type is deprecated. See google/chat/v1/space.proto;l=110
+ * @deprecated google.chat.v1.Space.type is deprecated. See google/chat/v1/space.proto;l=111
* @return The type.
*/
@java.lang.Deprecated
@@ -139,7 +139,7 @@ public interface SpaceOrBuilder
*
*
@@ -8850,11 +8575,12 @@ public com.google.chat.v1.UserOrBuilder getPrivateMessageViewerOrBuilder() {
* attachments aren't supported for private messages.
*
* Only Chat apps can send private messages. If your Chat app [authenticates
- * as a user](https://developers.google.com/chat/api/guides/auth/users) to
- * send a message, the message can't be private and must omit this field.
+ * as a
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * to send a message, the message can't be private and must omit this field.
*
* For details, see [Send private messages to Google Chat
- * users](https://developers.google.com/chat/api/guides/v1/messages/private).
+ * users](https://developers.google.com/workspace/chat/private-messages).
*
*
*
*
- * @deprecated google.chat.v1.Space.type is deprecated. See google/chat/v1/space.proto;l=110
+ * @deprecated google.chat.v1.Space.type is deprecated. See google/chat/v1/space.proto;l=111
* @return The enum numeric value on the wire for type.
*/
@java.lang.Deprecated
@@ -82,7 +82,7 @@ public interface SpaceOrBuilder
* .google.chat.v1.Space.Type type = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
*
@@ -9712,67 +9438,13 @@ private void ensureAccessoryWidgetsIsMutable() {
*
*
- * @deprecated google.chat.v1.Space.type is deprecated. See google/chat/v1/space.proto;l=110
+ * @deprecated google.chat.v1.Space.type is deprecated. See google/chat/v1/space.proto;l=111
* @return This builder for chaining.
*/
@java.lang.Deprecated
@@ -3024,7 +3045,7 @@ public Builder clearSingleUserBotDm() {
*
* One or more interactive widgets that appear at the bottom of a message.
* You can add accessory widgets to messages that contain text, cards, or both
- * text and cards. Not supported for messages that contain dialogs.
+ * text and cards. Not supported for messages that contain dialogs. For
+ * details, see [Add interactive widgets at the bottom of a
+ * message](https://developers.google.com/workspace/chat/create-messages#add-accessory-widgets).
*
* Creating a message with accessory widgets requires [app
* authentication]
- * (https://developers.google.com/chat/api/guides/auth/service-accounts).
- *
- * The following example shows a Chat app that uses accessory widgets (thumbs
- * up and thumbs down buttons) in a text message:
- *
- * ![Example accessory widgets
- * message](https://developers.google.com/chat/images/message-accessory-widgets-reference.png)
- *
- * The JSON for this example message is the following:
- *
- * ```
- * {
- * "text": "Rate your experience with this Chat app.",
- * "accessoryWidgets": [
- * {
- * "buttonList": {
- * "buttons": [
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_up"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doUpvote",
- * }
- * }
- * },
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_down"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doDownvote",
- * }
- * }
- * }
- * ]
- * }
- * }
- * ]
- * }
- * ```
+ * (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
*
*
* repeated .google.chat.v1.AccessoryWidget accessory_widgets = 44;
@@ -9790,67 +9462,13 @@ public java.util.List
* One or more interactive widgets that appear at the bottom of a message.
* You can add accessory widgets to messages that contain text, cards, or both
- * text and cards. Not supported for messages that contain dialogs.
+ * text and cards. Not supported for messages that contain dialogs. For
+ * details, see [Add interactive widgets at the bottom of a
+ * message](https://developers.google.com/workspace/chat/create-messages#add-accessory-widgets).
*
* Creating a message with accessory widgets requires [app
* authentication]
- * (https://developers.google.com/chat/api/guides/auth/service-accounts).
- *
- * The following example shows a Chat app that uses accessory widgets (thumbs
- * up and thumbs down buttons) in a text message:
- *
- * ![Example accessory widgets
- * message](https://developers.google.com/chat/images/message-accessory-widgets-reference.png)
- *
- * The JSON for this example message is the following:
- *
- * ```
- * {
- * "text": "Rate your experience with this Chat app.",
- * "accessoryWidgets": [
- * {
- * "buttonList": {
- * "buttons": [
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_up"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doUpvote",
- * }
- * }
- * },
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_down"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doDownvote",
- * }
- * }
- * }
- * ]
- * }
- * }
- * ]
- * }
- * ```
+ * (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
*
*
* repeated .google.chat.v1.AccessoryWidget accessory_widgets = 44;
@@ -9868,67 +9486,13 @@ public int getAccessoryWidgetsCount() {
*
* One or more interactive widgets that appear at the bottom of a message.
* You can add accessory widgets to messages that contain text, cards, or both
- * text and cards. Not supported for messages that contain dialogs.
+ * text and cards. Not supported for messages that contain dialogs. For
+ * details, see [Add interactive widgets at the bottom of a
+ * message](https://developers.google.com/workspace/chat/create-messages#add-accessory-widgets).
*
* Creating a message with accessory widgets requires [app
* authentication]
- * (https://developers.google.com/chat/api/guides/auth/service-accounts).
- *
- * The following example shows a Chat app that uses accessory widgets (thumbs
- * up and thumbs down buttons) in a text message:
- *
- * ![Example accessory widgets
- * message](https://developers.google.com/chat/images/message-accessory-widgets-reference.png)
- *
- * The JSON for this example message is the following:
- *
- * ```
- * {
- * "text": "Rate your experience with this Chat app.",
- * "accessoryWidgets": [
- * {
- * "buttonList": {
- * "buttons": [
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_up"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doUpvote",
- * }
- * }
- * },
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_down"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doDownvote",
- * }
- * }
- * }
- * ]
- * }
- * }
- * ]
- * }
- * ```
+ * (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
*
*
* repeated .google.chat.v1.AccessoryWidget accessory_widgets = 44;
@@ -9946,67 +9510,13 @@ public com.google.chat.v1.AccessoryWidget getAccessoryWidgets(int index) {
*
* One or more interactive widgets that appear at the bottom of a message.
* You can add accessory widgets to messages that contain text, cards, or both
- * text and cards. Not supported for messages that contain dialogs.
+ * text and cards. Not supported for messages that contain dialogs. For
+ * details, see [Add interactive widgets at the bottom of a
+ * message](https://developers.google.com/workspace/chat/create-messages#add-accessory-widgets).
*
* Creating a message with accessory widgets requires [app
* authentication]
- * (https://developers.google.com/chat/api/guides/auth/service-accounts).
- *
- * The following example shows a Chat app that uses accessory widgets (thumbs
- * up and thumbs down buttons) in a text message:
- *
- * ![Example accessory widgets
- * message](https://developers.google.com/chat/images/message-accessory-widgets-reference.png)
- *
- * The JSON for this example message is the following:
- *
- * ```
- * {
- * "text": "Rate your experience with this Chat app.",
- * "accessoryWidgets": [
- * {
- * "buttonList": {
- * "buttons": [
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_up"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doUpvote",
- * }
- * }
- * },
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_down"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doDownvote",
- * }
- * }
- * }
- * ]
- * }
- * }
- * ]
- * }
- * ```
+ * (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
*
*
* repeated .google.chat.v1.AccessoryWidget accessory_widgets = 44;
@@ -10030,67 +9540,13 @@ public Builder setAccessoryWidgets(int index, com.google.chat.v1.AccessoryWidget
*
* One or more interactive widgets that appear at the bottom of a message.
* You can add accessory widgets to messages that contain text, cards, or both
- * text and cards. Not supported for messages that contain dialogs.
+ * text and cards. Not supported for messages that contain dialogs. For
+ * details, see [Add interactive widgets at the bottom of a
+ * message](https://developers.google.com/workspace/chat/create-messages#add-accessory-widgets).
*
* Creating a message with accessory widgets requires [app
* authentication]
- * (https://developers.google.com/chat/api/guides/auth/service-accounts).
- *
- * The following example shows a Chat app that uses accessory widgets (thumbs
- * up and thumbs down buttons) in a text message:
- *
- * ![Example accessory widgets
- * message](https://developers.google.com/chat/images/message-accessory-widgets-reference.png)
- *
- * The JSON for this example message is the following:
- *
- * ```
- * {
- * "text": "Rate your experience with this Chat app.",
- * "accessoryWidgets": [
- * {
- * "buttonList": {
- * "buttons": [
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_up"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doUpvote",
- * }
- * }
- * },
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_down"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doDownvote",
- * }
- * }
- * }
- * ]
- * }
- * }
- * ]
- * }
- * ```
+ * (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
*
*
* repeated .google.chat.v1.AccessoryWidget accessory_widgets = 44;
@@ -10112,67 +9568,13 @@ public Builder setAccessoryWidgets(
*
* One or more interactive widgets that appear at the bottom of a message.
* You can add accessory widgets to messages that contain text, cards, or both
- * text and cards. Not supported for messages that contain dialogs.
+ * text and cards. Not supported for messages that contain dialogs. For
+ * details, see [Add interactive widgets at the bottom of a
+ * message](https://developers.google.com/workspace/chat/create-messages#add-accessory-widgets).
*
* Creating a message with accessory widgets requires [app
* authentication]
- * (https://developers.google.com/chat/api/guides/auth/service-accounts).
- *
- * The following example shows a Chat app that uses accessory widgets (thumbs
- * up and thumbs down buttons) in a text message:
- *
- * ![Example accessory widgets
- * message](https://developers.google.com/chat/images/message-accessory-widgets-reference.png)
- *
- * The JSON for this example message is the following:
- *
- * ```
- * {
- * "text": "Rate your experience with this Chat app.",
- * "accessoryWidgets": [
- * {
- * "buttonList": {
- * "buttons": [
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_up"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doUpvote",
- * }
- * }
- * },
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_down"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doDownvote",
- * }
- * }
- * }
- * ]
- * }
- * }
- * ]
- * }
- * ```
+ * (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
*
*
* repeated .google.chat.v1.AccessoryWidget accessory_widgets = 44;
@@ -10196,67 +9598,13 @@ public Builder addAccessoryWidgets(com.google.chat.v1.AccessoryWidget value) {
*
* One or more interactive widgets that appear at the bottom of a message.
* You can add accessory widgets to messages that contain text, cards, or both
- * text and cards. Not supported for messages that contain dialogs.
+ * text and cards. Not supported for messages that contain dialogs. For
+ * details, see [Add interactive widgets at the bottom of a
+ * message](https://developers.google.com/workspace/chat/create-messages#add-accessory-widgets).
*
* Creating a message with accessory widgets requires [app
* authentication]
- * (https://developers.google.com/chat/api/guides/auth/service-accounts).
- *
- * The following example shows a Chat app that uses accessory widgets (thumbs
- * up and thumbs down buttons) in a text message:
- *
- * ![Example accessory widgets
- * message](https://developers.google.com/chat/images/message-accessory-widgets-reference.png)
- *
- * The JSON for this example message is the following:
- *
- * ```
- * {
- * "text": "Rate your experience with this Chat app.",
- * "accessoryWidgets": [
- * {
- * "buttonList": {
- * "buttons": [
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_up"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doUpvote",
- * }
- * }
- * },
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_down"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doDownvote",
- * }
- * }
- * }
- * ]
- * }
- * }
- * ]
- * }
- * ```
+ * (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
*
*
* repeated .google.chat.v1.AccessoryWidget accessory_widgets = 44;
@@ -10280,67 +9628,13 @@ public Builder addAccessoryWidgets(int index, com.google.chat.v1.AccessoryWidget
*
* One or more interactive widgets that appear at the bottom of a message.
* You can add accessory widgets to messages that contain text, cards, or both
- * text and cards. Not supported for messages that contain dialogs.
+ * text and cards. Not supported for messages that contain dialogs. For
+ * details, see [Add interactive widgets at the bottom of a
+ * message](https://developers.google.com/workspace/chat/create-messages#add-accessory-widgets).
*
* Creating a message with accessory widgets requires [app
* authentication]
- * (https://developers.google.com/chat/api/guides/auth/service-accounts).
- *
- * The following example shows a Chat app that uses accessory widgets (thumbs
- * up and thumbs down buttons) in a text message:
- *
- * ![Example accessory widgets
- * message](https://developers.google.com/chat/images/message-accessory-widgets-reference.png)
- *
- * The JSON for this example message is the following:
- *
- * ```
- * {
- * "text": "Rate your experience with this Chat app.",
- * "accessoryWidgets": [
- * {
- * "buttonList": {
- * "buttons": [
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_up"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doUpvote",
- * }
- * }
- * },
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_down"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doDownvote",
- * }
- * }
- * }
- * ]
- * }
- * }
- * ]
- * }
- * ```
+ * (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
*
*
* repeated .google.chat.v1.AccessoryWidget accessory_widgets = 44;
@@ -10361,67 +9655,13 @@ public Builder addAccessoryWidgets(com.google.chat.v1.AccessoryWidget.Builder bu
*
* One or more interactive widgets that appear at the bottom of a message.
* You can add accessory widgets to messages that contain text, cards, or both
- * text and cards. Not supported for messages that contain dialogs.
+ * text and cards. Not supported for messages that contain dialogs. For
+ * details, see [Add interactive widgets at the bottom of a
+ * message](https://developers.google.com/workspace/chat/create-messages#add-accessory-widgets).
*
* Creating a message with accessory widgets requires [app
* authentication]
- * (https://developers.google.com/chat/api/guides/auth/service-accounts).
- *
- * The following example shows a Chat app that uses accessory widgets (thumbs
- * up and thumbs down buttons) in a text message:
- *
- * ![Example accessory widgets
- * message](https://developers.google.com/chat/images/message-accessory-widgets-reference.png)
- *
- * The JSON for this example message is the following:
- *
- * ```
- * {
- * "text": "Rate your experience with this Chat app.",
- * "accessoryWidgets": [
- * {
- * "buttonList": {
- * "buttons": [
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_up"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doUpvote",
- * }
- * }
- * },
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_down"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doDownvote",
- * }
- * }
- * }
- * ]
- * }
- * }
- * ]
- * }
- * ```
+ * (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
*
*
* repeated .google.chat.v1.AccessoryWidget accessory_widgets = 44;
@@ -10443,67 +9683,13 @@ public Builder addAccessoryWidgets(
*
* One or more interactive widgets that appear at the bottom of a message.
* You can add accessory widgets to messages that contain text, cards, or both
- * text and cards. Not supported for messages that contain dialogs.
+ * text and cards. Not supported for messages that contain dialogs. For
+ * details, see [Add interactive widgets at the bottom of a
+ * message](https://developers.google.com/workspace/chat/create-messages#add-accessory-widgets).
*
* Creating a message with accessory widgets requires [app
* authentication]
- * (https://developers.google.com/chat/api/guides/auth/service-accounts).
- *
- * The following example shows a Chat app that uses accessory widgets (thumbs
- * up and thumbs down buttons) in a text message:
- *
- * ![Example accessory widgets
- * message](https://developers.google.com/chat/images/message-accessory-widgets-reference.png)
- *
- * The JSON for this example message is the following:
- *
- * ```
- * {
- * "text": "Rate your experience with this Chat app.",
- * "accessoryWidgets": [
- * {
- * "buttonList": {
- * "buttons": [
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_up"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doUpvote",
- * }
- * }
- * },
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_down"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doDownvote",
- * }
- * }
- * }
- * ]
- * }
- * }
- * ]
- * }
- * ```
+ * (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
*
*
* repeated .google.chat.v1.AccessoryWidget accessory_widgets = 44;
@@ -10525,67 +9711,13 @@ public Builder addAllAccessoryWidgets(
*
* One or more interactive widgets that appear at the bottom of a message.
* You can add accessory widgets to messages that contain text, cards, or both
- * text and cards. Not supported for messages that contain dialogs.
+ * text and cards. Not supported for messages that contain dialogs. For
+ * details, see [Add interactive widgets at the bottom of a
+ * message](https://developers.google.com/workspace/chat/create-messages#add-accessory-widgets).
*
* Creating a message with accessory widgets requires [app
* authentication]
- * (https://developers.google.com/chat/api/guides/auth/service-accounts).
- *
- * The following example shows a Chat app that uses accessory widgets (thumbs
- * up and thumbs down buttons) in a text message:
- *
- * ![Example accessory widgets
- * message](https://developers.google.com/chat/images/message-accessory-widgets-reference.png)
- *
- * The JSON for this example message is the following:
- *
- * ```
- * {
- * "text": "Rate your experience with this Chat app.",
- * "accessoryWidgets": [
- * {
- * "buttonList": {
- * "buttons": [
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_up"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doUpvote",
- * }
- * }
- * },
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_down"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doDownvote",
- * }
- * }
- * }
- * ]
- * }
- * }
- * ]
- * }
- * ```
+ * (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
*
*
* repeated .google.chat.v1.AccessoryWidget accessory_widgets = 44;
@@ -10606,67 +9738,13 @@ public Builder clearAccessoryWidgets() {
*
* One or more interactive widgets that appear at the bottom of a message.
* You can add accessory widgets to messages that contain text, cards, or both
- * text and cards. Not supported for messages that contain dialogs.
+ * text and cards. Not supported for messages that contain dialogs. For
+ * details, see [Add interactive widgets at the bottom of a
+ * message](https://developers.google.com/workspace/chat/create-messages#add-accessory-widgets).
*
* Creating a message with accessory widgets requires [app
* authentication]
- * (https://developers.google.com/chat/api/guides/auth/service-accounts).
- *
- * The following example shows a Chat app that uses accessory widgets (thumbs
- * up and thumbs down buttons) in a text message:
- *
- * ![Example accessory widgets
- * message](https://developers.google.com/chat/images/message-accessory-widgets-reference.png)
- *
- * The JSON for this example message is the following:
- *
- * ```
- * {
- * "text": "Rate your experience with this Chat app.",
- * "accessoryWidgets": [
- * {
- * "buttonList": {
- * "buttons": [
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_up"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doUpvote",
- * }
- * }
- * },
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_down"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doDownvote",
- * }
- * }
- * }
- * ]
- * }
- * }
- * ]
- * }
- * ```
+ * (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
*
*
* repeated .google.chat.v1.AccessoryWidget accessory_widgets = 44;
@@ -10687,67 +9765,13 @@ public Builder removeAccessoryWidgets(int index) {
*
* One or more interactive widgets that appear at the bottom of a message.
* You can add accessory widgets to messages that contain text, cards, or both
- * text and cards. Not supported for messages that contain dialogs.
+ * text and cards. Not supported for messages that contain dialogs. For
+ * details, see [Add interactive widgets at the bottom of a
+ * message](https://developers.google.com/workspace/chat/create-messages#add-accessory-widgets).
*
* Creating a message with accessory widgets requires [app
* authentication]
- * (https://developers.google.com/chat/api/guides/auth/service-accounts).
- *
- * The following example shows a Chat app that uses accessory widgets (thumbs
- * up and thumbs down buttons) in a text message:
- *
- * ![Example accessory widgets
- * message](https://developers.google.com/chat/images/message-accessory-widgets-reference.png)
- *
- * The JSON for this example message is the following:
- *
- * ```
- * {
- * "text": "Rate your experience with this Chat app.",
- * "accessoryWidgets": [
- * {
- * "buttonList": {
- * "buttons": [
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_up"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doUpvote",
- * }
- * }
- * },
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_down"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doDownvote",
- * }
- * }
- * }
- * ]
- * }
- * }
- * ]
- * }
- * ```
+ * (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
*
*
* repeated .google.chat.v1.AccessoryWidget accessory_widgets = 44;
@@ -10761,67 +9785,13 @@ public com.google.chat.v1.AccessoryWidget.Builder getAccessoryWidgetsBuilder(int
*
* One or more interactive widgets that appear at the bottom of a message.
* You can add accessory widgets to messages that contain text, cards, or both
- * text and cards. Not supported for messages that contain dialogs.
+ * text and cards. Not supported for messages that contain dialogs. For
+ * details, see [Add interactive widgets at the bottom of a
+ * message](https://developers.google.com/workspace/chat/create-messages#add-accessory-widgets).
*
* Creating a message with accessory widgets requires [app
* authentication]
- * (https://developers.google.com/chat/api/guides/auth/service-accounts).
- *
- * The following example shows a Chat app that uses accessory widgets (thumbs
- * up and thumbs down buttons) in a text message:
- *
- * ![Example accessory widgets
- * message](https://developers.google.com/chat/images/message-accessory-widgets-reference.png)
- *
- * The JSON for this example message is the following:
- *
- * ```
- * {
- * "text": "Rate your experience with this Chat app.",
- * "accessoryWidgets": [
- * {
- * "buttonList": {
- * "buttons": [
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_up"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doUpvote",
- * }
- * }
- * },
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_down"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doDownvote",
- * }
- * }
- * }
- * ]
- * }
- * }
- * ]
- * }
- * ```
+ * (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
*
*
* repeated .google.chat.v1.AccessoryWidget accessory_widgets = 44;
@@ -10839,67 +9809,13 @@ public com.google.chat.v1.AccessoryWidgetOrBuilder getAccessoryWidgetsOrBuilder(
*
* One or more interactive widgets that appear at the bottom of a message.
* You can add accessory widgets to messages that contain text, cards, or both
- * text and cards. Not supported for messages that contain dialogs.
+ * text and cards. Not supported for messages that contain dialogs. For
+ * details, see [Add interactive widgets at the bottom of a
+ * message](https://developers.google.com/workspace/chat/create-messages#add-accessory-widgets).
*
* Creating a message with accessory widgets requires [app
* authentication]
- * (https://developers.google.com/chat/api/guides/auth/service-accounts).
- *
- * The following example shows a Chat app that uses accessory widgets (thumbs
- * up and thumbs down buttons) in a text message:
- *
- * ![Example accessory widgets
- * message](https://developers.google.com/chat/images/message-accessory-widgets-reference.png)
- *
- * The JSON for this example message is the following:
- *
- * ```
- * {
- * "text": "Rate your experience with this Chat app.",
- * "accessoryWidgets": [
- * {
- * "buttonList": {
- * "buttons": [
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_up"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doUpvote",
- * }
- * }
- * },
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_down"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doDownvote",
- * }
- * }
- * }
- * ]
- * }
- * }
- * ]
- * }
- * ```
+ * (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
*
*
* repeated .google.chat.v1.AccessoryWidget accessory_widgets = 44;
@@ -10918,67 +9834,13 @@ public com.google.chat.v1.AccessoryWidgetOrBuilder getAccessoryWidgetsOrBuilder(
*
* One or more interactive widgets that appear at the bottom of a message.
* You can add accessory widgets to messages that contain text, cards, or both
- * text and cards. Not supported for messages that contain dialogs.
+ * text and cards. Not supported for messages that contain dialogs. For
+ * details, see [Add interactive widgets at the bottom of a
+ * message](https://developers.google.com/workspace/chat/create-messages#add-accessory-widgets).
*
* Creating a message with accessory widgets requires [app
* authentication]
- * (https://developers.google.com/chat/api/guides/auth/service-accounts).
- *
- * The following example shows a Chat app that uses accessory widgets (thumbs
- * up and thumbs down buttons) in a text message:
- *
- * ![Example accessory widgets
- * message](https://developers.google.com/chat/images/message-accessory-widgets-reference.png)
- *
- * The JSON for this example message is the following:
- *
- * ```
- * {
- * "text": "Rate your experience with this Chat app.",
- * "accessoryWidgets": [
- * {
- * "buttonList": {
- * "buttons": [
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_up"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doUpvote",
- * }
- * }
- * },
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_down"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doDownvote",
- * }
- * }
- * }
- * ]
- * }
- * }
- * ]
- * }
- * ```
+ * (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
*
*
* repeated .google.chat.v1.AccessoryWidget accessory_widgets = 44;
@@ -10993,67 +9855,13 @@ public com.google.chat.v1.AccessoryWidget.Builder addAccessoryWidgetsBuilder() {
*
* One or more interactive widgets that appear at the bottom of a message.
* You can add accessory widgets to messages that contain text, cards, or both
- * text and cards. Not supported for messages that contain dialogs.
+ * text and cards. Not supported for messages that contain dialogs. For
+ * details, see [Add interactive widgets at the bottom of a
+ * message](https://developers.google.com/workspace/chat/create-messages#add-accessory-widgets).
*
* Creating a message with accessory widgets requires [app
* authentication]
- * (https://developers.google.com/chat/api/guides/auth/service-accounts).
- *
- * The following example shows a Chat app that uses accessory widgets (thumbs
- * up and thumbs down buttons) in a text message:
- *
- * ![Example accessory widgets
- * message](https://developers.google.com/chat/images/message-accessory-widgets-reference.png)
- *
- * The JSON for this example message is the following:
- *
- * ```
- * {
- * "text": "Rate your experience with this Chat app.",
- * "accessoryWidgets": [
- * {
- * "buttonList": {
- * "buttons": [
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_up"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doUpvote",
- * }
- * }
- * },
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_down"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doDownvote",
- * }
- * }
- * }
- * ]
- * }
- * }
- * ]
- * }
- * ```
+ * (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
*
*
* repeated .google.chat.v1.AccessoryWidget accessory_widgets = 44;
@@ -11068,67 +9876,13 @@ public com.google.chat.v1.AccessoryWidget.Builder addAccessoryWidgetsBuilder(int
*
* One or more interactive widgets that appear at the bottom of a message.
* You can add accessory widgets to messages that contain text, cards, or both
- * text and cards. Not supported for messages that contain dialogs.
+ * text and cards. Not supported for messages that contain dialogs. For
+ * details, see [Add interactive widgets at the bottom of a
+ * message](https://developers.google.com/workspace/chat/create-messages#add-accessory-widgets).
*
* Creating a message with accessory widgets requires [app
* authentication]
- * (https://developers.google.com/chat/api/guides/auth/service-accounts).
- *
- * The following example shows a Chat app that uses accessory widgets (thumbs
- * up and thumbs down buttons) in a text message:
- *
- * ![Example accessory widgets
- * message](https://developers.google.com/chat/images/message-accessory-widgets-reference.png)
- *
- * The JSON for this example message is the following:
- *
- * ```
- * {
- * "text": "Rate your experience with this Chat app.",
- * "accessoryWidgets": [
- * {
- * "buttonList": {
- * "buttons": [
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_up"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doUpvote",
- * }
- * }
- * },
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_down"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doDownvote",
- * }
- * }
- * }
- * ]
- * }
- * }
- * ]
- * }
- * ```
+ * (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
*
*
* repeated .google.chat.v1.AccessoryWidget accessory_widgets = 44;
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/MessageOrBuilder.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/MessageOrBuilder.java
index ebd668e3babe..ce7586876c17 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/MessageOrBuilder.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/MessageOrBuilder.java
@@ -42,7 +42,7 @@ public interface MessageOrBuilder
* from the `clientAssignedMessageId` field. For example,
* `spaces/AAAAAAAAAAA/messages/client-custom-name`. For details, see [Name
* a
- * message](https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).
+ * message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message).
*
*
* string name = 1;
@@ -68,7 +68,7 @@ public interface MessageOrBuilder
* from the `clientAssignedMessageId` field. For example,
* `spaces/AAAAAAAAAAA/messages/client-custom-name`. For details, see [Name
* a
- * message](https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).
+ * message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message).
*
*
* string name = 1;
@@ -83,9 +83,9 @@ public interface MessageOrBuilder
*
* Output only. The user who created the message.
* If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the output
- * populates the
- * [user](https://developers.google.com/chat/api/reference/rest/v1/User)
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the output populates the
+ * [user](https://developers.google.com/workspace/chat/api/reference/rest/v1/User)
* `name` and `type`.
*
*
@@ -100,9 +100,9 @@ public interface MessageOrBuilder
*
* Output only. The user who created the message.
* If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the output
- * populates the
- * [user](https://developers.google.com/chat/api/reference/rest/v1/User)
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the output populates the
+ * [user](https://developers.google.com/workspace/chat/api/reference/rest/v1/User)
* `name` and `type`.
*
*
@@ -117,9 +117,9 @@ public interface MessageOrBuilder
*
* Output only. The user who created the message.
* If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the output
- * populates the
- * [user](https://developers.google.com/chat/api/reference/rest/v1/User)
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the output populates the
+ * [user](https://developers.google.com/workspace/chat/api/reference/rest/v1/User)
* `name` and `type`.
*
*
@@ -277,13 +277,13 @@ public interface MessageOrBuilder
*
* Plain-text body of the message. The first link to an image, video, or web
* page generates a
- * [preview chip](https://developers.google.com/chat/how-tos/preview-links).
+ * [preview chip](https://developers.google.com/workspace/chat/preview-links).
* You can also [@mention a Google Chat
- * user](https://developers.google.com/chat/format-messages#messages-@mention),
+ * user](https://developers.google.com/workspace/chat/format-messages#messages-@mention),
* or everyone in the space.
*
* To learn about creating text messages, see [Send a text
- * message](https://developers.google.com/chat/api/guides/v1/messages/create#create-text-messages).
+ * message](https://developers.google.com/workspace/chat/create-messages#create-text-messages).
*
*
* string text = 4;
@@ -297,13 +297,13 @@ public interface MessageOrBuilder
*
* Plain-text body of the message. The first link to an image, video, or web
* page generates a
- * [preview chip](https://developers.google.com/chat/how-tos/preview-links).
+ * [preview chip](https://developers.google.com/workspace/chat/preview-links).
* You can also [@mention a Google Chat
- * user](https://developers.google.com/chat/format-messages#messages-@mention),
+ * user](https://developers.google.com/workspace/chat/format-messages#messages-@mention),
* or everyone in the space.
*
* To learn about creating text messages, see [Send a text
- * message](https://developers.google.com/chat/api/guides/v1/messages/create#create-text-messages).
+ * message](https://developers.google.com/workspace/chat/create-messages#create-text-messages).
*
*
* string text = 4;
@@ -321,23 +321,24 @@ public interface MessageOrBuilder
* but includes the following:
*
* * [Markup
- * syntax](https://developers.google.com/chat/format-messages)
- * for bold, italic, strikethrough, monospace, and monospace block.
+ * syntax](https://developers.google.com/workspace/chat/format-messages)
+ * for bold, italic, strikethrough, monospace, monospace block, and bulleted
+ * list.
*
* * [User
- * mentions](https://developers.google.com/chat/format-messages#messages-@mention)
- * using the format `<users/{user}>`.
+ * mentions](https://developers.google.com/workspace/chat/format-messages#messages-@mention)
+ * using the format `<users/{user}>`.
*
* * Custom hyperlinks using the format `<{url}|{rendered_text}>` where the
- * first string is the URL and the second is the rendered text—for example,
- * `<http://example.com|custom text>`.
+ * first string is the URL and the second is the rendered text—for example,
+ * `<http://example.com|custom text>`.
*
* * Custom emoji using the format `:{emoji_name}:`—for example, `:smile:`.
- * This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning
+ * This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning
* face emoji.
*
* For more information, see [View text formatting sent in a
- * message](https://developers.google.com/chat/format-messages#view_text_formatting_sent_in_a_message)
+ * message](https://developers.google.com/workspace/chat/format-messages#view_text_formatting_sent_in_a_message)
*
*
* string formatted_text = 43 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -354,23 +355,24 @@ public interface MessageOrBuilder
* but includes the following:
*
* * [Markup
- * syntax](https://developers.google.com/chat/format-messages)
- * for bold, italic, strikethrough, monospace, and monospace block.
+ * syntax](https://developers.google.com/workspace/chat/format-messages)
+ * for bold, italic, strikethrough, monospace, monospace block, and bulleted
+ * list.
*
* * [User
- * mentions](https://developers.google.com/chat/format-messages#messages-@mention)
- * using the format `<users/{user}>`.
+ * mentions](https://developers.google.com/workspace/chat/format-messages#messages-@mention)
+ * using the format `<users/{user}>`.
*
* * Custom hyperlinks using the format `<{url}|{rendered_text}>` where the
- * first string is the URL and the second is the rendered text—for example,
- * `<http://example.com|custom text>`.
+ * first string is the URL and the second is the rendered text—for example,
+ * `<http://example.com|custom text>`.
*
* * Custom emoji using the format `:{emoji_name}:`—for example, `:smile:`.
- * This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning
+ * This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning
* face emoji.
*
* For more information, see [View text formatting sent in a
- * message](https://developers.google.com/chat/format-messages#view_text_formatting_sent_in_a_message)
+ * message](https://developers.google.com/workspace/chat/format-messages#view_text_formatting_sent_in_a_message)
*
*
* string formatted_text = 43 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -466,15 +468,14 @@ public interface MessageOrBuilder
*
*
* An array of
- * [cards](https://developers.google.com/chat/api/reference/rest/v1/cards).
+ * [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards).
*
* Only Chat apps can create cards. If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the
- * messages can't contain cards.
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the messages can't contain cards.
*
- * To learn about cards and how to create them, see [Design dynamic,
- * interactive, and consistent UIs with
- * cards](https://developers.google.com/chat/ui).
+ * To learn about cards and how to create them, see [Send card
+ * messages](https://developers.google.com/workspace/chat/create-messages#create).
*
* [Card builder](https://addons.gsuite.google.com/uikit/builder)
*
@@ -487,15 +488,14 @@ public interface MessageOrBuilder
*
*
* An array of
- * [cards](https://developers.google.com/chat/api/reference/rest/v1/cards).
+ * [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards).
*
* Only Chat apps can create cards. If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the
- * messages can't contain cards.
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the messages can't contain cards.
*
- * To learn about cards and how to create them, see [Design dynamic,
- * interactive, and consistent UIs with
- * cards](https://developers.google.com/chat/ui).
+ * To learn about cards and how to create them, see [Send card
+ * messages](https://developers.google.com/workspace/chat/create-messages#create).
*
* [Card builder](https://addons.gsuite.google.com/uikit/builder)
*
@@ -508,15 +508,14 @@ public interface MessageOrBuilder
*
*
* An array of
- * [cards](https://developers.google.com/chat/api/reference/rest/v1/cards).
+ * [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards).
*
* Only Chat apps can create cards. If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the
- * messages can't contain cards.
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the messages can't contain cards.
*
- * To learn about cards and how to create them, see [Design dynamic,
- * interactive, and consistent UIs with
- * cards](https://developers.google.com/chat/ui).
+ * To learn about cards and how to create them, see [Send card
+ * messages](https://developers.google.com/workspace/chat/create-messages#create).
*
* [Card builder](https://addons.gsuite.google.com/uikit/builder)
*
@@ -529,15 +528,14 @@ public interface MessageOrBuilder
*
*
* An array of
- * [cards](https://developers.google.com/chat/api/reference/rest/v1/cards).
+ * [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards).
*
* Only Chat apps can create cards. If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the
- * messages can't contain cards.
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the messages can't contain cards.
*
- * To learn about cards and how to create them, see [Design dynamic,
- * interactive, and consistent UIs with
- * cards](https://developers.google.com/chat/ui).
+ * To learn about cards and how to create them, see [Send card
+ * messages](https://developers.google.com/workspace/chat/create-messages#create).
*
* [Card builder](https://addons.gsuite.google.com/uikit/builder)
*
@@ -550,15 +548,14 @@ public interface MessageOrBuilder
*
*
* An array of
- * [cards](https://developers.google.com/chat/api/reference/rest/v1/cards).
+ * [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards).
*
* Only Chat apps can create cards. If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the
- * messages can't contain cards.
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the messages can't contain cards.
*
- * To learn about cards and how to create them, see [Design dynamic,
- * interactive, and consistent UIs with
- * cards](https://developers.google.com/chat/ui).
+ * To learn about cards and how to create them, see [Send card
+ * messages](https://developers.google.com/workspace/chat/create-messages#create).
*
* [Card builder](https://addons.gsuite.google.com/uikit/builder)
*
@@ -634,7 +631,7 @@ public interface MessageOrBuilder
*
* The thread the message belongs to. For example usage, see
* [Start or reply to a message
- * thread](https://developers.google.com/chat/api/guides/v1/messages/create#create-message-thread).
+ * thread](https://developers.google.com/workspace/chat/create-messages#create-message-thread).
*
*
* .google.chat.v1.Thread thread = 11;
@@ -648,7 +645,7 @@ public interface MessageOrBuilder
*
* The thread the message belongs to. For example usage, see
* [Start or reply to a message
- * thread](https://developers.google.com/chat/api/guides/v1/messages/create#create-message-thread).
+ * thread](https://developers.google.com/workspace/chat/create-messages#create-message-thread).
*
*
* .google.chat.v1.Thread thread = 11;
@@ -662,7 +659,7 @@ public interface MessageOrBuilder
*
* The thread the message belongs to. For example usage, see
* [Start or reply to a message
- * thread](https://developers.google.com/chat/api/guides/v1/messages/create#create-message-thread).
+ * thread](https://developers.google.com/workspace/chat/create-messages#create-message-thread).
*
*
* .google.chat.v1.Thread thread = 11;
@@ -674,9 +671,9 @@ public interface MessageOrBuilder
*
*
* If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the output
- * populates the
- * [space](https://developers.google.com/chat/api/reference/rest/v1/spaces)
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the output populates the
+ * [space](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces)
* `name`.
*
*
@@ -690,9 +687,9 @@ public interface MessageOrBuilder
*
*
* If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the output
- * populates the
- * [space](https://developers.google.com/chat/api/reference/rest/v1/spaces)
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the output populates the
+ * [space](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces)
* `name`.
*
*
@@ -706,9 +703,9 @@ public interface MessageOrBuilder
*
*
* If your Chat app [authenticates as a
- * user](https://developers.google.com/chat/api/guides/auth/users), the output
- * populates the
- * [space](https://developers.google.com/chat/api/reference/rest/v1/spaces)
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the output populates the
+ * [space](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces)
* `name`.
*
*
@@ -912,7 +909,7 @@ public interface MessageOrBuilder
*
* Output only. A URL in `spaces.messages.text` that matches a link preview
* pattern. For more information, see [Preview
- * links](https://developers.google.com/chat/how-tos/preview-links).
+ * links](https://developers.google.com/workspace/chat/preview-links).
*
*
* .google.chat.v1.MatchedUrl matched_url = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -927,7 +924,7 @@ public interface MessageOrBuilder
*
*
- * @deprecated google.chat.v1.Space.type is deprecated. See google/chat/v1/space.proto;l=110
+ * @deprecated google.chat.v1.Space.type is deprecated. See google/chat/v1/space.proto;l=111
* @param value The type to set.
* @return This builder for chaining.
*/
@@ -2850,7 +2871,7 @@ public Builder setType(com.google.chat.v1.Space.Type value) {
* .google.chat.v1.Space.Type type = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
*
* Output only. A URL in `spaces.messages.text` that matches a link preview
* pattern. For more information, see [Preview
- * links](https://developers.google.com/chat/how-tos/preview-links).
+ * links](https://developers.google.com/workspace/chat/preview-links).
*
*
* .google.chat.v1.MatchedUrl matched_url = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -942,7 +939,7 @@ public interface MessageOrBuilder
*
*
- * @deprecated google.chat.v1.Space.type is deprecated. See google/chat/v1/space.proto;l=110
+ * @deprecated google.chat.v1.Space.type is deprecated. See google/chat/v1/space.proto;l=111
* @return The type.
*/
@java.lang.Override
@@ -2824,7 +2845,7 @@ public com.google.chat.v1.Space.Type getType() {
* .google.chat.v1.Space.Type type = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
*
* Output only. A URL in `spaces.messages.text` that matches a link preview
* pattern. For more information, see [Preview
- * links](https://developers.google.com/chat/how-tos/preview-links).
+ * links](https://developers.google.com/workspace/chat/preview-links).
*
*
* .google.chat.v1.MatchedUrl matched_url = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -975,9 +972,9 @@ public interface MessageOrBuilder
* Optional. A custom ID for the message. You can use field to identify a
* message, or to get, delete, or update a message. To set a custom ID,
* specify the
- * [`messageId`](https://developers.google.com/chat/api/reference/rest/v1/spaces.messages/create#body.QUERY_PARAMETERS.message_id)
+ * [`messageId`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages/create#body.QUERY_PARAMETERS.message_id)
* field when you create the message. For details, see [Name a
- * message](https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).
+ * message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message).
*
*
*
*
- * @deprecated google.chat.v1.Space.type is deprecated. See google/chat/v1/space.proto;l=110
+ * @deprecated google.chat.v1.Space.type is deprecated. See google/chat/v1/space.proto;l=111
* @param value The enum numeric value on the wire for type to set.
* @return This builder for chaining.
*/
@@ -2803,7 +2824,7 @@ public Builder setTypeValue(int value) {
* .google.chat.v1.Space.Type type = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
* string client_assigned_message_id = 32;
@@ -992,9 +989,9 @@ public interface MessageOrBuilder
* Optional. A custom ID for the message. You can use field to identify a
* message, or to get, delete, or update a message. To set a custom ID,
* specify the
- * [`messageId`](https://developers.google.com/chat/api/reference/rest/v1/spaces.messages/create#body.QUERY_PARAMETERS.message_id)
+ * [`messageId`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages/create#body.QUERY_PARAMETERS.message_id)
* field when you create the message. For details, see [Name a
- * message](https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).
+ * message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message).
*
*
* string client_assigned_message_id = 32;
@@ -1075,11 +1072,12 @@ public interface MessageOrBuilder
* attachments aren't supported for private messages.
*
* Only Chat apps can send private messages. If your Chat app [authenticates
- * as a user](https://developers.google.com/chat/api/guides/auth/users) to
- * send a message, the message can't be private and must omit this field.
+ * as a
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * to send a message, the message can't be private and must omit this field.
*
* For details, see [Send private messages to Google Chat
- * users](https://developers.google.com/chat/api/guides/v1/messages/private).
+ * users](https://developers.google.com/workspace/chat/private-messages).
*
*
*
@@ -1099,11 +1097,12 @@ public interface MessageOrBuilder
* attachments aren't supported for private messages.
*
* Only Chat apps can send private messages. If your Chat app [authenticates
- * as a user](https://developers.google.com/chat/api/guides/auth/users) to
- * send a message, the message can't be private and must omit this field.
+ * as a
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * to send a message, the message can't be private and must omit this field.
*
* For details, see [Send private messages to Google Chat
- * users](https://developers.google.com/chat/api/guides/v1/messages/private).
+ * users](https://developers.google.com/workspace/chat/private-messages).
*
*
*
*
- * @deprecated google.chat.v1.Space.type is deprecated. See google/chat/v1/space.proto;l=110
+ * @deprecated google.chat.v1.Space.type is deprecated. See google/chat/v1/space.proto;l=111
* @return The enum numeric value on the wire for type.
*/
@java.lang.Override
@@ -2780,7 +2801,7 @@ public int getTypeValue() {
* .google.chat.v1.Space.Type type = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
*
@@ -1123,11 +1122,12 @@ public interface MessageOrBuilder
* attachments aren't supported for private messages.
*
* Only Chat apps can send private messages. If your Chat app [authenticates
- * as a user](https://developers.google.com/chat/api/guides/auth/users) to
- * send a message, the message can't be private and must omit this field.
+ * as a
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * to send a message, the message can't be private and must omit this field.
*
* For details, see [Send private messages to Google Chat
- * users](https://developers.google.com/chat/api/guides/v1/messages/private).
+ * users](https://developers.google.com/workspace/chat/private-messages).
*
*
*
*
- * @deprecated google.chat.v1.Space.type is deprecated. See google/chat/v1/space.proto;l=110
+ * @deprecated google.chat.v1.Space.type is deprecated. See google/chat/v1/space.proto;l=111
* @return The type.
*/
@java.lang.Override
@@ -1642,7 +1658,7 @@ public boolean getSingleUserBotDm() {
*
*
@@ -1291,67 +1291,13 @@ public interface MessageOrBuilder
*
*
- * @deprecated google.chat.v1.Space.type is deprecated. See google/chat/v1/space.proto;l=110
+ * @deprecated google.chat.v1.Space.type is deprecated. See google/chat/v1/space.proto;l=111
* @return The enum numeric value on the wire for type.
*/
@java.lang.Override
@@ -1564,7 +1580,7 @@ public int getTypeValue() {
* .google.chat.v1.Space.Type type = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
*
* One or more interactive widgets that appear at the bottom of a message.
* You can add accessory widgets to messages that contain text, cards, or both
- * text and cards. Not supported for messages that contain dialogs.
+ * text and cards. Not supported for messages that contain dialogs. For
+ * details, see [Add interactive widgets at the bottom of a
+ * message](https://developers.google.com/workspace/chat/create-messages#add-accessory-widgets).
*
* Creating a message with accessory widgets requires [app
* authentication]
- * (https://developers.google.com/chat/api/guides/auth/service-accounts).
- *
- * The following example shows a Chat app that uses accessory widgets (thumbs
- * up and thumbs down buttons) in a text message:
- *
- * ![Example accessory widgets
- * message](https://developers.google.com/chat/images/message-accessory-widgets-reference.png)
- *
- * The JSON for this example message is the following:
- *
- * ```
- * {
- * "text": "Rate your experience with this Chat app.",
- * "accessoryWidgets": [
- * {
- * "buttonList": {
- * "buttons": [
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_up"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doUpvote",
- * }
- * }
- * },
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_down"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doDownvote",
- * }
- * }
- * }
- * ]
- * }
- * }
- * ]
- * }
- * ```
+ * (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
*
*
* repeated .google.chat.v1.AccessoryWidget accessory_widgets = 44;
@@ -1363,67 +1309,13 @@ public interface MessageOrBuilder
*
* One or more interactive widgets that appear at the bottom of a message.
* You can add accessory widgets to messages that contain text, cards, or both
- * text and cards. Not supported for messages that contain dialogs.
+ * text and cards. Not supported for messages that contain dialogs. For
+ * details, see [Add interactive widgets at the bottom of a
+ * message](https://developers.google.com/workspace/chat/create-messages#add-accessory-widgets).
*
* Creating a message with accessory widgets requires [app
* authentication]
- * (https://developers.google.com/chat/api/guides/auth/service-accounts).
- *
- * The following example shows a Chat app that uses accessory widgets (thumbs
- * up and thumbs down buttons) in a text message:
- *
- * ![Example accessory widgets
- * message](https://developers.google.com/chat/images/message-accessory-widgets-reference.png)
- *
- * The JSON for this example message is the following:
- *
- * ```
- * {
- * "text": "Rate your experience with this Chat app.",
- * "accessoryWidgets": [
- * {
- * "buttonList": {
- * "buttons": [
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_up"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doUpvote",
- * }
- * }
- * },
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_down"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doDownvote",
- * }
- * }
- * }
- * ]
- * }
- * }
- * ]
- * }
- * ```
+ * (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
*
*
* repeated .google.chat.v1.AccessoryWidget accessory_widgets = 44;
@@ -1435,67 +1327,13 @@ public interface MessageOrBuilder
*
* One or more interactive widgets that appear at the bottom of a message.
* You can add accessory widgets to messages that contain text, cards, or both
- * text and cards. Not supported for messages that contain dialogs.
+ * text and cards. Not supported for messages that contain dialogs. For
+ * details, see [Add interactive widgets at the bottom of a
+ * message](https://developers.google.com/workspace/chat/create-messages#add-accessory-widgets).
*
* Creating a message with accessory widgets requires [app
* authentication]
- * (https://developers.google.com/chat/api/guides/auth/service-accounts).
- *
- * The following example shows a Chat app that uses accessory widgets (thumbs
- * up and thumbs down buttons) in a text message:
- *
- * ![Example accessory widgets
- * message](https://developers.google.com/chat/images/message-accessory-widgets-reference.png)
- *
- * The JSON for this example message is the following:
- *
- * ```
- * {
- * "text": "Rate your experience with this Chat app.",
- * "accessoryWidgets": [
- * {
- * "buttonList": {
- * "buttons": [
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_up"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doUpvote",
- * }
- * }
- * },
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_down"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doDownvote",
- * }
- * }
- * }
- * ]
- * }
- * }
- * ]
- * }
- * ```
+ * (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
*
*
* repeated .google.chat.v1.AccessoryWidget accessory_widgets = 44;
@@ -1507,67 +1345,13 @@ public interface MessageOrBuilder
*
* One or more interactive widgets that appear at the bottom of a message.
* You can add accessory widgets to messages that contain text, cards, or both
- * text and cards. Not supported for messages that contain dialogs.
+ * text and cards. Not supported for messages that contain dialogs. For
+ * details, see [Add interactive widgets at the bottom of a
+ * message](https://developers.google.com/workspace/chat/create-messages#add-accessory-widgets).
*
* Creating a message with accessory widgets requires [app
* authentication]
- * (https://developers.google.com/chat/api/guides/auth/service-accounts).
- *
- * The following example shows a Chat app that uses accessory widgets (thumbs
- * up and thumbs down buttons) in a text message:
- *
- * ![Example accessory widgets
- * message](https://developers.google.com/chat/images/message-accessory-widgets-reference.png)
- *
- * The JSON for this example message is the following:
- *
- * ```
- * {
- * "text": "Rate your experience with this Chat app.",
- * "accessoryWidgets": [
- * {
- * "buttonList": {
- * "buttons": [
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_up"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doUpvote",
- * }
- * }
- * },
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_down"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doDownvote",
- * }
- * }
- * }
- * ]
- * }
- * }
- * ]
- * }
- * ```
+ * (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
*
*
* repeated .google.chat.v1.AccessoryWidget accessory_widgets = 44;
@@ -1580,67 +1364,13 @@ public interface MessageOrBuilder
*
* One or more interactive widgets that appear at the bottom of a message.
* You can add accessory widgets to messages that contain text, cards, or both
- * text and cards. Not supported for messages that contain dialogs.
+ * text and cards. Not supported for messages that contain dialogs. For
+ * details, see [Add interactive widgets at the bottom of a
+ * message](https://developers.google.com/workspace/chat/create-messages#add-accessory-widgets).
*
* Creating a message with accessory widgets requires [app
* authentication]
- * (https://developers.google.com/chat/api/guides/auth/service-accounts).
- *
- * The following example shows a Chat app that uses accessory widgets (thumbs
- * up and thumbs down buttons) in a text message:
- *
- * ![Example accessory widgets
- * message](https://developers.google.com/chat/images/message-accessory-widgets-reference.png)
- *
- * The JSON for this example message is the following:
- *
- * ```
- * {
- * "text": "Rate your experience with this Chat app.",
- * "accessoryWidgets": [
- * {
- * "buttonList": {
- * "buttons": [
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_up"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doUpvote",
- * }
- * }
- * },
- * {
- * "icon": {
- * "material_icon": {
- * "name": "thumb_down"
- * }
- * },
- * "color": {
- * "red": 0,
- * "blue": 255,
- * "green": 0
- * },
- * "onClick": {
- * "action": {
- * "function": "doDownvote",
- * }
- * }
- * }
- * ]
- * }
- * }
- * ]
- * }
- * ```
+ * (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
*
*
* repeated .google.chat.v1.AccessoryWidget accessory_widgets = 44;
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/SetUpSpaceRequest.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/SetUpSpaceRequest.java
index 1fe24a15b2ae..0f33f786ebd6 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/SetUpSpaceRequest.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/SetUpSpaceRequest.java
@@ -19,7 +19,15 @@
// Protobuf Java Version: 3.25.2
package com.google.chat.v1;
-/** Protobuf type {@code google.chat.v1.SetUpSpaceRequest} */
+/**
+ *
+ *
+ *
+ * Request to create a space and add specified users to it.
+ *
+ *
+ * Protobuf type {@code google.chat.v1.SetUpSpaceRequest}
+ */
public final class SetUpSpaceRequest extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:google.chat.v1.SetUpSpaceRequest)
@@ -613,7 +621,15 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
Builder builder = new Builder(parent);
return builder;
}
- /** Protobuf type {@code google.chat.v1.SetUpSpaceRequest} */
+ /**
+ *
+ *
+ *
+ * Request to create a space and add specified users to it.
+ *
+ *
+ * Protobuf type {@code google.chat.v1.SetUpSpaceRequest}
+ */
public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
- * A [slash command](https://developers.google.com/chat/how-tos/slash-commands)
- * in Google Chat.
+ * A [slash
+ * command](https://developers.google.com/workspace/chat/slash-commands) in
+ * Google Chat.
*
*
* Protobuf type {@code google.chat.v1.SlashCommand}
@@ -240,8 +241,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * A [slash command](https://developers.google.com/chat/how-tos/slash-commands)
- * in Google Chat.
+ * A [slash
+ * command](https://developers.google.com/workspace/chat/slash-commands) in
+ * Google Chat.
*
*
* Protobuf type {@code google.chat.v1.SlashCommand}
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/Space.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/Space.java
index b3f829c5e61a..3831df5beec8 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/Space.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/Space.java
@@ -76,7 +76,15 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
* Protobuf enum {@code google.chat.v1.Space.Type}
*/
public enum Type implements com.google.protobuf.ProtocolMessageEnum {
- /** TYPE_UNSPECIFIED = 0;
*/
+ /**
+ *
+ *
+ *
+ * Reserved.
+ *
+ *
+ * TYPE_UNSPECIFIED = 0;
+ */
TYPE_UNSPECIFIED(0),
/**
*
@@ -102,7 +110,15 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
UNRECOGNIZED(-1),
;
- /** TYPE_UNSPECIFIED = 0;
*/
+ /**
+ *
+ *
+ *
+ * Reserved.
+ *
+ *
+ * TYPE_UNSPECIFIED = 0;
+ */
public static final int TYPE_UNSPECIFIED_VALUE = 0;
/**
*
@@ -1544,7 +1560,7 @@ public com.google.protobuf.ByteString getNameBytes() {
* .google.chat.v1.Space.Type type = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
* bool threaded = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
*
- * @deprecated google.chat.v1.Space.threaded is deprecated. See google/chat/v1/space.proto;l=122
+ * @deprecated google.chat.v1.Space.threaded is deprecated. See google/chat/v1/space.proto;l=123
* @return The threaded.
*/
@java.lang.Override
@@ -1660,7 +1676,7 @@ public boolean getThreaded() {
*
*
* The space's display name. Required when [creating a
- * space](https://developers.google.com/chat/api/reference/rest/v1/spaces/create).
+ * space](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/create).
* If you receive the error message `ALREADY_EXISTS` when creating a space or
* updating the `displayName`, try a different `displayName`. An
* existing space within the Google Workspace organization might already use
@@ -1692,7 +1708,7 @@ public java.lang.String getDisplayName() {
*
*
* The space's display name. Required when [creating a
- * space](https://developers.google.com/chat/api/reference/rest/v1/spaces/create).
+ * space](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/create).
* If you receive the error message `ALREADY_EXISTS` when creating a space or
* updating the `displayName`, try a different `displayName`. An
* existing space within the Google Workspace organization might already use
@@ -1730,13 +1746,18 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
* Input when creating a space in a Google Workspace organization. Omit this
* field when creating spaces in the following conditions:
*
- * * The authenticated user uses a Google Account. By default,
- * the space permits any Google Chat user.
+ * * The authenticated user uses a consumer account (unmanaged user
+ * account). By default, a space created by a consumer account permits any
+ * Google Chat user.
*
* * The space is used to [import data to Google Chat]
- * (https://developers.google.com/chat/api/guides/import-data-overview).
- * Import mode spaces must only permit members from the same Google
- * Workspace organization.
+ * (https://developers.google.com/chat/api/guides/import-data-overview)
+ * because import mode spaces must only permit members from the same
+ * Google Workspace organization. However, as part of the [Google
+ * Workspace Developer Preview
+ * Program](https://developers.google.com/workspace/preview), import mode
+ * spaces can permit any Google Chat user so this field can then be set
+ * for import mode spaces.
*
* For existing spaces, this field is output only.
*
@@ -2760,7 +2781,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
* .google.chat.v1.Space.Type type = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
* bool threaded = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
*
*
- * @deprecated google.chat.v1.Space.threaded is deprecated. See google/chat/v1/space.proto;l=122
+ * @deprecated google.chat.v1.Space.threaded is deprecated. See google/chat/v1/space.proto;l=123
* @return The threaded.
*/
@java.lang.Override
@@ -3043,7 +3064,7 @@ public boolean getThreaded() {
* bool threaded = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
*
*
- * @deprecated google.chat.v1.Space.threaded is deprecated. See google/chat/v1/space.proto;l=122
+ * @deprecated google.chat.v1.Space.threaded is deprecated. See google/chat/v1/space.proto;l=123
* @param value The threaded to set.
* @return This builder for chaining.
*/
@@ -3066,7 +3087,7 @@ public Builder setThreaded(boolean value) {
* bool threaded = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
*
*
- * @deprecated google.chat.v1.Space.threaded is deprecated. See google/chat/v1/space.proto;l=122
+ * @deprecated google.chat.v1.Space.threaded is deprecated. See google/chat/v1/space.proto;l=123
* @return This builder for chaining.
*/
@java.lang.Deprecated
@@ -3083,7 +3104,7 @@ public Builder clearThreaded() {
*
*
* The space's display name. Required when [creating a
- * space](https://developers.google.com/chat/api/reference/rest/v1/spaces/create).
+ * space](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/create).
* If you receive the error message `ALREADY_EXISTS` when creating a space or
* updating the `displayName`, try a different `displayName`. An
* existing space within the Google Workspace organization might already use
@@ -3114,7 +3135,7 @@ public java.lang.String getDisplayName() {
*
*
* The space's display name. Required when [creating a
- * space](https://developers.google.com/chat/api/reference/rest/v1/spaces/create).
+ * space](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/create).
* If you receive the error message `ALREADY_EXISTS` when creating a space or
* updating the `displayName`, try a different `displayName`. An
* existing space within the Google Workspace organization might already use
@@ -3145,7 +3166,7 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
*
*
* The space's display name. Required when [creating a
- * space](https://developers.google.com/chat/api/reference/rest/v1/spaces/create).
+ * space](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/create).
* If you receive the error message `ALREADY_EXISTS` when creating a space or
* updating the `displayName`, try a different `displayName`. An
* existing space within the Google Workspace organization might already use
@@ -3175,7 +3196,7 @@ public Builder setDisplayName(java.lang.String value) {
*
*
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/SpaceOrBuilder.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/SpaceOrBuilder.java
index 230d149c0344..0252e495908e 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/SpaceOrBuilder.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/SpaceOrBuilder.java
@@ -65,7 +65,7 @@ public interface SpaceOrBuilder
* .google.chat.v1.Space.Type type = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
*
* The space's display name. Required when [creating a
- * space](https://developers.google.com/chat/api/reference/rest/v1/spaces/create).
+ * space](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/create).
* If you receive the error message `ALREADY_EXISTS` when creating a space or
* updating the `displayName`, try a different `displayName`. An
* existing space within the Google Workspace organization might already use
@@ -3201,7 +3222,7 @@ public Builder clearDisplayName() {
*
*
@@ -3295,13 +3326,18 @@ public Builder setExternalUserAllowed(boolean value) {
* Input when creating a space in a Google Workspace organization. Omit this
* field when creating spaces in the following conditions:
*
- * * The authenticated user uses a Google Account. By default,
- * the space permits any Google Chat user.
+ * * The authenticated user uses a consumer account (unmanaged user
+ * account). By default, a space created by a consumer account permits any
+ * Google Chat user.
*
* * The space is used to [import data to Google Chat]
- * (https://developers.google.com/chat/api/guides/import-data-overview).
- * Import mode spaces must only permit members from the same Google
- * Workspace organization.
+ * (https://developers.google.com/chat/api/guides/import-data-overview)
+ * because import mode spaces must only permit members from the same
+ * Google Workspace organization. However, as part of the [Google
+ * Workspace Developer Preview
+ * Program](https://developers.google.com/workspace/preview), import mode
+ * spaces can permit any Google Chat user so this field can then be set
+ * for import mode spaces.
*
* For existing spaces, this field is output only.
*
* The space's display name. Required when [creating a
- * space](https://developers.google.com/chat/api/reference/rest/v1/spaces/create).
+ * space](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/create).
* If you receive the error message `ALREADY_EXISTS` when creating a space or
* updating the `displayName`, try a different `displayName`. An
* existing space within the Google Workspace organization might already use
@@ -3237,13 +3258,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
* Input when creating a space in a Google Workspace organization. Omit this
* field when creating spaces in the following conditions:
*
- * * The authenticated user uses a Google Account. By default,
- * the space permits any Google Chat user.
+ * * The authenticated user uses a consumer account (unmanaged user
+ * account). By default, a space created by a consumer account permits any
+ * Google Chat user.
*
* * The space is used to [import data to Google Chat]
- * (https://developers.google.com/chat/api/guides/import-data-overview).
- * Import mode spaces must only permit members from the same Google
- * Workspace organization.
+ * (https://developers.google.com/chat/api/guides/import-data-overview)
+ * because import mode spaces must only permit members from the same
+ * Google Workspace organization. However, as part of the [Google
+ * Workspace Developer Preview
+ * Program](https://developers.google.com/workspace/preview), import mode
+ * spaces can permit any Google Chat user so this field can then be set
+ * for import mode spaces.
*
* For existing spaces, this field is output only.
*
@@ -3264,13 +3290,18 @@ public boolean getExternalUserAllowed() {
* Input when creating a space in a Google Workspace organization. Omit this
* field when creating spaces in the following conditions:
*
- * * The authenticated user uses a Google Account. By default,
- * the space permits any Google Chat user.
+ * * The authenticated user uses a consumer account (unmanaged user
+ * account). By default, a space created by a consumer account permits any
+ * Google Chat user.
*
* * The space is used to [import data to Google Chat]
- * (https://developers.google.com/chat/api/guides/import-data-overview).
- * Import mode spaces must only permit members from the same Google
- * Workspace organization.
+ * (https://developers.google.com/chat/api/guides/import-data-overview)
+ * because import mode spaces must only permit members from the same
+ * Google Workspace organization. However, as part of the [Google
+ * Workspace Developer Preview
+ * Program](https://developers.google.com/workspace/preview), import mode
+ * spaces can permit any Google Chat user so this field can then be set
+ * for import mode spaces.
*
* For existing spaces, this field is output only.
* bool threaded = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
*
- * @deprecated google.chat.v1.Space.threaded is deprecated. See google/chat/v1/space.proto;l=122
+ * @deprecated google.chat.v1.Space.threaded is deprecated. See google/chat/v1/space.proto;l=123
* @return The threaded.
*/
@java.lang.Deprecated
@@ -150,7 +150,7 @@ public interface SpaceOrBuilder
*
*
* The space's display name. Required when [creating a
- * space](https://developers.google.com/chat/api/reference/rest/v1/spaces/create).
+ * space](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/create).
* If you receive the error message `ALREADY_EXISTS` when creating a space or
* updating the `displayName`, try a different `displayName`. An
* existing space within the Google Workspace organization might already use
@@ -171,7 +171,7 @@ public interface SpaceOrBuilder
*
*
* The space's display name. Required when [creating a
- * space](https://developers.google.com/chat/api/reference/rest/v1/spaces/create).
+ * space](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/create).
* If you receive the error message `ALREADY_EXISTS` when creating a space or
* updating the `displayName`, try a different `displayName`. An
* existing space within the Google Workspace organization might already use
@@ -196,13 +196,18 @@ public interface SpaceOrBuilder
* Input when creating a space in a Google Workspace organization. Omit this
* field when creating spaces in the following conditions:
*
- * * The authenticated user uses a Google Account. By default,
- * the space permits any Google Chat user.
+ * * The authenticated user uses a consumer account (unmanaged user
+ * account). By default, a space created by a consumer account permits any
+ * Google Chat user.
*
* * The space is used to [import data to Google Chat]
- * (https://developers.google.com/chat/api/guides/import-data-overview).
- * Import mode spaces must only permit members from the same Google
- * Workspace organization.
+ * (https://developers.google.com/chat/api/guides/import-data-overview)
+ * because import mode spaces must only permit members from the same
+ * Google Workspace organization. However, as part of the [Google
+ * Workspace Developer Preview
+ * Program](https://developers.google.com/workspace/preview), import mode
+ * spaces can permit any Google Chat user so this field can then be set
+ * for import mode spaces.
*
* For existing spaces, this field is output only.
*
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/Thread.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/Thread.java
index e1e047810879..072d09cda78b 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/Thread.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/Thread.java
@@ -25,10 +25,10 @@
*
* A thread in a Google Chat space. For example usage, see
* [Start or reply to a message
- * thread](https://developers.google.com/chat/api/guides/v1/messages/create#create-message-thread).
+ * thread](https://developers.google.com/workspace/chat/create-messages#create-message-thread).
*
* If you specify a thread when creating a message, you can set the
- * [`messageReplyOption`](https://developers.google.com/chat/api/reference/rest/v1/spaces.messages/create#messagereplyoption)
+ * [`messageReplyOption`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages/create#messagereplyoption)
* field to determine what happens if no matching thread is found.
*
*
@@ -359,10 +359,10 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
* A thread in a Google Chat space. For example usage, see
* [Start or reply to a message
- * thread](https://developers.google.com/chat/api/guides/v1/messages/create#create-message-thread).
+ * thread](https://developers.google.com/workspace/chat/create-messages#create-message-thread).
*
* If you specify a thread when creating a message, you can set the
- * [`messageReplyOption`](https://developers.google.com/chat/api/reference/rest/v1/spaces.messages/create#messagereplyoption)
+ * [`messageReplyOption`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages/create#messagereplyoption)
* field to determine what happens if no matching thread is found.
*
*
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/UpdateMembershipRequest.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/UpdateMembershipRequest.java
new file mode 100644
index 000000000000..0316620a4e98
--- /dev/null
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/UpdateMembershipRequest.java
@@ -0,0 +1,1076 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/chat/v1/membership.proto
+
+// Protobuf Java Version: 3.25.2
+package com.google.chat.v1;
+
+/**
+ *
+ *
+ *
+ * Request message for updating a membership.
+ *
+ *
+ * Protobuf type {@code google.chat.v1.UpdateMembershipRequest}
+ */
+public final class UpdateMembershipRequest extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.chat.v1.UpdateMembershipRequest)
+ UpdateMembershipRequestOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use UpdateMembershipRequest.newBuilder() to construct.
+ private UpdateMembershipRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private UpdateMembershipRequest() {}
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new UpdateMembershipRequest();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.chat.v1.MembershipProto
+ .internal_static_google_chat_v1_UpdateMembershipRequest_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.chat.v1.MembershipProto
+ .internal_static_google_chat_v1_UpdateMembershipRequest_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.chat.v1.UpdateMembershipRequest.class,
+ com.google.chat.v1.UpdateMembershipRequest.Builder.class);
+ }
+
+ private int bitField0_;
+ public static final int MEMBERSHIP_FIELD_NUMBER = 1;
+ private com.google.chat.v1.Membership membership_;
+ /**
+ *
+ *
+ *
+ * Required. The membership to update. Only fields specified by `update_mask`
+ * are updated.
+ *
+ *
+ * .google.chat.v1.Membership membership = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the membership field is set.
+ */
+ @java.lang.Override
+ public boolean hasMembership() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Required. The membership to update. Only fields specified by `update_mask`
+ * are updated.
+ *
+ *
+ * .google.chat.v1.Membership membership = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The membership.
+ */
+ @java.lang.Override
+ public com.google.chat.v1.Membership getMembership() {
+ return membership_ == null ? com.google.chat.v1.Membership.getDefaultInstance() : membership_;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The membership to update. Only fields specified by `update_mask`
+ * are updated.
+ *
+ *
+ * .google.chat.v1.Membership membership = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public com.google.chat.v1.MembershipOrBuilder getMembershipOrBuilder() {
+ return membership_ == null ? com.google.chat.v1.Membership.getDefaultInstance() : membership_;
+ }
+
+ public static final int UPDATE_MASK_FIELD_NUMBER = 2;
+ private com.google.protobuf.FieldMask updateMask_;
+ /**
+ *
+ *
+ *
+ * Required. The field paths to update. Separate multiple values with commas
+ * or use `*` to update all field paths.
+ *
+ * Currently supported field paths:
+ *
+ * - `role`
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the updateMask field is set.
+ */
+ @java.lang.Override
+ public boolean hasUpdateMask() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Required. The field paths to update. Separate multiple values with commas
+ * or use `*` to update all field paths.
+ *
+ * Currently supported field paths:
+ *
+ * - `role`
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The updateMask.
+ */
+ @java.lang.Override
+ public com.google.protobuf.FieldMask getUpdateMask() {
+ return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The field paths to update. Separate multiple values with commas
+ * or use `*` to update all field paths.
+ *
+ * Currently supported field paths:
+ *
+ * - `role`
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
+ return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (((bitField0_ & 0x00000001) != 0)) {
+ output.writeMessage(1, getMembership());
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ output.writeMessage(2, getUpdateMask());
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMembership());
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.chat.v1.UpdateMembershipRequest)) {
+ return super.equals(obj);
+ }
+ com.google.chat.v1.UpdateMembershipRequest other =
+ (com.google.chat.v1.UpdateMembershipRequest) obj;
+
+ if (hasMembership() != other.hasMembership()) return false;
+ if (hasMembership()) {
+ if (!getMembership().equals(other.getMembership())) return false;
+ }
+ if (hasUpdateMask() != other.hasUpdateMask()) return false;
+ if (hasUpdateMask()) {
+ if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+ }
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasMembership()) {
+ hash = (37 * hash) + MEMBERSHIP_FIELD_NUMBER;
+ hash = (53 * hash) + getMembership().hashCode();
+ }
+ if (hasUpdateMask()) {
+ hash = (37 * hash) + UPDATE_MASK_FIELD_NUMBER;
+ hash = (53 * hash) + getUpdateMask().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.chat.v1.UpdateMembershipRequest parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.chat.v1.UpdateMembershipRequest parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.chat.v1.UpdateMembershipRequest parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.chat.v1.UpdateMembershipRequest parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.chat.v1.UpdateMembershipRequest parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.chat.v1.UpdateMembershipRequest parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.chat.v1.UpdateMembershipRequest parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.chat.v1.UpdateMembershipRequest parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.chat.v1.UpdateMembershipRequest parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.chat.v1.UpdateMembershipRequest parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.chat.v1.UpdateMembershipRequest parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.chat.v1.UpdateMembershipRequest parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(com.google.chat.v1.UpdateMembershipRequest prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ *
+ * Request message for updating a membership.
+ *
+ *
+ * Protobuf type {@code google.chat.v1.UpdateMembershipRequest}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Required. The membership to update. Only fields specified by `update_mask`
+ * are updated.
+ *
+ *
+ * .google.chat.v1.Membership membership = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the membership field is set.
+ */
+ public boolean hasMembership() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Required. The membership to update. Only fields specified by `update_mask`
+ * are updated.
+ *
+ *
+ * .google.chat.v1.Membership membership = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The membership.
+ */
+ public com.google.chat.v1.Membership getMembership() {
+ if (membershipBuilder_ == null) {
+ return membership_ == null
+ ? com.google.chat.v1.Membership.getDefaultInstance()
+ : membership_;
+ } else {
+ return membershipBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The membership to update. Only fields specified by `update_mask`
+ * are updated.
+ *
+ *
+ * .google.chat.v1.Membership membership = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setMembership(com.google.chat.v1.Membership value) {
+ if (membershipBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ membership_ = value;
+ } else {
+ membershipBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The membership to update. Only fields specified by `update_mask`
+ * are updated.
+ *
+ *
+ * .google.chat.v1.Membership membership = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setMembership(com.google.chat.v1.Membership.Builder builderForValue) {
+ if (membershipBuilder_ == null) {
+ membership_ = builderForValue.build();
+ } else {
+ membershipBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The membership to update. Only fields specified by `update_mask`
+ * are updated.
+ *
+ *
+ * .google.chat.v1.Membership membership = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder mergeMembership(com.google.chat.v1.Membership value) {
+ if (membershipBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) != 0)
+ && membership_ != null
+ && membership_ != com.google.chat.v1.Membership.getDefaultInstance()) {
+ getMembershipBuilder().mergeFrom(value);
+ } else {
+ membership_ = value;
+ }
+ } else {
+ membershipBuilder_.mergeFrom(value);
+ }
+ if (membership_ != null) {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The membership to update. Only fields specified by `update_mask`
+ * are updated.
+ *
+ *
+ * .google.chat.v1.Membership membership = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder clearMembership() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ membership_ = null;
+ if (membershipBuilder_ != null) {
+ membershipBuilder_.dispose();
+ membershipBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The membership to update. Only fields specified by `update_mask`
+ * are updated.
+ *
+ *
+ * .google.chat.v1.Membership membership = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.chat.v1.Membership.Builder getMembershipBuilder() {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return getMembershipFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * Required. The membership to update. Only fields specified by `update_mask`
+ * are updated.
+ *
+ *
+ * .google.chat.v1.Membership membership = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.chat.v1.MembershipOrBuilder getMembershipOrBuilder() {
+ if (membershipBuilder_ != null) {
+ return membershipBuilder_.getMessageOrBuilder();
+ } else {
+ return membership_ == null
+ ? com.google.chat.v1.Membership.getDefaultInstance()
+ : membership_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The membership to update. Only fields specified by `update_mask`
+ * are updated.
+ *
+ *
+ * .google.chat.v1.Membership membership = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.chat.v1.Membership,
+ com.google.chat.v1.Membership.Builder,
+ com.google.chat.v1.MembershipOrBuilder>
+ getMembershipFieldBuilder() {
+ if (membershipBuilder_ == null) {
+ membershipBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.chat.v1.Membership,
+ com.google.chat.v1.Membership.Builder,
+ com.google.chat.v1.MembershipOrBuilder>(
+ getMembership(), getParentForChildren(), isClean());
+ membership_ = null;
+ }
+ return membershipBuilder_;
+ }
+
+ private com.google.protobuf.FieldMask updateMask_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.FieldMask,
+ com.google.protobuf.FieldMask.Builder,
+ com.google.protobuf.FieldMaskOrBuilder>
+ updateMaskBuilder_;
+ /**
+ *
+ *
+ *
+ * Required. The field paths to update. Separate multiple values with commas
+ * or use `*` to update all field paths.
+ *
+ * Currently supported field paths:
+ *
+ * - `role`
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the updateMask field is set.
+ */
+ public boolean hasUpdateMask() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Required. The field paths to update. Separate multiple values with commas
+ * or use `*` to update all field paths.
+ *
+ * Currently supported field paths:
+ *
+ * - `role`
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The updateMask.
+ */
+ public com.google.protobuf.FieldMask getUpdateMask() {
+ if (updateMaskBuilder_ == null) {
+ return updateMask_ == null
+ ? com.google.protobuf.FieldMask.getDefaultInstance()
+ : updateMask_;
+ } else {
+ return updateMaskBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The field paths to update. Separate multiple values with commas
+ * or use `*` to update all field paths.
+ *
+ * Currently supported field paths:
+ *
+ * - `role`
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
+ if (updateMaskBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ updateMask_ = value;
+ } else {
+ updateMaskBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The field paths to update. Separate multiple values with commas
+ * or use `*` to update all field paths.
+ *
+ * Currently supported field paths:
+ *
+ * - `role`
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+ if (updateMaskBuilder_ == null) {
+ updateMask_ = builderForValue.build();
+ } else {
+ updateMaskBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The field paths to update. Separate multiple values with commas
+ * or use `*` to update all field paths.
+ *
+ * Currently supported field paths:
+ *
+ * - `role`
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
+ if (updateMaskBuilder_ == null) {
+ if (((bitField0_ & 0x00000002) != 0)
+ && updateMask_ != null
+ && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) {
+ getUpdateMaskBuilder().mergeFrom(value);
+ } else {
+ updateMask_ = value;
+ }
+ } else {
+ updateMaskBuilder_.mergeFrom(value);
+ }
+ if (updateMask_ != null) {
+ bitField0_ |= 0x00000002;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The field paths to update. Separate multiple values with commas
+ * or use `*` to update all field paths.
+ *
+ * Currently supported field paths:
+ *
+ * - `role`
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder clearUpdateMask() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ updateMask_ = null;
+ if (updateMaskBuilder_ != null) {
+ updateMaskBuilder_.dispose();
+ updateMaskBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The field paths to update. Separate multiple values with commas
+ * or use `*` to update all field paths.
+ *
+ * Currently supported field paths:
+ *
+ * - `role`
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return getUpdateMaskFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * Required. The field paths to update. Separate multiple values with commas
+ * or use `*` to update all field paths.
+ *
+ * Currently supported field paths:
+ *
+ * - `role`
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
+ if (updateMaskBuilder_ != null) {
+ return updateMaskBuilder_.getMessageOrBuilder();
+ } else {
+ return updateMask_ == null
+ ? com.google.protobuf.FieldMask.getDefaultInstance()
+ : updateMask_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The field paths to update. Separate multiple values with commas
+ * or use `*` to update all field paths.
+ *
+ * Currently supported field paths:
+ *
+ * - `role`
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.FieldMask,
+ com.google.protobuf.FieldMask.Builder,
+ com.google.protobuf.FieldMaskOrBuilder>
+ getUpdateMaskFieldBuilder() {
+ if (updateMaskBuilder_ == null) {
+ updateMaskBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.FieldMask,
+ com.google.protobuf.FieldMask.Builder,
+ com.google.protobuf.FieldMaskOrBuilder>(
+ getUpdateMask(), getParentForChildren(), isClean());
+ updateMask_ = null;
+ }
+ return updateMaskBuilder_;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.chat.v1.UpdateMembershipRequest)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.chat.v1.UpdateMembershipRequest)
+ private static final com.google.chat.v1.UpdateMembershipRequest DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.chat.v1.UpdateMembershipRequest();
+ }
+
+ public static com.google.chat.v1.UpdateMembershipRequest getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * Required. The membership to update. Only fields specified by `update_mask`
+ * are updated.
+ *
+ *
+ * .google.chat.v1.Membership membership = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the membership field is set.
+ */
+ boolean hasMembership();
+ /**
+ *
+ *
+ *
+ * Required. The membership to update. Only fields specified by `update_mask`
+ * are updated.
+ *
+ *
+ * .google.chat.v1.Membership membership = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The membership.
+ */
+ com.google.chat.v1.Membership getMembership();
+ /**
+ *
+ *
+ *
+ * Required. The membership to update. Only fields specified by `update_mask`
+ * are updated.
+ *
+ *
+ * .google.chat.v1.Membership membership = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ com.google.chat.v1.MembershipOrBuilder getMembershipOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Required. The field paths to update. Separate multiple values with commas
+ * or use `*` to update all field paths.
+ *
+ * Currently supported field paths:
+ *
+ * - `role`
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the updateMask field is set.
+ */
+ boolean hasUpdateMask();
+ /**
+ *
+ *
+ *
+ * Required. The field paths to update. Separate multiple values with commas
+ * or use `*` to update all field paths.
+ *
+ * Currently supported field paths:
+ *
+ * - `role`
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The updateMask.
+ */
+ com.google.protobuf.FieldMask getUpdateMask();
+ /**
+ *
+ *
+ *
+ * Required. The field paths to update. Separate multiple values with commas
+ * or use `*` to update all field paths.
+ *
+ * Currently supported field paths:
+ *
+ * - `role`
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder();
+}
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/UpdateMessageRequest.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/UpdateMessageRequest.java
index d30e987f2123..b55f151593b3 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/UpdateMessageRequest.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/UpdateMessageRequest.java
@@ -19,7 +19,15 @@
// Protobuf Java Version: 3.25.2
package com.google.chat.v1;
-/** Protobuf type {@code google.chat.v1.UpdateMessageRequest} */
+/**
+ *
+ *
+ *
+ * Request to update a message.
+ *
+ *
+ * Protobuf type {@code google.chat.v1.UpdateMessageRequest}
+ */
public final class UpdateMessageRequest extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:google.chat.v1.UpdateMessageRequest)
@@ -202,7 +210,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
*
* Optional. If `true` and the message isn't found, a new message is created
* and `updateMask` is ignored. The specified message ID must be
- * [client-assigned](https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message)
+ * [client-assigned](https://developers.google.com/workspace/chat/create-messages#name_a_created_message)
* or the request fails.
*
*
@@ -401,7 +409,15 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
Builder builder = new Builder(parent);
return builder;
}
- /** Protobuf type {@code google.chat.v1.UpdateMessageRequest} */
+ /**
+ *
+ *
+ *
+ * Request to update a message.
+ *
+ *
+ * Protobuf type {@code google.chat.v1.UpdateMessageRequest}
+ */
public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
* Optional. If `true` and the message isn't found, a new message is created
* and `updateMask` is ignored. The specified message ID must be
- * [client-assigned](https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message)
+ * [client-assigned](https://developers.google.com/workspace/chat/create-messages#name_a_created_message)
* or the request fails.
*
*
@@ -1156,7 +1172,7 @@ public boolean getAllowMissing() {
*
* Optional. If `true` and the message isn't found, a new message is created
* and `updateMask` is ignored. The specified message ID must be
- * [client-assigned](https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message)
+ * [client-assigned](https://developers.google.com/workspace/chat/create-messages#name_a_created_message)
* or the request fails.
*
*
@@ -1178,7 +1194,7 @@ public Builder setAllowMissing(boolean value) {
*
* Optional. If `true` and the message isn't found, a new message is created
* and `updateMask` is ignored. The specified message ID must be
- * [client-assigned](https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message)
+ * [client-assigned](https://developers.google.com/workspace/chat/create-messages#name_a_created_message)
* or the request fails.
*
*
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/UpdateMessageRequestOrBuilder.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/UpdateMessageRequestOrBuilder.java
index 4ddc0ae74fd4..75dda01c0bba 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/UpdateMessageRequestOrBuilder.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/UpdateMessageRequestOrBuilder.java
@@ -148,7 +148,7 @@ public interface UpdateMessageRequestOrBuilder
*
* Optional. If `true` and the message isn't found, a new message is created
* and `updateMask` is ignored. The specified message ID must be
- * [client-assigned](https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message)
+ * [client-assigned](https://developers.google.com/workspace/chat/create-messages#name_a_created_message)
* or the request fails.
*
*
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/UpdateSpaceRequest.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/UpdateSpaceRequest.java
index a3432e9b1efe..fd397a3f8553 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/UpdateSpaceRequest.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/UpdateSpaceRequest.java
@@ -134,12 +134,13 @@ public com.google.chat.v1.SpaceOrBuilder getSpaceOrBuilder() {
* Google Workspace organization might already use this display name.)
*
* - `space_type` (Only supports changing a `GROUP_CHAT` space type to
- * `SPACE`. Include `display_name` together with `space_type` in the update
- * mask and ensure that the specified space has a non-empty display name and
- * the `SPACE` space type. Including the `space_type` mask and the `SPACE`
- * type in the specified space when updating the display name is optional if
- * the existing space already has the `SPACE` type. Trying to update the
- * space type in other ways results in an invalid argument error).
+ * `SPACE`. Include `display_name` together
+ * with `space_type` in the update mask and ensure that the specified space
+ * has a non-empty display name and the `SPACE` space type. Including the
+ * `space_type` mask and the `SPACE` type in the specified space when updating
+ * the display name is optional if the existing space already has the `SPACE`
+ * type. Trying to update the space type in other ways results in an invalid
+ * argument error).
*
* - `space_details`
*
@@ -148,6 +149,7 @@ public com.google.chat.v1.SpaceOrBuilder getSpaceOrBuilder() {
* allows users to change their history
* setting](https://support.google.com/a/answer/7664184).
* Warning: mutually exclusive with all other field paths.)
+ *
* - Developer Preview: `access_settings.audience` (Supports changing the
* [access setting](https://support.google.com/chat/answer/11971020) of a
* space. If no audience is specified in the access setting, the space's
@@ -181,12 +183,13 @@ public boolean hasUpdateMask() {
* Google Workspace organization might already use this display name.)
*
* - `space_type` (Only supports changing a `GROUP_CHAT` space type to
- * `SPACE`. Include `display_name` together with `space_type` in the update
- * mask and ensure that the specified space has a non-empty display name and
- * the `SPACE` space type. Including the `space_type` mask and the `SPACE`
- * type in the specified space when updating the display name is optional if
- * the existing space already has the `SPACE` type. Trying to update the
- * space type in other ways results in an invalid argument error).
+ * `SPACE`. Include `display_name` together
+ * with `space_type` in the update mask and ensure that the specified space
+ * has a non-empty display name and the `SPACE` space type. Including the
+ * `space_type` mask and the `SPACE` type in the specified space when updating
+ * the display name is optional if the existing space already has the `SPACE`
+ * type. Trying to update the space type in other ways results in an invalid
+ * argument error).
*
* - `space_details`
*
@@ -195,6 +198,7 @@ public boolean hasUpdateMask() {
* allows users to change their history
* setting](https://support.google.com/a/answer/7664184).
* Warning: mutually exclusive with all other field paths.)
+ *
* - Developer Preview: `access_settings.audience` (Supports changing the
* [access setting](https://support.google.com/chat/answer/11971020) of a
* space. If no audience is specified in the access setting, the space's
@@ -228,12 +232,13 @@ public com.google.protobuf.FieldMask getUpdateMask() {
* Google Workspace organization might already use this display name.)
*
* - `space_type` (Only supports changing a `GROUP_CHAT` space type to
- * `SPACE`. Include `display_name` together with `space_type` in the update
- * mask and ensure that the specified space has a non-empty display name and
- * the `SPACE` space type. Including the `space_type` mask and the `SPACE`
- * type in the specified space when updating the display name is optional if
- * the existing space already has the `SPACE` type. Trying to update the
- * space type in other ways results in an invalid argument error).
+ * `SPACE`. Include `display_name` together
+ * with `space_type` in the update mask and ensure that the specified space
+ * has a non-empty display name and the `SPACE` space type. Including the
+ * `space_type` mask and the `SPACE` type in the specified space when updating
+ * the display name is optional if the existing space already has the `SPACE`
+ * type. Trying to update the space type in other ways results in an invalid
+ * argument error).
*
* - `space_details`
*
@@ -242,6 +247,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
* allows users to change their history
* setting](https://support.google.com/a/answer/7664184).
* Warning: mutually exclusive with all other field paths.)
+ *
* - Developer Preview: `access_settings.audience` (Supports changing the
* [access setting](https://support.google.com/chat/answer/11971020) of a
* space. If no audience is specified in the access setting, the space's
@@ -869,12 +875,13 @@ public com.google.chat.v1.SpaceOrBuilder getSpaceOrBuilder() {
* Google Workspace organization might already use this display name.)
*
* - `space_type` (Only supports changing a `GROUP_CHAT` space type to
- * `SPACE`. Include `display_name` together with `space_type` in the update
- * mask and ensure that the specified space has a non-empty display name and
- * the `SPACE` space type. Including the `space_type` mask and the `SPACE`
- * type in the specified space when updating the display name is optional if
- * the existing space already has the `SPACE` type. Trying to update the
- * space type in other ways results in an invalid argument error).
+ * `SPACE`. Include `display_name` together
+ * with `space_type` in the update mask and ensure that the specified space
+ * has a non-empty display name and the `SPACE` space type. Including the
+ * `space_type` mask and the `SPACE` type in the specified space when updating
+ * the display name is optional if the existing space already has the `SPACE`
+ * type. Trying to update the space type in other ways results in an invalid
+ * argument error).
*
* - `space_details`
*
@@ -883,6 +890,7 @@ public com.google.chat.v1.SpaceOrBuilder getSpaceOrBuilder() {
* allows users to change their history
* setting](https://support.google.com/a/answer/7664184).
* Warning: mutually exclusive with all other field paths.)
+ *
* - Developer Preview: `access_settings.audience` (Supports changing the
* [access setting](https://support.google.com/chat/answer/11971020) of a
* space. If no audience is specified in the access setting, the space's
@@ -915,12 +923,13 @@ public boolean hasUpdateMask() {
* Google Workspace organization might already use this display name.)
*
* - `space_type` (Only supports changing a `GROUP_CHAT` space type to
- * `SPACE`. Include `display_name` together with `space_type` in the update
- * mask and ensure that the specified space has a non-empty display name and
- * the `SPACE` space type. Including the `space_type` mask and the `SPACE`
- * type in the specified space when updating the display name is optional if
- * the existing space already has the `SPACE` type. Trying to update the
- * space type in other ways results in an invalid argument error).
+ * `SPACE`. Include `display_name` together
+ * with `space_type` in the update mask and ensure that the specified space
+ * has a non-empty display name and the `SPACE` space type. Including the
+ * `space_type` mask and the `SPACE` type in the specified space when updating
+ * the display name is optional if the existing space already has the `SPACE`
+ * type. Trying to update the space type in other ways results in an invalid
+ * argument error).
*
* - `space_details`
*
@@ -929,6 +938,7 @@ public boolean hasUpdateMask() {
* allows users to change their history
* setting](https://support.google.com/a/answer/7664184).
* Warning: mutually exclusive with all other field paths.)
+ *
* - Developer Preview: `access_settings.audience` (Supports changing the
* [access setting](https://support.google.com/chat/answer/11971020) of a
* space. If no audience is specified in the access setting, the space's
@@ -967,12 +977,13 @@ public com.google.protobuf.FieldMask getUpdateMask() {
* Google Workspace organization might already use this display name.)
*
* - `space_type` (Only supports changing a `GROUP_CHAT` space type to
- * `SPACE`. Include `display_name` together with `space_type` in the update
- * mask and ensure that the specified space has a non-empty display name and
- * the `SPACE` space type. Including the `space_type` mask and the `SPACE`
- * type in the specified space when updating the display name is optional if
- * the existing space already has the `SPACE` type. Trying to update the
- * space type in other ways results in an invalid argument error).
+ * `SPACE`. Include `display_name` together
+ * with `space_type` in the update mask and ensure that the specified space
+ * has a non-empty display name and the `SPACE` space type. Including the
+ * `space_type` mask and the `SPACE` type in the specified space when updating
+ * the display name is optional if the existing space already has the `SPACE`
+ * type. Trying to update the space type in other ways results in an invalid
+ * argument error).
*
* - `space_details`
*
@@ -981,6 +992,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
* allows users to change their history
* setting](https://support.google.com/a/answer/7664184).
* Warning: mutually exclusive with all other field paths.)
+ *
* - Developer Preview: `access_settings.audience` (Supports changing the
* [access setting](https://support.google.com/chat/answer/11971020) of a
* space. If no audience is specified in the access setting, the space's
@@ -1021,12 +1033,13 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
* Google Workspace organization might already use this display name.)
*
* - `space_type` (Only supports changing a `GROUP_CHAT` space type to
- * `SPACE`. Include `display_name` together with `space_type` in the update
- * mask and ensure that the specified space has a non-empty display name and
- * the `SPACE` space type. Including the `space_type` mask and the `SPACE`
- * type in the specified space when updating the display name is optional if
- * the existing space already has the `SPACE` type. Trying to update the
- * space type in other ways results in an invalid argument error).
+ * `SPACE`. Include `display_name` together
+ * with `space_type` in the update mask and ensure that the specified space
+ * has a non-empty display name and the `SPACE` space type. Including the
+ * `space_type` mask and the `SPACE` type in the specified space when updating
+ * the display name is optional if the existing space already has the `SPACE`
+ * type. Trying to update the space type in other ways results in an invalid
+ * argument error).
*
* - `space_details`
*
@@ -1035,6 +1048,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
* allows users to change their history
* setting](https://support.google.com/a/answer/7664184).
* Warning: mutually exclusive with all other field paths.)
+ *
* - Developer Preview: `access_settings.audience` (Supports changing the
* [access setting](https://support.google.com/chat/answer/11971020) of a
* space. If no audience is specified in the access setting, the space's
@@ -1072,12 +1086,13 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
* Google Workspace organization might already use this display name.)
*
* - `space_type` (Only supports changing a `GROUP_CHAT` space type to
- * `SPACE`. Include `display_name` together with `space_type` in the update
- * mask and ensure that the specified space has a non-empty display name and
- * the `SPACE` space type. Including the `space_type` mask and the `SPACE`
- * type in the specified space when updating the display name is optional if
- * the existing space already has the `SPACE` type. Trying to update the
- * space type in other ways results in an invalid argument error).
+ * `SPACE`. Include `display_name` together
+ * with `space_type` in the update mask and ensure that the specified space
+ * has a non-empty display name and the `SPACE` space type. Including the
+ * `space_type` mask and the `SPACE` type in the specified space when updating
+ * the display name is optional if the existing space already has the `SPACE`
+ * type. Trying to update the space type in other ways results in an invalid
+ * argument error).
*
* - `space_details`
*
@@ -1086,6 +1101,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
* allows users to change their history
* setting](https://support.google.com/a/answer/7664184).
* Warning: mutually exclusive with all other field paths.)
+ *
* - Developer Preview: `access_settings.audience` (Supports changing the
* [access setting](https://support.google.com/chat/answer/11971020) of a
* space. If no audience is specified in the access setting, the space's
@@ -1131,12 +1147,13 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
* Google Workspace organization might already use this display name.)
*
* - `space_type` (Only supports changing a `GROUP_CHAT` space type to
- * `SPACE`. Include `display_name` together with `space_type` in the update
- * mask and ensure that the specified space has a non-empty display name and
- * the `SPACE` space type. Including the `space_type` mask and the `SPACE`
- * type in the specified space when updating the display name is optional if
- * the existing space already has the `SPACE` type. Trying to update the
- * space type in other ways results in an invalid argument error).
+ * `SPACE`. Include `display_name` together
+ * with `space_type` in the update mask and ensure that the specified space
+ * has a non-empty display name and the `SPACE` space type. Including the
+ * `space_type` mask and the `SPACE` type in the specified space when updating
+ * the display name is optional if the existing space already has the `SPACE`
+ * type. Trying to update the space type in other ways results in an invalid
+ * argument error).
*
* - `space_details`
*
@@ -1145,6 +1162,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
* allows users to change their history
* setting](https://support.google.com/a/answer/7664184).
* Warning: mutually exclusive with all other field paths.)
+ *
* - Developer Preview: `access_settings.audience` (Supports changing the
* [access setting](https://support.google.com/chat/answer/11971020) of a
* space. If no audience is specified in the access setting, the space's
@@ -1182,12 +1200,13 @@ public Builder clearUpdateMask() {
* Google Workspace organization might already use this display name.)
*
* - `space_type` (Only supports changing a `GROUP_CHAT` space type to
- * `SPACE`. Include `display_name` together with `space_type` in the update
- * mask and ensure that the specified space has a non-empty display name and
- * the `SPACE` space type. Including the `space_type` mask and the `SPACE`
- * type in the specified space when updating the display name is optional if
- * the existing space already has the `SPACE` type. Trying to update the
- * space type in other ways results in an invalid argument error).
+ * `SPACE`. Include `display_name` together
+ * with `space_type` in the update mask and ensure that the specified space
+ * has a non-empty display name and the `SPACE` space type. Including the
+ * `space_type` mask and the `SPACE` type in the specified space when updating
+ * the display name is optional if the existing space already has the `SPACE`
+ * type. Trying to update the space type in other ways results in an invalid
+ * argument error).
*
* - `space_details`
*
@@ -1196,6 +1215,7 @@ public Builder clearUpdateMask() {
* allows users to change their history
* setting](https://support.google.com/a/answer/7664184).
* Warning: mutually exclusive with all other field paths.)
+ *
* - Developer Preview: `access_settings.audience` (Supports changing the
* [access setting](https://support.google.com/chat/answer/11971020) of a
* space. If no audience is specified in the access setting, the space's
@@ -1228,12 +1248,13 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
* Google Workspace organization might already use this display name.)
*
* - `space_type` (Only supports changing a `GROUP_CHAT` space type to
- * `SPACE`. Include `display_name` together with `space_type` in the update
- * mask and ensure that the specified space has a non-empty display name and
- * the `SPACE` space type. Including the `space_type` mask and the `SPACE`
- * type in the specified space when updating the display name is optional if
- * the existing space already has the `SPACE` type. Trying to update the
- * space type in other ways results in an invalid argument error).
+ * `SPACE`. Include `display_name` together
+ * with `space_type` in the update mask and ensure that the specified space
+ * has a non-empty display name and the `SPACE` space type. Including the
+ * `space_type` mask and the `SPACE` type in the specified space when updating
+ * the display name is optional if the existing space already has the `SPACE`
+ * type. Trying to update the space type in other ways results in an invalid
+ * argument error).
*
* - `space_details`
*
@@ -1242,6 +1263,7 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
* allows users to change their history
* setting](https://support.google.com/a/answer/7664184).
* Warning: mutually exclusive with all other field paths.)
+ *
* - Developer Preview: `access_settings.audience` (Supports changing the
* [access setting](https://support.google.com/chat/answer/11971020) of a
* space. If no audience is specified in the access setting, the space's
@@ -1278,12 +1300,13 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
* Google Workspace organization might already use this display name.)
*
* - `space_type` (Only supports changing a `GROUP_CHAT` space type to
- * `SPACE`. Include `display_name` together with `space_type` in the update
- * mask and ensure that the specified space has a non-empty display name and
- * the `SPACE` space type. Including the `space_type` mask and the `SPACE`
- * type in the specified space when updating the display name is optional if
- * the existing space already has the `SPACE` type. Trying to update the
- * space type in other ways results in an invalid argument error).
+ * `SPACE`. Include `display_name` together
+ * with `space_type` in the update mask and ensure that the specified space
+ * has a non-empty display name and the `SPACE` space type. Including the
+ * `space_type` mask and the `SPACE` type in the specified space when updating
+ * the display name is optional if the existing space already has the `SPACE`
+ * type. Trying to update the space type in other ways results in an invalid
+ * argument error).
*
* - `space_details`
*
@@ -1292,6 +1315,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
* allows users to change their history
* setting](https://support.google.com/a/answer/7664184).
* Warning: mutually exclusive with all other field paths.)
+ *
* - Developer Preview: `access_settings.audience` (Supports changing the
* [access setting](https://support.google.com/chat/answer/11971020) of a
* space. If no audience is specified in the access setting, the space's
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/UpdateSpaceRequestOrBuilder.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/UpdateSpaceRequestOrBuilder.java
index cf4506610b04..f85a057aa306 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/UpdateSpaceRequestOrBuilder.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/UpdateSpaceRequestOrBuilder.java
@@ -83,12 +83,13 @@ public interface UpdateSpaceRequestOrBuilder
* Google Workspace organization might already use this display name.)
*
* - `space_type` (Only supports changing a `GROUP_CHAT` space type to
- * `SPACE`. Include `display_name` together with `space_type` in the update
- * mask and ensure that the specified space has a non-empty display name and
- * the `SPACE` space type. Including the `space_type` mask and the `SPACE`
- * type in the specified space when updating the display name is optional if
- * the existing space already has the `SPACE` type. Trying to update the
- * space type in other ways results in an invalid argument error).
+ * `SPACE`. Include `display_name` together
+ * with `space_type` in the update mask and ensure that the specified space
+ * has a non-empty display name and the `SPACE` space type. Including the
+ * `space_type` mask and the `SPACE` type in the specified space when updating
+ * the display name is optional if the existing space already has the `SPACE`
+ * type. Trying to update the space type in other ways results in an invalid
+ * argument error).
*
* - `space_details`
*
@@ -97,6 +98,7 @@ public interface UpdateSpaceRequestOrBuilder
* allows users to change their history
* setting](https://support.google.com/a/answer/7664184).
* Warning: mutually exclusive with all other field paths.)
+ *
* - Developer Preview: `access_settings.audience` (Supports changing the
* [access setting](https://support.google.com/chat/answer/11971020) of a
* space. If no audience is specified in the access setting, the space's
@@ -127,12 +129,13 @@ public interface UpdateSpaceRequestOrBuilder
* Google Workspace organization might already use this display name.)
*
* - `space_type` (Only supports changing a `GROUP_CHAT` space type to
- * `SPACE`. Include `display_name` together with `space_type` in the update
- * mask and ensure that the specified space has a non-empty display name and
- * the `SPACE` space type. Including the `space_type` mask and the `SPACE`
- * type in the specified space when updating the display name is optional if
- * the existing space already has the `SPACE` type. Trying to update the
- * space type in other ways results in an invalid argument error).
+ * `SPACE`. Include `display_name` together
+ * with `space_type` in the update mask and ensure that the specified space
+ * has a non-empty display name and the `SPACE` space type. Including the
+ * `space_type` mask and the `SPACE` type in the specified space when updating
+ * the display name is optional if the existing space already has the `SPACE`
+ * type. Trying to update the space type in other ways results in an invalid
+ * argument error).
*
* - `space_details`
*
@@ -141,6 +144,7 @@ public interface UpdateSpaceRequestOrBuilder
* allows users to change their history
* setting](https://support.google.com/a/answer/7664184).
* Warning: mutually exclusive with all other field paths.)
+ *
* - Developer Preview: `access_settings.audience` (Supports changing the
* [access setting](https://support.google.com/chat/answer/11971020) of a
* space. If no audience is specified in the access setting, the space's
@@ -171,12 +175,13 @@ public interface UpdateSpaceRequestOrBuilder
* Google Workspace organization might already use this display name.)
*
* - `space_type` (Only supports changing a `GROUP_CHAT` space type to
- * `SPACE`. Include `display_name` together with `space_type` in the update
- * mask and ensure that the specified space has a non-empty display name and
- * the `SPACE` space type. Including the `space_type` mask and the `SPACE`
- * type in the specified space when updating the display name is optional if
- * the existing space already has the `SPACE` type. Trying to update the
- * space type in other ways results in an invalid argument error).
+ * `SPACE`. Include `display_name` together
+ * with `space_type` in the update mask and ensure that the specified space
+ * has a non-empty display name and the `SPACE` space type. Including the
+ * `space_type` mask and the `SPACE` type in the specified space when updating
+ * the display name is optional if the existing space already has the `SPACE`
+ * type. Trying to update the space type in other ways results in an invalid
+ * argument error).
*
* - `space_details`
*
@@ -185,6 +190,7 @@ public interface UpdateSpaceRequestOrBuilder
* allows users to change their history
* setting](https://support.google.com/a/answer/7664184).
* Warning: mutually exclusive with all other field paths.)
+ *
* - Developer Preview: `access_settings.audience` (Supports changing the
* [access setting](https://support.google.com/chat/answer/11971020) of a
* space. If no audience is specified in the access setting, the space's
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/UploadAttachmentRequest.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/UploadAttachmentRequest.java
index 7521bfb9fe64..3ea548328a9e 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/UploadAttachmentRequest.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/UploadAttachmentRequest.java
@@ -19,7 +19,15 @@
// Protobuf Java Version: 3.25.2
package com.google.chat.v1;
-/** Protobuf type {@code google.chat.v1.UploadAttachmentRequest} */
+/**
+ *
+ *
+ *
+ * Request to upload an attachment.
+ *
+ *
+ * Protobuf type {@code google.chat.v1.UploadAttachmentRequest}
+ */
public final class UploadAttachmentRequest extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:google.chat.v1.UploadAttachmentRequest)
@@ -332,7 +340,15 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
Builder builder = new Builder(parent);
return builder;
}
- /** Protobuf type {@code google.chat.v1.UploadAttachmentRequest} */
+ /**
+ *
+ *
+ *
+ * Request to upload an attachment.
+ *
+ *
+ * Protobuf type {@code google.chat.v1.UploadAttachmentRequest}
+ */
public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Response of uploading an attachment.
+ *
+ *
+ * Protobuf type {@code google.chat.v1.UploadAttachmentResponse}
+ */
public final class UploadAttachmentResponse extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:google.chat.v1.UploadAttachmentResponse)
@@ -268,7 +276,15 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
Builder builder = new Builder(parent);
return builder;
}
- /** Protobuf type {@code google.chat.v1.UploadAttachmentResponse} */
+ /**
+ *
+ *
+ *
+ * Response of uploading an attachment.
+ *
+ *
+ * Protobuf type {@code google.chat.v1.UploadAttachmentResponse}
+ */
public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
* A user in Google Chat.
* When returned as an output from a request, if your Chat app [authenticates as
- * a user](https://developers.google.com/chat/api/guides/auth/users), the output
- * for a `User` resource only populates the user's `name` and `type`.
+ * a
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the output for a `User` resource only populates the user's `name` and `type`.
*
*
* Protobuf type {@code google.chat.v1.User}
@@ -662,8 +663,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
* A user in Google Chat.
* When returned as an output from a request, if your Chat app [authenticates as
- * a user](https://developers.google.com/chat/api/guides/auth/users), the output
- * for a `User` resource only populates the user's `name` and `type`.
+ * a
+ * user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ * the output for a `User` resource only populates the user's `name` and `type`.
*
*
* Protobuf type {@code google.chat.v1.User}
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/WidgetMarkup.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/WidgetMarkup.java
index db4f719374fc..9b8136567242 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/WidgetMarkup.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/WidgetMarkup.java
@@ -363,7 +363,7 @@ public interface TextParagraphOrBuilder
* A paragraph of text. Formatted text supported. For more information
* about formatting text, see
* [Formatting text in Google Chat
- * apps](https://developers.google.com/chat/format-messages#card-formatting)
+ * apps](https://developers.google.com/workspace/chat/format-messages#card-formatting)
* and
* [Formatting
* text in Google Workspace
@@ -613,7 +613,7 @@ protected Builder newBuilderForType(
* A paragraph of text. Formatted text supported. For more information
* about formatting text, see
* [Formatting text in Google Chat
- * apps](https://developers.google.com/chat/format-messages#card-formatting)
+ * apps](https://developers.google.com/workspace/chat/format-messages#card-formatting)
* and
* [Formatting
* text in Google Workspace
@@ -3155,7 +3155,7 @@ public interface KeyValueOrBuilder
* The text of the top label. Formatted text supported. For more information
* about formatting text, see
* [Formatting text in Google Chat
- * apps](https://developers.google.com/chat/format-messages#card-formatting)
+ * apps](https://developers.google.com/workspace/chat/format-messages#card-formatting)
* and
* [Formatting
* text in Google Workspace
@@ -3174,7 +3174,7 @@ public interface KeyValueOrBuilder
* The text of the top label. Formatted text supported. For more information
* about formatting text, see
* [Formatting text in Google Chat
- * apps](https://developers.google.com/chat/format-messages#card-formatting)
+ * apps](https://developers.google.com/workspace/chat/format-messages#card-formatting)
* and
* [Formatting
* text in Google Workspace
@@ -3195,7 +3195,7 @@ public interface KeyValueOrBuilder
* For more information
* about formatting text, see
* [Formatting text in Google Chat
- * apps](https://developers.google.com/chat/format-messages#card-formatting)
+ * apps](https://developers.google.com/workspace/chat/format-messages#card-formatting)
* and
* [Formatting
* text in Google Workspace
@@ -3215,7 +3215,7 @@ public interface KeyValueOrBuilder
* For more information
* about formatting text, see
* [Formatting text in Google Chat
- * apps](https://developers.google.com/chat/format-messages#card-formatting)
+ * apps](https://developers.google.com/workspace/chat/format-messages#card-formatting)
* and
* [Formatting
* text in Google Workspace
@@ -3247,7 +3247,7 @@ public interface KeyValueOrBuilder
*
* The text of the bottom label. Formatted text supported. For more
* information about formatting text, see [Formatting text in Google Chat
- * apps](https://developers.google.com/chat/format-messages#card-formatting)
+ * apps](https://developers.google.com/workspace/chat/format-messages#card-formatting)
* and
* [Formatting
* text in Google Workspace
@@ -3265,7 +3265,7 @@ public interface KeyValueOrBuilder
*
* The text of the bottom label. Formatted text supported. For more
* information about formatting text, see [Formatting text in Google Chat
- * apps](https://developers.google.com/chat/format-messages#card-formatting)
+ * apps](https://developers.google.com/workspace/chat/format-messages#card-formatting)
* and
* [Formatting
* text in Google Workspace
@@ -3634,7 +3634,7 @@ public com.google.protobuf.ByteString getIconUrlBytes() {
* The text of the top label. Formatted text supported. For more information
* about formatting text, see
* [Formatting text in Google Chat
- * apps](https://developers.google.com/chat/format-messages#card-formatting)
+ * apps](https://developers.google.com/workspace/chat/format-messages#card-formatting)
* and
* [Formatting
* text in Google Workspace
@@ -3664,7 +3664,7 @@ public java.lang.String getTopLabel() {
* The text of the top label. Formatted text supported. For more information
* about formatting text, see
* [Formatting text in Google Chat
- * apps](https://developers.google.com/chat/format-messages#card-formatting)
+ * apps](https://developers.google.com/workspace/chat/format-messages#card-formatting)
* and
* [Formatting
* text in Google Workspace
@@ -3700,7 +3700,7 @@ public com.google.protobuf.ByteString getTopLabelBytes() {
* For more information
* about formatting text, see
* [Formatting text in Google Chat
- * apps](https://developers.google.com/chat/format-messages#card-formatting)
+ * apps](https://developers.google.com/workspace/chat/format-messages#card-formatting)
* and
* [Formatting
* text in Google Workspace
@@ -3731,7 +3731,7 @@ public java.lang.String getContent() {
* For more information
* about formatting text, see
* [Formatting text in Google Chat
- * apps](https://developers.google.com/chat/format-messages#card-formatting)
+ * apps](https://developers.google.com/workspace/chat/format-messages#card-formatting)
* and
* [Formatting
* text in Google Workspace
@@ -3783,7 +3783,7 @@ public boolean getContentMultiline() {
*
* The text of the bottom label. Formatted text supported. For more
* information about formatting text, see [Formatting text in Google Chat
- * apps](https://developers.google.com/chat/format-messages#card-formatting)
+ * apps](https://developers.google.com/workspace/chat/format-messages#card-formatting)
* and
* [Formatting
* text in Google Workspace
@@ -3812,7 +3812,7 @@ public java.lang.String getBottomLabel() {
*
* The text of the bottom label. Formatted text supported. For more
* information about formatting text, see [Formatting text in Google Chat
- * apps](https://developers.google.com/chat/format-messages#card-formatting)
+ * apps](https://developers.google.com/workspace/chat/format-messages#card-formatting)
* and
* [Formatting
* text in Google Workspace
@@ -4814,7 +4814,7 @@ public Builder setIconUrlBytes(com.google.protobuf.ByteString value) {
* The text of the top label. Formatted text supported. For more information
* about formatting text, see
* [Formatting text in Google Chat
- * apps](https://developers.google.com/chat/format-messages#card-formatting)
+ * apps](https://developers.google.com/workspace/chat/format-messages#card-formatting)
* and
* [Formatting
* text in Google Workspace
@@ -4843,7 +4843,7 @@ public java.lang.String getTopLabel() {
* The text of the top label. Formatted text supported. For more information
* about formatting text, see
* [Formatting text in Google Chat
- * apps](https://developers.google.com/chat/format-messages#card-formatting)
+ * apps](https://developers.google.com/workspace/chat/format-messages#card-formatting)
* and
* [Formatting
* text in Google Workspace
@@ -4872,7 +4872,7 @@ public com.google.protobuf.ByteString getTopLabelBytes() {
* The text of the top label. Formatted text supported. For more information
* about formatting text, see
* [Formatting text in Google Chat
- * apps](https://developers.google.com/chat/format-messages#card-formatting)
+ * apps](https://developers.google.com/workspace/chat/format-messages#card-formatting)
* and
* [Formatting
* text in Google Workspace
@@ -4900,7 +4900,7 @@ public Builder setTopLabel(java.lang.String value) {
* The text of the top label. Formatted text supported. For more information
* about formatting text, see
* [Formatting text in Google Chat
- * apps](https://developers.google.com/chat/format-messages#card-formatting)
+ * apps](https://developers.google.com/workspace/chat/format-messages#card-formatting)
* and
* [Formatting
* text in Google Workspace
@@ -4924,7 +4924,7 @@ public Builder clearTopLabel() {
* The text of the top label. Formatted text supported. For more information
* about formatting text, see
* [Formatting text in Google Chat
- * apps](https://developers.google.com/chat/format-messages#card-formatting)
+ * apps](https://developers.google.com/workspace/chat/format-messages#card-formatting)
* and
* [Formatting
* text in Google Workspace
@@ -4956,7 +4956,7 @@ public Builder setTopLabelBytes(com.google.protobuf.ByteString value) {
* For more information
* about formatting text, see
* [Formatting text in Google Chat
- * apps](https://developers.google.com/chat/format-messages#card-formatting)
+ * apps](https://developers.google.com/workspace/chat/format-messages#card-formatting)
* and
* [Formatting
* text in Google Workspace
@@ -4986,7 +4986,7 @@ public java.lang.String getContent() {
* For more information
* about formatting text, see
* [Formatting text in Google Chat
- * apps](https://developers.google.com/chat/format-messages#card-formatting)
+ * apps](https://developers.google.com/workspace/chat/format-messages#card-formatting)
* and
* [Formatting
* text in Google Workspace
@@ -5016,7 +5016,7 @@ public com.google.protobuf.ByteString getContentBytes() {
* For more information
* about formatting text, see
* [Formatting text in Google Chat
- * apps](https://developers.google.com/chat/format-messages#card-formatting)
+ * apps](https://developers.google.com/workspace/chat/format-messages#card-formatting)
* and
* [Formatting
* text in Google Workspace
@@ -5045,7 +5045,7 @@ public Builder setContent(java.lang.String value) {
* For more information
* about formatting text, see
* [Formatting text in Google Chat
- * apps](https://developers.google.com/chat/format-messages#card-formatting)
+ * apps](https://developers.google.com/workspace/chat/format-messages#card-formatting)
* and
* [Formatting
* text in Google Workspace
@@ -5070,7 +5070,7 @@ public Builder clearContent() {
* For more information
* about formatting text, see
* [Formatting text in Google Chat
- * apps](https://developers.google.com/chat/format-messages#card-formatting)
+ * apps](https://developers.google.com/workspace/chat/format-messages#card-formatting)
* and
* [Formatting
* text in Google Workspace
@@ -5153,7 +5153,7 @@ public Builder clearContentMultiline() {
*
* The text of the bottom label. Formatted text supported. For more
* information about formatting text, see [Formatting text in Google Chat
- * apps](https://developers.google.com/chat/format-messages#card-formatting)
+ * apps](https://developers.google.com/workspace/chat/format-messages#card-formatting)
* and
* [Formatting
* text in Google Workspace
@@ -5181,7 +5181,7 @@ public java.lang.String getBottomLabel() {
*
* The text of the bottom label. Formatted text supported. For more
* information about formatting text, see [Formatting text in Google Chat
- * apps](https://developers.google.com/chat/format-messages#card-formatting)
+ * apps](https://developers.google.com/workspace/chat/format-messages#card-formatting)
* and
* [Formatting
* text in Google Workspace
@@ -5209,7 +5209,7 @@ public com.google.protobuf.ByteString getBottomLabelBytes() {
*
* The text of the bottom label. Formatted text supported. For more
* information about formatting text, see [Formatting text in Google Chat
- * apps](https://developers.google.com/chat/format-messages#card-formatting)
+ * apps](https://developers.google.com/workspace/chat/format-messages#card-formatting)
* and
* [Formatting
* text in Google Workspace
@@ -5236,7 +5236,7 @@ public Builder setBottomLabel(java.lang.String value) {
*
* The text of the bottom label. Formatted text supported. For more
* information about formatting text, see [Formatting text in Google Chat
- * apps](https://developers.google.com/chat/format-messages#card-formatting)
+ * apps](https://developers.google.com/workspace/chat/format-messages#card-formatting)
* and
* [Formatting
* text in Google Workspace
@@ -5259,7 +5259,7 @@ public Builder clearBottomLabel() {
*
* The text of the bottom label. Formatted text supported. For more
* information about formatting text, see [Formatting text in Google Chat
- * apps](https://developers.google.com/chat/format-messages#card-formatting)
+ * apps](https://developers.google.com/workspace/chat/format-messages#card-formatting)
* and
* [Formatting
* text in Google Workspace
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/action_status.proto b/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/action_status.proto
index 545d51fd07dc..e7429fa337ea 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/action_status.proto
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/action_status.proto
@@ -27,7 +27,7 @@ option php_namespace = "Google\\Apps\\Chat\\V1";
option ruby_package = "Google::Apps::Chat::V1";
// Represents the status for a request to either invoke or submit a
-// [dialog](https://developers.google.com/chat/how-tos/dialogs).
+// [dialog](https://developers.google.com/workspace/chat/dialogs).
message ActionStatus {
// The status code.
google.rpc.Code status_code = 1;
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/annotation.proto b/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/annotation.proto
index d9ca0c1915b5..b634e7a92546 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/annotation.proto
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/annotation.proto
@@ -30,7 +30,7 @@ option ruby_package = "Google::Apps::Chat::V1";
// Output only. Annotations associated with the plain-text body of the message.
// To add basic formatting to a text message, see
// [Format text
-// messages](https://developers.google.com/chat/format-messages).
+// messages](https://developers.google.com/workspace/chat/format-messages).
//
// Example plain-text message body:
// ```
@@ -155,7 +155,7 @@ message RichLinkMetadata {
// Data for Google Drive links.
message DriveLinkData {
// A
- // [DriveDataRef](https://developers.google.com/chat/api/reference/rest/v1/spaces.messages.attachments#drivedataref)
+ // [DriveDataRef](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.attachments#drivedataref)
// which references a Google Drive file.
DriveDataRef drive_data_ref = 1;
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/attachment.proto b/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/attachment.proto
index e419033472cd..77e6b4e13c24 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/attachment.proto
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/attachment.proto
@@ -34,11 +34,15 @@ message Attachment {
pattern: "spaces/{space}/messages/{message}/attachments/{attachment}"
};
+ // The source of the attachment.
enum Source {
+ // Reserved.
SOURCE_UNSPECIFIED = 0;
+ // The file is a Google Drive file.
DRIVE_FILE = 1;
+ // The file is uploaded to Chat.
UPLOADED_CONTENT = 2;
}
@@ -52,6 +56,7 @@ message Attachment {
// Output only. The content type (MIME type) of the file.
string content_type = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+ // The data reference to the attachment.
oneof data_ref {
// A reference to the attachment data. This field is used with the media API
// to download the attachment data.
@@ -82,6 +87,7 @@ message DriveDataRef {
string drive_file_id = 2;
}
+// A reference to the attachment data.
message AttachmentDataRef {
// The resource name of the attachment data. This field is used with the media
// API to download the attachment data.
@@ -93,6 +99,7 @@ message AttachmentDataRef {
string attachment_upload_token = 2;
}
+// Request to get an attachment.
message GetAttachmentRequest {
// Required. Resource name of the attachment, in the form
// `spaces/*/messages/*/attachments/*`.
@@ -102,6 +109,7 @@ message GetAttachmentRequest {
];
}
+// Request to upload an attachment.
message UploadAttachmentRequest {
// Required. Resource name of the Chat space in which the attachment is
// uploaded. Format "spaces/{space}".
@@ -116,6 +124,7 @@ message UploadAttachmentRequest {
string filename = 4 [(google.api.field_behavior) = REQUIRED];
}
+// Response of uploading an attachment.
message UploadAttachmentResponse {
// Reference to the uploaded attachment.
AttachmentDataRef attachment_data_ref = 1;
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/chat_service.proto b/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/chat_service.proto
index b7f6be3f7783..d556955112df 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/chat_service.proto
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/chat_service.proto
@@ -55,12 +55,12 @@ service ChatService {
"https://www.googleapis.com/auth/chat.spaces.create,"
"https://www.googleapis.com/auth/chat.spaces.readonly";
- // Creates a message in a Google Chat space. For an example, see [Create a
- // message](https://developers.google.com/chat/api/guides/v1/messages/create).
+ // Creates a message in a Google Chat space. For an example, see [Send a
+ // message](https://developers.google.com/workspace/chat/create-messages).
//
// Calling this method requires
- // [authentication](https://developers.google.com/chat/api/guides/auth) and
- // supports the following authentication types:
+ // [authentication](https://developers.google.com/workspace/chat/authenticate-authorize)
+ // and supports the following authentication types:
//
// - For text messages, user authentication or app authentication are
// supported.
@@ -78,7 +78,7 @@ service ChatService {
// messages from blocked members and spaces. For an example, see
// [List messages](/chat/api/guides/v1/messages/list).
// Requires [user
- // authentication](https://developers.google.com/chat/api/guides/auth/users).
+ // authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
rpc ListMessages(ListMessagesRequest) returns (ListMessagesResponse) {
option (google.api.http) = {
get: "/v1/{parent=spaces/*}/messages"
@@ -86,25 +86,25 @@ service ChatService {
option (google.api.method_signature) = "parent";
}
- // Lists memberships in a space. For an example, see [List
- // memberships](https://developers.google.com/chat/api/guides/v1/members/list).
- // Listing memberships with
- // [app
- // authentication](https://developers.google.com/chat/api/guides/auth/service-accounts)
+ // Lists memberships in a space. For an example, see [List users and Google
+ // Chat apps in a
+ // space](https://developers.google.com/workspace/chat/list-members). Listing
+ // memberships with [app
+ // authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
// lists memberships in spaces that the Chat app has
// access to, but excludes Chat app memberships,
// including its own. Listing memberships with
// [User
- // authentication](https://developers.google.com/chat/api/guides/auth/users)
+ // authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
// lists memberships in spaces that the authenticated user has access to.
//
// Requires
- // [authentication](https://developers.google.com/chat/api/guides/auth).
+ // [authentication](https://developers.google.com/workspace/chat/authenticate-authorize).
// Supports
// [app
- // authentication](https://developers.google.com/chat/api/guides/auth/service-accounts)
+ // authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
// and [user
- // authentication](https://developers.google.com/chat/api/guides/auth/users).
+ // authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
rpc ListMemberships(ListMembershipsRequest)
returns (ListMembershipsResponse) {
option (google.api.http) = {
@@ -114,16 +114,16 @@ service ChatService {
}
// Returns details about a membership. For an example, see
- // [Get a
- // membership](https://developers.google.com/chat/api/guides/v1/members/get).
+ // [Get details about a user's or Google Chat app's
+ // membership](https://developers.google.com/workspace/chat/get-members).
//
// Requires
- // [authentication](https://developers.google.com/chat/api/guides/auth).
+ // [authentication](https://developers.google.com/workspace/chat/authenticate-authorize).
// Supports
// [app
- // authentication](https://developers.google.com/chat/api/guides/auth/service-accounts)
+ // authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
// and [user
- // authentication](https://developers.google.com/chat/api/guides/auth/users).
+ // authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
rpc GetMembership(GetMembershipRequest) returns (Membership) {
option (google.api.http) = {
get: "/v1/{name=spaces/*/members/*}"
@@ -132,16 +132,16 @@ service ChatService {
}
// Returns details about a message.
- // For an example, see [Read a
- // message](https://developers.google.com/chat/api/guides/v1/messages/get).
+ // For an example, see [Get details about a
+ // message](https://developers.google.com/workspace/chat/get-messages).
//
// Requires
- // [authentication](https://developers.google.com/chat/api/guides/auth).
+ // [authentication](https://developers.google.com/workspace/chat/authenticate-authorize).
// Supports
// [app
- // authentication](https://developers.google.com/chat/api/guides/auth/service-accounts)
+ // authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
// and [user
- // authentication](https://developers.google.com/chat/api/guides/auth/users).
+ // authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
//
// Note: Might return a message from a blocked member or space.
rpc GetMessage(GetMessageRequest) returns (Message) {
@@ -156,15 +156,15 @@ service ChatService {
// method uses a `patch` request while the `update` method uses a `put`
// request. We recommend using the `patch` method. For an example, see
// [Update a
- // message](https://developers.google.com/chat/api/guides/v1/messages/update).
+ // message](https://developers.google.com/workspace/chat/update-messages).
//
// Requires
- // [authentication](https://developers.google.com/chat/api/guides/auth).
+ // [authentication](https://developers.google.com/workspace/chat/authenticate-authorize).
// Supports
// [app
- // authentication](https://developers.google.com/chat/api/guides/auth/service-accounts)
+ // authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
// and [user
- // authentication](https://developers.google.com/chat/api/guides/auth/users).
+ // authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
// When using app authentication, requests can only update messages
// created by the calling Chat app.
rpc UpdateMessage(UpdateMessageRequest) returns (Message) {
@@ -181,15 +181,15 @@ service ChatService {
// Deletes a message.
// For an example, see [Delete a
- // message](https://developers.google.com/chat/api/guides/v1/messages/delete).
+ // message](https://developers.google.com/workspace/chat/delete-messages).
//
// Requires
- // [authentication](https://developers.google.com/chat/api/guides/auth).
+ // [authentication](https://developers.google.com/workspace/chat/authenticate-authorize).
// Supports
// [app
- // authentication](https://developers.google.com/chat/api/guides/auth/service-accounts)
+ // authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
// and [user
- // authentication](https://developers.google.com/chat/api/guides/auth/users).
+ // authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
// When using app authentication, requests can only delete messages
// created by the calling Chat app.
rpc DeleteMessage(DeleteMessageRequest) returns (google.protobuf.Empty) {
@@ -201,12 +201,12 @@ service ChatService {
// Gets the metadata of a message attachment. The attachment data is fetched
// using the [media
- // API](https://developers.google.com/chat/api/reference/rest/v1/media/download).
+ // API](https://developers.google.com/workspace/chat/api/reference/rest/v1/media/download).
// For an example, see
- // [Get a message
- // attachment](https://developers.google.com/chat/api/guides/v1/media-and-attachments/get).
+ // [Get metadata about a message
+ // attachment](https://developers.google.com/workspace/chat/get-media-attachments).
// Requires [app
- // authentication](https://developers.google.com/chat/api/guides/auth/service-accounts).
+ // authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
rpc GetAttachment(GetAttachmentRequest) returns (Attachment) {
option (google.api.http) = {
get: "/v1/{name=spaces/*/messages/*/attachments/*}"
@@ -216,9 +216,9 @@ service ChatService {
// Uploads an attachment. For an example, see
// [Upload media as a file
- // attachment](https://developers.google.com/chat/api/guides/v1/media-and-attachments/upload).
+ // attachment](https://developers.google.com/workspace/chat/upload-media-attachments).
// Requires user
- // [authentication](https://developers.google.com/chat/api/guides/auth/users).
+ // [authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
//
// You can upload attachments up to 200 MB. Certain file types aren't
// supported. For details, see [File types blocked by Google
@@ -234,15 +234,15 @@ service ChatService {
// Lists spaces the caller is a member of. Group chats and DMs aren't listed
// until the first message is sent. For an example, see
// [List
- // spaces](https://developers.google.com/chat/api/guides/v1/spaces/list).
+ // spaces](https://developers.google.com/workspace/chat/list-spaces).
//
// Requires
- // [authentication](https://developers.google.com/chat/api/guides/auth).
+ // [authentication](https://developers.google.com/workspace/chat/authenticate-authorize).
// Supports
// [app
- // authentication](https://developers.google.com/chat/api/guides/auth/service-accounts)
+ // authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
// and [user
- // authentication](https://developers.google.com/chat/api/guides/auth/users).
+ // authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
//
// Lists spaces visible to the caller or authenticated user. Group chats
// and DMs aren't listed until the first message is sent.
@@ -254,15 +254,16 @@ service ChatService {
}
// Returns details about a space. For an example, see
- // [Get a space](https://developers.google.com/chat/api/guides/v1/spaces/get).
+ // [Get details about a
+ // space](https://developers.google.com/workspace/chat/get-spaces).
//
// Requires
- // [authentication](https://developers.google.com/chat/api/guides/auth).
+ // [authentication](https://developers.google.com/workspace/chat/authenticate-authorize).
// Supports
// [app
- // authentication](https://developers.google.com/chat/api/guides/auth/service-accounts)
+ // authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
// and [user
- // authentication](https://developers.google.com/chat/api/guides/auth/users).
+ // authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
rpc GetSpace(GetSpaceRequest) returns (Space) {
option (google.api.http) = {
get: "/v1/{name=spaces/*}"
@@ -272,14 +273,14 @@ service ChatService {
// Creates a named space. Spaces grouped by topics aren't supported. For an
// example, see [Create a
- // space](https://developers.google.com/chat/api/guides/v1/spaces/create).
+ // space](https://developers.google.com/workspace/chat/create-spaces).
//
// If you receive the error message `ALREADY_EXISTS` when creating
// a space, try a different `displayName`. An existing space within
// the Google Workspace organization might already use this display name.
//
// Requires [user
- // authentication](https://developers.google.com/chat/api/guides/auth/users).
+ // authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
rpc CreateSpace(CreateSpaceRequest) returns (Space) {
option (google.api.http) = {
post: "/v1/spaces"
@@ -291,8 +292,8 @@ service ChatService {
// Creates a space and adds specified users to it. The calling user is
// automatically added to the space, and shouldn't be specified as a
// membership in the request. For an example, see
- // [Set up a
- // space](https://developers.google.com/chat/api/guides/v1/spaces/set-up).
+ // [Set up a space with initial
+ // members](https://developers.google.com/workspace/chat/set-up-spaces).
//
// To specify the human members to add, add memberships with the appropriate
// `member.name` in the `SetUpSpaceRequest`. To add a human user, use
@@ -316,8 +317,8 @@ service ChatService {
// can only use this method to set up a DM with the calling app. To add the
// calling app as a member of a space or an existing DM between two human
// users, see
- // [create a
- // membership](https://developers.google.com/chat/api/guides/v1/members/create).
+ // [Invite or add a user or app to a
+ // space](https://developers.google.com/workspace/chat/create-members).
//
// If a DM already exists between two users, even when one user blocks the
// other at the time a request is made, then the existing DM is returned.
@@ -328,7 +329,7 @@ service ChatService {
// might already use this display name.
//
// Requires [user
- // authentication](https://developers.google.com/chat/api/guides/auth/users).
+ // authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
rpc SetUpSpace(SetUpSpaceRequest) returns (Space) {
option (google.api.http) = {
post: "/v1/spaces:setup"
@@ -338,14 +339,14 @@ service ChatService {
// Updates a space. For an example, see
// [Update a
- // space](https://developers.google.com/chat/api/guides/v1/spaces/update).
+ // space](https://developers.google.com/workspace/chat/update-spaces).
//
// If you're updating the `displayName` field and receive the error message
// `ALREADY_EXISTS`, try a different display name.. An existing space within
// the Google Workspace organization might already use this display name.
//
// Requires [user
- // authentication](https://developers.google.com/chat/api/guides/auth/users).
+ // authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
rpc UpdateSpace(UpdateSpaceRequest) returns (Space) {
option (google.api.http) = {
patch: "/v1/{space.name=spaces/*}"
@@ -358,9 +359,9 @@ service ChatService {
// that the space's child resources—like messages posted in the space and
// memberships in the space—are also deleted. For an example, see
// [Delete a
- // space](https://developers.google.com/chat/api/guides/v1/spaces/delete).
+ // space](https://developers.google.com/workspace/chat/delete-spaces).
// Requires [user
- // authentication](https://developers.google.com/chat/api/guides/auth/users)
+ // authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
// from a user who has permission to delete the space.
rpc DeleteSpace(DeleteSpaceRequest) returns (google.protobuf.Empty) {
option (google.api.http) = {
@@ -370,11 +371,11 @@ service ChatService {
}
// Completes the
- // [import process](https://developers.google.com/chat/api/guides/import-data)
+ // [import process](https://developers.google.com/workspace/chat/import-data)
// for the specified space and makes it visible to users.
// Requires app authentication and domain-wide delegation. For more
// information, see [Authorize Google Chat apps to import
- // data](https://developers.google.com/chat/api/guides/authorize-import).
+ // data](https://developers.google.com/workspace/chat/authorize-import).
rpc CompleteImportSpace(CompleteImportSpaceRequest)
returns (CompleteImportSpaceResponse) {
option (google.api.http) = {
@@ -389,19 +390,19 @@ service ChatService {
// [Find a direct message](/chat/api/guides/v1/spaces/find-direct-message).
//
// With [user
- // authentication](https://developers.google.com/chat/api/guides/auth/users),
+ // authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
// returns the direct message space between the specified user and the
// authenticated user.
//
// With [app
- // authentication](https://developers.google.com/chat/api/guides/auth/service-accounts),
+ // authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app),
// returns the direct message space between the specified user and the calling
// Chat app.
//
// Requires [user
- // authentication](https://developers.google.com/chat/api/guides/auth/users)
+ // authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
// or [app
- // authentication](https://developers.google.com/chat/api/guides/auth/service-accounts).
+ // authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
rpc FindDirectMessage(FindDirectMessageRequest) returns (Space) {
option (google.api.http) = {
get: "/v1/spaces:findDirectMessage"
@@ -410,13 +411,13 @@ service ChatService {
// Creates a human membership or app membership for the calling app. Creating
// memberships for other apps isn't supported. For an example, see
- // [ Create a
- // membership](https://developers.google.com/chat/api/guides/v1/members/create).
+ // [Invite or add a user or a Google Chat app to a
+ // space](https://developers.google.com/workspace/chat/create-members).
// When creating a membership, if the specified member has their auto-accept
// policy turned off, then they're invited, and must accept the space
// invitation before joining. Otherwise, creating a membership adds the member
// directly to the specified space. Requires [user
- // authentication](https://developers.google.com/chat/api/guides/auth/users).
+ // authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
//
// To specify the member to add, set the `membership.member.name` in the
// `CreateMembershipRequest`:
@@ -440,12 +441,22 @@ service ChatService {
option (google.api.method_signature) = "parent,membership";
}
+ // Updates a membership. Requires [user
+ // authentication](https://developers.google.com/chat/api/guides/auth/users).
+ rpc UpdateMembership(UpdateMembershipRequest) returns (Membership) {
+ option (google.api.http) = {
+ patch: "/v1/{membership.name=spaces/*/members/*}"
+ body: "membership"
+ };
+ option (google.api.method_signature) = "membership,update_mask";
+ }
+
// Deletes a membership. For an example, see
- // [Delete a
- // membership](https://developers.google.com/chat/api/guides/v1/members/delete).
+ // [Remove a user or a Google Chat app from a
+ // space](https://developers.google.com/workspace/chat/delete-members).
//
// Requires [user
- // authentication](https://developers.google.com/chat/api/guides/auth/users).
+ // authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
rpc DeleteMembership(DeleteMembershipRequest) returns (Membership) {
option (google.api.http) = {
delete: "/v1/{name=spaces/*/members/*}"
@@ -453,12 +464,12 @@ service ChatService {
option (google.api.method_signature) = "name";
}
- // Creates a reaction and adds it to a message. For an example, see
- // [Create a
- // reaction](https://developers.google.com/chat/api/guides/v1/reactions/create).
+ // Creates a reaction and adds it to a message. Only unicode emojis are
+ // supported. For an example, see
+ // [Add a reaction to a
+ // message](https://developers.google.com/workspace/chat/create-reactions).
// Requires [user
- // authentication](https://developers.google.com/chat/api/guides/auth/users).
- // Only unicode emoji are supported.
+ // authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
rpc CreateReaction(CreateReactionRequest) returns (Reaction) {
option (google.api.http) = {
post: "/v1/{parent=spaces/*/messages/*}/reactions"
@@ -468,10 +479,10 @@ service ChatService {
}
// Lists reactions to a message. For an example, see
- // [List
- // reactions](https://developers.google.com/chat/api/guides/v1/reactions/list).
+ // [List reactions for a
+ // message](https://developers.google.com/workspace/chat/list-reactions).
// Requires [user
- // authentication](https://developers.google.com/chat/api/guides/auth/users).
+ // authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
rpc ListReactions(ListReactionsRequest) returns (ListReactionsResponse) {
option (google.api.http) = {
get: "/v1/{parent=spaces/*/messages/*}/reactions"
@@ -479,11 +490,12 @@ service ChatService {
option (google.api.method_signature) = "parent";
}
- // Deletes a reaction to a message. For an example, see
+ // Deletes a reaction to a message. Only unicode emojis are supported.
+ // For an example, see
// [Delete a
- // reaction](https://developers.google.com/chat/api/guides/v1/reactions/delete).
+ // reaction](https://developers.google.com/workspace/chat/delete-reactions).
// Requires [user
- // authentication](https://developers.google.com/chat/api/guides/auth/users).
+ // authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
rpc DeleteReaction(DeleteReactionRequest) returns (google.protobuf.Empty) {
option (google.api.http) = {
delete: "/v1/{name=spaces/*/messages/*/reactions/*}"
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/contextual_addon.proto b/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/contextual_addon.proto
index 9bb249c72452..1190937089d0 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/contextual_addon.proto
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/contextual_addon.proto
@@ -66,7 +66,7 @@ message ContextualAddOnMarkup {
// supported. For more information
// about formatting text, see
// [Formatting text in Google Chat
- // apps](https://developers.google.com/chat/format-messages#card-formatting)
+ // apps](https://developers.google.com/workspace/chat/format-messages#card-formatting)
// and
// [Formatting
// text in Google Workspace
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/membership.proto b/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/membership.proto
index fefd71fa603a..f19e32e24abf 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/membership.proto
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/membership.proto
@@ -20,6 +20,7 @@ import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/chat/v1/group.proto";
import "google/chat/v1/user.proto";
+import "google/protobuf/field_mask.proto";
import "google/protobuf/timestamp.proto";
option csharp_namespace = "Google.Apps.Chat.V1";
@@ -89,7 +90,6 @@ message Membership {
// Optional. User's role within a Chat space, which determines their permitted
// actions in the space.
//
- // [Developer Preview](https://developers.google.com/workspace/preview):
// This field can only be used as input in `UpdateMembership`.
MembershipRole role = 7 [(google.api.field_behavior) = OPTIONAL];
@@ -98,9 +98,9 @@ message Membership {
oneof memberType {
// The Google Chat user or app the membership corresponds to.
// If your Chat app [authenticates as a
- // user](https://developers.google.com/chat/api/guides/auth/users), the
- // output populates the
- // [user](https://developers.google.com/chat/api/reference/rest/v1/User)
+ // user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ // the output populates the
+ // [user](https://developers.google.com/workspace/chat/api/reference/rest/v1/User)
// `name` and `type`.
User member = 3;
@@ -127,6 +127,7 @@ message Membership {
];
}
+// Request message for creating a membership.
message CreateMembershipRequest {
// Required. The resource name of the space for which to create the
// membership.
@@ -158,6 +159,23 @@ message CreateMembershipRequest {
Membership membership = 2 [(google.api.field_behavior) = REQUIRED];
}
+// Request message for updating a membership.
+message UpdateMembershipRequest {
+ // Required. The membership to update. Only fields specified by `update_mask`
+ // are updated.
+ Membership membership = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The field paths to update. Separate multiple values with commas
+ // or use `*` to update all field paths.
+ //
+ // Currently supported field paths:
+ //
+ // - `role`
+ google.protobuf.FieldMask update_mask = 2
+ [(google.api.field_behavior) = REQUIRED];
+}
+
+// Request message for listing memberships.
message ListMembershipsRequest {
// Required. The resource name of the space for which to fetch a membership
// list.
@@ -175,8 +193,8 @@ message ListMembershipsRequest {
//
// If unspecified, at most 100 memberships are returned.
//
- // The maximum value is 1,000. If you use a value more than 1,000, it's
- // automatically changed to 1,000.
+ // The maximum value is 1000. If you use a value more than 1000, it's
+ // automatically changed to 1000.
//
// Negative values return an `INVALID_ARGUMENT` error.
int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
@@ -192,9 +210,9 @@ message ListMembershipsRequest {
// Optional. A query filter.
//
// You can filter memberships by a member's role
- // ([`role`](https://developers.google.com/chat/api/reference/rest/v1/spaces.members#membershiprole))
+ // ([`role`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.members#membershiprole))
// and type
- // ([`member.type`](https://developers.google.com/chat/api/reference/rest/v1/User#type)).
+ // ([`member.type`](https://developers.google.com/workspace/chat/api/reference/rest/v1/User#type)).
//
// To filter by role, set `role` to `ROLE_MEMBER` or `ROLE_MANAGER`.
//
@@ -217,6 +235,7 @@ message ListMembershipsRequest {
// role = "ROLE_MANAGER" AND role = "ROLE_MEMBER"
// ```
//
+ //
// Invalid queries are rejected by the server with an `INVALID_ARGUMENT`
// error.
string filter = 5 [(google.api.field_behavior) = OPTIONAL];
@@ -237,10 +256,11 @@ message ListMembershipsRequest {
// that don't match the filter criteria aren't returned.
//
// Currently requires [user
- // authentication](https://developers.google.com/chat/api/guides/auth/users).
+ // authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
bool show_invited = 7 [(google.api.field_behavior) = OPTIONAL];
}
+// Response to list memberships of the space.
message ListMembershipsResponse {
// Unordered list. List of memberships in the requested (or first) page.
repeated Membership memberships = 1
@@ -251,6 +271,7 @@ message ListMembershipsResponse {
string next_page_token = 2;
}
+// Request to get a membership of a space.
message GetMembershipRequest {
// Required. Resource name of the membership to retrieve.
//
@@ -260,8 +281,8 @@ message GetMembershipRequest {
// Format: `spaces/{space}/members/{member}` or `spaces/{space}/members/app`
//
// When [authenticated as a
- // user](https://developers.google.com/chat/api/guides/auth/users), you can
- // use the user's email as an alias for `{member}`. For example,
+ // user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ // you can use the user's email as an alias for `{member}`. For example,
// `spaces/{space}/members/example@gmail.com` where `example@gmail.com` is the
// email of the Google Chat user.
string name = 1 [
@@ -270,6 +291,7 @@ message GetMembershipRequest {
];
}
+// Request to delete a membership in a space.
message DeleteMembershipRequest {
// Required. Resource name of the membership to delete. Chat apps can delete
// human users' or their own memberships. Chat apps can't delete other apps'
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/message.proto b/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/message.proto
index 524a750ad9bc..b75598715059 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/message.proto
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/message.proto
@@ -61,14 +61,14 @@ message Message {
// from the `clientAssignedMessageId` field. For example,
// `spaces/AAAAAAAAAAA/messages/client-custom-name`. For details, see [Name
// a
- // message](https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).
+ // message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message).
string name = 1;
// Output only. The user who created the message.
// If your Chat app [authenticates as a
- // user](https://developers.google.com/chat/api/guides/auth/users), the output
- // populates the
- // [user](https://developers.google.com/chat/api/reference/rest/v1/User)
+ // user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
+ // the output populates the
+ // [user](https://developers.google.com/workspace/chat/api/reference/rest/v1/User)
// `name` and `type`.
User sender = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
@@ -96,13 +96,13 @@ message Message {
// Plain-text body of the message. The first link to an image, video, or web
// page generates a
- // [preview chip](https://developers.google.com/chat/how-tos/preview-links).
+ // [preview chip](https://developers.google.com/workspace/chat/preview-links).
// You can also [@mention a Google Chat
- // user](https://developers.google.com/chat/format-messages#messages-@mention),
+ // user](https://developers.google.com/workspace/chat/format-messages#messages-@mention),
// or everyone in the space.
//
// To learn about creating text messages, see [Send a text
- // message](https://developers.google.com/chat/api/guides/v1/messages/create#create-text-messages).
+ // message](https://developers.google.com/workspace/chat/create-messages#create-text-messages).
string text = 4;
// Output only. Contains the message `text` with markups added to communicate
@@ -110,23 +110,24 @@ message Message {
// but includes the following:
//
// * [Markup
- // syntax](https://developers.google.com/chat/format-messages)
- // for bold, italic, strikethrough, monospace, and monospace block.
+ // syntax](https://developers.google.com/workspace/chat/format-messages)
+ // for bold, italic, strikethrough, monospace, monospace block, and bulleted
+ // list.
//
// * [User
- // mentions](https://developers.google.com/chat/format-messages#messages-@mention)
- // using the format `
- * Fetches processor types. Note that we don't use
- * [ListProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.ListProcessorTypes]
+ * Fetches processor types. Note that we don't use [ListProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.ListProcessorTypes]
* here, because it isn't paginated.
*
*/
@@ -1371,9 +1370,8 @@ default void undeployProcessorVersion(
*
*
*
- * Creates a processor from the
- * [ProcessorType][google.cloud.documentai.v1.ProcessorType] provided. The
- * processor will be at `ENABLED` state by default after its creation.
+ * Creates a processor from the [ProcessorType][google.cloud.documentai.v1.ProcessorType] provided.
+ * The processor will be at `ENABLED` state by default after its creation.
*
*/
default void createProcessor(
@@ -1430,10 +1428,8 @@ default void disableProcessor(
*
*
*
- * Set the default (active) version of a
- * [Processor][google.cloud.documentai.v1.Processor] that will be used in
- * [ProcessDocument][google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument]
- * and
+ * Set the default (active) version of a [Processor][google.cloud.documentai.v1.Processor] that will be used in
+ * [ProcessDocument][google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument] and
* [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments].
*
*/
@@ -1583,8 +1579,7 @@ public void batchProcessDocuments(
*
*
*
- * Fetches processor types. Note that we don't use
- * [ListProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.ListProcessorTypes]
+ * Fetches processor types. Note that we don't use [ListProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.ListProcessorTypes]
* here, because it isn't paginated.
*
*/
@@ -1770,9 +1765,8 @@ public void undeployProcessorVersion(
*
*
*
- * Creates a processor from the
- * [ProcessorType][google.cloud.documentai.v1.ProcessorType] provided. The
- * processor will be at `ENABLED` state by default after its creation.
+ * Creates a processor from the [ProcessorType][google.cloud.documentai.v1.ProcessorType] provided.
+ * The processor will be at `ENABLED` state by default after its creation.
*
*/
public void createProcessor(
@@ -1837,10 +1831,8 @@ public void disableProcessor(
*
*
*
- * Set the default (active) version of a
- * [Processor][google.cloud.documentai.v1.Processor] that will be used in
- * [ProcessDocument][google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument]
- * and
+ * Set the default (active) version of a [Processor][google.cloud.documentai.v1.Processor] that will be used in
+ * [ProcessDocument][google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument] and
* [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments].
*
*/
@@ -1975,8 +1967,7 @@ public com.google.longrunning.Operation batchProcessDocuments(
*
*
*
- * Fetches processor types. Note that we don't use
- * [ListProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.ListProcessorTypes]
+ * Fetches processor types. Note that we don't use [ListProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.ListProcessorTypes]
* here, because it isn't paginated.
*
*/
@@ -2123,9 +2114,8 @@ public com.google.longrunning.Operation undeployProcessorVersion(
*
*
*
- * Creates a processor from the
- * [ProcessorType][google.cloud.documentai.v1.ProcessorType] provided. The
- * processor will be at `ENABLED` state by default after its creation.
+ * Creates a processor from the [ProcessorType][google.cloud.documentai.v1.ProcessorType] provided.
+ * The processor will be at `ENABLED` state by default after its creation.
*
*/
public com.google.cloud.documentai.v1.Processor createProcessor(
@@ -2178,10 +2168,8 @@ public com.google.longrunning.Operation disableProcessor(
*
*
*
- * Set the default (active) version of a
- * [Processor][google.cloud.documentai.v1.Processor] that will be used in
- * [ProcessDocument][google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument]
- * and
+ * Set the default (active) version of a [Processor][google.cloud.documentai.v1.Processor] that will be used in
+ * [ProcessDocument][google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument] and
* [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments].
*
*/
@@ -2302,8 +2290,7 @@ protected DocumentProcessorServiceFutureStub build(
*
*
*
- * Fetches processor types. Note that we don't use
- * [ListProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.ListProcessorTypes]
+ * Fetches processor types. Note that we don't use [ListProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.ListProcessorTypes]
* here, because it isn't paginated.
*
*/
@@ -2460,9 +2447,8 @@ protected DocumentProcessorServiceFutureStub build(
*
*
*
- * Creates a processor from the
- * [ProcessorType][google.cloud.documentai.v1.ProcessorType] provided. The
- * processor will be at `ENABLED` state by default after its creation.
+ * Creates a processor from the [ProcessorType][google.cloud.documentai.v1.ProcessorType] provided.
+ * The processor will be at `ENABLED` state by default after its creation.
*
*/
public com.google.common.util.concurrent.ListenableFuture<
@@ -2516,10 +2502,8 @@ protected DocumentProcessorServiceFutureStub build(
*
*
*
- * Set the default (active) version of a
- * [Processor][google.cloud.documentai.v1.Processor] that will be used in
- * [ProcessDocument][google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument]
- * and
+ * Set the default (active) version of a [Processor][google.cloud.documentai.v1.Processor] that will be used in
+ * [ProcessDocument][google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument] and
* [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments].
*
*/
diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessMetadata.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessMetadata.java
index 1334a980b554..075f63429ece 100644
--- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessMetadata.java
+++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessMetadata.java
@@ -322,9 +322,8 @@ public interface IndividualProcessStatusOrBuilder
*
*
*
- * The source of the document, same as the
- * [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source]
- * field in the request when the batch process started.
+ * The source of the document, same as the [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source] field in the
+ * request when the batch process started.
*
*
* string input_gcs_source = 1;
@@ -336,9 +335,8 @@ public interface IndividualProcessStatusOrBuilder
*
*
*
- * The source of the document, same as the
- * [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source]
- * field in the request when the batch process started.
+ * The source of the document, same as the [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source] field in the
+ * request when the batch process started.
*
*
* string input_gcs_source = 1;
@@ -387,8 +385,8 @@ public interface IndividualProcessStatusOrBuilder
*
*
* The Cloud Storage output destination (in the request as
- * [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri])
- * of the processed document if it was successful, otherwise empty.
+ * [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri]) of the processed
+ * document if it was successful, otherwise empty.
*
*
* string output_gcs_destination = 3;
@@ -401,8 +399,8 @@ public interface IndividualProcessStatusOrBuilder
*
*
* The Cloud Storage output destination (in the request as
- * [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri])
- * of the processed document if it was successful, otherwise empty.
+ * [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri]) of the processed
+ * document if it was successful, otherwise empty.
*
*
* string output_gcs_destination = 3;
@@ -501,9 +499,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * The source of the document, same as the
- * [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source]
- * field in the request when the batch process started.
+ * The source of the document, same as the [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source] field in the
+ * request when the batch process started.
*
*
* string input_gcs_source = 1;
@@ -526,9 +523,8 @@ public java.lang.String getInputGcsSource() {
*
*
*
- * The source of the document, same as the
- * [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source]
- * field in the request when the batch process started.
+ * The source of the document, same as the [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source] field in the
+ * request when the batch process started.
*
*
* string input_gcs_source = 1;
@@ -603,8 +599,8 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
*
*
* The Cloud Storage output destination (in the request as
- * [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri])
- * of the processed document if it was successful, otherwise empty.
+ * [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri]) of the processed
+ * document if it was successful, otherwise empty.
*
*
* string output_gcs_destination = 3;
@@ -628,8 +624,8 @@ public java.lang.String getOutputGcsDestination() {
*
*
* The Cloud Storage output destination (in the request as
- * [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri])
- * of the processed document if it was successful, otherwise empty.
+ * [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri]) of the processed
+ * document if it was successful, otherwise empty.
*
*
* string output_gcs_destination = 3;
@@ -1175,9 +1171,8 @@ public Builder mergeFrom(
*
*
*
- * The source of the document, same as the
- * [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source]
- * field in the request when the batch process started.
+ * The source of the document, same as the [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source] field in the
+ * request when the batch process started.
*
*
* string input_gcs_source = 1;
@@ -1199,9 +1194,8 @@ public java.lang.String getInputGcsSource() {
*
*
*
- * The source of the document, same as the
- * [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source]
- * field in the request when the batch process started.
+ * The source of the document, same as the [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source] field in the
+ * request when the batch process started.
*
*
* string input_gcs_source = 1;
@@ -1223,9 +1217,8 @@ public com.google.protobuf.ByteString getInputGcsSourceBytes() {
*
*
*
- * The source of the document, same as the
- * [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source]
- * field in the request when the batch process started.
+ * The source of the document, same as the [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source] field in the
+ * request when the batch process started.
*
*
* string input_gcs_source = 1;
@@ -1246,9 +1239,8 @@ public Builder setInputGcsSource(java.lang.String value) {
*
*
*
- * The source of the document, same as the
- * [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source]
- * field in the request when the batch process started.
+ * The source of the document, same as the [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source] field in the
+ * request when the batch process started.
*
*
* string input_gcs_source = 1;
@@ -1265,9 +1257,8 @@ public Builder clearInputGcsSource() {
*
*
*
- * The source of the document, same as the
- * [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source]
- * field in the request when the batch process started.
+ * The source of the document, same as the [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source] field in the
+ * request when the batch process started.
*
*
* string input_gcs_source = 1;
@@ -1468,8 +1459,8 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
*
*
* The Cloud Storage output destination (in the request as
- * [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri])
- * of the processed document if it was successful, otherwise empty.
+ * [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri]) of the processed
+ * document if it was successful, otherwise empty.
*
*
* string output_gcs_destination = 3;
@@ -1492,8 +1483,8 @@ public java.lang.String getOutputGcsDestination() {
*
*
* The Cloud Storage output destination (in the request as
- * [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri])
- * of the processed document if it was successful, otherwise empty.
+ * [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri]) of the processed
+ * document if it was successful, otherwise empty.
*
*
* string output_gcs_destination = 3;
@@ -1516,8 +1507,8 @@ public com.google.protobuf.ByteString getOutputGcsDestinationBytes() {
*
*
* The Cloud Storage output destination (in the request as
- * [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri])
- * of the processed document if it was successful, otherwise empty.
+ * [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri]) of the processed
+ * document if it was successful, otherwise empty.
*
*
* string output_gcs_destination = 3;
@@ -1539,8 +1530,8 @@ public Builder setOutputGcsDestination(java.lang.String value) {
*
*
* The Cloud Storage output destination (in the request as
- * [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri])
- * of the processed document if it was successful, otherwise empty.
+ * [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri]) of the processed
+ * document if it was successful, otherwise empty.
*
*
* string output_gcs_destination = 3;
@@ -1558,8 +1549,8 @@ public Builder clearOutputGcsDestination() {
*
*
* The Cloud Storage output destination (in the request as
- * [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri])
- * of the processed document if it was successful, otherwise empty.
+ * [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri]) of the processed
+ * document if it was successful, otherwise empty.
*
*
* string output_gcs_destination = 3;
diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessRequest.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessRequest.java
index f743720301be..6062a7e2e588 100644
--- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessRequest.java
+++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessRequest.java
@@ -85,8 +85,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
*
*
*
- * Required. The resource name of
- * [Processor][google.cloud.documentai.v1.Processor] or
+ * Required. The resource name of [Processor][google.cloud.documentai.v1.Processor] or
* [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
* Format: `projects/{project}/locations/{location}/processors/{processor}`,
* or
@@ -115,8 +114,7 @@ public java.lang.String getName() {
*
*
*
- * Required. The resource name of
- * [Processor][google.cloud.documentai.v1.Processor] or
+ * Required. The resource name of [Processor][google.cloud.documentai.v1.Processor] or
* [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
* Format: `projects/{project}/locations/{location}/processors/{processor}`,
* or
@@ -991,8 +989,7 @@ public Builder mergeFrom(
*
*
*
- * Required. The resource name of
- * [Processor][google.cloud.documentai.v1.Processor] or
+ * Required. The resource name of [Processor][google.cloud.documentai.v1.Processor] or
* [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
* Format: `projects/{project}/locations/{location}/processors/{processor}`,
* or
@@ -1020,8 +1017,7 @@ public java.lang.String getName() {
*
*
*
- * Required. The resource name of
- * [Processor][google.cloud.documentai.v1.Processor] or
+ * Required. The resource name of [Processor][google.cloud.documentai.v1.Processor] or
* [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
* Format: `projects/{project}/locations/{location}/processors/{processor}`,
* or
@@ -1049,8 +1045,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
*
- * Required. The resource name of
- * [Processor][google.cloud.documentai.v1.Processor] or
+ * Required. The resource name of [Processor][google.cloud.documentai.v1.Processor] or
* [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
* Format: `projects/{project}/locations/{location}/processors/{processor}`,
* or
@@ -1077,8 +1072,7 @@ public Builder setName(java.lang.String value) {
*
*
*
- * Required. The resource name of
- * [Processor][google.cloud.documentai.v1.Processor] or
+ * Required. The resource name of [Processor][google.cloud.documentai.v1.Processor] or
* [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
* Format: `projects/{project}/locations/{location}/processors/{processor}`,
* or
@@ -1101,8 +1095,7 @@ public Builder clearName() {
*
*
*
- * Required. The resource name of
- * [Processor][google.cloud.documentai.v1.Processor] or
+ * Required. The resource name of [Processor][google.cloud.documentai.v1.Processor] or
* [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
* Format: `projects/{project}/locations/{location}/processors/{processor}`,
* or
diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessRequestOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessRequestOrBuilder.java
index a520395b983d..521dee8b0843 100644
--- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessRequestOrBuilder.java
+++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessRequestOrBuilder.java
@@ -28,8 +28,7 @@ public interface BatchProcessRequestOrBuilder
*
*
*
- * Required. The resource name of
- * [Processor][google.cloud.documentai.v1.Processor] or
+ * Required. The resource name of [Processor][google.cloud.documentai.v1.Processor] or
* [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
* Format: `projects/{project}/locations/{location}/processors/{processor}`,
* or
@@ -47,8 +46,7 @@ public interface BatchProcessRequestOrBuilder
*
*
*
- * Required. The resource name of
- * [Processor][google.cloud.documentai.v1.Processor] or
+ * Required. The resource name of [Processor][google.cloud.documentai.v1.Processor] or
* [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
* Format: `projects/{project}/locations/{location}/processors/{processor}`,
* or
diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/CreateProcessorRequest.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/CreateProcessorRequest.java
index 297941d78cf6..b7c8dbc6c403 100644
--- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/CreateProcessorRequest.java
+++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/CreateProcessorRequest.java
@@ -24,10 +24,9 @@
*
*
* Request message for the
- * [CreateProcessor][google.cloud.documentai.v1.DocumentProcessorService.CreateProcessor]
- * method. Notice this request is sent to a regionalized backend service. If the
- * [ProcessorType][google.cloud.documentai.v1.ProcessorType] isn't available in
- * that region, the creation fails.
+ * [CreateProcessor][google.cloud.documentai.v1.DocumentProcessorService.CreateProcessor] method. Notice
+ * this request is sent to a regionalized backend service. If the
+ * [ProcessorType][google.cloud.documentai.v1.ProcessorType] isn't available in that region, the creation fails.
*
*
* Protobuf type {@code google.cloud.documentai.v1.CreateProcessorRequest}
@@ -76,8 +75,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * Required. The parent (project and location) under which to create the
- * processor. Format: `projects/{project}/locations/{location}`
+ * Required. The parent (project and location) under which to create the processor.
+ * Format: `projects/{project}/locations/{location}`
*
*
*
@@ -102,8 +101,8 @@ public java.lang.String getParent() {
*
*
*
- * Required. The parent (project and location) under which to create the
- * processor. Format: `projects/{project}/locations/{location}`
+ * Required. The parent (project and location) under which to create the processor.
+ * Format: `projects/{project}/locations/{location}`
*
*
*
@@ -131,11 +130,8 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
*
- * Required. The processor to be created, requires
- * [Processor.type][google.cloud.documentai.v1.Processor.type] and
- * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name]
- * to be set. Also, the
- * [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
+ * Required. The processor to be created, requires [Processor.type][google.cloud.documentai.v1.Processor.type] and
+ * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name] to be set. Also, the [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
* field must be set if the processor is under CMEK.
*
*
@@ -153,11 +149,8 @@ public boolean hasProcessor() {
*
*
*
- * Required. The processor to be created, requires
- * [Processor.type][google.cloud.documentai.v1.Processor.type] and
- * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name]
- * to be set. Also, the
- * [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
+ * Required. The processor to be created, requires [Processor.type][google.cloud.documentai.v1.Processor.type] and
+ * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name] to be set. Also, the [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
* field must be set if the processor is under CMEK.
*
*
@@ -177,11 +170,8 @@ public com.google.cloud.documentai.v1.Processor getProcessor() {
*
*
*
- * Required. The processor to be created, requires
- * [Processor.type][google.cloud.documentai.v1.Processor.type] and
- * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name]
- * to be set. Also, the
- * [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
+ * Required. The processor to be created, requires [Processor.type][google.cloud.documentai.v1.Processor.type] and
+ * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name] to be set. Also, the [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
* field must be set if the processor is under CMEK.
*
*
@@ -375,10 +365,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
* Request message for the
- * [CreateProcessor][google.cloud.documentai.v1.DocumentProcessorService.CreateProcessor]
- * method. Notice this request is sent to a regionalized backend service. If the
- * [ProcessorType][google.cloud.documentai.v1.ProcessorType] isn't available in
- * that region, the creation fails.
+ * [CreateProcessor][google.cloud.documentai.v1.DocumentProcessorService.CreateProcessor] method. Notice
+ * this request is sent to a regionalized backend service. If the
+ * [ProcessorType][google.cloud.documentai.v1.ProcessorType] isn't available in that region, the creation fails.
*
*
* Protobuf type {@code google.cloud.documentai.v1.CreateProcessorRequest}
@@ -591,8 +580,8 @@ public Builder mergeFrom(
*
*
*
- * Required. The parent (project and location) under which to create the
- * processor. Format: `projects/{project}/locations/{location}`
+ * Required. The parent (project and location) under which to create the processor.
+ * Format: `projects/{project}/locations/{location}`
*
*
*
@@ -616,8 +605,8 @@ public java.lang.String getParent() {
*
*
*
- * Required. The parent (project and location) under which to create the
- * processor. Format: `projects/{project}/locations/{location}`
+ * Required. The parent (project and location) under which to create the processor.
+ * Format: `projects/{project}/locations/{location}`
*
*
*
@@ -641,8 +630,8 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
*
- * Required. The parent (project and location) under which to create the
- * processor. Format: `projects/{project}/locations/{location}`
+ * Required. The parent (project and location) under which to create the processor.
+ * Format: `projects/{project}/locations/{location}`
*
*
*
@@ -665,8 +654,8 @@ public Builder setParent(java.lang.String value) {
*
*
*
- * Required. The parent (project and location) under which to create the
- * processor. Format: `projects/{project}/locations/{location}`
+ * Required. The parent (project and location) under which to create the processor.
+ * Format: `projects/{project}/locations/{location}`
*
*
*
@@ -685,8 +674,8 @@ public Builder clearParent() {
*
*
*
- * Required. The parent (project and location) under which to create the
- * processor. Format: `projects/{project}/locations/{location}`
+ * Required. The parent (project and location) under which to create the processor.
+ * Format: `projects/{project}/locations/{location}`
*
*
*
@@ -717,11 +706,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
*
*
*
- * Required. The processor to be created, requires
- * [Processor.type][google.cloud.documentai.v1.Processor.type] and
- * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name]
- * to be set. Also, the
- * [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
+ * Required. The processor to be created, requires [Processor.type][google.cloud.documentai.v1.Processor.type] and
+ * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name] to be set. Also, the [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
* field must be set if the processor is under CMEK.
*
*
@@ -738,11 +724,8 @@ public boolean hasProcessor() {
*
*
*
- * Required. The processor to be created, requires
- * [Processor.type][google.cloud.documentai.v1.Processor.type] and
- * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name]
- * to be set. Also, the
- * [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
+ * Required. The processor to be created, requires [Processor.type][google.cloud.documentai.v1.Processor.type] and
+ * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name] to be set. Also, the [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
* field must be set if the processor is under CMEK.
*
*
@@ -765,11 +748,8 @@ public com.google.cloud.documentai.v1.Processor getProcessor() {
*
*
*
- * Required. The processor to be created, requires
- * [Processor.type][google.cloud.documentai.v1.Processor.type] and
- * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name]
- * to be set. Also, the
- * [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
+ * Required. The processor to be created, requires [Processor.type][google.cloud.documentai.v1.Processor.type] and
+ * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name] to be set. Also, the [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
* field must be set if the processor is under CMEK.
*
*
@@ -794,11 +774,8 @@ public Builder setProcessor(com.google.cloud.documentai.v1.Processor value) {
*
*
*
- * Required. The processor to be created, requires
- * [Processor.type][google.cloud.documentai.v1.Processor.type] and
- * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name]
- * to be set. Also, the
- * [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
+ * Required. The processor to be created, requires [Processor.type][google.cloud.documentai.v1.Processor.type] and
+ * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name] to be set. Also, the [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
* field must be set if the processor is under CMEK.
*
*
@@ -820,11 +797,8 @@ public Builder setProcessor(com.google.cloud.documentai.v1.Processor.Builder bui
*
*
*
- * Required. The processor to be created, requires
- * [Processor.type][google.cloud.documentai.v1.Processor.type] and
- * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name]
- * to be set. Also, the
- * [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
+ * Required. The processor to be created, requires [Processor.type][google.cloud.documentai.v1.Processor.type] and
+ * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name] to be set. Also, the [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
* field must be set if the processor is under CMEK.
*
*
@@ -854,11 +828,8 @@ public Builder mergeProcessor(com.google.cloud.documentai.v1.Processor value) {
*
*
*
- * Required. The processor to be created, requires
- * [Processor.type][google.cloud.documentai.v1.Processor.type] and
- * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name]
- * to be set. Also, the
- * [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
+ * Required. The processor to be created, requires [Processor.type][google.cloud.documentai.v1.Processor.type] and
+ * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name] to be set. Also, the [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
* field must be set if the processor is under CMEK.
*
*
@@ -880,11 +851,8 @@ public Builder clearProcessor() {
*
*
*
- * Required. The processor to be created, requires
- * [Processor.type][google.cloud.documentai.v1.Processor.type] and
- * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name]
- * to be set. Also, the
- * [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
+ * Required. The processor to be created, requires [Processor.type][google.cloud.documentai.v1.Processor.type] and
+ * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name] to be set. Also, the [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
* field must be set if the processor is under CMEK.
*
*
@@ -901,11 +869,8 @@ public com.google.cloud.documentai.v1.Processor.Builder getProcessorBuilder() {
*
*
*
- * Required. The processor to be created, requires
- * [Processor.type][google.cloud.documentai.v1.Processor.type] and
- * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name]
- * to be set. Also, the
- * [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
+ * Required. The processor to be created, requires [Processor.type][google.cloud.documentai.v1.Processor.type] and
+ * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name] to be set. Also, the [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
* field must be set if the processor is under CMEK.
*
*
@@ -926,11 +891,8 @@ public com.google.cloud.documentai.v1.ProcessorOrBuilder getProcessorOrBuilder()
*
*
*
- * Required. The processor to be created, requires
- * [Processor.type][google.cloud.documentai.v1.Processor.type] and
- * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name]
- * to be set. Also, the
- * [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
+ * Required. The processor to be created, requires [Processor.type][google.cloud.documentai.v1.Processor.type] and
+ * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name] to be set. Also, the [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
* field must be set if the processor is under CMEK.
*
*
diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/CreateProcessorRequestOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/CreateProcessorRequestOrBuilder.java
index 6f5539e724a2..a1dc02912d60 100644
--- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/CreateProcessorRequestOrBuilder.java
+++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/CreateProcessorRequestOrBuilder.java
@@ -28,8 +28,8 @@ public interface CreateProcessorRequestOrBuilder
*
*
*
- * Required. The parent (project and location) under which to create the
- * processor. Format: `projects/{project}/locations/{location}`
+ * Required. The parent (project and location) under which to create the processor.
+ * Format: `projects/{project}/locations/{location}`
*
*
*
@@ -43,8 +43,8 @@ public interface CreateProcessorRequestOrBuilder
*
*
*
*
* @deprecated google.cloud.documentai.v1.Document.Page.provenance is deprecated. See
- * google/cloud/documentai/v1/document.proto;l=548
+ * google/cloud/documentai/v1/document.proto;l=522
* @return The provenance.
*/
@java.lang.Deprecated
@@ -7774,8 +7752,7 @@ public interface LayoutOrBuilder
*
*
*
- * Required. The parent (project and location) under which to create the
- * processor. Format: `projects/{project}/locations/{location}`
+ * Required. The parent (project and location) under which to create the processor.
+ * Format: `projects/{project}/locations/{location}`
*
*
*
@@ -59,11 +59,8 @@ public interface CreateProcessorRequestOrBuilder
*
*
*
*
* @deprecated google.cloud.documentai.v1.Document.Page.provenance is deprecated. See
- * google/cloud/documentai/v1/document.proto;l=548
+ * google/cloud/documentai/v1/document.proto;l=522
* @return Whether the provenance field is set.
*/
@java.lang.Deprecated
@@ -4977,7 +4955,7 @@ com.google.cloud.documentai.v1.Document.Page.FormFieldOrBuilder getFormFieldsOrB
*
- * Required. The processor to be created, requires
- * [Processor.type][google.cloud.documentai.v1.Processor.type] and
- * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name]
- * to be set. Also, the
- * [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
+ * Required. The processor to be created, requires [Processor.type][google.cloud.documentai.v1.Processor.type] and
+ * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name] to be set. Also, the [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
* field must be set if the processor is under CMEK.
*
*
@@ -78,11 +75,8 @@ public interface CreateProcessorRequestOrBuilder
*
*
*
- * Required. The processor to be created, requires
- * [Processor.type][google.cloud.documentai.v1.Processor.type] and
- * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name]
- * to be set. Also, the
- * [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
+ * Required. The processor to be created, requires [Processor.type][google.cloud.documentai.v1.Processor.type] and
+ * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name] to be set. Also, the [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
* field must be set if the processor is under CMEK.
*
*
@@ -97,11 +91,8 @@ public interface CreateProcessorRequestOrBuilder
*
*
*
- * Required. The processor to be created, requires
- * [Processor.type][google.cloud.documentai.v1.Processor.type] and
- * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name]
- * to be set. Also, the
- * [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
+ * Required. The processor to be created, requires [Processor.type][google.cloud.documentai.v1.Processor.type] and
+ * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name] to be set. Also, the [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
* field must be set if the processor is under CMEK.
*
*
diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorMetadata.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorMetadata.java
index ed6fd4b98b5a..2d0954195ce1 100644
--- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorMetadata.java
+++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorMetadata.java
@@ -24,8 +24,7 @@
*
*
* The long-running operation metadata for the
- * [DeleteProcessor][google.cloud.documentai.v1.DocumentProcessorService.DeleteProcessor]
- * method.
+ * [DeleteProcessor][google.cloud.documentai.v1.DocumentProcessorService.DeleteProcessor] method.
*
*
* Protobuf type {@code google.cloud.documentai.v1.DeleteProcessorMetadata}
@@ -285,8 +284,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
* The long-running operation metadata for the
- * [DeleteProcessor][google.cloud.documentai.v1.DocumentProcessorService.DeleteProcessor]
- * method.
+ * [DeleteProcessor][google.cloud.documentai.v1.DocumentProcessorService.DeleteProcessor] method.
*
*
* Protobuf type {@code google.cloud.documentai.v1.DeleteProcessorMetadata}
diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorRequest.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorRequest.java
index 62b1025a2d41..f831280e76c3 100644
--- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorRequest.java
+++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorRequest.java
@@ -24,8 +24,7 @@
*
*
* Request message for the
- * [DeleteProcessor][google.cloud.documentai.v1.DocumentProcessorService.DeleteProcessor]
- * method.
+ * [DeleteProcessor][google.cloud.documentai.v1.DocumentProcessorService.DeleteProcessor] method.
*
*
* Protobuf type {@code google.cloud.documentai.v1.DeleteProcessorRequest}
@@ -285,8 +284,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
* Request message for the
- * [DeleteProcessor][google.cloud.documentai.v1.DocumentProcessorService.DeleteProcessor]
- * method.
+ * [DeleteProcessor][google.cloud.documentai.v1.DocumentProcessorService.DeleteProcessor] method.
*
*
* Protobuf type {@code google.cloud.documentai.v1.DeleteProcessorRequest}
diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorMetadata.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorMetadata.java
index 5c5fdbcdf1ac..bc12ad934476 100644
--- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorMetadata.java
+++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorMetadata.java
@@ -24,8 +24,7 @@
*
*
* The long-running operation metadata for the
- * [DisableProcessor][google.cloud.documentai.v1.DocumentProcessorService.DisableProcessor]
- * method.
+ * [DisableProcessor][google.cloud.documentai.v1.DocumentProcessorService.DisableProcessor] method.
*
*
* Protobuf type {@code google.cloud.documentai.v1.DisableProcessorMetadata}
@@ -285,8 +284,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
* The long-running operation metadata for the
- * [DisableProcessor][google.cloud.documentai.v1.DocumentProcessorService.DisableProcessor]
- * method.
+ * [DisableProcessor][google.cloud.documentai.v1.DocumentProcessorService.DisableProcessor] method.
*
*
* Protobuf type {@code google.cloud.documentai.v1.DisableProcessorMetadata}
diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorRequest.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorRequest.java
index 7b1d22084e7d..161af33ae65b 100644
--- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorRequest.java
+++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorRequest.java
@@ -24,8 +24,7 @@
*
*
* Request message for the
- * [DisableProcessor][google.cloud.documentai.v1.DocumentProcessorService.DisableProcessor]
- * method.
+ * [DisableProcessor][google.cloud.documentai.v1.DocumentProcessorService.DisableProcessor] method.
*
*
* Protobuf type {@code google.cloud.documentai.v1.DisableProcessorRequest}
@@ -285,8 +284,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
* Request message for the
- * [DisableProcessor][google.cloud.documentai.v1.DocumentProcessorService.DisableProcessor]
- * method.
+ * [DisableProcessor][google.cloud.documentai.v1.DocumentProcessorService.DisableProcessor] method.
*
*
* Protobuf type {@code google.cloud.documentai.v1.DisableProcessorRequest}
diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorResponse.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorResponse.java
index 5b491a5c18ec..9a13eed196f3 100644
--- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorResponse.java
+++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorResponse.java
@@ -24,8 +24,8 @@
*
*
* Response message for the
- * [DisableProcessor][google.cloud.documentai.v1.DocumentProcessorService.DisableProcessor]
- * method. Intentionally empty proto for adding fields in future.
+ * [DisableProcessor][google.cloud.documentai.v1.DocumentProcessorService.DisableProcessor] method.
+ * Intentionally empty proto for adding fields in future.
*
*
* Protobuf type {@code google.cloud.documentai.v1.DisableProcessorResponse}
@@ -219,8 +219,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
* Response message for the
- * [DisableProcessor][google.cloud.documentai.v1.DocumentProcessorService.DisableProcessor]
- * method. Intentionally empty proto for adding fields in future.
+ * [DisableProcessor][google.cloud.documentai.v1.DocumentProcessorService.DisableProcessor] method.
+ * Intentionally empty proto for adding fields in future.
*
*
* Protobuf type {@code google.cloud.documentai.v1.DisableProcessorResponse}
diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/Document.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/Document.java
index 0b92e2865b6f..b0f30700d3b0 100644
--- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/Document.java
+++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/Document.java
@@ -108,8 +108,7 @@ public interface ShardInfoOrBuilder
*
*
*
- * The index of the first character in
- * [Document.text][google.cloud.documentai.v1.Document.text] in the overall
+ * The index of the first character in [Document.text][google.cloud.documentai.v1.Document.text] in the overall
* document global text.
*
*
@@ -205,8 +204,7 @@ public long getShardCount() {
*
*
*
- * The index of the first character in
- * [Document.text][google.cloud.documentai.v1.Document.text] in the overall
+ * The index of the first character in [Document.text][google.cloud.documentai.v1.Document.text] in the overall
* document global text.
*
*
@@ -720,8 +718,7 @@ public Builder clearShardCount() {
*
*
*
- * The index of the first character in
- * [Document.text][google.cloud.documentai.v1.Document.text] in the overall
+ * The index of the first character in [Document.text][google.cloud.documentai.v1.Document.text] in the overall
* document global text.
*
*
@@ -737,8 +734,7 @@ public long getTextOffset() {
*
*
*
- * The index of the first character in
- * [Document.text][google.cloud.documentai.v1.Document.text] in the overall
+ * The index of the first character in [Document.text][google.cloud.documentai.v1.Document.text] in the overall
* document global text.
*
*
@@ -758,8 +754,7 @@ public Builder setTextOffset(long value) {
*
*
*
- * The index of the first character in
- * [Document.text][google.cloud.documentai.v1.Document.text] in the overall
+ * The index of the first character in [Document.text][google.cloud.documentai.v1.Document.text] in the overall
* document global text.
*
*
@@ -847,8 +842,7 @@ public interface StyleOrBuilder
*
*
*
- * Text anchor indexing into the
- * [Document.text][google.cloud.documentai.v1.Document.text].
+ * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
*
*
* .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1;
@@ -860,8 +854,7 @@ public interface StyleOrBuilder
*
*
*
- * Text anchor indexing into the
- * [Document.text][google.cloud.documentai.v1.Document.text].
+ * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
*
*
* .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1;
@@ -873,8 +866,7 @@ public interface StyleOrBuilder
*
*
*
- * Text anchor indexing into the
- * [Document.text][google.cloud.documentai.v1.Document.text].
+ * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
*
*
* .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1;
@@ -1911,8 +1903,7 @@ public com.google.cloud.documentai.v1.Document.Style.FontSize getDefaultInstance
*
*
*
- * Text anchor indexing into the
- * [Document.text][google.cloud.documentai.v1.Document.text].
+ * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
*
*
* .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1;
@@ -1927,8 +1918,7 @@ public boolean hasTextAnchor() {
*
*
*
- * Text anchor indexing into the
- * [Document.text][google.cloud.documentai.v1.Document.text].
+ * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
*
*
* .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1;
@@ -1945,8 +1935,7 @@ public com.google.cloud.documentai.v1.Document.TextAnchor getTextAnchor() {
*
*
*
- * Text anchor indexing into the
- * [Document.text][google.cloud.documentai.v1.Document.text].
+ * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
*
*
* .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1;
@@ -2894,8 +2883,7 @@ public Builder mergeFrom(
*
*
*
- * Text anchor indexing into the
- * [Document.text][google.cloud.documentai.v1.Document.text].
+ * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
*
*
* .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1;
@@ -2909,8 +2897,7 @@ public boolean hasTextAnchor() {
*
*
*
- * Text anchor indexing into the
- * [Document.text][google.cloud.documentai.v1.Document.text].
+ * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
*
*
* .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1;
@@ -2930,8 +2917,7 @@ public com.google.cloud.documentai.v1.Document.TextAnchor getTextAnchor() {
*
*
*
- * Text anchor indexing into the
- * [Document.text][google.cloud.documentai.v1.Document.text].
+ * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
*
*
* .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1;
@@ -2953,8 +2939,7 @@ public Builder setTextAnchor(com.google.cloud.documentai.v1.Document.TextAnchor
*
*
*
- * Text anchor indexing into the
- * [Document.text][google.cloud.documentai.v1.Document.text].
+ * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
*
*
* .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1;
@@ -2974,8 +2959,7 @@ public Builder setTextAnchor(
*
*
*
- * Text anchor indexing into the
- * [Document.text][google.cloud.documentai.v1.Document.text].
+ * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
*
*
* .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1;
@@ -3003,8 +2987,7 @@ public Builder mergeTextAnchor(com.google.cloud.documentai.v1.Document.TextAncho
*
*
*
- * Text anchor indexing into the
- * [Document.text][google.cloud.documentai.v1.Document.text].
+ * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
*
*
* .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1;
@@ -3023,8 +3006,7 @@ public Builder clearTextAnchor() {
*
*
*
- * Text anchor indexing into the
- * [Document.text][google.cloud.documentai.v1.Document.text].
+ * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
*
*
* .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1;
@@ -3038,8 +3020,7 @@ public com.google.cloud.documentai.v1.Document.TextAnchor.Builder getTextAnchorB
*
*
*
- * Text anchor indexing into the
- * [Document.text][google.cloud.documentai.v1.Document.text].
+ * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
*
*
* .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1;
@@ -3057,8 +3038,7 @@ public com.google.cloud.documentai.v1.Document.TextAnchorOrBuilder getTextAnchor
*
*
*
- * Text anchor indexing into the
- * [Document.text][google.cloud.documentai.v1.Document.text].
+ * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
*
*
* .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1;
@@ -4152,11 +4132,9 @@ public interface PageOrBuilder
*
*
*
- * 1-based index for current
- * [Page][google.cloud.documentai.v1.Document.Page] in a parent
- * [Document][google.cloud.documentai.v1.Document]. Useful when a page is
- * taken out of a [Document][google.cloud.documentai.v1.Document] for
- * individual processing.
+ * 1-based index for current [Page][google.cloud.documentai.v1.Document.Page] in a parent [Document][google.cloud.documentai.v1.Document].
+ * Useful when a page is taken out of a [Document][google.cloud.documentai.v1.Document] for individual
+ * processing.
*
*
* int32 page_number = 1;
@@ -4961,7 +4939,7 @@ com.google.cloud.documentai.v1.Document.Page.FormFieldOrBuilder getFormFieldsOrB
*
- * Text anchor indexing into the
- * [Document.text][google.cloud.documentai.v1.Document.text].
+ * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
*
*
* .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1;
@@ -7787,8 +7764,7 @@ public interface LayoutOrBuilder
*
*
*
- * Text anchor indexing into the
- * [Document.text][google.cloud.documentai.v1.Document.text].
+ * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
*
*
* .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1;
@@ -7800,8 +7776,7 @@ public interface LayoutOrBuilder
*
*
*
- * Text anchor indexing into the
- * [Document.text][google.cloud.documentai.v1.Document.text].
+ * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
*
*
* .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1;
@@ -7812,11 +7787,9 @@ public interface LayoutOrBuilder
*
*
*
- * Confidence of the current
- * [Layout][google.cloud.documentai.v1.Document.Page.Layout] within
- * context of the object this layout is for. e.g. confidence can be for a
- * single token, a table, a visual element, etc. depending on context.
- * Range `[0, 1]`.
+ * Confidence of the current [Layout][google.cloud.documentai.v1.Document.Page.Layout] within context of the object this
+ * layout is for. e.g. confidence can be for a single token, a table,
+ * a visual element, etc. depending on context. Range `[0, 1]`.
*
*
* float confidence = 2;
@@ -7829,8 +7802,7 @@ public interface LayoutOrBuilder
*
*
*
- * The bounding polygon for the
- * [Layout][google.cloud.documentai.v1.Document.Page.Layout].
+ * The bounding polygon for the [Layout][google.cloud.documentai.v1.Document.Page.Layout].
*
*
* .google.cloud.documentai.v1.BoundingPoly bounding_poly = 3;
@@ -7842,8 +7814,7 @@ public interface LayoutOrBuilder
*
*
*
- * The bounding polygon for the
- * [Layout][google.cloud.documentai.v1.Document.Page.Layout].
+ * The bounding polygon for the [Layout][google.cloud.documentai.v1.Document.Page.Layout].
*
*
* .google.cloud.documentai.v1.BoundingPoly bounding_poly = 3;
@@ -7855,8 +7826,7 @@ public interface LayoutOrBuilder
*
*
*
- * The bounding polygon for the
- * [Layout][google.cloud.documentai.v1.Document.Page.Layout].
+ * The bounding polygon for the [Layout][google.cloud.documentai.v1.Document.Page.Layout].
*
*
* .google.cloud.documentai.v1.BoundingPoly bounding_poly = 3;
@@ -7867,8 +7837,7 @@ public interface LayoutOrBuilder
*
*
*
- * Detected orientation for the
- * [Layout][google.cloud.documentai.v1.Document.Page.Layout].
+ * Detected orientation for the [Layout][google.cloud.documentai.v1.Document.Page.Layout].
*
*
* .google.cloud.documentai.v1.Document.Page.Layout.Orientation orientation = 4;
@@ -7880,8 +7849,7 @@ public interface LayoutOrBuilder
*
*
*
- * Detected orientation for the
- * [Layout][google.cloud.documentai.v1.Document.Page.Layout].
+ * Detected orientation for the [Layout][google.cloud.documentai.v1.Document.Page.Layout].
*
*
* .google.cloud.documentai.v1.Document.Page.Layout.Orientation orientation = 4;
@@ -8153,8 +8121,7 @@ private Orientation(int value) {
*
*
*
- * Text anchor indexing into the
- * [Document.text][google.cloud.documentai.v1.Document.text].
+ * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
*
*
* .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1;
@@ -8169,8 +8136,7 @@ public boolean hasTextAnchor() {
*
*
*
- * Text anchor indexing into the
- * [Document.text][google.cloud.documentai.v1.Document.text].
+ * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
*
*
* .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1;
@@ -8187,8 +8153,7 @@ public com.google.cloud.documentai.v1.Document.TextAnchor getTextAnchor() {
*
*
*
- * Text anchor indexing into the
- * [Document.text][google.cloud.documentai.v1.Document.text].
+ * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
*
*
* .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1;
@@ -8206,11 +8171,9 @@ public com.google.cloud.documentai.v1.Document.TextAnchorOrBuilder getTextAnchor
*
*
*
- * Confidence of the current
- * [Layout][google.cloud.documentai.v1.Document.Page.Layout] within
- * context of the object this layout is for. e.g. confidence can be for a
- * single token, a table, a visual element, etc. depending on context.
- * Range `[0, 1]`.
+ * Confidence of the current [Layout][google.cloud.documentai.v1.Document.Page.Layout] within context of the object this
+ * layout is for. e.g. confidence can be for a single token, a table,
+ * a visual element, etc. depending on context. Range `[0, 1]`.
*
*
* float confidence = 2;
@@ -8228,8 +8191,7 @@ public float getConfidence() {
*
*
*
- * The bounding polygon for the
- * [Layout][google.cloud.documentai.v1.Document.Page.Layout].
+ * The bounding polygon for the [Layout][google.cloud.documentai.v1.Document.Page.Layout].
*
*
* .google.cloud.documentai.v1.BoundingPoly bounding_poly = 3;
@@ -8244,8 +8206,7 @@ public boolean hasBoundingPoly() {
*
*
*
- * The bounding polygon for the
- * [Layout][google.cloud.documentai.v1.Document.Page.Layout].
+ * The bounding polygon for the [Layout][google.cloud.documentai.v1.Document.Page.Layout].
*
*
* .google.cloud.documentai.v1.BoundingPoly bounding_poly = 3;
@@ -8262,8 +8223,7 @@ public com.google.cloud.documentai.v1.BoundingPoly getBoundingPoly() {
*
*
*
- * The bounding polygon for the
- * [Layout][google.cloud.documentai.v1.Document.Page.Layout].
+ * The bounding polygon for the [Layout][google.cloud.documentai.v1.Document.Page.Layout].
*
*
* .google.cloud.documentai.v1.BoundingPoly bounding_poly = 3;
@@ -8281,8 +8241,7 @@ public com.google.cloud.documentai.v1.BoundingPolyOrBuilder getBoundingPolyOrBui
*
*
*
- * Detected orientation for the
- * [Layout][google.cloud.documentai.v1.Document.Page.Layout].
+ * Detected orientation for the [Layout][google.cloud.documentai.v1.Document.Page.Layout].
*
*
* .google.cloud.documentai.v1.Document.Page.Layout.Orientation orientation = 4;
@@ -8297,8 +8256,7 @@ public int getOrientationValue() {
*
*
*
- * Detected orientation for the
- * [Layout][google.cloud.documentai.v1.Document.Page.Layout].
+ * Detected orientation for the [Layout][google.cloud.documentai.v1.Document.Page.Layout].
*
*
* .google.cloud.documentai.v1.Document.Page.Layout.Orientation orientation = 4;
@@ -8777,8 +8735,7 @@ public Builder mergeFrom(
*
*
*
- * Text anchor indexing into the
- * [Document.text][google.cloud.documentai.v1.Document.text].
+ * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
*
*
* .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1;
@@ -8792,8 +8749,7 @@ public boolean hasTextAnchor() {
*
*
*
- * Text anchor indexing into the
- * [Document.text][google.cloud.documentai.v1.Document.text].
+ * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
*
*
* .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1;
@@ -8813,8 +8769,7 @@ public com.google.cloud.documentai.v1.Document.TextAnchor getTextAnchor() {
*
*
*
- * Text anchor indexing into the
- * [Document.text][google.cloud.documentai.v1.Document.text].
+ * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
*
*
* .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1;
@@ -8836,8 +8791,7 @@ public Builder setTextAnchor(com.google.cloud.documentai.v1.Document.TextAnchor
*
*
*
- * Text anchor indexing into the
- * [Document.text][google.cloud.documentai.v1.Document.text].
+ * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
*
*
* .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1;
@@ -8857,8 +8811,7 @@ public Builder setTextAnchor(
*
*
*
- * Text anchor indexing into the
- * [Document.text][google.cloud.documentai.v1.Document.text].
+ * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
*
*
* .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1;
@@ -8886,8 +8839,7 @@ public Builder mergeTextAnchor(com.google.cloud.documentai.v1.Document.TextAncho
*
*
*
- * Text anchor indexing into the
- * [Document.text][google.cloud.documentai.v1.Document.text].
+ * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
*
*
* .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1;
@@ -8906,8 +8858,7 @@ public Builder clearTextAnchor() {
*
*
*
- * Text anchor indexing into the
- * [Document.text][google.cloud.documentai.v1.Document.text].
+ * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
*
*
* .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1;
@@ -8921,8 +8872,7 @@ public com.google.cloud.documentai.v1.Document.TextAnchor.Builder getTextAnchorB
*
*
*
- * Text anchor indexing into the
- * [Document.text][google.cloud.documentai.v1.Document.text].
+ * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
*
*
* .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1;
@@ -8941,8 +8891,7 @@ public com.google.cloud.documentai.v1.Document.TextAnchor.Builder getTextAnchorB
*
*
*
- * Text anchor indexing into the
- * [Document.text][google.cloud.documentai.v1.Document.text].
+ * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
*
*
* .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1;
@@ -8969,11 +8918,9 @@ public com.google.cloud.documentai.v1.Document.TextAnchor.Builder getTextAnchorB
*
*
*
- * Confidence of the current
- * [Layout][google.cloud.documentai.v1.Document.Page.Layout] within
- * context of the object this layout is for. e.g. confidence can be for a
- * single token, a table, a visual element, etc. depending on context.
- * Range `[0, 1]`.
+ * Confidence of the current [Layout][google.cloud.documentai.v1.Document.Page.Layout] within context of the object this
+ * layout is for. e.g. confidence can be for a single token, a table,
+ * a visual element, etc. depending on context. Range `[0, 1]`.
*
*
* float confidence = 2;
@@ -8988,11 +8935,9 @@ public float getConfidence() {
*
*
*
- * Confidence of the current
- * [Layout][google.cloud.documentai.v1.Document.Page.Layout] within
- * context of the object this layout is for. e.g. confidence can be for a
- * single token, a table, a visual element, etc. depending on context.
- * Range `[0, 1]`.
+ * Confidence of the current [Layout][google.cloud.documentai.v1.Document.Page.Layout] within context of the object this
+ * layout is for. e.g. confidence can be for a single token, a table,
+ * a visual element, etc. depending on context. Range `[0, 1]`.
*
*
* float confidence = 2;
@@ -9011,11 +8956,9 @@ public Builder setConfidence(float value) {
*
*
*
- * Confidence of the current
- * [Layout][google.cloud.documentai.v1.Document.Page.Layout] within
- * context of the object this layout is for. e.g. confidence can be for a
- * single token, a table, a visual element, etc. depending on context.
- * Range `[0, 1]`.
+ * Confidence of the current [Layout][google.cloud.documentai.v1.Document.Page.Layout] within context of the object this
+ * layout is for. e.g. confidence can be for a single token, a table,
+ * a visual element, etc. depending on context. Range `[0, 1]`.
*
*
* float confidence = 2;
@@ -9039,8 +8982,7 @@ public Builder clearConfidence() {
*
*
*
- * The bounding polygon for the
- * [Layout][google.cloud.documentai.v1.Document.Page.Layout].
+ * The bounding polygon for the [Layout][google.cloud.documentai.v1.Document.Page.Layout].
*
*
* .google.cloud.documentai.v1.BoundingPoly bounding_poly = 3;
@@ -9054,8 +8996,7 @@ public boolean hasBoundingPoly() {
*
*
*
- * The bounding polygon for the
- * [Layout][google.cloud.documentai.v1.Document.Page.Layout].
+ * The bounding polygon for the [Layout][google.cloud.documentai.v1.Document.Page.Layout].
*
*
* .google.cloud.documentai.v1.BoundingPoly bounding_poly = 3;
@@ -9075,8 +9016,7 @@ public com.google.cloud.documentai.v1.BoundingPoly getBoundingPoly() {
*
*
*
- * The bounding polygon for the
- * [Layout][google.cloud.documentai.v1.Document.Page.Layout].
+ * The bounding polygon for the [Layout][google.cloud.documentai.v1.Document.Page.Layout].
*
*
* .google.cloud.documentai.v1.BoundingPoly bounding_poly = 3;
@@ -9098,8 +9038,7 @@ public Builder setBoundingPoly(com.google.cloud.documentai.v1.BoundingPoly value
*
*
*
- * The bounding polygon for the
- * [Layout][google.cloud.documentai.v1.Document.Page.Layout].
+ * The bounding polygon for the [Layout][google.cloud.documentai.v1.Document.Page.Layout].
*
*
* .google.cloud.documentai.v1.BoundingPoly bounding_poly = 3;
@@ -9119,8 +9058,7 @@ public Builder setBoundingPoly(
*
*
*
- * The bounding polygon for the
- * [Layout][google.cloud.documentai.v1.Document.Page.Layout].
+ * The bounding polygon for the [Layout][google.cloud.documentai.v1.Document.Page.Layout].
*
*
* .google.cloud.documentai.v1.BoundingPoly bounding_poly = 3;
@@ -9148,8 +9086,7 @@ public Builder mergeBoundingPoly(com.google.cloud.documentai.v1.BoundingPoly val
*
*
*
- * The bounding polygon for the
- * [Layout][google.cloud.documentai.v1.Document.Page.Layout].
+ * The bounding polygon for the [Layout][google.cloud.documentai.v1.Document.Page.Layout].
*
*
* .google.cloud.documentai.v1.BoundingPoly bounding_poly = 3;
@@ -9168,8 +9105,7 @@ public Builder clearBoundingPoly() {
*
*
*
- * The bounding polygon for the
- * [Layout][google.cloud.documentai.v1.Document.Page.Layout].
+ * The bounding polygon for the [Layout][google.cloud.documentai.v1.Document.Page.Layout].
*
*
* .google.cloud.documentai.v1.BoundingPoly bounding_poly = 3;
@@ -9183,8 +9119,7 @@ public com.google.cloud.documentai.v1.BoundingPoly.Builder getBoundingPolyBuilde
*
*
*
- * The bounding polygon for the
- * [Layout][google.cloud.documentai.v1.Document.Page.Layout].
+ * The bounding polygon for the [Layout][google.cloud.documentai.v1.Document.Page.Layout].
*
*
* .google.cloud.documentai.v1.BoundingPoly bounding_poly = 3;
@@ -9202,8 +9137,7 @@ public com.google.cloud.documentai.v1.BoundingPolyOrBuilder getBoundingPolyOrBui
*
*
*
- * The bounding polygon for the
- * [Layout][google.cloud.documentai.v1.Document.Page.Layout].
+ * The bounding polygon for the [Layout][google.cloud.documentai.v1.Document.Page.Layout].
*
*
* .google.cloud.documentai.v1.BoundingPoly bounding_poly = 3;
@@ -9230,8 +9164,7 @@ public com.google.cloud.documentai.v1.BoundingPolyOrBuilder getBoundingPolyOrBui
*
*
*
- * Detected orientation for the
- * [Layout][google.cloud.documentai.v1.Document.Page.Layout].
+ * Detected orientation for the [Layout][google.cloud.documentai.v1.Document.Page.Layout].
*
*
* .google.cloud.documentai.v1.Document.Page.Layout.Orientation orientation = 4;
@@ -9247,8 +9180,7 @@ public int getOrientationValue() {
*
*
*
- * Detected orientation for the
- * [Layout][google.cloud.documentai.v1.Document.Page.Layout].
+ * Detected orientation for the [Layout][google.cloud.documentai.v1.Document.Page.Layout].
*
*
* .google.cloud.documentai.v1.Document.Page.Layout.Orientation orientation = 4;
@@ -9267,8 +9199,7 @@ public Builder setOrientationValue(int value) {
*
*
*
- * Detected orientation for the
- * [Layout][google.cloud.documentai.v1.Document.Page.Layout].
+ * Detected orientation for the [Layout][google.cloud.documentai.v1.Document.Page.Layout].
*
*
* .google.cloud.documentai.v1.Document.Page.Layout.Orientation orientation = 4;
@@ -9289,8 +9220,7 @@ public com.google.cloud.documentai.v1.Document.Page.Layout.Orientation getOrient
*
*
*
- * Detected orientation for the
- * [Layout][google.cloud.documentai.v1.Document.Page.Layout].
+ * Detected orientation for the [Layout][google.cloud.documentai.v1.Document.Page.Layout].
*
*
* .google.cloud.documentai.v1.Document.Page.Layout.Orientation orientation = 4;
@@ -9313,8 +9243,7 @@ public Builder setOrientation(
*
*
*
- * Detected orientation for the
- * [Layout][google.cloud.documentai.v1.Document.Page.Layout].
+ * Detected orientation for the [Layout][google.cloud.documentai.v1.Document.Page.Layout].
*
*
* .google.cloud.documentai.v1.Document.Page.Layout.Orientation orientation = 4;
@@ -9402,8 +9331,7 @@ public interface BlockOrBuilder
*
*
*