Skip to content

Commit 5fa032b

Browse files
feat: Automated regeneration of Chat client (googleapis#12500)
Auto-created at 2024-11-10 13:08:18 +0000 using the toys pull request generator.
1 parent f1640c9 commit 5fa032b

File tree

8 files changed

+11
-11
lines changed

8 files changed

+11
-11
lines changed

clients/chat/lib/google_api/chat/v1/api/spaces.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -932,7 +932,7 @@ defmodule GoogleApi.Chat.V1.Api.Spaces do
932932
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
933933
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
934934
* `:messageId` (*type:* `String.t`) - Optional. A custom ID for a message. Lets Chat apps get, update, or delete a message without needing to store the system-assigned ID in the message's resource name (represented in the message `name` field). The value for this field must meet the following requirements: * Begins with `client-`. For example, `client-custom-name` is a valid custom ID, but `custom-name` is not. * Contains up to 63 characters and only lowercase letters, numbers, and hyphens. * Is unique within a space. A Chat app can't use the same custom ID for different messages. For details, see [Name a message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message).
935-
* `:messageReplyOption` (*type:* `String.t`) - Optional. Specifies whether a message starts a thread or replies to one. Only supported in named spaces.
935+
* `:messageReplyOption` (*type:* `String.t`) - Optional. Specifies whether a message starts a thread or replies to one. Only supported in named spaces. When [responding to user interactions](https://developers.google.com/workspace/chat/receive-respond-interactions), this field is ignored. For interactions within a thread, the reply is created in the same thread. Otherwise, the reply is created as a new thread.
936936
* `:requestId` (*type:* `String.t`) - Optional. A unique request ID for this message. Specifying an existing request ID returns the message created with that ID instead of creating a new message.
937937
* `:threadKey` (*type:* `String.t`) - Optional. Deprecated: Use thread.thread_key instead. ID for the thread. Supports up to 4000 characters. To start or add to a thread, create a message and specify a `threadKey` or the thread.name. For example usage, see [Start or reply to a message thread](https://developers.google.com/workspace/chat/create-messages#create-message-thread).
938938
* `:body` (*type:* `GoogleApi.Chat.V1.Model.Message.t`) -

clients/chat/lib/google_api/chat/v1/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.Chat.V1 do
2020
API client metadata for GoogleApi.Chat.V1.
2121
"""
2222

23-
@discovery_revision "20241103"
23+
@discovery_revision "20241105"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/chat/lib/google_api/chat/v1/model/attachment.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ defmodule GoogleApi.Chat.V1.Model.Attachment do
2121
2222
## Attributes
2323
24-
* `attachmentDataRef` (*type:* `GoogleApi.Chat.V1.Model.AttachmentDataRef.t`, *default:* `nil`) - A reference to the attachment data. This field is used with the media API to download the attachment data.
24+
* `attachmentDataRef` (*type:* `GoogleApi.Chat.V1.Model.AttachmentDataRef.t`, *default:* `nil`) - Optional. A reference to the attachment data. This field is used to create or update messages with attachments, or with the media API to download the attachment data.
2525
* `contentName` (*type:* `String.t`, *default:* `nil`) - Output only. The original file name for the content, not the full path.
2626
* `contentType` (*type:* `String.t`, *default:* `nil`) - Output only. The content type (MIME type) of the file.
2727
* `downloadUri` (*type:* `String.t`, *default:* `nil`) - Output only. The download URL which should be used to allow a human user to download the attachment. Chat apps shouldn't use this URL to download attachment content.
2828
* `driveDataRef` (*type:* `GoogleApi.Chat.V1.Model.DriveDataRef.t`, *default:* `nil`) - Output only. A reference to the Google Drive attachment. This field is used with the Google Drive API.
29-
* `name` (*type:* `String.t`, *default:* `nil`) - Resource name of the attachment, in the form `spaces/{space}/messages/{message}/attachments/{attachment}`.
29+
* `name` (*type:* `String.t`, *default:* `nil`) - Optional. Resource name of the attachment, in the form `spaces/{space}/messages/{message}/attachments/{attachment}`.
3030
* `source` (*type:* `String.t`, *default:* `nil`) - Output only. The source of the attachment.
3131
* `thumbnailUri` (*type:* `String.t`, *default:* `nil`) - Output only. The thumbnail URL which should be used to preview the attachment to a human user. Chat apps shouldn't use this URL to download attachment content.
3232
"""

clients/chat/lib/google_api/chat/v1/model/attachment_data_ref.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ defmodule GoogleApi.Chat.V1.Model.AttachmentDataRef do
2121
2222
## Attributes
2323
24-
* `attachmentUploadToken` (*type:* `String.t`, *default:* `nil`) - Opaque token containing a reference to an uploaded attachment. Treated by clients as an opaque string and used to create or update Chat messages with attachments.
25-
* `resourceName` (*type:* `String.t`, *default:* `nil`) - The resource name of the attachment data. This field is used with the media API to download the attachment data.
24+
* `attachmentUploadToken` (*type:* `String.t`, *default:* `nil`) - Optional. Opaque token containing a reference to an uploaded attachment. Treated by clients as an opaque string and used to create or update Chat messages with attachments.
25+
* `resourceName` (*type:* `String.t`, *default:* `nil`) - Optional. The resource name of the attachment data. This field is used with the media API to download the attachment data.
2626
"""
2727

2828
use GoogleApi.Gax.ModelBase

clients/chat/lib/google_api/chat/v1/model/google_apps_card_v1_selection_input.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ defmodule GoogleApi.Chat.V1.Model.GoogleAppsCardV1SelectionInput do
2121
2222
## Attributes
2323
24-
* `externalDataSource` (*type:* `GoogleApi.Chat.V1.Model.GoogleAppsCardV1Action.t`, *default:* `nil`) - An external data source, such as a relational data base.
24+
* `externalDataSource` (*type:* `GoogleApi.Chat.V1.Model.GoogleAppsCardV1Action.t`, *default:* `nil`) - An external data source, such as a relational database.
2525
* `items` (*type:* `list(GoogleApi.Chat.V1.Model.GoogleAppsCardV1SelectionItem.t)`, *default:* `nil`) - An array of selectable items. For example, an array of radio buttons or checkboxes. Supports up to 100 items.
2626
* `label` (*type:* `String.t`, *default:* `nil`) - The text that appears above the selection input field in the user interface. Specify text that helps the user enter the information your app needs. For example, if users are selecting the urgency of a work ticket from a drop-down menu, the label might be "Urgency" or "Select urgency".
2727
* `multiSelectMaxSelectedItems` (*type:* `integer()`, *default:* `nil`) - For multiselect menus, the maximum number of items that a user can select. Minimum value is 1 item. If unspecified, defaults to 3 items.
28-
* `multiSelectMinQueryLength` (*type:* `integer()`, *default:* `nil`) - For multiselect menus, the number of text characters that a user inputs before the app queries autocomplete and displays suggested items in the menu. If unspecified, defaults to 0 characters for static data sources and 3 characters for external data sources.
28+
* `multiSelectMinQueryLength` (*type:* `integer()`, *default:* `nil`) - For multiselect menus, the number of text characters that a user inputs before the menu returns suggested selection items. If unset, the multiselect menu uses the following default values: * If the menu uses a static array of `SelectionInput` items, defaults to 0 characters and immediately populates items from the array. * If the menu uses a dynamic data source (`multi_select_data_source`), defaults to 3 characters before querying the data source to return suggested items.
2929
* `name` (*type:* `String.t`, *default:* `nil`) - Required. The name that identifies the selection input in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data).
3030
* `onChangeAction` (*type:* `GoogleApi.Chat.V1.Model.GoogleAppsCardV1Action.t`, *default:* `nil`) - If specified, the form is submitted when the selection changes. If not specified, you must specify a separate button that submits the form. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data).
3131
* `platformDataSource` (*type:* `GoogleApi.Chat.V1.Model.GoogleAppsCardV1PlatformDataSource.t`, *default:* `nil`) - A data source from Google Workspace.

clients/chat/lib/google_api/chat/v1/model/google_apps_card_v1_selection_item.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
defmodule GoogleApi.Chat.V1.Model.GoogleAppsCardV1SelectionItem do
1919
@moduledoc """
20-
An item that users can select in a selection input, such as a checkbox or switch. [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):
20+
An item that users can select in a selection input, such as a checkbox or switch. Supports up to 100 items. [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):
2121
2222
## Attributes
2323

clients/chat/lib/google_api/chat/v1/model/updated_widget.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
defmodule GoogleApi.Chat.V1.Model.UpdatedWidget do
1919
@moduledoc """
20-
The response of the updated widget. Used to provide autocomplete options for a widget.
20+
For `selectionInput` widgets, returns autocomplete suggestions for a multiselect menu.
2121
2222
## Attributes
2323

clients/chat/mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
defmodule GoogleApi.Chat.Mixfile do
1919
use Mix.Project
2020

21-
@version "0.41.2"
21+
@version "0.41.3"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)