google-apis-chat_v1 0.57.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: 2e57d0780b6b36684d84bb88d2238fb9644490678fe9e4b4d5c66ec2743fdf05
4
- data.tar.gz: 63bb6c8eff6211a826d70d6a3746f0b7348211c1c6d61072ea4a137d08b34362
3
+ metadata.gz: 62790ff63b0ad112e8f66213ca8e481c755b5853257c27847bfd9098d22208ab
4
+ data.tar.gz: e8d6184cb69220153b749ed1441bcc159e1f2901c39010a85813deb711f73641
5
5
  SHA512:
6
- metadata.gz: 860048ff7c78848afc2dc9d3a8caf303eaecfc315bc11fa0705b3ff224930a8289a2f94a689fbda45874cda1ee5ec23ddbf7dc93200b3cacd4a4cd2c799fa392
7
- data.tar.gz: eabc63e8220177c473d98b4de2995eaed5a68d94d1fe06c646b2aea164e94fdcf28e56f159e2cd6953424742cebc4c35d89b12f821dac4d9ab20898af118259b
6
+ metadata.gz: 53bdb014443b1be875e8b866d3e99983f091892c9ff9728d57b78581572fcd21ef7be36101126b294dcc41515c3f60ec047c40131708b5ac8cfcf1d4d2fb6f27
7
+ data.tar.gz: 64239781bc93e542ae5f7ea1a4c8ababa6c5d5322a73c4eeb7fa2a4f74723fc28afb43b14a6abaf18fab25c85222e5662153c30531db6aa59e6213c3f712b803
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.57.0 (2023-04-02)
4
8
 
5
9
  * Regenerated from discovery document revision 20230328
@@ -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
 
@@ -1089,10 +1092,7 @@ module Google
1089
1092
 
1090
1093
  # A text, icon, or text + icon button that users can click. To make an image a
1091
1094
  # clickable button, specify an Image (not an ImageComponent) and set an `onClick`
1092
- # action. Currently supported in Chat apps (including [dialogs] (https://
1093
- # developers.google.com/chat/how-tos/dialogs) and [card messages] (https://
1094
- # developers.google.com/chat/api/guides/message-formats/cards)) and Google
1095
- # Workspace Add-ons.
1095
+ # action.
1096
1096
  class GoogleAppsCardV1Button
1097
1097
  include Google::Apis::Core::Hashable
1098
1098
 
@@ -1259,9 +1259,10 @@ module Google
1259
1259
 
1260
1260
  # A persistent (sticky) footer that that appears at the bottom of the card.
1261
1261
  # Setting `fixedFooter` without specifying a `primaryButton` or a `
1262
- # secondaryButton` causes an error. Chat apps support `fixedFooter` in [dialogs](
1263
- # https://developers.google.com/chat/how-tos/dialogs), but not in [card messages]
1264
- # (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).
1265
1266
  # Corresponds to the JSON property `fixedFooter`
1266
1267
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1CardFixedFooter]
1267
1268
  attr_accessor :fixed_footer
@@ -1334,28 +1335,23 @@ module Google
1334
1335
 
1335
1336
  # A persistent (sticky) footer that that appears at the bottom of the card.
1336
1337
  # Setting `fixedFooter` without specifying a `primaryButton` or a `
1337
- # secondaryButton` causes an error. Chat apps support `fixedFooter` in [dialogs](
1338
- # https://developers.google.com/chat/how-tos/dialogs), but not in [card messages]
1339
- # (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).
1340
1342
  class GoogleAppsCardV1CardFixedFooter
1341
1343
  include Google::Apis::Core::Hashable
1342
1344
 
1343
1345
  # A text, icon, or text + icon button that users can click. To make an image a
1344
1346
  # clickable button, specify an Image (not an ImageComponent) and set an `onClick`
1345
- # action. Currently supported in Chat apps (including [dialogs] (https://
1346
- # developers.google.com/chat/how-tos/dialogs) and [card messages] (https://
1347
- # developers.google.com/chat/api/guides/message-formats/cards)) and Google
1348
- # Workspace Add-ons.
1347
+ # action.
1349
1348
  # Corresponds to the JSON property `primaryButton`
