google-apis-chat_v1 0.130.0 → 0.132.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f53de24e594de743adedf276e6d20f1d1ac257c5635c2d9cf368e800d3a3e0a3
4
- data.tar.gz: f77a6c98a5d331b8596eef7e03ab3eb56e6d129228503118ded4a4a7e622ad76
3
+ metadata.gz: 27b04155d912c16f68ef4d267bcd481027eafd01c43515a213d82d9a11d56fb7
4
+ data.tar.gz: bf6b679b0091177718296025763e378f753c890e72d0c19fe6494b627ddb64e1
5
5
  SHA512:
6
- metadata.gz: cac5ae55e91a8696732b10290f81885f43c16dae995b4b610c25d413f8fd7faa6ac9e202c8172d5036731a3aacfedaf125c3f908c02856f8983c4f5350ef0ea6
7
- data.tar.gz: 3a268a328be9c66149a01b0d86e51a5c8fac2575c4b3fe220c7df35b49ba705a1832a0b76d1d03eebfbe45b485c4034263455f4d068ed9bd1e0fc540923766f3
6
+ metadata.gz: d95e99f253f5a4c24bdff729d9007448633c014d39cc454f3a25902c16b061585092da72cca852bd7726bf25694e9b420df65b7c378feafe31c845b9de4cfc49
7
+ data.tar.gz: 03ae55f742eabb581912bf0ca19089d4e37fe0550e5771ae5806a2ac8b11aa3f37b2cef9672d4862f9453a4adf0d4974738b7372f3a9c58916f3ee3830827bde
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-chat_v1
2
2
 
3
+ ### v0.132.0 (2025-09-21)
4
+
5
+ * Regenerated from discovery document revision 20250916
6
+
7
+ ### v0.131.0 (2025-09-14)
8
+
9
+ * Regenerated from discovery document revision 20250909
10
+
3
11
  ### v0.130.0 (2025-08-31)
4
12
 
5
13
  * Regenerated from discovery document revision 20250821
@@ -843,8 +843,11 @@ module Google
843
843
  # @return [String]
844
844
  attr_accessor :host_app
845
845
 
846
- # Name of the invoked function associated with the widget. Only set for Chat
847
- # apps.
846
+ # Name of the function to invoke. This field doesn't populate for Google
847
+ # Workspace Add-ons that extend Google Chat. Instead, to receive function data
848
+ # like identifiers, add-ons that extend Chat should use the `parameters` field.
849
+ # See [Build interactive interfaces for Chat apps](https://developers.google.com/
850
+ # workspace/add-ons/chat/build).
848
851
  # Corresponds to the JSON property `invokedFunction`
849
852
  # @return [String]
850
853
  attr_accessor :invoked_function
@@ -2058,15 +2061,15 @@ module Google
2058
2061
  end
2059
2062
  end
2060
2063
 
2061
- # [Developer Preview](https://developers.google.com/workspace/preview): A
2062
- # carousel, also known as a slider, rotates and displays a list of widgets in a
2063
- # slideshow format, with buttons navigating to the previous or next widget. For
2064
- # example, this is a JSON representation of a carousel that contains three text
2065
- # paragraph widgets. ``` ` "carouselCards": [ ` "widgets": [ ` "textParagraph": `
2066
- # "text": "First text paragraph in carousel", ` ` ] `, ` "widgets": [ ` "
2067
- # textParagraph": ` "text": "Second text paragraph in carousel", ` ` ] `, ` "
2068
- # widgets": [ ` "textParagraph": ` "text": "Third text paragraph in carousel", `
2069
- # ` ] ` ] ` ``` [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):
2070
2073
  class GoogleAppsCardV1Carousel
2071
2074
  include Google::Apis::Core::Hashable
2072
2075
 
@@ -2085,8 +2088,7 @@ module Google
2085
2088
  end
2086
2089
  end
2087
2090
 
