google-apis-chat_v1 0.72.0 → 0.74.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: d951e9b3545eb41ad0875c2abac6491885240a7b425aac6d351642203d624852
4
- data.tar.gz: 96aebca2ab90f391e1187d6f3c39349fd46957b5a4f001228610b27136a4692c
3
+ metadata.gz: 4d67346256295e7b834725fda06e4ce14e4740e8fa7e32b59910c57fc78fb09d
4
+ data.tar.gz: 8a4dd8178d823a74399a81f6d3a63a45cd3de24562d8bfab034c7f762c65a799
5
5
  SHA512:
6
- metadata.gz: e7fc4e4db5a8f0764215ea8f43e6893177cfa1f032e1c677c6bbade8dd3dbafafd802904d95b7592ab3553dd6dae8a9dd5e8f67f6645ba0427f26dba49f2df81
7
- data.tar.gz: 1b2a78a4d27f9f3febcd72661a4aaeb5442375d5889533b5bb8afd75d074eee9434587cee9dd2126b186f698f8fdc926a50931c10e0fdca7db8faa723f54772d
6
+ metadata.gz: 3a74a1886ecaf5463ad63017f73c6badc40b5bee06aa5591b5d6eb40a086aef39af616dfc238b8bb2080db029f0ff2e5a37e20832921ee06231e6386d5fc8dfd
7
+ data.tar.gz: a6bb63a061abf8020e8c58b15fe3f7bf625e0e93147ba58862e1069ba7d8f6ee329d4ca34253deeb0e5f54898ce03114f37dee7dd3a2ac481b26888c9641423c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-chat_v1
2
2
 
3
+ ### v0.74.0 (2023-10-29)
4
+
5
+ * Regenerated from discovery document revision 20231019
6
+
7
+ ### v0.73.0 (2023-10-01)
8
+
9
+ * Regenerated from discovery document revision 20230926
10
+
3
11
  ### v0.72.0 (2023-09-24)
4
12
 
5
13
  * Regenerated from discovery document revision 20230914
@@ -112,12 +112,11 @@ module Google
112
112
 
113
113
  # Output only. Annotations associated with the plain-text body of the message.
114
114
  # To add basic formatting to a text message, see [Format text messages](https://
115
- # developers.google.com/chat/api/guides/message-formats/text#format-texts).
116
- # Example plain-text message body: ``` Hello @FooBot how are you!" ``` The
117
- # corresponding annotations metadata: ``` "annotations":[` "type":"USER_MENTION",
118
- # "startIndex":6, "length":7, "userMention": ` "user": ` "name":"users/`user`",
119
- # "displayName":"FooBot", "avatarUrl":"https://goo.gl/aeDtrS", "type":"BOT" `, "
120
- # type":"MENTION" ` `] ```
115
+ # developers.google.com/chat/format-messages). Example plain-text message body: `
116
+ # `` Hello @FooBot how are you!" ``` The corresponding annotations metadata: ```
117
+ # "annotations":[` "type":"USER_MENTION", "startIndex":6, "length":7, "
118
+ # userMention": ` "user": ` "name":"users/`user`", "displayName":"FooBot", "
119
+ # avatarUrl":"https://goo.gl/aeDtrS", "type":"BOT" `, "type":"MENTION" ` `] ```
121
120
  class Annotation
122
121
  include Google::Apis::Core::Hashable
123
122
 
@@ -495,15 +494,15 @@ module Google
495
494
  end
496
495
  end
497
496
 
498
- # Chat apps only. For a `SelectionInput` widget that uses a multi-select menu, a
499
- # data source from Google Chat. For example, a list of Google Chat spaces of
500
- # which the user is a member. [Developer Preview](https://developers.google.com/
501
- # workspace/preview).
497
+ # Chat apps only. For a `SelectionInput` widget that uses a multiselect menu, a
498
+ # data source from Google Chat. The data source populates selection items for
499
+ # the multiselect menu. For example, a user can select Google Chat spaces that
500
+ # they're a member of.
502
501
  class ChatClientDataSourceMarkup
503
502
  include Google::Apis::Core::Hashable
504
503
 
505
- # A data source representing a Google Chat space. Format: spaces/`space` [
506
- # Developer Preview](https://developers.google.com/workspace/preview).
504
+ # A data source that populates Google Chat spaces as selection items for a
505
+ # multiselect menu. Only populates spaces that the user is a member of.
507
506
  # Corresponds to the JSON property `spaceDataSource`
508
507
  # @return [Google::Apis::ChatV1::SpaceDataSource]
509
508
  attr_accessor :space_data_source
@@ -1110,8 +1109,8 @@ module Google
1110
1109
  # the user make changes while the action is being processed, set [`LoadIndicator`
1111
1110
  # ](https://developers.google.com/workspace/add-ons/reference/rpc/google.apps.
1112
1111
  # card.v1#loadindicator) to `NONE`. For [card messages](https://developers.
