google-apis-chat_v1 0.56.0 → 0.58.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ac4f1010b55aaf1e847d513d46aea3b929b74995334d4b4597bcd5c71bf68a52
4
- data.tar.gz: 9104fabf5179c5dc5d257dc1924d1a3943123f521d87592f6d4a3df9733978ad
3
+ metadata.gz: 62790ff63b0ad112e8f66213ca8e481c755b5853257c27847bfd9098d22208ab
4
+ data.tar.gz: e8d6184cb69220153b749ed1441bcc159e1f2901c39010a85813deb711f73641
5
5
  SHA512:
6
- metadata.gz: 789b086753937e85ed98f7ff103b991484f6f4ae47d64ab3809125fd693a5ca786ef0755e32c3943b3a2258394380e34773af7a0921d519abe2d2f7786a8e4b6
7
- data.tar.gz: 3e82eea42f6230a7f25e93eeec573d4d9fcfc2b3a9e1d0c7b0a3e8c1de45d2914caf9e7504c1b1f53fbdcc29472cd653f9953633a3f4b3b7b3cf847c8451cede
6
+ metadata.gz: 53bdb014443b1be875e8b866d3e99983f091892c9ff9728d57b78581572fcd21ef7be36101126b294dcc41515c3f60ec047c40131708b5ac8cfcf1d4d2fb6f27
7
+ data.tar.gz: 64239781bc93e542ae5f7ea1a4c8ababa6c5d5322a73c4eeb7fa2a4f74723fc28afb43b14a6abaf18fab25c85222e5662153c30531db6aa59e6213c3f712b803
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-chat_v1
2
2
 
3
+ ### v0.58.0 (2023-04-23)
4
+
5
+ * Regenerated from discovery document revision 20230418
6
+
7
+ ### v0.57.0 (2023-04-02)
8
+
9
+ * Regenerated from discovery document revision 20230328
10
+
3
11
  ### v0.56.0 (2023-03-12)
4
12
 
5
13
  * Regenerated from discovery document revision 20230302
@@ -594,14 +594,17 @@ module Google
594
594
  # @return [String]
595
595
  attr_accessor :platform
596
596
 
597
- # The timezone ID and offset from Coordinated Universal Time (UTC). Not
598
- # supported by Chat apps.
597
+ # The timezone ID and offset from Coordinated Universal Time (UTC). Only
598
+ # supported for the event types [`CARD_CLICKED`](https://developers.google.com/
599
+ # chat/api/reference/rest/v1/EventType#ENUM_VALUES.CARD_CLICKED) and [`
600
+ # SUBMIT_DIALOG`](https://developers.google.com/chat/api/reference/rest/v1/
601
+ # DialogEventType#ENUM_VALUES.SUBMIT_DIALOG).
599
602
  # Corresponds to the JSON property `timeZone`
600
603
  # @return [Google::Apis::ChatV1::TimeZone]
601
604
  attr_accessor :time_zone
602
605
 
603
606
  # The full `locale.displayName` in the format of [ISO 639 language code]-[ISO
604
- # 3166 country/region code] such as "en-US". Not supported by Chat apps.
607
+ # 3166 country/region code] such as "en-US".
605
608
  # Corresponds to the JSON property `userLocale`
606
609
  # @return [String]
607
610
  attr_accessor :user_locale
@@ -622,7 +625,7 @@ module Google
622
625
  end
623
626
  end
624
627
 
625
- # Date input values. Not supported by Chat apps.
628
+ # Date input values.
626
629
  class DateInput
627
630
  include Google::Apis::Core::Hashable
628
631
 
@@ -641,7 +644,7 @@ module Google
641
644
  end
642
645
  end
643
646
 
644
- # Date and time input values. Not supported by Chat apps.
647
+ # Date and time input values.
645
648
  class DateTimeInput
646
649
  include Google::Apis::Core::Hashable
647
650
 
@@ -1011,7 +1014,8 @@ module Google
1011
1014
  end
1012
1015
  end
1013
1016
 
1014
- # Represents the complete border style applied to items in a widget.
1017
+ # The style options for the border of a card or widget, including the border
1018
+ # type and color.
1015
1019
  class GoogleAppsCardV1BorderStyle
1016
1020
  include Google::Apis::Core::Hashable
1017
1021
 
@@ -1088,10 +1092,7 @@ module Google
1088
1092
 
1089
1093
  # A text, icon, or text + icon button that users can click. To make an image a
1090
1094
  # clickable button, specify an Image (not an ImageComponent) and set an `onClick`
1091
- # action. Currently supported in Chat apps (including [dialogs] (https://
1092
- # developers.google.com/chat/how-tos/dialogs) and [card messages] (https://
1093
- # developers.google.com/chat/api/guides/message-formats/cards)) and Google
1094
- # Workspace Add-ons.
1095
+ # action.
1095
1096
  class GoogleAppsCardV1Button
1096
1097
  include Google::Apis::Core::Hashable
1097
1098
 
@@ -1258,9 +1259,10 @@ module Google
1258
1259
 
1259
1260
  # A persistent (sticky) footer that that appears at the bottom of the card.
1260
1261
  # Setting `fixedFooter` without specifying a `primaryButton` or a `
1261
- # secondaryButton` causes an error. Chat apps support `fixedFooter` in [dialogs](
1262
- # https://developers.google.com/chat/how-tos/dialogs), but not in [card messages]
1263
- # (https://developers.google.com/chat/api/guides/message-formats/cards).
1262
+ # secondaryButton` causes an error. Supported by Google Workspace Add-ons and
1263
+ # Chat apps. For Chat apps, you can use fixed footers in [dialogs](https://
1264
+ # developers.google.com/chat/how-tos/dialogs), but not [card messages](https://
1265
+ # developers.google.com/chat/api/guides/message-formats/cards).
1264
1266
  # Corresponds to the JSON property `fixedFooter`
1265
1267
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1CardFixedFooter]
1266
1268
  attr_accessor :fixed_footer
@@ -1333,28 +1335,23 @@ module Google
1333
1335
 
1334
1336
  # A persistent (sticky) footer that that appears at the bottom of the card.
1335
1337
  # Setting `fixedFooter` without specifying a `primaryButton` or a `
1336
- # secondaryButton` causes an error. Chat apps support `fixedFooter` in [dialogs](
1337
- # https://developers.google.com/chat/how-tos/dialogs), but not in [card messages]
1338
- # (https://developers.google.com/chat/api/guides/message-formats/cards).
1338
+ # secondaryButton` causes an error. Supported by Google Workspace Add-ons and
1339
+ # Chat apps. For Chat apps, you can use fixed footers in [dialogs](https://
1340
+ # developers.google.com/chat/how-tos/dialogs), but not [card messages](https://
1341
+ # developers.google.com/chat/api/guides/message-formats/cards).
1339
1342
  class GoogleAppsCardV1CardFixedFooter
1340
1343
  include Google::Apis::Core::Hashable
1341
1344
 
1342
1345
  # A text, icon, or text + icon button that users can click. To make an image a
1343
1346
  # clickable button, specify an Image (not an ImageComponent) and set an `onClick`
1344
- # action. Currently supported in Chat apps (including [dialogs] (https://
1345
- # developers.google.com/chat/how-tos/dialogs) and [card messages] (https://
1346
- # developers.google.com/chat/api/guides/message-formats/cards)) and Google
1347
- # Workspace Add-ons.
1347
+ # action.
1348
1348
  # Corresponds to the JSON property `primaryButton`
1349
1349
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Button]
1350
1350
  attr_accessor :primary_button
1351
1351
 
1352
1352
  # A text, icon, or text + icon button that users can click. To make an image a
1353
1353
  # clickable button, specify an Image (not an ImageComponent) and set an `onClick`
1354
- # action. Currently supported in Chat apps (including [dialogs] (https://
1355
- # developers.google.com/chat/how-tos/dialogs) and [card messages] (https://
1356
- # developers.google.com/chat/api/guides/message-formats/cards)) and Google
1357
- # Workspace Add-ons.
1354
+ # action.
1358
1355
  # Corresponds to the JSON property `secondaryButton`
1359
1356
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Button]
1360
1357
  attr_accessor :secondary_button
@@ -1496,10 +1493,7 @@ module Google
1496
1493
 
1497
1494
  # A text, icon, or text + icon button that users can click. To make an image a
1498
1495
  # clickable button, specify an Image (not an ImageComponent) and set an `onClick`
1499
- # action. Currently supported in Chat apps (including [dialogs] (https://
1500
- # developers.google.com/chat/how-tos/dialogs) and [card messages] (https://
1501
- # developers.google.com/chat/api/guides/message-formats/cards)) and Google
1502
- # Workspace Add-ons.
1496
+ # action.
1503
1497
  # Corresponds to the JSON property `button`
1504
1498
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Button]
1505
1499
  attr_accessor :button
@@ -1540,8 +1534,9 @@ module Google
1540
1534
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1SwitchControl]
1541
1535
  attr_accessor :switch_control
1542
1536
 
1543
- # Required. The primary text. Supports simple formatting. See Text formatting
1544
- # for formatting details.
1537
+ # Required. The primary text. Supports simple formatting. For more information
1538
+ # about formatting text, see Formatting text in Google Chat apps and Formatting
1539
+ # text in Google Workspace Add-ons.
1545
1540
  # Corresponds to the JSON property `text`
1546
1541
  # @return [String]
1547
1542
  attr_accessor :text
@@ -1605,7 +1600,8 @@ module Google
1605
1600
  class GoogleAppsCardV1Grid
1606
1601
  include Google::Apis::Core::Hashable
1607
1602
 
1608
- # Represents the complete border style applied to items in a widget.
1603
+ # The style options for the border of a card or widget, including the border
1604
+ # type and color.
1609
1605
  # Corresponds to the JSON property `borderStyle`
1610
1606
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1BorderStyle]
1611
1607
  attr_accessor :border_style
@@ -1786,7 +1782,8 @@ module Google
1786
1782
  # @return [String]
1787
1783
  attr_accessor :alt_text
1788
1784
 
1789
- # Represents the complete border style applied to items in a widget.
1785
+ # The style options for the border of a card or widget, including the border
1786
+ # type and color.
1790
1787
  # Corresponds to the JSON property `borderStyle`
1791
1788
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1BorderStyle]
1792
1789
  attr_accessor :border_style
@@ -1956,9 +1953,9 @@ module Google
1956
1953
  attr_accessor :collapsible
1957
1954
  alias_method :collapsible?, :collapsible
1958
1955
 
1959
- # Text that appears at the top of a section. Supports [simple HTML formatted
1960
- # text](https://developers.google.com/apps-script/add-ons/concepts/widgets#
1961
- # text_formatting).
1956
+ # Text that appears at the top of a section. Supports simple HTML formatted text.
1957
+ # For more information about formatting text, see Formatting text in Google
1958
+ # Chat apps and Formatting text in Google Workspace Add-ons.
1962
1959
  # Corresponds to the JSON property `header`
1963
1960
  # @return [String]
1964
1961
  attr_accessor :header
@@ -1991,17 +1988,18 @@ module Google
1991
1988
  end
1992
1989
  end
1993
1990
 
1994
- # A widget that creates a UI item with options for users to select. For example,
1995
- # a dropdown menu or check list. Chat apps receive and can process the value of
1996
- # entered text during form input events. For details about working with form
1997
- # inputs, see [Receive form data](https://developers.google.com/chat/how-tos/
1998
- # dialogs#receive_form_data_from_dialogs). When you need to collect data from
1999
- # users that matches options you set, use a selection input. To collect abstract
2000
- # data from users, use the text input widget instead.
1991
+ # A widget that creates one or more UI items that users can select. For example,
1992
+ # a dropdown menu or checkboxes. You can use this widget to collect data that
1993
+ # can be predicted or enumerated. Chat apps can process the value of items that
1994
+ # users select or input. For details about working with form inputs, see [
1995
+ # Receive form data](https://developers.google.com/chat/how-tos/dialogs#
1996
+ # receive_form_data_from_dialogs). To collect undefined or abstract data from
1997
+ # users, use the TextInput widget.
2001
1998
  class GoogleAppsCardV1SelectionInput
2002
1999
  include Google::Apis::Core::Hashable
2003
2000
 
2004
- # An array of the selected items. For example, all the selected check boxes.
2001
+ # An array of selectable items. For example, an array of radio buttons or
2002
+ # checkboxes. Supports up to 100 items.
2005
2003
  # Corresponds to the JSON property `items`
2006
2004
  # @return [Array<Google::Apis::ChatV1::GoogleAppsCardV1SelectionItem>]
2007
2005
  attr_accessor :items
@@ -2014,7 +2012,7 @@ module Google
2014
2012
  # @return [String]
2015
2013
  attr_accessor :label
2016
2014
 
2017
- # The name by which the selection input is identified in a form input event. For
2015
+ # The name that identifies the selection input in a form input event. For
2018
2016
  # details about working with form inputs, see [Receive form data](https://
2019
2017
  # developers.google.com/chat/how-tos/dialogs#receive_form_data_from_dialogs).
2020
2018
  # Corresponds to the JSON property `name`
@@ -2028,11 +2026,10 @@ module Google
2028
2026
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Action]
2029
2027
  attr_accessor :on_change_action
2030
2028
 
2031
- # The way that an option appears to users. Different options support different
2032
- # types of interactions. For example, users can enable multiple check boxes, but
2033
- # can only select one value from a dropdown menu. Each selection input supports
2034
- # one type of selection. Mixing check boxes and switches, for example, is not
2035
- # supported.
2029
+ # The type of items that are displayed to users in a `SelectionInput` widget.
2030
+ # Selection types support different types of interactions. For example, users
2031
+ # can select one or more checkboxes, but they can only select one value from a
2032
+ # dropdown menu.
2036
2033
  # Corresponds to the JSON property `type`
2037
2034
  # @return [String]
2038
2035
  attr_accessor :type
@@ -2051,7 +2048,8 @@ module Google
2051
2048
  end
2052
2049
  end
2053
2050
 
2054
- # A selectable item in a selection input, such as a check box or a switch.
2051
+ # An item that users can select in a selection input, such as a checkbox or
2052
+ # switch.
2055
2053
  class GoogleAppsCardV1SelectionItem
2056
2054
  include Google::Apis::Core::Hashable
2057
2055
 
@@ -2063,7 +2061,7 @@ module Google
2063
2061
  attr_accessor :selected
2064
2062
  alias_method :selected?, :selected
2065
2063
 
2066
- # The text displayed to users.
2064
+ # The text that identifies or describes the item to users.
2067
2065
  # Corresponds to the JSON property `text`
2068
2066
  # @return [String]
2069
2067
  attr_accessor :text
@@ -2192,9 +2190,9 @@ module Google
2192
2190
  # actions. Chat apps receive and can process the value of entered text during
2193
2191
  # form input events. For details about working with form inputs, see [Receive
2194
2192
  # form data](https://developers.google.com/chat/how-tos/dialogs#
2195
- # receive_form_data_from_dialogs). When you need to collect abstract data from
2196
- # users, use a text input. To collect defined data from users, use the selection
2197
- # input widget instead.
2193
+ # receive_form_data_from_dialogs). When you need to collect undefined or
2194
+ # abstract data from users, use a text input. To collect defined or enumerated
2195
+ # data from users, use the SelectionInput widget.
2198
2196
  class GoogleAppsCardV1TextInput
2199
2197
  include Google::Apis::Core::Hashable
2200
2198
 
@@ -2279,9 +2277,9 @@ module Google
2279
2277
  end
2280
2278
  end
2281
2279
 
2282
- # A paragraph of text that supports formatting. See [Text formatting](https://
2283
- # developers.google.com/workspace/add-ons/concepts/widgets#text_formatting) for
2284
- # details.
2280
+ # A paragraph of text that supports formatting. For more information about
2281
+ # formatting text, see Formatting text in Google Chat apps and Formatting text
2282
+ # in Google Workspace Add-ons.
2285
2283
  class GoogleAppsCardV1TextParagraph
2286
2284
  include Google::Apis::Core::Hashable
2287
2285
 
@@ -2351,13 +2349,13 @@ module Google
2351
2349
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Image]
2352
2350
  attr_accessor :image
2353
2351
 