2088
- # [Developer Preview](https://developers.google.com/workspace/preview): A card
2089
- # 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://
2090
2092
  # developers.google.com/workspace/chat):
2091
2093
  class GoogleAppsCardV1CarouselCard
2092
2094
  include Google::Apis::Core::Hashable
@@ -2504,6 +2506,19 @@ module Google
2504
2506
  # @return [String]
2505
2507
  attr_accessor :bottom_label
2506
2508
 
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
+
2507
2522
  # A text, icon, or text and icon button that users can click. For an example in
2508
2523
  # Google Chat apps, see [Add a button](https://developers.google.com/workspace/
2509
2524
  # chat/design-interactive-card-dialog#add_a_button). To make an image a
@@ -2514,6 +2529,19 @@ module Google
2514
2529
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Button]
2515
2530
  attr_accessor :button
2516
2531
 
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
+
2517
2545
  # An icon displayed in a widget on a card. For an example in Google Chat apps,
2518
2546
  # see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-
2519
2547
  # card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/
@@ -2554,6 +2582,13 @@ module Google
2554
2582
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Icon]
2555
2583
  attr_accessor :start_icon
2556
2584
 
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
+
2557
2592
  # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [
2558
2593
  # Google Workspace add-ons and Chat apps](https://developers.google.com/
2559
2594
  # workspace/extend): Only supported in the `decoratedText` widget.
@@ -2575,6 +2610,19 @@ module Google
2575
2610
  # @return [String]
2576
2611
  attr_accessor :top_label
2577
2612
 
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
+
2578
2626
  # The wrap text setting. If `true`, the text wraps and displays on multiple
2579
2627
  # lines. Otherwise, the text is truncated. Only applies to `text`, not `topLabel`
2580
2628
  # and `bottomLabel`.
@@ -2590,14 +2638,18 @@ module Google
2590
2638
  # Update properties of this object
2591
2639
  def update!(**args)
2592
2640
  @bottom_label = args[:bottom_label] if args.key?(:bottom_label)
2641
+ @bottom_label_text = args[:bottom_label_text] if args.key?(:bottom_label_text)
2593
2642
  @button = args[:button] if args.key?(:button)
2643
+ @content_text = args[:content_text] if args.key?(:content_text)
2594
2644
  @end_icon = args[:end_icon] if args.key?(:end_icon)
2595
2645
  @icon = args[:icon] if args.key?(:icon)
2596
2646
  @on_click = args[:on_click] if args.key?(:on_click)
2597
2647
  @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)
2598
2649
  @switch_control = args[:switch_control] if args.key?(:switch_control)
2599
2650
  @text = args[:text] if args.key?(:text)
2600
2651
  @top_label = args[:top_label] if args.key?(:top_label)
2652
+ @top_label_text = args[:top_label_text] if args.key?(:top_label_text)
2601
2653
  @wrap_text = args[:wrap_text] if args.key?(:wrap_text)
2602
2654
  end
2603
2655
  end
@@ -3056,8 +3108,7 @@ module Google
3056
3108
  end
3057
3109
  end
3058
3110
 
3059
- # [Developer Preview](https://developers.google.com/workspace/preview): A list
3060
- # 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 `
3061
3112
  # CarouselCard`. [Google Chat apps](https://developers.google.com/workspace/chat)
3062
3113
  # :
3063
3114
  class GoogleAppsCardV1NestedWidget
@@ -3821,6 +3872,12 @@ module Google
3821
3872
  # @return [String]
3822
3873
  attr_accessor :text
3823
3874
 
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
+
3824
3881
  def initialize(**args)
3825
3882
  update!(**args)
3826
3883
  end
@@ -3829,6 +3886,7 @@ module Google
3829
3886
  def update!(**args)
3830
3887
  @max_lines = args[:max_lines] if args.key?(:max_lines)
3831
3888
  @text = args[:text] if args.key?(:text)
