google-apis-chat_v1 0.71.0 → 0.73.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: ce621095e264dc798a09e6a341c48058e3571ee26c704d05862d230118f49efa
4
- data.tar.gz: 80ca270f821d484631f1045f6b3c98a3aa53366c749a680b9af2c7148184029b
3
+ metadata.gz: aa0843ac250895ee1a370b0240750f394315975e124a2341f09d80b3505ac96c
4
+ data.tar.gz: 02ec41e987699215ba50b22c399cd61b04e013f3df621c779c5fa478482f64a2
5
5
  SHA512:
6
- metadata.gz: 472717af0f1da43a4ccdc086d2672c1162348d9d60e2931cdc68df254b79cd3acaf0e299f34e056d2aa64c44b6daaaf3fb451f109e0dc3b812b874e11f4c7afd
7
- data.tar.gz: aec09b6ecbcc2d7344a3c54f1aba3fc939799bc9683b75761528ffad57f153f7fa55c68dd602eba9dd49f0fe02b98b172572b524686b71b196b55b5e3cd8bbc0
6
+ metadata.gz: c7e7989a5783bb4291994662b3ff726a796abaa039e41f78cedf2d477e1ee03e0484b86d7418f1c7e7e9f3fa346f8e6bc2fd243a085cd4cd9809d3bfb8e99c09
7
+ data.tar.gz: 37364a259bd2e14eef33250bf5822c054ad8589494f4b4179fff39b9348349999043a12e02a312625efd440a1d861e488fab67d5cb631f1c217fbd179a8e0edb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-chat_v1
2
2
 
3
+ ### v0.73.0 (2023-10-01)
4
+
5
+ * Regenerated from discovery document revision 20230926
6
+
7
+ ### v0.72.0 (2023-09-24)
8
+
9
+ * Regenerated from discovery document revision 20230914
10
+
3
11
  ### v0.71.0 (2023-09-10)
4
12
 
5
13
  * Regenerated from discovery document revision 20230905
@@ -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
 
@@ -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
@@ -2251,9 +2245,9 @@ module Google
2251
2245
 
2252
2246
  # Text that appears at the top of a section. Supports simple HTML formatted text.
2253
2247
  # 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).
2248
+ # Chat apps](https://developers.google.com/chat/format-messages#card-formatting)
2249
+ # and [Formatting text in Google Workspace Add-ons](https://developers.google.
2250
+ # com/apps-script/add-ons/concepts/widgets#text_formatting).
2257
2251
  # Corresponds to the JSON property `header`
2258
2252
  # @return [String]
2259
2253
  attr_accessor :header
@@ -2599,6 +2593,13 @@ module Google
2599
2593
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Action]
2600
2594
  attr_accessor :on_change_action
2601
2595
 
2596
+ # Text that appears in the text input field when the field is empty. Use this
2597
+ # text to prompt users to enter a value. For example, `Enter a number from 0 to
2598
+ # 100`. Supported by Google Chat apps, but not Google Workspace Add-ons.
2599
+ # Corresponds to the JSON property `placeholderText`
2600
+ # @return [String]
2601
+ attr_accessor :placeholder_text
2602
+
2602
2603
  # How a text input field appears in the user interface. For example, whether the
2603
2604
  # field is single or multi-line.
2604
2605
  # Corresponds to the JSON property `type`
@@ -2624,6 +2625,7 @@ module Google
2624
2625
  @label = args[:label] if args.key?(:label)
2625
2626
  @name = args[:name] if args.key?(:name)
2626
2627
  @on_change_action = args[:on_change_action] if args.key?(:on_change_action)
2628
+ @placeholder_text = args[:placeholder_text] if args.key?(:placeholder_text)
2627
2629
  @type = args[:type] if args.key?(:type)
2628
2630
  @value = args[:value] if args.key?(:value)
2629
2631
  end
@@ -2632,10 +2634,9 @@ module Google
2632
2634
  # A paragraph of text that supports formatting. For an example in Google Chat
2633
2635
  # apps, see [Text paragraph](https://developers.google.com/chat/ui/widgets/text-
2634
2636
  # paragraph). For more information about formatting text, see [Formatting text
2635
- # in Google Chat apps](https://developers.google.com/chat/api/guides/message-
2636
- # formats/cards##card-formatting) and [Formatting text in Google Workspace Add-
2637
- # ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#
2638
- # text_formatting).
2637
+ # in Google Chat apps](https://developers.google.com/chat/format-messages#card-
2638
+ # formatting) and [Formatting text in Google Workspace Add-ons](https://
2639
+ # developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).
2639
2640
  class GoogleAppsCardV1TextParagraph
2640
2641
  include Google::Apis::Core::Hashable