1350
1349
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Button]
1351
1350
  attr_accessor :primary_button
1352
1351
 
1353
1352
  # A text, icon, or text + icon button that users can click. To make an image a
1354
1353
  # clickable button, specify an Image (not an ImageComponent) and set an `onClick`
1355
- # action. Currently supported in Chat apps (including [dialogs] (https://
1356
- # developers.google.com/chat/how-tos/dialogs) and [card messages] (https://
1357
- # developers.google.com/chat/api/guides/message-formats/cards)) and Google
1358
- # Workspace Add-ons.
1354
+ # action.
1359
1355
  # Corresponds to the JSON property `secondaryButton`
1360
1356
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Button]
1361
1357
  attr_accessor :secondary_button
@@ -1497,10 +1493,7 @@ module Google
1497
1493
 
1498
1494
  # A text, icon, or text + icon button that users can click. To make an image a
1499
1495
  # clickable button, specify an Image (not an ImageComponent) and set an `onClick`
1500
- # action. Currently supported in Chat apps (including [dialogs] (https://
1501
- # developers.google.com/chat/how-tos/dialogs) and [card messages] (https://
1502
- # developers.google.com/chat/api/guides/message-formats/cards)) and Google
1503
- # Workspace Add-ons.
1496
+ # action.
1504
1497
  # Corresponds to the JSON property `button`
1505
1498
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Button]
1506
1499
  attr_accessor :button
@@ -1541,8 +1534,9 @@ module Google
1541
1534
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1SwitchControl]
1542
1535
  attr_accessor :switch_control
1543
1536
 
1544
- # Required. The primary text. Supports simple formatting. See Text formatting
1545
- # 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.
1546
1540
  # Corresponds to the JSON property `text`
1547
1541
  # @return [String]
1548
1542
  attr_accessor :text
@@ -1959,9 +1953,9 @@ module Google
1959
1953
  attr_accessor :collapsible
1960
1954
  alias_method :collapsible?, :collapsible
1961
1955
 
1962
- # Text that appears at the top of a section. Supports [simple HTML formatted
1963
- # text](https://developers.google.com/apps-script/add-ons/concepts/widgets#
1964
- # 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.
1965
1959
  # Corresponds to the JSON property `header`
1966
1960
  # @return [String]
1967
1961
  attr_accessor :header
@@ -1994,17 +1988,18 @@ module Google
1994
1988
  end
1995
1989
  end
1996
1990
 
1997
- # A widget that creates a UI item with options for users to select. For example,
1998
- # a dropdown menu or check list. Chat apps receive and can process the value of
1999
- # entered text during form input events. For details about working with form
2000
- # inputs, see [Receive form data](https://developers.google.com/chat/how-tos/
2001
- # dialogs#receive_form_data_from_dialogs). When you need to collect data from
2002
- # users that matches options you set, use a selection input. To collect abstract
2003
- # 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.
2004
1998
  class GoogleAppsCardV1SelectionInput
2005
1999
  include Google::Apis::Core::Hashable
2006
2000
 
2007
- # 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.
2008
2003
  # Corresponds to the JSON property `items`
2009
2004
  # @return [Array<Google::Apis::ChatV1::GoogleAppsCardV1SelectionItem>]
2010
2005
  attr_accessor :items
@@ -2017,7 +2012,7 @@ module Google
2017
2012
  # @return [String]
2018
2013
  attr_accessor :label
2019
2014
 
2020
- # 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
2021
2016
  # details about working with form inputs, see [Receive form data](https://
2022
2017
  # developers.google.com/chat/how-tos/dialogs#receive_form_data_from_dialogs).
2023
2018
  # Corresponds to the JSON property `name`
@@ -2031,11 +2026,10 @@ module Google
2031
2026
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Action]
2032
2027
  attr_accessor :on_change_action
2033
2028
 
