Skip to content

Commit a1bae04

Browse files
feat: Automated regeneration of chat v1 client (#24362)
Auto-created at 2025-09-21 10:24:27 +0000 using the toys pull request generator.
1 parent b238a3e commit a1bae04

File tree

5 files changed

+96
-24
lines changed

5 files changed

+96
-24
lines changed

api_names_out.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60169,14 +60169,18 @@
6016960169
"/chat:v1/GoogleAppsCardV1DateTimePicker/valueMsEpoch": value_ms_epoch
6017060170
"/chat:v1/GoogleAppsCardV1DecoratedText": google_apps_card_v1_decorated_text
6017160171
"/chat:v1/GoogleAppsCardV1DecoratedText/bottomLabel": bottom_label
60172+
"/chat:v1/GoogleAppsCardV1DecoratedText/bottomLabelText": bottom_label_text
6017260173
"/chat:v1/GoogleAppsCardV1DecoratedText/button": button
60174+
"/chat:v1/GoogleAppsCardV1DecoratedText/contentText": content_text
6017360175
"/chat:v1/GoogleAppsCardV1DecoratedText/endIcon": end_icon
6017460176
"/chat:v1/GoogleAppsCardV1DecoratedText/icon": icon
6017560177
"/chat:v1/GoogleAppsCardV1DecoratedText/onClick": on_click
6017660178
"/chat:v1/GoogleAppsCardV1DecoratedText/startIcon": start_icon
60179+
"/chat:v1/GoogleAppsCardV1DecoratedText/startIconVerticalAlignment": start_icon_vertical_alignment
6017760180
"/chat:v1/GoogleAppsCardV1DecoratedText/switchControl": switch_control
6017860181
"/chat:v1/GoogleAppsCardV1DecoratedText/text": text
6017960182
"/chat:v1/GoogleAppsCardV1DecoratedText/topLabel": top_label
60183+
"/chat:v1/GoogleAppsCardV1DecoratedText/topLabelText": top_label_text
6018060184
"/chat:v1/GoogleAppsCardV1DecoratedText/wrapText": wrap_text
6018160185
"/chat:v1/GoogleAppsCardV1Divider": google_apps_card_v1_divider
6018260186
"/chat:v1/GoogleAppsCardV1EventAction": google_apps_card_v1_event_action
@@ -60324,6 +60328,7 @@
6032460328
"/chat:v1/GoogleAppsCardV1TextParagraph": google_apps_card_v1_text_paragraph
6032560329
"/chat:v1/GoogleAppsCardV1TextParagraph/maxLines": max_lines
6032660330
"/chat:v1/GoogleAppsCardV1TextParagraph/text": text
60331+
"/chat:v1/GoogleAppsCardV1TextParagraph/textSyntax": text_syntax
6032760332
"/chat:v1/GoogleAppsCardV1Trigger": google_apps_card_v1_trigger
6032860333
"/chat:v1/GoogleAppsCardV1Trigger/actionRuleId": action_rule_id
6032960334
"/chat:v1/GoogleAppsCardV1UpdateVisibilityAction": google_apps_card_v1_update_visibility_action

generated/google-apis-chat_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-chat_v1
22

3+
### v0.132.0 (2025-09-21)
4+
5+
* Regenerated from discovery document revision 20250916
6+
37
### v0.131.0 (2025-09-14)
48

59
* Regenerated from discovery document revision 20250909

generated/google-apis-chat_v1/lib/google/apis/chat_v1/classes.rb

Lines changed: 77 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2061,15 +2061,15 @@ def update!(**args)
20612061
end
20622062
end
20632063

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

@@ -2088,8 +2088,7 @@ def update!(**args)
20882088
end
20892089
end
20902090

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

2509+
# A paragraph of text that supports formatting. For an example in Google Chat
2510+
# apps, see [Add a paragraph of formatted text](https://developers.google.com/
2511+
# workspace/chat/add-text-image-card-dialog#add_a_paragraph_of_formatted_text).
2512+
# For more information about formatting text, see [Formatting text in Google
2513+
# Chat apps](https://developers.google.com/workspace/chat/format-messages#card-
2514+
# formatting) and [Formatting text in Google Workspace add-ons](https://
2515+
# developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). [
2516+
# Google Workspace add-ons and Chat apps](https://developers.google.com/
2517+
# workspace/extend):
2518+
# Corresponds to the JSON property `bottomLabelText`
2519+
# @return [Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph]
2520+
attr_accessor :bottom_label_text
2521+
25102522
# A text, icon, or text and icon button that users can click. For an example in
25112523
# Google Chat apps, see [Add a button](https://developers.google.com/workspace/
25122524
# chat/design-interactive-card-dialog#add_a_button). To make an image a
@@ -2517,6 +2529,19 @@ class GoogleAppsCardV1DecoratedText
25172529
# @return [Google::Apis::ChatV1::GoogleAppsCardV1Button]
25182530
attr_accessor :button
25192531

2532+
# A paragraph of text that supports formatting. For an example in Google Chat
2533+
# apps, see [Add a paragraph of formatted text](https://developers.google.com/
2534+
# workspace/chat/add-text-image-card-dialog#add_a_paragraph_of_formatted_text).
2535+
# For more information about formatting text, see [Formatting text in Google
2536+
# Chat apps](https://developers.google.com/workspace/chat/format-messages#card-
2537+
# formatting) and [Formatting text in Google Workspace add-ons](https://
2538+
# developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). [
2539+
# Google Workspace add-ons and Chat apps](https://developers.google.com/
2540+
# workspace/extend):
2541+
# Corresponds to the JSON property `contentText`
2542+
# @return [Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph]
2543+
attr_accessor :content_text
2544+
25202545
# An icon displayed in a widget on a card. For an example in Google Chat apps,
25212546
# see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-
25222547
# card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/
@@ -2557,6 +2582,13 @@ class GoogleAppsCardV1DecoratedText
25572582
# @return [Google::Apis::ChatV1::GoogleAppsCardV1Icon]
25582583
attr_accessor :start_icon
25592584

2585+
# Optional. Vertical alignment of the start icon. If not set, the icon will be
2586+
# vertically centered. [Google Chat apps](https://developers.google.com/
2587+
# workspace/chat):
2588+
# Corresponds to the JSON property `startIconVerticalAlignment`
2589+
# @return [String]
2590+
attr_accessor :start_icon_vertical_alignment
2591+
25602592
# Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [
25612593
# Google Workspace add-ons and Chat apps](https://developers.google.com/
25622594
# workspace/extend): Only supported in the `decoratedText` widget.
@@ -2578,6 +2610,19 @@ class GoogleAppsCardV1DecoratedText
25782610
# @return [String]
25792611
attr_accessor :top_label
25802612

2613+
# A paragraph of text that supports formatting. For an example in Google Chat
2614+
# apps, see [Add a paragraph of formatted text](https://developers.google.com/
2615+
# workspace/chat/add-text-image-card-dialog#add_a_paragraph_of_formatted_text).
2616+
# For more information about formatting text, see [Formatting text in Google
2617+
# Chat apps](https://developers.google.com/workspace/chat/format-messages#card-
2618+
# formatting) and [Formatting text in Google Workspace add-ons](https://
2619+
# developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). [
2620+
# Google Workspace add-ons and Chat apps](https://developers.google.com/
2621+
# workspace/extend):
2622+
# Corresponds to the JSON property `topLabelText`
2623+
# @return [Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph]
2624+
attr_accessor :top_label_text
2625+
25812626
# The wrap text setting. If `true`, the text wraps and displays on multiple
25822627
# lines. Otherwise, the text is truncated. Only applies to `text`, not `topLabel`
25832628
# and `bottomLabel`.
@@ -2593,14 +2638,18 @@ def initialize(**args)
25932638
# Update properties of this object
25942639
def update!(**args)
25952640
@bottom_label = args[:bottom_label] if args.key?(:bottom_label)
2641+
@bottom_label_text = args[:bottom_label_text] if args.key?(:bottom_label_text)
25962642
@button = args[:button] if args.key?(:button)
2643+
@content_text = args[:content_text] if args.key?(:content_text)
25972644
@end_icon = args[:end_icon] if args.key?(:end_icon)
25982645
@icon = args[:icon] if args.key?(:icon)
25992646
@on_click = args[:on_click] if args.key?(:on_click)
26002647
@start_icon = args[:start_icon] if args.key?(:start_icon)
2648+
@start_icon_vertical_alignment = args[:start_icon_vertical_alignment] if args.key?(:start_icon_vertical_alignment)
26012649
@switch_control = args[:switch_control] if args.key?(:switch_control)
26022650
@text = args[:text] if args.key?(:text)
26032651
@top_label = args[:top_label] if args.key?(:top_label)
2652+
@top_label_text = args[:top_label_text] if args.key?(:top_label_text)
26042653
@wrap_text = args[:wrap_text] if args.key?(:wrap_text)
26052654
end
26062655
end
@@ -3059,8 +3108,7 @@ def update!(**args)
30593108
end
30603109
end
30613110

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

3875+
# The syntax of the text. If not set, the text is rendered as HTML. [Google Chat
3876+
# apps](https://developers.google.com/workspace/chat):
3877+
# Corresponds to the JSON property `textSyntax`
3878+
# @return [String]
3879+
attr_accessor :text_syntax
3880+
38273881
def initialize(**args)
38283882
update!(**args)
38293883
end
@@ -3832,6 +3886,7 @@ def initialize(**args)
38323886
def update!(**args)
38333887
@max_lines = args[:max_lines] if args.key?(:max_lines)
38343888
@text = args[:text] if args.key?(:text)
3889+
@text_syntax = args[:text_syntax] if args.key?(:text_syntax)
38353890
end
38363891
end
38373892

@@ -3919,15 +3974,15 @@ class GoogleAppsCardV1Widget
39193974
# @return [Google::Apis::ChatV1::GoogleAppsCardV1ButtonList]
39203975
attr_accessor :button_list
39213976

3922-
# [Developer Preview](https://developers.google.com/workspace/preview): A
3923-
# carousel, also known as a slider, rotates and displays a list of widgets in a
3924-
# slideshow format, with buttons navigating to the previous or next widget. For
3925-
# example, this is a JSON representation of a carousel that contains three text
3926-
# paragraph widgets. ``` ` "carouselCards": [ ` "widgets": [ ` "textParagraph": `
3927-
# "text": "First text paragraph in carousel", ` ` ] `, ` "widgets": [ ` "
3928-
# textParagraph": ` "text": "Second text paragraph in carousel", ` ` ] `, ` "
3929-
# widgets": [ ` "textParagraph": ` "text": "Third text paragraph in carousel", `
3930-
# ` ] ` ] ` ``` [Google Chat apps](https://developers.google.com/workspace/chat):
3977+
# A carousel, also known as a slider, rotates and displays a list of widgets in
3978+
# a slideshow format, with buttons navigating to the previous or next widget.
3979+
# For example, this is a JSON representation of a carousel that contains three
3980+
# text paragraph widgets. ``` ` "carouselCards": [ ` "widgets": [ ` "
3981+
# textParagraph": ` "text": "First text paragraph in carousel", ` ` ] `, ` "
3982+
# widgets": [ ` "textParagraph": ` "text": "Second text paragraph in carousel", `
3983+
# ` ] `, ` "widgets": [ ` "textParagraph": ` "text": "Third text paragraph in
3984+
# carousel", ` ` ] ` ] ` ``` [Google Chat apps](https://developers.google.com/
3985+
# workspace/chat):
39313986
# Corresponds to the JSON property `carousel`
39323987
# @return [Google::Apis::ChatV1::GoogleAppsCardV1Carousel]
39333988
attr_accessor :carousel

generated/google-apis-chat_v1/lib/google/apis/chat_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module ChatV1
1818
# Version of the google-apis-chat_v1 gem
19-
GEM_VERSION = "0.131.0"
19+
GEM_VERSION = "0.132.0"
2020

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

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250909"
25+
REVISION = "20250916"
2626
end
2727
end
2828
end

generated/google-apis-chat_v1/lib/google/apis/chat_v1/representations.rb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1570,8 +1570,12 @@ class GoogleAppsCardV1DecoratedText
15701570
# @private
15711571
class Representation < Google::Apis::Core::JsonRepresentation
15721572
property :bottom_label, as: 'bottomLabel'
1573+
property :bottom_label_text, as: 'bottomLabelText', class: Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph, decorator: Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph::Representation
1574+
15731575
property :button, as: 'button', class: Google::Apis::ChatV1::GoogleAppsCardV1Button, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Button::Representation
15741576

1577+
property :content_text, as: 'contentText', class: Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph, decorator: Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph::Representation
1578+
15751579
property :end_icon, as: 'endIcon', class: Google::Apis::ChatV1::GoogleAppsCardV1Icon, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Icon::Representation
15761580

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

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

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

15851590
property :text, as: 'text'
15861591
property :top_label, as: 'topLabel'
1592+
property :top_label_text, as: 'topLabelText', class: Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph, decorator: Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph::Representation
1593+
15871594
property :wrap_text, as: 'wrapText'
15881595
end
15891596
end
@@ -1869,6 +1876,7 @@ class GoogleAppsCardV1TextParagraph
18691876
class Representation < Google::Apis::Core::JsonRepresentation
18701877
property :max_lines, as: 'maxLines'
18711878
property :text, as: 'text'
1879+
property :text_syntax, as: 'textSyntax'
18721880
end
18731881
end
18741882

0 commit comments

Comments
 (0)