2641
2642
 
@@ -2765,10 +2766,9 @@ module Google
2765
2766
  # A paragraph of text that supports formatting. For an example in Google Chat
2766
2767
  # apps, see [Text paragraph](https://developers.google.com/chat/ui/widgets/text-
2767
2768
  # paragraph). For more information about formatting text, see [Formatting text
2768
- # in Google Chat apps](https://developers.google.com/chat/api/guides/message-
2769
- # formats/cards##card-formatting) and [Formatting text in Google Workspace Add-
2770
- # ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#
2771
- # text_formatting).
2769
+ # in Google Chat apps](https://developers.google.com/chat/format-messages#card-
2770
+ # formatting) and [Formatting text in Google Workspace Add-ons](https://
2771
+ # developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).
2772
2772
  # Corresponds to the JSON property `textParagraph`
2773
2773
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph]
2774
2774
  attr_accessor :text_paragraph
@@ -2853,10 +2853,9 @@ module Google
2853
2853
  # A paragraph of text that supports formatting. For an example in Google Chat
2854
2854
  # apps, see [Text paragraph](https://developers.google.com/chat/ui/widgets/text-
2855
2855
  # paragraph). For more information about formatting text, see [Formatting text
2856
- # in Google Chat apps](https://developers.google.com/chat/api/guides/message-
2857
- # formats/cards##card-formatting) and [Formatting text in Google Workspace Add-
2858
- # ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#
2859
- # text_formatting).
2856
+ # in Google Chat apps](https://developers.google.com/chat/format-messages#card-
2857
+ # formatting) and [Formatting text in Google Workspace Add-ons](https://
2858
+ # developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).
2860
2859
  # Corresponds to the JSON property `textParagraph`
2861
2860
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph]
2862
2861
  attr_accessor :text_paragraph
@@ -3021,9 +3020,9 @@ module Google
3021
3020
 
3022
3021
  # The text of the bottom label. Formatted text supported. For more information
3023
3022
  # about formatting text, see [Formatting text in Google Chat apps](https://
3024
- # developers.google.com/chat/api/guides/message-formats/cards#
3025
- # card_text_formatting) and [Formatting text in Google Workspace Add-ons](https:/
3026
- # /developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).
3023
+ # developers.google.com/chat/format-messages#card-formatting) and [Formatting
3024
+ # text in Google Workspace Add-ons](https://developers.google.com/apps-script/
3025
+ # add-ons/concepts/widgets#text_formatting).
3027
3026
  # Corresponds to the JSON property `bottomLabel`
3028
3027
  # @return [String]
3029
3028
  attr_accessor :bottom_label
@@ -3035,9 +3034,9 @@ module Google
3035
3034
 
3036
3035
  # The text of the content. Formatted text supported and always required. For
3037
3036
  # more information about formatting text, see [Formatting text in Google Chat
3038
- # apps](https://developers.google.com/chat/api/guides/message-formats/cards#
3039
- # card_text_formatting) and [Formatting text in Google Workspace Add-ons](https:/
3040
- # /developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).
3037
+ # apps](https://developers.google.com/chat/format-messages#card-formatting) and [
3038
+ # Formatting text in Google Workspace Add-ons](https://developers.google.com/
3039
+ # apps-script/add-ons/concepts/widgets#text_formatting).
3041
3040
  # Corresponds to the JSON property `content`
3042
3041
  # @return [String]
3043
3042
  attr_accessor :content
@@ -3066,9 +3065,9 @@ module Google
3066
3065
 
3067
3066
  # The text of the top label. Formatted text supported. For more information
3068
3067
  # about formatting text, see [Formatting text in Google Chat apps](https://
3069
- # developers.google.com/chat/api/guides/message-formats/cards#
3070
- # card_text_formatting) and [Formatting text in Google Workspace Add-ons](https:/
3071
- # /developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).
3068
+ # developers.google.com/chat/format-messages#card-formatting) and [Formatting
3069
+ # text in Google Workspace Add-ons](https://developers.google.com/apps-script/
3070
+ # add-ons/concepts/widgets#text_formatting).
3072
3071
  # Corresponds to the JSON property `topLabel`
3073
3072
  # @return [String]
3074
3073
  attr_accessor :top_label
@@ -3259,8 +3258,9 @@ module Google
3259
3258
  # @return [String]
3260
3259
  attr_accessor :name
3261
3260
 
3262
- # Output only. User's role within a Chat space, which determines their permitted
3263
- # actions in the space.
3261
+ # Optional. User's role within a Chat space, which determines their permitted
3262
+ # actions in the space. [Developer Preview](https://developers.google.com/
3263
+ # workspace/preview): This field can only be used as input in `UpdateMembership`.
3264
3264
  # Corresponds to the JSON property `role`