2354
- # A widget that creates a UI item with options for users to select. For example,
2355
- # a dropdown menu or check list. Chat apps receive and can process the value of
2356
- # entered text during form input events. For details about working with form
2357
- # inputs, see [Receive form data](https://developers.google.com/chat/how-tos/
2358
- # dialogs#receive_form_data_from_dialogs). When you need to collect data from
2359
- # users that matches options you set, use a selection input. To collect abstract
2360
- # data from users, use the text input widget instead.
2352
+ # A widget that creates one or more UI items that users can select. For example,
2353
+ # a dropdown menu or checkboxes. You can use this widget to collect data that
2354
+ # can be predicted or enumerated. Chat apps can process the value of items that
2355
+ # users select or input. For details about working with form inputs, see [
2356
+ # Receive form data](https://developers.google.com/chat/how-tos/dialogs#
2357
+ # receive_form_data_from_dialogs). To collect undefined or abstract data from
2358
+ # users, use the TextInput widget.
2361
2359
  # Corresponds to the JSON property `selectionInput`
2362
2360
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1SelectionInput]
2363
2361
  attr_accessor :selection_input
@@ -2366,16 +2364,16 @@ module Google
2366
2364
  # actions. Chat apps receive and can process the value of entered text during
2367
2365
  # form input events. For details about working with form inputs, see [Receive
2368
2366
  # form data](https://developers.google.com/chat/how-tos/dialogs#
2369
- # receive_form_data_from_dialogs). When you need to collect abstract data from
2370
- # users, use a text input. To collect defined data from users, use the selection
2371
- # input widget instead.
2367
+ # receive_form_data_from_dialogs). When you need to collect undefined or
2368
+ # abstract data from users, use a text input. To collect defined or enumerated
2369
+ # data from users, use the SelectionInput widget.
2372
2370
  # Corresponds to the JSON property `textInput`
2373
2371
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1TextInput]
2374
2372
  attr_accessor :text_input
2375
2373
 
2376
- # A paragraph of text that supports formatting. See [Text formatting](https://
2377
- # developers.google.com/workspace/add-ons/concepts/widgets#text_formatting) for
2378
- # details.
2374
+ # A paragraph of text that supports formatting. For more information about
2375
+ # formatting text, see Formatting text in Google Chat apps and Formatting text
2376
+ # in Google Workspace Add-ons.
2379
2377
  # Corresponds to the JSON property `textParagraph`
2380
2378
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph]
2381
2379
  attr_accessor :text_paragraph
@@ -2474,12 +2472,12 @@ module Google
2474
2472
  class Inputs
2475
2473
  include Google::Apis::Core::Hashable
2476
2474
 
2477
- # Date input values. Not supported by Chat apps.
2475
+ # Date input values.
2478
2476
  # Corresponds to the JSON property `dateInput`
2479
2477
  # @return [Google::Apis::ChatV1::DateInput]
2480
2478
  attr_accessor :date_input
2481
2479
 
2482
- # Date and time input values. Not supported by Chat apps.
2480
+ # Date and time input values.
2483
2481
  # Corresponds to the JSON property `dateTimeInput`
2484
2482
  # @return [Google::Apis::ChatV1::DateTimeInput]
2485
2483
  attr_accessor :date_time_input
@@ -2491,7 +2489,7 @@ module Google
2491
2489
  # @return [Google::Apis::ChatV1::StringInputs]
2492
2490
  attr_accessor :string_inputs
2493
2491
 
2494
- # Time input values. Not supported by Chat apps.
2492
+ # Time input values.
2495
2493
  # Corresponds to the JSON property `timeInput`
2496
2494
  # @return [Google::Apis::ChatV1::TimeInput]
2497
2495
  attr_accessor :time_input
@@ -2514,7 +2512,9 @@ module Google
2514
2512
  class KeyValue
2515
2513
  include Google::Apis::Core::Hashable
2516
2514
 
2517
- # The text of the bottom label. Formatted text supported.
2515
+ # The text of the bottom label. Formatted text supported. For more information
2516
+ # about formatting text, see Formatting text in Google Chat apps and Formatting
2517
+ # text in Google Workspace Add-ons.
2518
2518
  # Corresponds to the JSON property `bottomLabel`
2519
2519
  # @return [String]
2520
2520
  attr_accessor :bottom_label
@@ -2524,7 +2524,9 @@ module Google
2524
2524
  # @return [Google::Apis::ChatV1::Button]
2525
2525
  attr_accessor :button
2526
2526
 
2527
- # The text of the content. Formatted text supported and always required.
2527
+ # The text of the content. Formatted text supported and always required. For
2528
+ # more information about formatting text, see Formatting text in Google Chat
2529
+ # apps and Formatting text in Google Workspace Add-ons.
2528
2530
  # Corresponds to the JSON property `content`