2034
- # The way that an option appears to users. Different options support different
2035
- # types of interactions. For example, users can enable multiple check boxes, but
2036
- # can only select one value from a dropdown menu. Each selection input supports
2037
- # one type of selection. Mixing check boxes and switches, for example, is not
2038
- # 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.
2039
2033
  # Corresponds to the JSON property `type`
2040
2034
  # @return [String]
2041
2035
  attr_accessor :type
@@ -2054,7 +2048,8 @@ module Google
2054
2048
  end
2055
2049
  end
2056
2050
 
2057
- # 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.
2058
2053
  class GoogleAppsCardV1SelectionItem
2059
2054
  include Google::Apis::Core::Hashable
2060
2055
 
@@ -2066,7 +2061,7 @@ module Google
2066
2061
  attr_accessor :selected
2067
2062
  alias_method :selected?, :selected
2068
2063
 
2069
- # The text displayed to users.
2064
+ # The text that identifies or describes the item to users.
2070
2065
  # Corresponds to the JSON property `text`
2071
2066
  # @return [String]
2072
2067
  attr_accessor :text
@@ -2195,9 +2190,9 @@ module Google
2195
2190
  # actions. Chat apps receive and can process the value of entered text during
2196
2191
  # form input events. For details about working with form inputs, see [Receive
2197
2192
  # form data](https://developers.google.com/chat/how-tos/dialogs#
2198
- # receive_form_data_from_dialogs). When you need to collect abstract data from
2199
- # users, use a text input. To collect defined data from users, use the selection
2200
- # 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.
2201
2196
  class GoogleAppsCardV1TextInput
2202
2197
  include Google::Apis::Core::Hashable
2203
2198
 
@@ -2282,9 +2277,9 @@ module Google
2282
2277
  end
2283
2278
  end
2284
2279
 
2285
- # A paragraph of text that supports formatting. See [Text formatting](https://
2286
- # developers.google.com/workspace/add-ons/concepts/widgets#text_formatting) for
2287
- # 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.
2288
2283
  class GoogleAppsCardV1TextParagraph
2289
2284
  include Google::Apis::Core::Hashable
2290
2285
 
@@ -2354,13 +2349,13 @@ module Google
2354
2349
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Image]
2355
2350
  attr_accessor :image
2356
2351
 
2357
- # A widget that creates a UI item with options for users to select. For example,
2358
- # a dropdown menu or check list. Chat apps receive and can process the value of
2359
- # entered text during form input events. For details about working with form
2360
- # inputs, see [Receive form data](https://developers.google.com/chat/how-tos/
2361
- # dialogs#receive_form_data_from_dialogs). When you need to collect data from
2362
- # users that matches options you set, use a selection input. To collect abstract
2363
- # 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.
2364
2359
  # Corresponds to the JSON property `selectionInput`
2365
2360
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1SelectionInput]
2366
2361
  attr_accessor :selection_input
@@ -2369,16 +2364,16 @@ module Google
2369
2364
  # actions. Chat apps receive and can process the value of entered text during
2370
2365
  # form input events. For details about working with form inputs, see [Receive
2371
2366
  # form data](https://developers.google.com/chat/how-tos/dialogs#
2372
- # receive_form_data_from_dialogs). When you need to collect abstract data from
2373
- # users, use a text input. To collect defined data from users, use the selection
2374
- # 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.
2375
2370
  # Corresponds to the JSON property `textInput`
2376
2371
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1TextInput]
2377
2372
  attr_accessor :text_input
2378
2373
 
2379
- # A paragraph of text that supports formatting. See [Text formatting](https://
2380
- # developers.google.com/workspace/add-ons/concepts/widgets#text_formatting) for
2381
- # 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.
2382
2377
  # Corresponds to the JSON property `textParagraph`
2383
2378
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph]
2384
2379
  attr_accessor :text_paragraph
@@ -2477,12 +2472,12 @@ module Google
2477
2472
  class Inputs
2478
2473
  include Google::Apis::Core::Hashable
2479
2474
 
2480
- # Date input values. Not supported by Chat apps.
2475
+ # Date input values.
2481
2476
  # Corresponds to the JSON property `dateInput`