3265
3265
  # @return [String]
3266
3266
  attr_accessor :role
@@ -3380,6 +3380,22 @@ module Google
3380
3380
  # @return [String]
3381
3381
  attr_accessor :fallback_text
3382
3382
 
3383
+ # Output only. Contains the message `text` with markups added to communicate
3384
+ # formatting. This field might not capture all formatting visible in the UI, but
3385
+ # includes the following: * [Markup syntax](https://developers.google.com/chat/
3386
+ # format-messages) for bold, italic, strikethrough, monospace, and monospace
3387
+ # block. * [User mentions](https://developers.google.com/chat/format-messages#
3388
+ # messages-@mention) using the format ``. * Custom hyperlinks using the format `<
3389
+ # `url`|`rendered_text`>` where the first string is the URL and the second is
3390
+ # the rendered text—for example, ``. * Custom emoji using the format `:`
3391
+ # emoji_name`:`—for example, `:smile:`. This doesn't apply to Unicode emoji,
3392
+ # such as `U+1F600` for a grinning face emoji. For more information, see [View
3393
+ # text formatting sent in a message](https://developers.google.com/chat/format-
3394
+ # messages#view_text_formatting_sent_in_a_message)
3395
+ # Corresponds to the JSON property `formattedText`
3396
+ # @return [String]
3397
+ attr_accessor :formatted_text
3398
+
3383
3399
  # Output only. The time at which the message was last edited by a user. If the
3384
3400
  # message has never been edited, this field is empty.
3385
3401
  # Corresponds to the JSON property `lastUpdateTime`
@@ -3427,9 +3443,9 @@ module Google
3427
3443
  # Plain-text body of the message. The first link to an image, video, or web page
3428
3444
  # generates a [preview chip](https://developers.google.com/chat/how-tos/preview-
3429
3445
  # links). You can also [@mention a Google Chat user](https://developers.google.
3430
- # com/chat/api/guides/message-formats/text#messages-@mention), or everyone in
3431
- # the space. To learn about creating text messages, see [Create a text message](
3432
- # https://developers.google.com/chat/api/guides/message-formats/text).
3446
+ # com/chat/format-messages#messages-@mention), or everyone in the space. To
3447
+ # learn about creating text messages, see [Send a text message](https://
3448
+ # developers.google.com/chat/api/guides/v1/messages/create#create-text-messages).
3433
3449
  # Corresponds to the JSON property `text`
3434
3450
  # @return [String]
3435
3451
  attr_accessor :text
@@ -3472,6 +3488,7 @@ module Google
3472
3488
  @deletion_metadata = args[:deletion_metadata] if args.key?(:deletion_metadata)
3473
3489
  @emoji_reaction_summaries = args[:emoji_reaction_summaries] if args.key?(:emoji_reaction_summaries)
3474
3490
  @fallback_text = args[:fallback_text] if args.key?(:fallback_text)
3491
+ @formatted_text = args[:formatted_text] if args.key?(:formatted_text)
3475
3492
  @last_update_time = args[:last_update_time] if args.key?(:last_update_time)
3476
3493
  @matched_url = args[:matched_url] if args.key?(:matched_url)
3477
3494
  @name = args[:name] if args.key?(:name)
@@ -3601,9 +3618,9 @@ module Google
3601
3618
 
3602
3619
  # The header of the section. Formatted text is supported. For more information
3603
3620
  # about formatting text, see [Formatting text in Google Chat apps](https://
3604
- # developers.google.com/chat/api/guides/message-formats/cards#
3605
- # card_text_formatting) and [Formatting text in Google Workspace Add-ons](https:/
3606
- # /developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).
3621
+ # developers.google.com/chat/format-messages#card-formatting) and [Formatting
3622
+ # text in Google Workspace Add-ons](https://developers.google.com/apps-script/
3623
+ # add-ons/concepts/widgets#text_formatting).
3607
3624
  # Corresponds to the JSON property `header`
3608
3625
  # @return [String]
3609
3626
  attr_accessor :header
@@ -3767,9 +3784,12 @@ module Google
3767
3784
  attr_accessor :display_name
3768
3785
 
3769
3786
  # Immutable. Whether this space permits any Google Chat user as a member. Input