1113
- # google.com/chat/api/guides/message-formats/cards) in Chat apps, you must also
1114
- # set the action's [`ResponseType`](https://developers.google.com/chat/api/
1112
+ # google.com/chat/api/guides/v1/messages/create#create) in Chat apps, you must
1113
+ # also set the action's [`ResponseType`](https://developers.google.com/chat/api/
1115
1114
  # reference/rest/v1/spaces.messages#responsetype) to `UPDATE_MESSAGE` and use
1116
1115
  # the same [`card_id`](https://developers.google.com/chat/api/reference/rest/v1/
1117
1116
  # spaces.messages#CardWithId) from the card that contained the action. If `false`
@@ -1317,9 +1316,8 @@ module Google
1317
1316
 
1318
1317
  # An icon displayed in a widget on a card. For an example in Google Chat apps,
1319
1318
  # see [Icon](https://developers.google.com/chat/ui/widgets/icon). Supports [
1320
- # built-in](https://developers.google.com/chat/api/guides/message-formats/cards#
1321
- # builtinicons) and [custom](https://developers.google.com/chat/api/guides/
1322
- # message-formats/cards#customicons) icons.
1319
+ # built-in](https://developers.google.com/chat/format-messages#builtinicons) and
1320
+ # [custom](https://developers.google.com/chat/format-messages#customicons) icons.
1323
1321
  # Corresponds to the JSON property `icon`
1324
1322
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Icon]
1325
1323
  attr_accessor :icon
@@ -1420,8 +1418,8 @@ module Google
1420
1418
  # specifying a `primaryButton` or a `secondaryButton` causes an error. Supported
1421
1419
  # by Google Workspace Add-ons and Chat apps. For Chat apps, you can use fixed
1422
1420
  # footers in [dialogs](https://developers.google.com/chat/how-tos/dialogs), but
1423
- # not [card messages](https://developers.google.com/chat/api/guides/message-
1424
- # formats/cards).
1421
+ # not [card messages](https://developers.google.com/chat/api/guides/v1/messages/
1422
+ # create#create).
1425
1423
  # Corresponds to the JSON property `fixedFooter`
1426
1424
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1CardFixedFooter]
1427
1425
  attr_accessor :fixed_footer
@@ -1508,8 +1506,8 @@ module Google
1508
1506
  # specifying a `primaryButton` or a `secondaryButton` causes an error. Supported
1509
1507
  # by Google Workspace Add-ons and Chat apps. For Chat apps, you can use fixed
1510
1508
  # footers in [dialogs](https://developers.google.com/chat/how-tos/dialogs), but
1511
- # not [card messages](https://developers.google.com/chat/api/guides/message-
1512
- # formats/cards).
1509
+ # not [card messages](https://developers.google.com/chat/api/guides/v1/messages/
1510
+ # create#create).
1513
1511
  class GoogleAppsCardV1CardFixedFooter
1514
1512
  include Google::Apis::Core::Hashable
1515
1513
 
@@ -1749,18 +1747,16 @@ module Google
1749
1747
 
1750
1748
  # An icon displayed in a widget on a card. For an example in Google Chat apps,
1751
1749
  # see [Icon](https://developers.google.com/chat/ui/widgets/icon). Supports [
1752
- # built-in](https://developers.google.com/chat/api/guides/message-formats/cards#
1753
- # builtinicons) and [custom](https://developers.google.com/chat/api/guides/
1754
- # message-formats/cards#customicons) icons.
1750
+ # built-in](https://developers.google.com/chat/format-messages#builtinicons) and
1751
+ # [custom](https://developers.google.com/chat/format-messages#customicons) icons.
1755
1752
  # Corresponds to the JSON property `endIcon`
1756
1753
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Icon]
1757
1754
  attr_accessor :end_icon
1758
1755
 
1759
1756
  # An icon displayed in a widget on a card. For an example in Google Chat apps,
1760
1757
  # see [Icon](https://developers.google.com/chat/ui/widgets/icon). Supports [
1761
- # built-in](https://developers.google.com/chat/api/guides/message-formats/cards#
1762
- # builtinicons) and [custom](https://developers.google.com/chat/api/guides/
1763
- # message-formats/cards#customicons) icons.
1758
+ # built-in](https://developers.google.com/chat/format-messages#builtinicons) and
1759
+ # [custom](https://developers.google.com/chat/format-messages#customicons) icons.
1764
1760
  # Corresponds to the JSON property `icon`
1765
1761
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Icon]
1766
1762
  attr_accessor :icon
@@ -1773,9 +1769,8 @@ module Google
1773
1769
 
1774
1770
  # An icon displayed in a widget on a card. For an example in Google Chat apps,
1775
1771
  # see [Icon](https://developers.google.com/chat/ui/widgets/icon). Supports [
1776
- # built-in](https://developers.google.com/chat/api/guides/message-formats/cards#
1777
- # builtinicons) and [custom](https://developers.google.com/chat/api/guides/
1778
- # message-formats/cards#customicons) icons.
1772
+ # built-in](https://developers.google.com/chat/format-messages#builtinicons) and
1773
+ # [custom](https://developers.google.com/chat/format-messages#customicons) icons.
1779
1774
  # Corresponds to the JSON property `startIcon`
1780
1775
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Icon]
1781
1776
  attr_accessor :start_icon
@@ -1788,9 +1783,9 @@ module Google
1788
1783
 
1789
1784
  # Required. The primary text. Supports simple formatting. For more information
1790
1785
  # about formatting text, see [Formatting text in Google Chat apps](https://
1791
- # developers.google.com/chat/api/guides/message-formats/cards#card-formatting)
1792
- # and [Formatting text in Google Workspace Add-ons](https://developers.google.
1793
- # com/apps-script/add-ons/concepts/widgets#text_formatting).
1786
+ # developers.google.com/chat/format-messages#card-formatting) and [Formatting
1787
+ # text in Google Workspace Add-ons](https://developers.google.com/apps-script/
1788
+ # add-ons/concepts/widgets#text_formatting).
1794
1789
  # Corresponds to the JSON property `text`
1795
1790
  # @return [String]
1796
1791
  attr_accessor :text
@@ -1949,9 +1944,8 @@ module Google
1949
1944
 
1950
1945
  # An icon displayed in a widget on a card. For an example in Google Chat apps,
1951
1946
  # see [Icon](https://developers.google.com/chat/ui/widgets/icon). Supports [
1952
- # built-in](https://developers.google.com/chat/api/guides/message-formats/cards#
1953
- # builtinicons) and [custom](https://developers.google.com/chat/api/guides/
1954
- # message-formats/cards#customicons) icons.
1947
+ # built-in](https://developers.google.com/chat/format-messages#builtinicons) and
1948
+ # [custom](https://developers.google.com/chat/format-messages#customicons) icons.
1955
1949
  class GoogleAppsCardV1Icon
1956
1950
  include Google::Apis::Core::Hashable
1957
1951
 
@@ -1983,7 +1977,7 @@ module Google
1983
1977
  # Display one of the built-in icons provided by Google Workspace. For example,
1984
1978
  # to display an airplane icon, specify `AIRPLANE`. For a bus, specify `BUS`. For
1985
1979
  # a full list of supported icons, see [built-in icons](https://developers.google.
1986
- # com/chat/api/guides/message-formats/cards#builtinicons).
1980
+ # com/chat/format-messages#builtinicons).
1987
1981
  # Corresponds to the JSON property `knownIcon`
1988
1982
  # @return [String]
1989
1983
  attr_accessor :known_icon
@@ -2200,25 +2194,21 @@ module Google
2200
2194
  end
2201
2195
  end
2202
2196
 
2203
- # Chat apps only. For a `SelectionInput` widget that uses a multi-select menu,
2204
- # the data from a [Google Workspace host application](https://developers.google.
2205
- # com/chat/api/reference/rest/v1/HostApp). Used to populate the items in the
2206
- # multi-select menu. [Developer Preview](https://developers.google.com/workspace/
2207
- # preview).
2197
+ # Chat apps only. For a `SelectionInput` widget that uses a multiselect menu, a
2198
+ # data source from Google Workspace. Used to populate items in a multiselect
2199
+ # menu.
2208
2200
  class GoogleAppsCardV1PlatformDataSource
2209
2201
  include Google::Apis::Core::Hashable
2210
2202
 
2211
- # For a `SelectionInput` widget that uses a multi-select menu, a data source
2212
- # shared by all Google Workspace host applications, such as users in a Google
2213
- # Workspace organization. [Developer Preview](https://developers.google.com/
2214
- # workspace/preview).
2203
+ # A data source shared by all Google Workspace applications, such as users in a
2204
+ # Google Workspace organization.
2215
2205
  # Corresponds to the JSON property `commonDataSource`
2216
2206
  # @return [String]
2217
2207
  attr_accessor :common_data_source
2218
2208
 
2219
- # Chat apps only. For a `SelectionInput` widget that uses a multi-select menu, a
2220
- # data source from a Google Workspace host application. [Developer Preview](
2221
- # https://developers.google.com/workspace/preview).
2209
+ # Chat apps only. For a `SelectionInput` widget that uses a multiselect menu, a
2210
+ # data source from a Google Workspace application. The data source populates
2211
+ # selection items for the multiselect menu.
2222
2212
  # Corresponds to the JSON property `hostAppDataSource`
2223
2213
  # @return [Google::Apis::ChatV1::HostAppDataSourceMarkup]
2224
2214
  attr_accessor :host_app_data_source
@@ -2251,9 +2241,9 @@ module Google
2251
2241
 
2252
2242
  # Text that appears at the top of a section. Supports simple HTML formatted text.
2253
2243
  # For more information about formatting text, see [Formatting text in Google
2254
- # Chat apps](https://developers.google.com/chat/api/guides/message-formats/cards#
2255
- # card-formatting) and [Formatting text in Google Workspace Add-ons](https://
2256
- # developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).
2244
+ # Chat apps](https://developers.google.com/chat/format-messages#card-formatting)
2245
+ # and [Formatting text in Google Workspace Add-ons](https://developers.google.
2246
+ # com/apps-script/add-ons/concepts/widgets#text_formatting).
2257
2247
  # Corresponds to the JSON property `header`
2258
2248
  # @return [String]
2259
2249
  attr_accessor :header
@@ -2318,18 +2308,16 @@ module Google
2318
2308
  # @return [String]
2319
2309
  attr_accessor :label
2320
2310
 
2321
- # For multi-select menus, the maximum number of items that a user can select.
2322
- # Minimum value is 1 item. If unspecified, set to 3 items. [Developer Preview](
2323
- # https://developers.google.com/workspace/preview).
2311
+ # For multiselect menus, the maximum number of items that a user can select.
2312
+ # Minimum value is 1 item. If unspecified, defaults to 3 items.
2324
2313
  # Corresponds to the JSON property `multiSelectMaxSelectedItems`
2325
2314
  # @return [Fixnum]
2326
2315
  attr_accessor :multi_select_max_selected_items
2327
2316
 
2328
- # For multi-select menus, the number of text characters that a user inputs
2329
- # before the Chat app queries autocomplete and displays suggested items on the
2330
- # card. If unspecified, set to 0 characters for static data sources and 3
2331
- # characters for external data sources. [Developer Preview](https://developers.
2332
- # google.com/workspace/preview).
2317
+ # For multiselect menus, the number of text characters that a user inputs before
2318
+ # the Chat app queries autocomplete and displays suggested items in the menu. If
2319
+ # unspecified, defaults to 0 characters for static data sources and 3 characters
2320
+ # for external data sources.
2333
2321
  # Corresponds to the JSON property `multiSelectMinQueryLength`
2334
2322
  # @return [Fixnum]
2335
2323
  attr_accessor :multi_select_min_query_length
@@ -2348,11 +2336,9 @@ module Google
2348
2336
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Action]
2349
2337
  attr_accessor :on_change_action
2350
2338
 
2351
- # Chat apps only. For a `SelectionInput` widget that uses a multi-select menu,
2352
- # the data from a [Google Workspace host application](https://developers.google.
2353
- # com/chat/api/reference/rest/v1/HostApp). Used to populate the items in the
2354
- # multi-select menu. [Developer Preview](https://developers.google.com/workspace/
2355
- # preview).
2339
+ # Chat apps only. For a `SelectionInput` widget that uses a multiselect menu, a
2340
+ # data source from Google Workspace. Used to populate items in a multiselect
2341
+ # menu.
2356
2342
  # Corresponds to the JSON property `platformDataSource`
2357
2343
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1PlatformDataSource]
2358
2344
  attr_accessor :platform_data_source
@@ -2388,9 +2374,8 @@ module Google
2388
2374
  class GoogleAppsCardV1SelectionItem
2389
2375
  include Google::Apis::Core::Hashable
2390
2376
 
2391
- # For multi-select menus, a text description or label that's displayed below the
2392
- # item's `text` field. [Developer Preview](https://developers.google.com/
2393
- # workspace/preview).
2377
+ # For multiselect menus, a text description or label that's displayed below the
2378
+ # item's `text` field.
2394
2379
  # Corresponds to the JSON property `bottomText`
2395
2380
  # @return [String]
2396
2381
  attr_accessor :bottom_text
@@ -2403,10 +2388,9 @@ module Google
2403
2388
  attr_accessor :selected
2404
2389
  alias_method :selected?, :selected
2405
2390
 
2406
- # For multi-select menus, the URL for the icon displayed next to the item's `
2407
- # text` field. Supports PNG and JPEG files. Must be an `HTTPS` URL. For example,
2408
- # `https://developers.google.com/chat/images/quickstart-app-avatar.png`. [
2409
- # Developer Preview](https://developers.google.com/workspace/preview).
2391
+ # For multiselect menus, the URL for the icon displayed next to the item's `text`
2392
+ # field. Supports PNG and JPEG files. Must be an `HTTPS` URL. For example, `
2393
+ # https://developers.google.com/chat/images/quickstart-app-avatar.png`.
2410
2394
  # Corresponds to the JSON property `startIconUri`
2411
2395
  # @return [String]
2412
2396
  attr_accessor :start_icon_uri
@@ -2640,10 +2624,9 @@ module Google
2640
2624
  # A paragraph of text that supports formatting. For an example in Google Chat
2641
2625
  # apps, see [Text paragraph](https://developers.google.com/chat/ui/widgets/text-
2642
2626
  # paragraph). For more information about formatting text, see [Formatting text
2643
- # in Google Chat apps](https://developers.google.com/chat/api/guides/message-
2644
- # formats/cards##card-formatting) and [Formatting text in Google Workspace Add-
2645
- # ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#
2646
- # text_formatting).
2627
+ # in Google Chat apps](https://developers.google.com/chat/format-messages#card-
2628
+ # formatting) and [Formatting text in Google Workspace Add-ons](https://
2629
+ # developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).
2647
2630
  class GoogleAppsCardV1TextParagraph
2648
2631
  include Google::Apis::Core::Hashable
2649
2632
 
@@ -2773,10 +2756,9 @@ module Google
2773
2756
  # A paragraph of text that supports formatting. For an example in Google Chat
2774
2757
  # apps, see [Text paragraph](https://developers.google.com/chat/ui/widgets/text-
2775
2758
  # paragraph). For more information about formatting text, see [Formatting text
2776
- # in Google Chat apps](https://developers.google.com/chat/api/guides/message-
2777
- # formats/cards##card-formatting) and [Formatting text in Google Workspace Add-
2778
- # ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#
2779
- # text_formatting).
2759
+ # in Google Chat apps](https://developers.google.com/chat/format-messages#card-
2760
+ # formatting) and [Formatting text in Google Workspace Add-ons](https://
2761
+ # developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).
2780
2762
  # Corresponds to the JSON property `textParagraph`
2781
2763
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph]
2782
2764
  attr_accessor :text_paragraph
@@ -2861,10 +2843,9 @@ module Google
2861
2843
  # A paragraph of text that supports formatting. For an example in Google Chat
2862
2844
  # apps, see [Text paragraph](https://developers.google.com/chat/ui/widgets/text-
2863
2845
  # paragraph). For more information about formatting text, see [Formatting text
2864
- # in Google Chat apps](https://developers.google.com/chat/api/guides/message-
2865
- # formats/cards##card-formatting) and [Formatting text in Google Workspace Add-
2866
- # ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#
2867
- # text_formatting).
2846
+ # in Google Chat apps](https://developers.google.com/chat/format-messages#card-
2847
+ # formatting) and [Formatting text in Google Workspace Add-ons](https://
2848
+ # developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).
2868
2849
  # Corresponds to the JSON property `textParagraph`
2869
2850
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph]
2870
2851
  attr_accessor :text_paragraph
@@ -2885,16 +2866,16 @@ module Google
2885
2866
  end
2886
2867
  end
2887
2868
 
2888
- # Chat apps only. For a `SelectionInput` widget that uses a multi-select menu, a
2889
- # data source from a Google Workspace host application. [Developer Preview](
2890
- # https://developers.google.com/workspace/preview).
2869
+ # Chat apps only. For a `SelectionInput` widget that uses a multiselect menu, a
2870
+ # data source from a Google Workspace application. The data source populates
2871
+ # selection items for the multiselect menu.
2891
2872
  class HostAppDataSourceMarkup
2892
2873
  include Google::Apis::Core::Hashable
2893
2874
 
2894
- # Chat apps only. For a `SelectionInput` widget that uses a multi-select menu, a
2895
- # data source from Google Chat. For example, a list of Google Chat spaces of
2896
- # which the user is a member. [Developer Preview](https://developers.google.com/
2897
- # workspace/preview).
2875
+ # Chat apps only. For a `SelectionInput` widget that uses a multiselect menu, a
2876
+ # data source from Google Chat. The data source populates selection items for
2877
+ # the multiselect menu. For example, a user can select Google Chat spaces that
2878
+ # they're a member of.
2898
2879
  # Corresponds to the JSON property `chatDataSource`
2899
2880
  # @return [Google::Apis::ChatV1::ChatClientDataSourceMarkup]
2900
2881
  attr_accessor :chat_data_source
@@ -3029,9 +3010,9 @@ module Google
3029
3010
 
3030
3011
  # The text of the bottom label. Formatted text supported. For more information
3031
3012
  # about formatting text, see [Formatting text in Google Chat apps](https://
3032
- # developers.google.com/chat/api/guides/message-formats/cards#
3033
- # card_text_formatting) and [Formatting text in Google Workspace Add-ons](https:/
3034
- # /developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).
3013
+ # developers.google.com/chat/format-messages#card-formatting) and [Formatting
3014
+ # text in Google Workspace Add-ons](https://developers.google.com/apps-script/
3015
+ # add-ons/concepts/widgets#text_formatting).
3035
3016
  # Corresponds to the JSON property `bottomLabel`
3036
3017
  # @return [String]
3037
3018
  attr_accessor :bottom_label
@@ -3043,9 +3024,9 @@ module Google
3043
3024
 
3044
3025
  # The text of the content. Formatted text supported and always required. For