3889
+ @text_syntax = args[:text_syntax] if args.key?(:text_syntax)
3832
3890
  end
3833
3891
  end
3834
3892
 
@@ -3916,15 +3974,15 @@ module Google
3916
3974
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1ButtonList]
3917
3975
  attr_accessor :button_list
3918
3976
 
3919
- # [Developer Preview](https://developers.google.com/workspace/preview): A
3920
- # carousel, also known as a slider, rotates and displays a list of widgets in a
3921
- # slideshow format, with buttons navigating to the previous or next widget. For
3922
- # example, this is a JSON representation of a carousel that contains three text
3923
- # paragraph widgets. ``` ` "carouselCards": [ ` "widgets": [ ` "textParagraph": `
3924
- # "text": "First text paragraph in carousel", ` ` ] `, ` "widgets": [ ` "
3925
- # textParagraph": ` "text": "Second text paragraph in carousel", ` ` ] `, ` "
3926
- # widgets": [ ` "textParagraph": ` "text": "Third text paragraph in carousel", `
3927
- # ` ] ` ] ` ``` [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):
3928
3986
  # Corresponds to the JSON property `carousel`
3929
3987
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Carousel]
3930
3988
  attr_accessor :carousel
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ChatV1
18
18
  # Version of the google-apis-chat_v1 gem
19
- GEM_VERSION = "0.130.0"
19
+ GEM_VERSION = "0.132.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250821"
25
+ REVISION = "20250916"
26
26
  end
27
27
  end
28
28
  end
@@ -1570,8 +1570,12 @@ module Google
1570
1570
  # @private
1571
1571
  class Representation < Google::Apis::Core::JsonRepresentation
1572
1572
  property :bottom_label, as: 'bottomLabel'
1573
+ property :bottom_label_text, as: 'bottomLabelText', class: Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph, decorator: Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph::Representation
1574
+
1573
1575
  property :button, as: 'button', class: Google::Apis::ChatV1::GoogleAppsCardV1Button, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Button::Representation
1574
1576
 
1577
+ property :content_text, as: 'contentText', class: Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph, decorator: Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph::Representation
1578
+
1575
1579
  property :end_icon, as: 'endIcon', class: Google::Apis::ChatV1::GoogleAppsCardV1Icon, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Icon::Representation
1576
1580
 
1577
1581
  property :icon, as: 'icon', class: Google::Apis::ChatV1::GoogleAppsCardV1Icon, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Icon::Representation
@@ -1580,10 +1584,13 @@ module Google
1580
1584
 
1581
1585
  property :start_icon, as: 'startIcon', class: Google::Apis::ChatV1::GoogleAppsCardV1Icon, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Icon::Representation
1582
1586
 
1587
+ property :start_icon_vertical_alignment, as: 'startIconVerticalAlignment'
1583
1588
  property :switch_control, as: 'switchControl', class: Google::Apis::ChatV1::GoogleAppsCardV1SwitchControl, decorator: Google::Apis::ChatV1::GoogleAppsCardV1SwitchControl::Representation
1584
1589
 
1585
1590
  property :text, as: 'text'
1586
1591
  property :top_label, as: 'topLabel'
1592
+ property :top_label_text, as: 'topLabelText', class: Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph, decorator: Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph::Representation
1593
+
1587
1594
  property :wrap_text, as: 'wrapText'
1588
1595
  end
1589
1596
  end
@@ -1869,6 +1876,7 @@ module Google
1869
1876
  class Representation < Google::Apis::Core::JsonRepresentation
1870
1877
  property :max_lines, as: 'maxLines'
1871
1878
  property :text, as: 'text'
1879
+ property :text_syntax, as: 'textSyntax'
1872
1880
  end
1873
1881
  end
1874
1882
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-chat_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.130.0
4
+ version: 0.132.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chat_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.130.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.132.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chat_v1
62
62
  rdoc_options: []
63
63
  require_paths: