Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60005,14 +60005,18 @@
"/chat:v1/GoogleAppsCardV1DateTimePicker/valueMsEpoch": value_ms_epoch
"/chat:v1/GoogleAppsCardV1DecoratedText": google_apps_card_v1_decorated_text
"/chat:v1/GoogleAppsCardV1DecoratedText/bottomLabel": bottom_label
"/chat:v1/GoogleAppsCardV1DecoratedText/bottomLabelText": bottom_label_text
"/chat:v1/GoogleAppsCardV1DecoratedText/button": button
"/chat:v1/GoogleAppsCardV1DecoratedText/contentText": content_text
"/chat:v1/GoogleAppsCardV1DecoratedText/endIcon": end_icon
"/chat:v1/GoogleAppsCardV1DecoratedText/icon": icon
"/chat:v1/GoogleAppsCardV1DecoratedText/onClick": on_click
"/chat:v1/GoogleAppsCardV1DecoratedText/startIcon": start_icon
"/chat:v1/GoogleAppsCardV1DecoratedText/startIconVerticalAlignment": start_icon_vertical_alignment
"/chat:v1/GoogleAppsCardV1DecoratedText/switchControl": switch_control
"/chat:v1/GoogleAppsCardV1DecoratedText/text": text
"/chat:v1/GoogleAppsCardV1DecoratedText/topLabel": top_label
"/chat:v1/GoogleAppsCardV1DecoratedText/topLabelText": top_label_text
"/chat:v1/GoogleAppsCardV1DecoratedText/wrapText": wrap_text
"/chat:v1/GoogleAppsCardV1Divider": google_apps_card_v1_divider
"/chat:v1/GoogleAppsCardV1EventAction": google_apps_card_v1_event_action
Expand Down Expand Up @@ -60160,6 +60164,7 @@
"/chat:v1/GoogleAppsCardV1TextParagraph": google_apps_card_v1_text_paragraph
"/chat:v1/GoogleAppsCardV1TextParagraph/maxLines": max_lines
"/chat:v1/GoogleAppsCardV1TextParagraph/text": text
"/chat:v1/GoogleAppsCardV1TextParagraph/textSyntax": text_syntax
"/chat:v1/GoogleAppsCardV1Trigger": google_apps_card_v1_trigger
"/chat:v1/GoogleAppsCardV1Trigger/actionRuleId": action_rule_id
"/chat:v1/GoogleAppsCardV1UpdateVisibilityAction": google_apps_card_v1_update_visibility_action
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-chat_v1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-chat_v1

### v0.132.0 (2025-09-21)

* Regenerated from discovery document revision 20250916

### v0.131.0 (2025-09-14)

* Regenerated from discovery document revision 20250909
Expand Down
99 changes: 77 additions & 22 deletions generated/google-apis-chat_v1/lib/google/apis/chat_v1/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2061,15 +2061,15 @@ def update!(**args)
end
end

# [Developer Preview](https://developers.google.com/workspace/preview): A
# carousel, also known as a slider, rotates and displays a list of widgets in a
# slideshow format, with buttons navigating to the previous or next widget. For
# example, this is a JSON representation of a carousel that contains three text
# paragraph widgets. ``` ` "carouselCards": [ ` "widgets": [ ` "textParagraph": `
# "text": "First text paragraph in carousel", ` ` ] `, ` "widgets": [ ` "
# textParagraph": ` "text": "Second text paragraph in carousel", ` ` ] `, ` "
# widgets": [ ` "textParagraph": ` "text": "Third text paragraph in carousel", `
# ` ] ` ] ` ``` [Google Chat apps](https://developers.google.com/workspace/chat):
# A carousel, also known as a slider, rotates and displays a list of widgets in
# a slideshow format, with buttons navigating to the previous or next widget.
# For example, this is a JSON representation of a carousel that contains three
# text paragraph widgets. ``` ` "carouselCards": [ ` "widgets": [ ` "
# textParagraph": ` "text": "First text paragraph in carousel", ` ` ] `, ` "
# widgets": [ ` "textParagraph": ` "text": "Second text paragraph in carousel", `
# ` ] `, ` "widgets": [ ` "textParagraph": ` "text": "Third text paragraph in
# carousel", ` ` ] ` ] ` ``` [Google Chat apps](https://developers.google.com/
# workspace/chat):
class GoogleAppsCardV1Carousel
include Google::Apis::Core::Hashable

Expand All @@ -2088,8 +2088,7 @@ def update!(**args)
end
end

# [Developer Preview](https://developers.google.com/workspace/preview): A card
# that can be displayed as a carousel item. [Google Chat apps](https://
# A card that can be displayed as a carousel item. [Google Chat apps](https://
# developers.google.com/workspace/chat):
class GoogleAppsCardV1CarouselCard
include Google::Apis::Core::Hashable
Expand Down Expand Up @@ -2507,6 +2506,19 @@ class GoogleAppsCardV1DecoratedText
# @return [String]
attr_accessor :bottom_label

