@@ -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
0 commit comments