3045
3026
  # more information about formatting text, see [Formatting text in Google Chat
3046
- # apps](https://developers.google.com/chat/api/guides/message-formats/cards#
3047
- # card_text_formatting) and [Formatting text in Google Workspace Add-ons](https:/
3048
- # /developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).
3027
+ # apps](https://developers.google.com/chat/format-messages#card-formatting) and [
3028
+ # Formatting text in Google Workspace Add-ons](https://developers.google.com/
3029
+ # apps-script/add-ons/concepts/widgets#text_formatting).
3049
3030
  # Corresponds to the JSON property `content`
3050
3031
  # @return [String]
3051
3032
  attr_accessor :content
@@ -3074,9 +3055,9 @@ module Google
3074
3055
 
3075
3056
  # The text of the top label. Formatted text supported. For more information
3076
3057
  # about formatting text, see [Formatting text in Google Chat apps](https://
3077
- # developers.google.com/chat/api/guides/message-formats/cards#
3078
- # card_text_formatting) and [Formatting text in Google Workspace Add-ons](https:/
3079
- # /developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).
3058
+ # developers.google.com/chat/format-messages#card-formatting) and [Formatting
3059
+ # text in Google Workspace Add-ons](https://developers.google.com/apps-script/
3060
+ # add-ons/concepts/widgets#text_formatting).
3080
3061
  # Corresponds to the JSON property `topLabel`
3081
3062
  # @return [String]
3082
3063
  attr_accessor :top_label
@@ -3267,8 +3248,9 @@ module Google
3267
3248
  # @return [String]
3268
3249
  attr_accessor :name
3269
3250
 
3270
- # Output only. User's role within a Chat space, which determines their permitted
3271
- # actions in the space.
3251
+ # Optional. User's role within a Chat space, which determines their permitted
3252
+ # actions in the space. [Developer Preview](https://developers.google.com/
3253
+ # workspace/preview): This field can only be used as input in `UpdateMembership`.
3272
3254
  # Corresponds to the JSON property `role`
3273
3255
  # @return [String]
3274
3256
  attr_accessor :role
@@ -3388,6 +3370,22 @@ module Google
3388
3370
  # @return [String]
3389
3371
  attr_accessor :fallback_text
3390
3372
 
3373
+ # Output only. Contains the message `text` with markups added to communicate
3374
+ # formatting. This field might not capture all formatting visible in the UI, but
3375
+ # includes the following: * [Markup syntax](https://developers.google.com/chat/
3376
+ # format-messages) for bold, italic, strikethrough, monospace, and monospace
3377
+ # block. * [User mentions](https://developers.google.com/chat/format-messages#
3378
+ # messages-@mention) using the format ``. * Custom hyperlinks using the format `<
3379
+ # `url`|`rendered_text`>` where the first string is the URL and the second is
3380
+ # the rendered text—for example, ``. * Custom emoji using the format `:`
3381
+ # emoji_name`:`—for example, `:smile:`. This doesn't apply to Unicode emoji,
3382
+ # such as `U+1F600` for a grinning face emoji. For more information, see [View
3383
+ # text formatting sent in a message](https://developers.google.com/chat/format-
3384
+ # messages#view_text_formatting_sent_in_a_message)
3385
+ # Corresponds to the JSON property `formattedText`
3386
+ # @return [String]
3387
+ attr_accessor :formatted_text
3388
+
3391
3389
  # Output only. The time at which the message was last edited by a user. If the
3392
3390
  # message has never been edited, this field is empty.
3393
3391
  # Corresponds to the JSON property `lastUpdateTime`
@@ -3435,9 +3433,9 @@ module Google
3435
3433
  # Plain-text body of the message. The first link to an image, video, or web page
3436
3434
  # generates a [preview chip](https://developers.google.com/chat/how-tos/preview-
3437
3435
  # links). You can also [@mention a Google Chat user](https://developers.google.
3438
- # com/chat/api/guides/message-formats/text#messages-@mention), or everyone in
3439
- # the space. To learn about creating text messages, see [Create a text message](
3440
- # https://developers.google.com/chat/api/guides/message-formats/text).
3436
+ # com/chat/format-messages#messages-@mention), or everyone in the space. To
3437
+ # learn about creating text messages, see [Send a text message](https://
3438
+ # developers.google.com/chat/api/guides/v1/messages/create#create-text-messages).
3441
3439
  # Corresponds to the JSON property `text`
3442
3440
  # @return [String]
3443
3441
  attr_accessor :text
@@ -3480,6 +3478,7 @@ module Google
3480
3478
  @deletion_metadata = args[:deletion_metadata] if args.key?(:deletion_metadata)
3481
3479
  @emoji_reaction_summaries = args[:emoji_reaction_summaries] if args.key?(:emoji_reaction_summaries)
3482
3480
  @fallback_text = args[:fallback_text] if args.key?(:fallback_text)