2529
2531
  # @return [String]
2530
2532
  attr_accessor :content
@@ -2551,7 +2553,9 @@ module Google
2551
2553
  # @return [Google::Apis::ChatV1::OnClick]
2552
2554
  attr_accessor :on_click
2553
2555
 
2554
- # The text of the top label. Formatted text supported.
2556
+ # The text of the top label. Formatted text supported. For more information
2557
+ # about formatting text, see Formatting text in Google Chat apps and Formatting
2558
+ # text in Google Workspace Add-ons.
2555
2559
  # Corresponds to the JSON property `topLabel`
2556
2560
  # @return [String]
2557
2561
  attr_accessor :top_label
@@ -2912,7 +2916,9 @@ module Google
2912
2916
  class Section
2913
2917
  include Google::Apis::Core::Hashable
2914
2918
 
2915
- # The header of the section, text formatted supported.
2919
+ # The header of the section. Formatted text is supported. For more information
2920
+ # about formatting text, see Formatting text in Google Chat apps and Formatting
2921
+ # text in Google Workspace Add-ons.
2916
2922
  # Corresponds to the JSON property `header`
2917
2923
  # @return [String]
2918
2924
  attr_accessor :header
@@ -3182,7 +3188,9 @@ module Google
3182
3188
  end
3183
3189
  end
3184
3190
 
3185
- # A paragraph of text. Formatted text supported.
3191
+ # A paragraph of text. Formatted text supported. For more information about
3192
+ # formatting text, see Formatting text in Google Chat apps and Formatting text
3193
+ # in Google Workspace Add-ons.
3186
3194
  class TextParagraph
3187
3195
  include Google::Apis::Core::Hashable
3188
3196
 
@@ -3230,7 +3238,7 @@ module Google
3230
3238
  end
3231
3239
  end
3232
3240
 
3233
- # Time input values. Not supported by Chat apps.
3241
+ # Time input values.
3234
3242
  class TimeInput
3235
3243
  include Google::Apis::Core::Hashable
3236
3244
 
@@ -3255,8 +3263,11 @@ module Google
3255
3263
  end
3256
3264
  end
3257
3265
 
3258
- # The timezone ID and offset from Coordinated Universal Time (UTC). Not
3259
- # supported by Chat apps.
3266
+ # The timezone ID and offset from Coordinated Universal Time (UTC). Only
3267
+ # supported for the event types [`CARD_CLICKED`](https://developers.google.com/
3268
+ # chat/api/reference/rest/v1/EventType#ENUM_VALUES.CARD_CLICKED) and [`
3269
+ # SUBMIT_DIALOG`](https://developers.google.com/chat/api/reference/rest/v1/
3270
+ # DialogEventType#ENUM_VALUES.SUBMIT_DIALOG).
3260
3271
  class TimeZone
3261
3272
  include Google::Apis::Core::Hashable
3262
3273
 
@@ -3363,7 +3374,7 @@ module Google
3363
3374
  class WidgetMarkup
3364
3375
  include Google::Apis::Core::Hashable
3365
3376
 
3366
- # A list of buttons. Buttons is also oneof data and only one of these fields
3377
+ # A list of buttons. Buttons is also `oneof data` and only one of these fields
3367
3378
  # should be set.
3368
3379
  # Corresponds to the JSON property `buttons`
3369
3380
  # @return [Array<Google::Apis::ChatV1::Button>]
@@ -3380,7 +3391,9 @@ module Google
3380
3391
  # @return [Google::Apis::ChatV1::KeyValue]
3381
3392
  attr_accessor :key_value
3382
3393
 
3383
- # A paragraph of text. Formatted text supported.
3394
+ # A paragraph of text. Formatted text supported. For more information about
3395
+ # formatting text, see Formatting text in Google Chat apps and Formatting text
3396
+ # in Google Workspace Add-ons.
3384
3397
  # Corresponds to the JSON property `textParagraph`
3385
3398
  # @return [Google::Apis::ChatV1::TextParagraph]
3386
3399
  attr_accessor :text_paragraph
@@ -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.56.0"
19
+ GEM_VERSION = "0.58.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230302"
25
+ REVISION = "20230418"
26
26
  end
27
27
  end
28
28
  end