# A paragraph of text that supports formatting. For an example in Google Chat
# apps, see [Add a paragraph of formatted text](https://developers.google.com/
# workspace/chat/add-text-image-card-dialog#add_a_paragraph_of_formatted_text).
# For more information about formatting text, see [Formatting text in Google
# Chat apps](https://developers.google.com/workspace/chat/format-messages#card-
# formatting) and [Formatting text in Google Workspace add-ons](https://
# developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). [
# Google Workspace add-ons and Chat apps](https://developers.google.com/
# workspace/extend):
# Corresponds to the JSON property `bottomLabelText`
# @return [Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph]
attr_accessor :bottom_label_text

# A text, icon, or text and icon button that users can click. For an example in
# Google Chat apps, see [Add a button](https://developers.google.com/workspace/
# chat/design-interactive-card-dialog#add_a_button). To make an image a
Expand All @@ -2517,6 +2529,19 @@ class GoogleAppsCardV1DecoratedText
# @return [Google::Apis::ChatV1::GoogleAppsCardV1Button]
attr_accessor :button

# A paragraph of text that supports formatting. For an example in Google Chat
# apps, see [Add a paragraph of formatted text](https://developers.google.com/
# workspace/chat/add-text-image-card-dialog#add_a_paragraph_of_formatted_text).
# For more information about formatting text, see [Formatting text in Google
# Chat apps](https://developers.google.com/workspace/chat/format-messages#card-
# formatting) and [Formatting text in Google Workspace add-ons](https://
# developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). [
# Google Workspace add-ons and Chat apps](https://developers.google.com/
# workspace/extend):
# Corresponds to the JSON property `contentText`
# @return [Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph]
attr_accessor :content_text

# An icon displayed in a widget on a card. For an example in Google Chat apps,
# see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-
# card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/
Expand Down Expand Up @@ -2557,6 +2582,13 @@ class GoogleAppsCardV1DecoratedText
# @return [Google::Apis::ChatV1::GoogleAppsCardV1Icon]
attr_accessor :start_icon

# Optional. Vertical alignment of the start icon. If not set, the icon will be
# vertically centered. [Google Chat apps](https://developers.google.com/
# workspace/chat):
# Corresponds to the JSON property `startIconVerticalAlignment`
# @return [String]
attr_accessor :start_icon_vertical_alignment

# Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [
# Google Workspace add-ons and Chat apps](https://developers.google.com/
# workspace/extend): Only supported in the `decoratedText` widget.
Expand All @@ -2578,6 +2610,19 @@ class GoogleAppsCardV1DecoratedText
# @return [String]
attr_accessor :top_label

# A paragraph of text that supports formatting. For an example in Google Chat
# apps, see [Add a paragraph of formatted text](https://developers.google.com/
# workspace/chat/add-text-image-card-dialog#add_a_paragraph_of_formatted_text).
# For more information about formatting text, see [Formatting text in Google
# Chat apps](https://developers.google.com/workspace/chat/format-messages#card-
# formatting) and [Formatting text in Google Workspace add-ons](https://
# developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). [
# Google Workspace add-ons and Chat apps](https://developers.google.com/
# workspace/extend):
# Corresponds to the JSON property `topLabelText`
# @return [Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph]
attr_accessor :top_label_text

# The wrap text setting. If `true`, the text wraps and displays on multiple
# lines. Otherwise, the text is truncated. Only applies to `text`, not `topLabel`
# and `bottomLabel`.
Expand All @@ -2593,14 +2638,18 @@ def initialize(**args)
# Update properties of this object
def update!(**args)
@bottom_label = args[:bottom_label] if args.key?(:bottom_label)
@bottom_label_text = args[:bottom_label_text] if args.key?(:bottom_label_text)
@button = args[:button] if args.key?(:button)
@content_text = args[:content_text] if args.key?(:content_text)
@end_icon = args[:end_icon] if args.key?(:end_icon)
@icon = args[:icon] if args.key?(:icon)
@on_click = args[:on_click] if args.key?(:on_click)
@start_icon = args[:start_icon] if args.key?(:start_icon)
@start_icon_vertical_alignment = args[:start_icon_vertical_alignment] if args.key?(:start_icon_vertical_alignment)
@switch_control = args[:switch_control] if args.key?(:switch_control)
@text = args[:text] if args.key?(:text)
@top_label = args[:top_label] if args.key?(:top_label)
@top_label_text = args[:top_label_text] if args.key?(:top_label_text)
@wrap_text = args[:wrap_text] if args.key?(:wrap_text)
end
end
Expand Down Expand Up @@ -3059,8 +3108,7 @@ def update!(**args)
end
end