3481
+ @formatted_text = args[:formatted_text] if args.key?(:formatted_text)
3483
3482
  @last_update_time = args[:last_update_time] if args.key?(:last_update_time)
3484
3483
  @matched_url = args[:matched_url] if args.key?(:matched_url)
3485
3484
  @name = args[:name] if args.key?(:name)
@@ -3609,9 +3608,9 @@ module Google
3609
3608
 
3610
3609
  # The header of the section. Formatted text is supported. For more information
3611
3610
  # about formatting text, see [Formatting text in Google Chat apps](https://
3612
- # developers.google.com/chat/api/guides/message-formats/cards#
3613
- # card_text_formatting) and [Formatting text in Google Workspace Add-ons](https:/
3614
- # /developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).
3611
+ # developers.google.com/chat/format-messages#card-formatting) and [Formatting
3612
+ # text in Google Workspace Add-ons](https://developers.google.com/apps-script/
3613
+ # add-ons/concepts/widgets#text_formatting).
3615
3614
  # Corresponds to the JSON property `header`
3616
3615
  # @return [String]
3617
3616
  attr_accessor :header
@@ -3851,14 +3850,13 @@ module Google
3851
3850
  end
3852
3851
  end
3853
3852
 
3854
- # A data source representing a Google Chat space. Format: spaces/`space` [
3855
- # Developer Preview](https://developers.google.com/workspace/preview).
3853
+ # A data source that populates Google Chat spaces as selection items for a
3854
+ # multiselect menu. Only populates spaces that the user is a member of.
3856
3855
  class SpaceDataSource
3857
3856
  include Google::Apis::Core::Hashable
3858
3857
 
3859
- # When `true`, uses the card's Google Chat space as the default selection. The
3860
- # default value is `false`. [Developer Preview](https://developers.google.com/
3861
- # workspace/preview).
3858
+ # If set to `true`, the multiselect menu selects the current Google Chat space
3859
+ # as an item by default.
3862
3860
  # Corresponds to the JSON property `defaultToCurrentSpace`
3863
3861
  # @return [Boolean]
3864
3862
  attr_accessor :default_to_current_space
@@ -3989,9 +3987,9 @@ module Google
3989
3987
 
3990
3988
  # A paragraph of text. Formatted text supported. For more information about
3991
3989
  # formatting text, see [Formatting text in Google Chat apps](https://developers.
3992
- # google.com/chat/api/guides/message-formats/cards#card_text_formatting) and [
3993
- # Formatting text in Google Workspace Add-ons](https://developers.google.com/
3994
- # apps-script/add-ons/concepts/widgets#text_formatting).
3990
+ # google.com/chat/format-messages#card-formatting) and [Formatting text in
3991
+ # Google Workspace Add-ons](https://developers.google.com/apps-script/add-ons/
3992
+ # concepts/widgets#text_formatting).
3995
3993
  class TextParagraph
3996
3994
  include Google::Apis::Core::Hashable
3997
3995
 
@@ -4250,9 +4248,9 @@ module Google
4250
4248
 
4251
4249
  # A paragraph of text. Formatted text supported. For more information about
4252
4250
  # formatting text, see [Formatting text in Google Chat apps](https://developers.
4253
- # google.com/chat/api/guides/message-formats/cards#card_text_formatting) and [
4254
- # Formatting text in Google Workspace Add-ons](https://developers.google.com/
4255
- # apps-script/add-ons/concepts/widgets#text_formatting).
4251
+ # google.com/chat/format-messages#card-formatting) and [Formatting text in
4252
+ # Google Workspace Add-ons](https://developers.google.com/apps-script/add-ons/
4253
+ # concepts/widgets#text_formatting).
4256
4254
  # Corresponds to the JSON property `textParagraph`
4257
4255
  # @return [Google::Apis::ChatV1::TextParagraph]
4258
4256
  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.72.0"
19
+ GEM_VERSION = "0.74.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 = "20230914"
25
+ REVISION = "20231019"
26
26
  end
27
27
  end
28
28
  end
@@ -1424,6 +1424,7 @@ module Google
1424
1424
  collection :emoji_reaction_summaries, as: 'emojiReactionSummaries', class: Google::Apis::ChatV1::EmojiReactionSummary, decorator: Google::Apis::ChatV1::EmojiReactionSummary::Representation
1425
1425
 
1426
1426
  property :fallback_text, as: 'fallbackText'
1427
+ property :formatted_text, as: 'formattedText'
1427
1428
  property :last_update_time, as: 'lastUpdateTime'
1428
1429
  property :matched_url, as: 'matchedUrl', class: Google::Apis::ChatV1::MatchedUrl, decorator: Google::Apis::ChatV1::MatchedUrl::Representation
1429
1430
 
@@ -268,8 +268,7 @@ module Google
268
268
  # (https://developers.google.com/chat/api/guides/auth). Fully supports [service