@@ -419,16 +419,18 @@ module Google
419
419
  execute_or_queue_command(command, &block)
420
420
  end
421
421
 
422
- # Updates a message. For example usage, see [Update a message](https://
423
- # developers.google.com/chat/api/guides/crudl/messages#update_a_message).
424
- # Requires [authentication](https://developers.google.com/chat/api/guides/auth/).
425
- # Fully supports [service account authentication](https://developers.google.com/
426
- # chat/api/guides/auth/service-accounts). Supports [user authentication](https://
427
- # developers.google.com/chat/api/guides/auth/users) as part of the [Google
428
- # Workspace Developer Preview Program](https://developers.google.com/workspace/
429
- # preview), which grants early access to certain features. [User authentication](
430
- # https://developers.google.com/chat/api/guides/auth/users) requires the `chat.
431
- # messages` authorization scope.
422
+ # Updates a message. There's a difference between `patch` and `update` methods.
423
+ # The `patch` method uses a `patch` request while the `update` method uses a `
424
+ # put` request. We recommend using the `patch` method. For example usage, see [
425
+ # Update a message](https://developers.google.com/chat/api/guides/crudl/messages#
426
+ # update_a_message). Requires [authentication](https://developers.google.com/
427
+ # chat/api/guides/auth/). Fully supports [service account authentication](https:/
428
+ # /developers.google.com/chat/api/guides/auth/service-accounts). Supports [user
429
+ # authentication](https://developers.google.com/chat/api/guides/auth/users) as
430
+ # part of the [Google Workspace Developer Preview Program](https://developers.
431
+ # google.com/workspace/preview), which grants early access to certain features. [
432
+ # User authentication](https://developers.google.com/chat/api/guides/auth/users)
433
+ # requires the `chat.messages` authorization scope.
432
434
  # @param [String] name
433
435
  # Resource name in the form `spaces/*/messages/*`. Example: `spaces/AAAAAAAAAAA/
434
436
  # messages/BBBBBBBBBBB.BBBBBBBBBBB`
@@ -473,16 +475,18 @@ module Google
473
475
  execute_or_queue_command(command, &block)
474
476
  end
475
477
 
476
- # Updates a message. For example usage, see [Update a message](https://
477
- # developers.google.com/chat/api/guides/crudl/messages#update_a_message).
478
- # Requires [authentication](https://developers.google.com/chat/api/guides/auth/).
479
- # Fully supports [service account authentication](https://developers.google.com/
480
- # chat/api/guides/auth/service-accounts). Supports [user authentication](https://
481
- # developers.google.com/chat/api/guides/auth/users) as part of the [Google
482
- # Workspace Developer Preview Program](https://developers.google.com/workspace/
483
- # preview), which grants early access to certain features. [User authentication](
484
- # https://developers.google.com/chat/api/guides/auth/users) requires the `chat.
485
- # messages` authorization scope.
478
+ # Updates a message. There's a difference between `patch` and `update` methods.
479
+ # The `patch` method uses a `patch` request while the `update` method uses a `
480
+ # put` request. We recommend using the `patch` method. For example usage, see [
481
+ # Update a message](https://developers.google.com/chat/api/guides/crudl/messages#
482
+ # update_a_message). Requires [authentication](https://developers.google.com/
483
+ # chat/api/guides/auth/). Fully supports [service account authentication](https:/
484
+ # /developers.google.com/chat/api/guides/auth/service-accounts). Supports [user
485
+ # authentication](https://developers.google.com/chat/api/guides/auth/users) as
486
+ # part of the [Google Workspace Developer Preview Program](https://developers.
487
+ # google.com/workspace/preview), which grants early access to certain features. [
488
+ # User authentication](https://developers.google.com/chat/api/guides/auth/users)
489
+ # requires the `chat.messages` authorization scope.
486
490
  # @param [String] name
487
491
  # Resource name in the form `spaces/*/messages/*`. Example: `spaces/AAAAAAAAAAA/
488
492
  # messages/BBBBBBBBBBB.BBBBBBBBBBB`
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-chat_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.56.0
4
+ version: 0.58.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-12 00:00:00.000000000 Z
11
+ date: 2023-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chat_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.56.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.58.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chat_v1
63
63
  post_install_message:
64
64
  rdoc_options: []