3770
- # when creating a space in a Google Workspace organization. For Google Chat
3771
- # users that use a Google Account, omit this field when creating a space (By
3772
- # default, the space permits any Google Chat user). For existing spaces, this
3787
+ # when creating a space in a Google Workspace organization. Omit this field when
3788
+ # creating spaces in the following conditions: * The authenticated user uses a
3789
+ # Google Account. By default, the space permits any Google Chat user. * The
3790
+ # space is used to [import data to Google Chat] (https://developers.google.com/
3791
+ # chat/api/guides/import-data-overview). Import mode spaces must only permit
3792
+ # members from the same Google Workspace organization. For existing spaces, this
3773
3793
  # field is output only.
3774
3794
  # Corresponds to the JSON property `externalUserAllowed`
3775
3795
  # @return [Boolean]
@@ -3978,9 +3998,9 @@ module Google
3978
3998
 
3979
3999
  # A paragraph of text. Formatted text supported. For more information about
3980
4000
  # formatting text, see [Formatting text in Google Chat apps](https://developers.
3981
- # google.com/chat/api/guides/message-formats/cards#card_text_formatting) and [
3982
- # Formatting text in Google Workspace Add-ons](https://developers.google.com/
3983
- # apps-script/add-ons/concepts/widgets#text_formatting).
4001
+ # google.com/chat/format-messages#card-formatting) and [Formatting text in
4002
+ # Google Workspace Add-ons](https://developers.google.com/apps-script/add-ons/
4003
+ # concepts/widgets#text_formatting).
3984
4004
  class TextParagraph
3985
4005
  include Google::Apis::Core::Hashable
3986
4006
 
@@ -4159,7 +4179,12 @@ module Google
4159
4179
  # Person `resource_name` is `people/`person_id``. For example, `users/123456789`
4160
4180
  # in Chat API represents the same person as `people/123456789` in People API. -
4161
4181
  # the `id` for a [user](https://developers.google.com/admin-sdk/directory/
4162
- # reference/rest/v1/users) in the Admin SDK Directory API.
4182
+ # reference/rest/v1/users) in the Admin SDK Directory API. - the user's email
4183
+ # address can be used as an alias for ``user`` in API requests. For example, if
4184
+ # the People API Person `resourceName` for `user@example.com` is `people/
4185
+ # 123456789`, you can use `users/user@example.com` as an alias to reference `
4186
+ # users/123456789`. Only the canonical resource name (for example `users/
4187
+ # 123456789`) will be returned from the API.
4163
4188
  # Corresponds to the JSON property `name`
4164
4189
  # @return [String]
4165
4190
  attr_accessor :name
@@ -4234,9 +4259,9 @@ module Google
4234
4259
 
4235
4260
  # A paragraph of text. Formatted text supported. For more information about
4236
4261
  # formatting text, see [Formatting text in Google Chat apps](https://developers.
4237
- # google.com/chat/api/guides/message-formats/cards#card_text_formatting) and [
4238
- # Formatting text in Google Workspace Add-ons](https://developers.google.com/
4239
- # apps-script/add-ons/concepts/widgets#text_formatting).
4262
+ # google.com/chat/format-messages#card-formatting) and [Formatting text in
4263
+ # Google Workspace Add-ons](https://developers.google.com/apps-script/add-ons/
4264
+ # concepts/widgets#text_formatting).
4240
4265
  # Corresponds to the JSON property `textParagraph`
4241
4266
  # @return [Google::Apis::ChatV1::TextParagraph]
4242
4267
  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.71.0"
19
+ GEM_VERSION = "0.73.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 = "20230905"
25
+ REVISION = "20230926"
26
26
  end
27
27
  end
28
28
  end
@@ -1219,6 +1219,7 @@ module Google
1219
1219
  property :name, as: 'name'
1220
1220
  property :on_change_action, as: 'onChangeAction', class: Google::Apis::ChatV1::GoogleAppsCardV1Action, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Action::Representation
1221
1221
 
1222
+ property :placeholder_text, as: 'placeholderText'
1222
1223
  property :type, as: 'type'
1223
1224
  property :value, as: 'value'
1224
1225
  end
@@ -1423,6 +1424,7 @@ module Google
1423
1424
  collection :emoji_reaction_summaries, as: 'emojiReactionSummaries', class: Google::Apis::ChatV1::EmojiReactionSummary, decorator: Google::Apis::ChatV1::EmojiReactionSummary::Representation
1424
1425
 
1425
1426
  property :fallback_text, as: 'fallbackText'
1427
+ property :formatted_text, as: 'formattedText'
1426
1428
  property :last_update_time, as: 'lastUpdateTime'
1427
1429
  property :matched_url, as: 'matchedUrl', class: Google::Apis::ChatV1::MatchedUrl, decorator: Google::Apis::ChatV1::MatchedUrl::Representation
1428
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``
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.71.0
4
+ version: 0.73.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-10 00:00:00.000000000 Z
11
+ date: 2023-10-01 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.71.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.73.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: []