2482
2477
  # @return [Google::Apis::ChatV1::DateInput]
2483
2478
  attr_accessor :date_input
2484
2479
 
2485
- # Date and time input values. Not supported by Chat apps.
2480
+ # Date and time input values.
2486
2481
  # Corresponds to the JSON property `dateTimeInput`
2487
2482
  # @return [Google::Apis::ChatV1::DateTimeInput]
2488
2483
  attr_accessor :date_time_input
@@ -2494,7 +2489,7 @@ module Google
2494
2489
  # @return [Google::Apis::ChatV1::StringInputs]
2495
2490
  attr_accessor :string_inputs
2496
2491
 
2497
- # Time input values. Not supported by Chat apps.
2492
+ # Time input values.
2498
2493
  # Corresponds to the JSON property `timeInput`
2499
2494
  # @return [Google::Apis::ChatV1::TimeInput]
2500
2495
  attr_accessor :time_input
@@ -2517,7 +2512,9 @@ module Google
2517
2512
  class KeyValue
2518
2513
  include Google::Apis::Core::Hashable
2519
2514
 
2520
- # 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.
2521
2518
  # Corresponds to the JSON property `bottomLabel`
2522
2519
  # @return [String]
2523
2520
  attr_accessor :bottom_label
@@ -2527,7 +2524,9 @@ module Google
2527
2524
  # @return [Google::Apis::ChatV1::Button]
2528
2525
  attr_accessor :button
2529
2526
 
2530
- # 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.
2531
2530
  # Corresponds to the JSON property `content`
2532
2531
  # @return [String]
2533
2532
  attr_accessor :content
@@ -2554,7 +2553,9 @@ module Google
2554
2553
  # @return [Google::Apis::ChatV1::OnClick]
2555
2554
  attr_accessor :on_click
2556
2555
 
2557
- # 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.
2558
2559
  # Corresponds to the JSON property `topLabel`
2559
2560
  # @return [String]
2560
2561
  attr_accessor :top_label
@@ -2915,7 +2916,9 @@ module Google
2915
2916
  class Section
2916
2917
  include Google::Apis::Core::Hashable
2917
2918
 
2918
- # 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.
2919
2922
  # Corresponds to the JSON property `header`
2920
2923
  # @return [String]
2921
2924
  attr_accessor :header
@@ -3185,7 +3188,9 @@ module Google
3185
3188
  end
3186
3189
  end
3187
3190
 
3188
- # 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.
3189
3194
  class TextParagraph
3190
3195
  include Google::Apis::Core::Hashable
3191
3196
 
@@ -3233,7 +3238,7 @@ module Google
3233
3238
  end
3234
3239
  end
3235
3240
 
3236
- # Time input values. Not supported by Chat apps.
3241
+ # Time input values.
3237
3242
  class TimeInput
3238
3243
  include Google::Apis::Core::Hashable
3239
3244
 
@@ -3258,8 +3263,11 @@ module Google
3258
3263
  end
3259
3264
  end
3260
3265
 
3261
- # The timezone ID and offset from Coordinated Universal Time (UTC). Not
3262
- # 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).
3263
3271
  class TimeZone
3264
3272
  include Google::Apis::Core::Hashable
3265
3273
 
@@ -3366,7 +3374,7 @@ module Google
3366
3374
  class WidgetMarkup
3367
3375
  include Google::Apis::Core::Hashable
3368
3376
 
3369
- # 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
3370
3378
  # should be set.
3371
3379
  # Corresponds to the JSON property `buttons`
3372
3380
  # @return [Array<Google::Apis::ChatV1::Button>]
@@ -3383,7 +3391,9 @@ module Google
3383
3391
  # @return [Google::Apis::ChatV1::KeyValue]
3384
3392
  attr_accessor :key_value
3385
3393
 
3386
- # 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.
3387
3397
  # Corresponds to the JSON property `textParagraph`
3388
3398
  # @return [Google::Apis::ChatV1::TextParagraph]
3389
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.57.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 = "20230328"
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.57.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-04-02 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.57.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: []