# [Developer Preview](https://developers.google.com/workspace/preview): A list
# of widgets that can be displayed in a containing layout, such as a `
# A list of widgets that can be displayed in a containing layout, such as a `
# CarouselCard`. [Google Chat apps](https://developers.google.com/workspace/chat)
# :
class GoogleAppsCardV1NestedWidget
Expand Down Expand Up @@ -3824,6 +3872,12 @@ class GoogleAppsCardV1TextParagraph
# @return [String]
attr_accessor :text

# The syntax of the text. If not set, the text is rendered as HTML. [Google Chat
# apps](https://developers.google.com/workspace/chat):
# Corresponds to the JSON property `textSyntax`
# @return [String]
attr_accessor :text_syntax

def initialize(**args)
update!(**args)
end
Expand All @@ -3832,6 +3886,7 @@ def initialize(**args)
def update!(**args)
@max_lines = args[:max_lines] if args.key?(:max_lines)
@text = args[:text] if args.key?(:text)
@text_syntax = args[:text_syntax] if args.key?(:text_syntax)
end
end

Expand Down Expand Up @@ -3919,15 +3974,15 @@ class GoogleAppsCardV1Widget
# @return [Google::Apis::ChatV1::GoogleAppsCardV1ButtonList]
attr_accessor :button_list

# [Developer Preview](https://developers.google.com/workspace/preview): A
# carousel, also known as a slider, rotates and displays a list of widgets in a
# slideshow format, with buttons navigating to the previous or next widget. For
# example, this is a JSON representation of a carousel that contains three text
# paragraph widgets. ``` ` "carouselCards": [ ` "widgets": [ ` "textParagraph": `
# "text": "First text paragraph in carousel", ` ` ] `, ` "widgets": [ ` "
# textParagraph": ` "text": "Second text paragraph in carousel", ` ` ] `, ` "
# widgets": [ ` "textParagraph": ` "text": "Third text paragraph in carousel", `
# ` ] ` ] ` ``` [Google Chat apps](https://developers.google.com/workspace/chat):
# A carousel, also known as a slider, rotates and displays a list of widgets in
# a slideshow format, with buttons navigating to the previous or next widget.
# For example, this is a JSON representation of a carousel that contains three
# text paragraph widgets. ``` ` "carouselCards": [ ` "widgets": [ ` "
# textParagraph": ` "text": "First text paragraph in carousel", ` ` ] `, ` "
# widgets": [ ` "textParagraph": ` "text": "Second text paragraph in carousel", `
# ` ] `, ` "widgets": [ ` "textParagraph": ` "text": "Third text paragraph in
# carousel", ` ` ] ` ] ` ``` [Google Chat apps](https://developers.google.com/
# workspace/chat):
# Corresponds to the JSON property `carousel`
# @return [Google::Apis::ChatV1::GoogleAppsCardV1Carousel]
attr_accessor :carousel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module ChatV1
# Version of the google-apis-chat_v1 gem
GEM_VERSION = "0.131.0"
GEM_VERSION = "0.132.0"

# Version of the code generator used to generate this client
GENERATOR_VERSION = "0.18.0"

# Revision of the discovery document this client was generated from
REVISION = "20250909"
REVISION = "20250916"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -1570,8 +1570,12 @@ class GoogleAppsCardV1DecoratedText
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bottom_label, as: 'bottomLabel'
property :bottom_label_text, as: 'bottomLabelText', class: Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph, decorator: Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph::Representation

property :button, as: 'button', class: Google::Apis::ChatV1::GoogleAppsCardV1Button, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Button::Representation

property :content_text, as: 'contentText', class: Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph, decorator: Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph::Representation

property :end_icon, as: 'endIcon', class: Google::Apis::ChatV1::GoogleAppsCardV1Icon, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Icon::Representation

property :icon, as: 'icon', class: Google::Apis::ChatV1::GoogleAppsCardV1Icon, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Icon::Representation
Expand All @@ -1580,10 +1584,13 @@ class Representation < Google::Apis::Core::JsonRepresentation

property :start_icon, as: 'startIcon', class: Google::Apis::ChatV1::GoogleAppsCardV1Icon, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Icon::Representation

property :start_icon_vertical_alignment, as: 'startIconVerticalAlignment'
property :switch_control, as: 'switchControl', class: Google::Apis::ChatV1::GoogleAppsCardV1SwitchControl, decorator: Google::Apis::ChatV1::GoogleAppsCardV1SwitchControl::Representation

property :text, as: 'text'
property :top_label, as: 'topLabel'
property :top_label_text, as: 'topLabelText', class: Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph, decorator: Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph::Representation

property :wrap_text, as: 'wrapText'
end
end
Expand Down Expand Up @@ -1869,6 +1876,7 @@ class GoogleAppsCardV1TextParagraph
class Representation < Google::Apis::Core::JsonRepresentation
property :max_lines, as: 'maxLines'
property :text, as: 'text'
property :text_syntax, as: 'textSyntax'
end
end

Expand Down
Loading