269
269
  # account authentication](https://developers.google.com/chat/api/guides/auth/
270
270
  # service-accounts) and [user authentication](https://developers.google.com/chat/
271
- # api/guides/auth/users). [User authentication](https://developers.google.com/
272
- # chat/api/guides/auth/users).
271
+ # api/guides/auth/users).
273
272
  # @param [String] name
274
273
  # Required. Resource name of the space, in the form "spaces/*". Format: `spaces/`
275
274
  # space``
@@ -573,8 +572,7 @@ module Google
573
572
  # authentication](https://developers.google.com/chat/api/guides/auth). Fully
574
573
  # supports [service account authentication](https://developers.google.com/chat/
575
574
  # api/guides/auth/service-accounts) and [user authentication](https://developers.
576
- # google.com/chat/api/guides/auth/users). [User authentication](https://
577
- # developers.google.com/chat/api/guides/auth/users).
575
+ # google.com/chat/api/guides/auth/users).
578
576
  # @param [String] name
579
577
  # Required. Resource name of the membership to retrieve. To get the app's own
580
578
  # membership, you can optionally use `spaces/`space`/members/app`. Format: `
@@ -620,8 +618,7 @@ module Google
620
618
  # Requires [authentication](https://developers.google.com/chat/api/guides/auth).
621
619
  # Fully supports [service account authentication](https://developers.google.com/
622
620
  # chat/api/guides/auth/service-accounts) and [user authentication](https://
623
- # developers.google.com/chat/api/guides/auth/users). [User authentication](https:
624
- # //developers.google.com/chat/api/guides/auth/users).
621
+ # developers.google.com/chat/api/guides/auth/users).
625
622
  # @param [String] parent
626
623
  # Required. The resource name of the space for which to fetch a membership list.
627
624
  # Format: spaces/`space`
@@ -761,9 +758,8 @@ module Google
761
758
  # https://developers.google.com/chat/api/guides/auth). Fully supports [service
762
759
  # account authentication](https://developers.google.com/chat/api/guides/auth/
763
760
  # service-accounts) and [user authentication](https://developers.google.com/chat/
764
- # api/guides/auth/users). [User authentication](https://developers.google.com/
765
- # chat/api/guides/auth/users). Requests authenticated with service accounts can
766
- # only delete messages created by the calling Chat app.
761
+ # api/guides/auth/users). Requests authenticated with service accounts can only
762
+ # delete messages created by the calling Chat app.
767
763
  # @param [String] name
768
764
  # Required. Resource name of the message that you want to delete, in the form `
769
765
  # spaces/*/messages/*` Example: `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.
@@ -807,9 +803,8 @@ module Google
807
803
  # authentication](https://developers.google.com/chat/api/guides/auth). Fully
808
804
  # supports [service account authentication](https://developers.google.com/chat/
809
805
  # api/guides/auth/service-accounts) and [user authentication](https://developers.
810
- # google.com/chat/api/guides/auth/users). [User authentication](https://
811
- # developers.google.com/chat/api/guides/auth/users). Note: Might return a
812
- # message from a blocked member or space.
806
+ # google.com/chat/api/guides/auth/users). Note: Might return a message from a
807
+ # blocked member or space.
813
808
  # @param [String] name
814
809
  # Required. Resource name of the message to retrieve. Format: `spaces/`space`/
815
810
  # messages/`message`` If the message begins with `client-`, then it has a custom
@@ -927,8 +922,7 @@ module Google
927
922
  # messages/update). Requires [authentication](https://developers.google.com/chat/
928
923
  # api/guides/auth). Fully supports [service account authentication](https://
929
924
  # developers.google.com/chat/api/guides/auth/service-accounts) and [user
930
- # authentication](https://developers.google.com/chat/api/guides/auth/users). [
931
- # User authentication](https://developers.google.com/chat/api/guides/auth/users).
925
+ # authentication](https://developers.google.com/chat/api/guides/auth/users).
932
926
  # Requests authenticated with service accounts can only update messages created
933
927
  # by the calling Chat app.
934
928
  # @param [String] name
@@ -984,8 +978,7 @@ module Google
984
978
  # messages/update). Requires [authentication](https://developers.google.com/chat/
985
979
  # api/guides/auth). Fully supports [service account authentication](https://
986
980
  # developers.google.com/chat/api/guides/auth/service-accounts) and [user
987
- # authentication](https://developers.google.com/chat/api/guides/auth/users). [
988
- # User authentication](https://developers.google.com/chat/api/guides/auth/users).
981
+ # authentication](https://developers.google.com/chat/api/guides/auth/users).
989
982
  # Requests authenticated with service accounts can only update messages created
990
983
  # by the calling Chat app.
991
984
  # @param [String] name
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.72.0
4
+ version: 0.74.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-09-24 00:00:00.000000000 Z
11
+ date: 2023-10-29 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.72.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.74.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: []