google-apis-chat_v1 0.115.0 → 0.116.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -73,7 +73,7 @@ module Google
73
73
 
74
74
  # A list of buttons layed out horizontally. For an example in Google Chat apps,
75
75
  # see [Add a button](https://developers.google.com/workspace/chat/design-
76
- # interactive-card-dialog#add_a_button). [Google Workspace Add-ons and Chat apps]
76
+ # interactive-card-dialog#add_a_button). [Google Workspace add-ons and Chat apps]
77
77
  # (https://developers.google.com/workspace/extend):
78
78
  # Corresponds to the JSON property `buttonList`
79
79
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1ButtonList]
@@ -195,6 +195,11 @@ module Google
195
195
  class Annotation
196
196
  include Google::Apis::Core::Hashable
197
197
 
198
+ # Annotation metadata for custom emoji.
199
+ # Corresponds to the JSON property `customEmojiMetadata`
200
+ # @return [Google::Apis::ChatV1::CustomEmojiMetadata]
201
+ attr_accessor :custom_emoji_metadata
202
+
198
203
  # Length of the substring in the plain-text message body this annotation
199
204
  # corresponds to.
200
205
  # Corresponds to the JSON property `length`
@@ -233,6 +238,7 @@ module Google
233
238
 
234
239
  # Update properties of this object
235
240
  def update!(**args)
241
+ @custom_emoji_metadata = args[:custom_emoji_metadata] if args.key?(:custom_emoji_metadata)
236
242
  @length = args[:length] if args.key?(:length)
237
243
  @rich_link_metadata = args[:rich_link_metadata] if args.key?(:rich_link_metadata)
238
244
  @slash_command = args[:slash_command] if args.key?(:slash_command)
@@ -242,6 +248,32 @@ module Google
242
248
  end
243
249
  end
244
250
 
251
+ # Metadata about a [Chat app command](https://developers.google.com/workspace/
252
+ # chat/commands).
253
+ class AppCommandMetadata
254
+ include Google::Apis::Core::Hashable
255
+
256
+ # The ID for the command specified in the Chat API configuration.
257
+ # Corresponds to the JSON property `appCommandId`
258
+ # @return [Fixnum]
259
+ attr_accessor :app_command_id
260
+
261
+ # The type of Chat app command.
262
+ # Corresponds to the JSON property `appCommandType`
263
+ # @return [String]
264
+ attr_accessor :app_command_type
265
+
266
+ def initialize(**args)
267
+ update!(**args)
268
+ end
269
+
270
+ # Update properties of this object
271
+ def update!(**args)
272
+ @app_command_id = args[:app_command_id] if args.key?(:app_command_id)
273
+ @app_command_type = args[:app_command_type] if args.key?(:app_command_type)
274
+ end
275
+ end
276
+
245
277
  # A GIF image that's specified by a URL.
246
278
  class AttachedGif
247
279
  include Google::Apis::Core::Hashable
@@ -491,18 +523,18 @@ module Google
491
523
  class CardWithId
492
524
  include Google::Apis::Core::Hashable
493
525
 
494
- # A card interface displayed in a Google Chat message or Google Workspace Add-on.
526
+ # A card interface displayed in a Google Chat message or Google Workspace add-on.
495
527
  # Cards support a defined layout, interactive UI elements like buttons, and
496
528
  # rich media like images. Use cards to present detailed information, gather
497
529
  # information from users, and guide users to take a next step. [Card builder](
498
530
  # https://addons.gsuite.google.com/uikit/builder) To learn how to build cards,
499
531
  # see the following documentation: * For Google Chat apps, see [Design the
500
532
  # components of a card or dialog](https://developers.google.com/workspace/chat/
501
- # design-components-card-dialog). * For Google Workspace Add-ons, see [Card-
533
+ # design-components-card-dialog). * For Google Workspace add-ons, see [Card-
502
534
  # based interfaces](https://developers.google.com/apps-script/add-ons/concepts/
503
535
  # cards). Note: You can add up to 100 widgets per card. Any widgets beyond this
504
536
  # limit are ignored. This limit applies to both card messages and dialogs in
505
- # Google Chat apps, and to cards in Google Workspace Add-ons. **Example: Card
537
+ # Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card
506
538
  # message for a Google Chat app** ![Example contact card](https://developers.
507
539
  # google.com/workspace/chat/images/card_api_reference.png) To create the sample
508
540
  # card message in Google Chat, use the following JSON: ``` ` "cardsV2": [ ` "
@@ -846,6 +878,25 @@ module Google
846
878
  end
847
879
  end
848
880
 
881
+ # Annotation metadata for custom emoji.
882
+ class CustomEmojiMetadata
883
+ include Google::Apis::Core::Hashable
884
+
885
+ # Represents a custom emoji.
886
+ # Corresponds to the JSON property `customEmoji`
887
+ # @return [Google::Apis::ChatV1::CustomEmoji]
888
+ attr_accessor :custom_emoji
889
+
890
+ def initialize(**args)
891
+ update!(**args)
892
+ end
893
+
894
+ # Update properties of this object
895
+ def update!(**args)
896
+ @custom_emoji = args[:custom_emoji] if args.key?(:custom_emoji)
897
+ end
898
+ end
899
+
849
900
  # Date input values.
850
901
  class DateInput
851
902
  include Google::Apis::Core::Hashable
@@ -935,6 +986,12 @@ module Google
935
986
  # @return [Google::Apis::ChatV1::FormAction]
936
987
  attr_accessor :action
937
988
 
989
+ # Metadata about a [Chat app command](https://developers.google.com/workspace/
990
+ # chat/commands).
991
+ # Corresponds to the JSON property `appCommandMetadata`
992
+ # @return [Google::Apis::ChatV1::AppCommandMetadata]
993
+ attr_accessor :app_command_metadata
994
+
938
995
  # Represents information about the user's client, such as locale, host app, and
939
996
  # platform. For Chat apps, `CommonEventObject` includes data submitted by users
940
997
  # interacting with cards, like data entered in [dialogs](https://developers.
@@ -943,11 +1000,12 @@ module Google
943
1000
  # @return [Google::Apis::ChatV1::CommonEventObject]
944
1001
  attr_accessor :common
945
1002
 
946
- # For `MESSAGE` interaction events, the URL that users must be redirected to
947
- # after they complete an authorization or configuration flow outside of Google
948
- # Chat. For more information, see [Connect a Chat app with other services and
949
- # tools](https://developers.google.com/workspace/chat/connect-web-services-tools)
950
- # .
1003
+ # This URL is populated for `MESSAGE`, `ADDED_TO_SPACE`, and `APP_COMMAND`
1004
+ # interaction events. After completing an authorization or configuration flow
1005
+ # outside of Google Chat, users must be redirected to this URL to signal to
1006
+ # Google Chat that the authorization or configuration flow was successful. For
1007
+ # more information, see [Connect a Chat app with other services and tools](https:
1008
+ # //developers.google.com/workspace/chat/connect-web-services-tools).
951
1009
  # Corresponds to the JSON property `configCompleteRedirectUrl`
952
1010
  # @return [String]
953
1011
  attr_accessor :config_complete_redirect_url
@@ -982,6 +1040,16 @@ module Google
982
1040
  # @return [Google::Apis::ChatV1::Space]
983
1041
  attr_accessor :space
984
1042
 
1043
+ # A thread in a Google Chat space. For example usage, see [Start or reply to a
1044
+ # message thread](https://developers.google.com/workspace/chat/create-messages#
1045
+ # create-message-thread). If you specify a thread when creating a message, you
1046
+ # can set the [`messageReplyOption`](https://developers.google.com/workspace/
1047
+ # chat/api/reference/rest/v1/spaces.messages/create#messagereplyoption) field to
1048
+ # determine what happens if no matching thread is found.
1049
+ # Corresponds to the JSON property `thread`
1050
+ # @return [Google::Apis::ChatV1::Thread]
1051
+ attr_accessor :thread
1052
+
985
1053
  # The Chat app-defined key for the thread related to the interaction event. See [
986
1054
  # `spaces.messages.thread.threadKey`](/chat/api/reference/rest/v1/spaces.
987
1055
  # messages#Thread.FIELDS.thread_key) for more information.
@@ -1021,6 +1089,7 @@ module Google
1021
1089
  # Update properties of this object
1022
1090
  def update!(**args)
1023
1091
  @action = args[:action] if args.key?(:action)
1092
+ @app_command_metadata = args[:app_command_metadata] if args.key?(:app_command_metadata)
1024
1093
  @common = args[:common] if args.key?(:common)
1025
1094
  @config_complete_redirect_url = args[:config_complete_redirect_url] if args.key?(:config_complete_redirect_url)
1026
1095
  @dialog_event_type = args[:dialog_event_type] if args.key?(:dialog_event_type)
@@ -1028,6 +1097,7 @@ module Google
1028
1097
  @is_dialog_event = args[:is_dialog_event] if args.key?(:is_dialog_event)
1029
1098
  @message = args[:message] if args.key?(:message)
1030
1099
  @space = args[:space] if args.key?(:space)
1100
+ @thread = args[:thread] if args.key?(:thread)
1031
1101
  @thread_key = args[:thread_key] if args.key?(:thread_key)
1032
1102
  @token = args[:token] if args.key?(:token)
1033
1103
  @type = args[:type] if args.key?(:type)
@@ -1039,18 +1109,18 @@ module Google
1039
1109
  class Dialog
1040
1110
  include Google::Apis::Core::Hashable
1041
1111
 
1042
- # A card interface displayed in a Google Chat message or Google Workspace Add-on.
1112
+ # A card interface displayed in a Google Chat message or Google Workspace add-on.
1043
1113
  # Cards support a defined layout, interactive UI elements like buttons, and
1044
1114
  # rich media like images. Use cards to present detailed information, gather
1045
1115
  # information from users, and guide users to take a next step. [Card builder](
1046
1116
  # https://addons.gsuite.google.com/uikit/builder) To learn how to build cards,
1047
1117
  # see the following documentation: * For Google Chat apps, see [Design the
1048
1118
  # components of a card or dialog](https://developers.google.com/workspace/chat/
1049
- # design-components-card-dialog). * For Google Workspace Add-ons, see [Card-
1119
+ # design-components-card-dialog). * For Google Workspace add-ons, see [Card-
1050
1120
  # based interfaces](https://developers.google.com/apps-script/add-ons/concepts/
1051
1121
  # cards). Note: You can add up to 100 widgets per card. Any widgets beyond this
1052
1122
  # limit are ignored. This limit applies to both card messages and dialogs in
1053
- # Google Chat apps, and to cards in Google Workspace Add-ons. **Example: Card
1123
+ # Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card
1054
1124
  # message for a Google Chat app** ![Example contact card](https://developers.
1055
1125
  # google.com/workspace/chat/images/card_api_reference.png) To create the sample
1056
1126
  # card message in Google Chat, use the following JSON: ``` ` "cardsV2": [ ` "
@@ -1248,13 +1318,13 @@ module Google
1248
1318
 
1249
1319
  # An action that describes the behavior when the form is submitted. For example,
1250
1320
  # you can invoke an Apps Script script to handle the form. If the action is
1251
- # triggered, the form values are sent to the server. [Google Workspace Add-ons
1321
+ # triggered, the form values are sent to the server. [Google Workspace add-ons
1252
1322
  # and Chat apps](https://developers.google.com/workspace/extend):
1253
1323
  class GoogleAppsCardV1Action
1254
1324
  include Google::Apis::Core::Hashable
1255
1325
 
1256
1326
  # Optional. If this is true, then all widgets are considered required by this
1257
- # action. [Google Workspace Add-ons and Chat apps](https://developers.google.com/
1327
+ # action. [Google Workspace add-ons and Chat apps](https://developers.google.com/
1258
1328
  # workspace/extend):
1259
1329
  # Corresponds to the JSON property `allWidgetsAreRequired`
1260
1330
  # @return [Boolean]
@@ -1315,7 +1385,7 @@ module Google
1315
1385
 
1316
1386
  # Optional. Fill this list with the names of widgets that this Action needs for
1317
1387
  # a valid submission. If the widgets listed here don't have a value when this
1318
- # Action is invoked, the form submission is aborted. [Google Workspace Add-ons
1388
+ # Action is invoked, the form submission is aborted. [Google Workspace add-ons
1319
1389
  # and Chat apps](https://developers.google.com/workspace/extend):
1320
1390
  # Corresponds to the JSON property `requiredWidgets`
1321
1391
  # @return [Array<String>]
@@ -1342,7 +1412,7 @@ module Google
1342
1412
  # next week. You might use `action method = snooze()`, passing the snooze type
1343
1413
  # and snooze time in the list of string parameters. To learn more, see [`
1344
1414
  # CommonEventObject`](https://developers.google.com/workspace/chat/api/reference/
1345
- # rest/v1/Event#commoneventobject). [Google Workspace Add-ons and Chat apps](
1415
+ # rest/v1/Event#commoneventobject). [Google Workspace add-ons and Chat apps](
1346
1416
  # https://developers.google.com/workspace/extend):
1347
1417
  class GoogleAppsCardV1ActionParameter
1348
1418
  include Google::Apis::Core::Hashable
@@ -1369,7 +1439,7 @@ module Google
1369
1439
  end
1370
1440
 
1371
1441
  # The style options for the border of a card or widget, including the border
1372
- # type and color. [Google Workspace Add-ons and Chat apps](https://developers.
1442
+ # type and color. [Google Workspace add-ons and Chat apps](https://developers.
1373
1443
  # google.com/workspace/extend):
1374
1444
  class GoogleAppsCardV1BorderStyle
1375
1445
  include Google::Apis::Core::Hashable
@@ -1449,7 +1519,7 @@ module Google
1449
1519
  # Google Chat apps, see [Add a button](https://developers.google.com/workspace/
1450
1520
  # chat/design-interactive-card-dialog#add_a_button). To make an image a
1451
1521
  # clickable button, specify an `Image` (not an `ImageComponent`) and set an `
1452
- # onClick` action. [Google Workspace Add-ons and Chat apps](https://developers.
1522
+ # onClick` action. [Google Workspace add-ons and Chat apps](https://developers.
1453
1523
  # google.com/workspace/extend):
1454
1524
  class GoogleAppsCardV1Button
1455
1525
  include Google::Apis::Core::Hashable
@@ -1524,14 +1594,14 @@ module Google
1524
1594
  # card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/
1525
1595
  # workspace/chat/format-messages#builtinicons) and [custom](https://developers.
1526
1596
  # google.com/workspace/chat/format-messages#customicons) icons. [Google
1527
- # Workspace Add-ons and Chat apps](https://developers.google.com/workspace/
1597
+ # Workspace add-ons and Chat apps](https://developers.google.com/workspace/
1528
1598
  # extend):
1529
1599
  # Corresponds to the JSON property `icon`
1530
1600
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Icon]
1531
1601
  attr_accessor :icon
1532
1602
 
1533
1603
  # Represents how to respond when users click an interactive element on a card,
1534
- # such as a button. [Google Workspace Add-ons and Chat apps](https://developers.
1604
+ # such as a button. [Google Workspace add-ons and Chat apps](https://developers.
1535
1605
  # google.com/workspace/extend):
1536
1606
  # Corresponds to the JSON property `onClick`
1537
1607
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1OnClick]
@@ -1567,7 +1637,7 @@ module Google
1567
1637
 
1568
1638
  # A list of buttons layed out horizontally. For an example in Google Chat apps,
1569
1639
  # see [Add a button](https://developers.google.com/workspace/chat/design-
1570
- # interactive-card-dialog#add_a_button). [Google Workspace Add-ons and Chat apps]
1640
+ # interactive-card-dialog#add_a_button). [Google Workspace add-ons and Chat apps]
1571
1641
  # (https://developers.google.com/workspace/extend):
1572
1642
  class GoogleAppsCardV1ButtonList
1573
1643
  include Google::Apis::Core::Hashable
@@ -1587,18 +1657,18 @@ module Google
1587
1657
  end
1588
1658
  end
1589
1659
 
1590
- # A card interface displayed in a Google Chat message or Google Workspace Add-on.
1660
+ # A card interface displayed in a Google Chat message or Google Workspace add-on.
1591
1661
  # Cards support a defined layout, interactive UI elements like buttons, and
1592
1662
  # rich media like images. Use cards to present detailed information, gather
1593
1663
  # information from users, and guide users to take a next step. [Card builder](
1594
1664
  # https://addons.gsuite.google.com/uikit/builder) To learn how to build cards,
1595
1665
  # see the following documentation: * For Google Chat apps, see [Design the
1596
1666
  # components of a card or dialog](https://developers.google.com/workspace/chat/
1597
- # design-components-card-dialog). * For Google Workspace Add-ons, see [Card-
1667
+ # design-components-card-dialog). * For Google Workspace add-ons, see [Card-
1598
1668
  # based interfaces](https://developers.google.com/apps-script/add-ons/concepts/
1599
1669
  # cards). Note: You can add up to 100 widgets per card. Any widgets beyond this
1600
1670
  # limit are ignored. This limit applies to both card messages and dialogs in
1601
- # Google Chat apps, and to cards in Google Workspace Add-ons. **Example: Card
1671
+ # Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card
1602
1672
  # message for a Google Chat app** ![Example contact card](https://developers.
1603
1673
  # google.com/workspace/chat/images/card_api_reference.png) To create the sample
1604
1674
  # card message in Google Chat, use the following JSON: ``` ` "cardsV2": [ ` "
@@ -1618,7 +1688,7 @@ module Google
1618
1688
  include Google::Apis::Core::Hashable
1619
1689
 
1620
1690
  # The card's actions. Actions are added to the card's toolbar menu. [Google
1621
- # Workspace Add-ons](https://developers.google.com/workspace/add-ons): For
1691
+ # Workspace add-ons](https://developers.google.com/workspace/add-ons): For
1622
1692
  # example, the following JSON constructs a card action menu with `Settings` and `
1623
1693
  # Send Feedback` options: ``` "card_actions": [ ` "actionLabel": "Settings", "
1624
1694
  # onClick": ` "action": ` "functionName": "goToView", "parameters": [ ` "key": "
@@ -1629,8 +1699,8 @@ module Google
1629
1699
  # @return [Array<Google::Apis::ChatV1::GoogleAppsCardV1CardAction>]
1630
1700
  attr_accessor :card_actions
1631
1701
 
1632
- # In Google Workspace Add-ons, sets the display properties of the `
1633
- # peekCardHeader`. [Google Workspace Add-ons](https://developers.google.com/
1702
+ # In Google Workspace add-ons, sets the display properties of the `
1703
+ # peekCardHeader`. [Google Workspace add-ons](https://developers.google.com/
1634
1704
  # workspace/add-ons):
1635
1705
  # Corresponds to the JSON property `displayStyle`
1636
1706
  # @return [String]
@@ -1643,7 +1713,7 @@ module Google
1643
1713
  # messages](https://developers.google.com/workspace/chat/create-messages#create).
1644
1714
  # For an example in Google Chat apps, see [Add a persistent footer](https://
1645
1715
  # developers.google.com/workspace/chat/design-components-card-dialog#
1646
- # add_a_persistent_footer). [Google Workspace Add-ons and Chat apps](https://
1716
+ # add_a_persistent_footer). [Google Workspace add-ons and Chat apps](https://
1647
1717
  # developers.google.com/workspace/extend):
1648
1718
  # Corresponds to the JSON property `fixedFooter`
1649
1719
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1CardFixedFooter]
@@ -1651,21 +1721,21 @@ module Google
1651
1721
 
1652
1722
  # Represents a card header. For an example in Google Chat apps, see [Add a
1653
1723
  # header](https://developers.google.com/workspace/chat/design-components-card-
1654
- # dialog#add_a_header). [Google Workspace Add-ons and Chat apps](https://
1724
+ # dialog#add_a_header). [Google Workspace add-ons and Chat apps](https://
1655
1725
  # developers.google.com/workspace/extend):
1656
1726
  # Corresponds to the JSON property `header`
1657
1727
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1CardHeader]
1658
1728
  attr_accessor :header
1659
1729
 
1660
1730
  # Name of the card. Used as a card identifier in card navigation. [Google
1661
- # Workspace Add-ons](https://developers.google.com/workspace/add-ons):
1731
+ # Workspace add-ons](https://developers.google.com/workspace/add-ons):
1662
1732
  # Corresponds to the JSON property `name`
1663
1733
  # @return [String]
1664
1734
  attr_accessor :name
1665
1735
 
1666
1736
  # Represents a card header. For an example in Google Chat apps, see [Add a
1667
1737
  # header](https://developers.google.com/workspace/chat/design-components-card-
1668
- # dialog#add_a_header). [Google Workspace Add-ons and Chat apps](https://
1738
+ # dialog#add_a_header). [Google Workspace add-ons and Chat apps](https://
1669
1739
  # developers.google.com/workspace/extend):
1670
1740
  # Corresponds to the JSON property `peekCardHeader`
1671
1741
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1CardHeader]
@@ -1703,7 +1773,7 @@ module Google
1703
1773
 
1704
1774
  # A card action is the action associated with the card. For example, an invoice
1705
1775
  # card might include actions such as delete invoice, email invoice, or open the
1706
- # invoice in a browser. [Google Workspace Add-ons](https://developers.google.com/
1776
+ # invoice in a browser. [Google Workspace add-ons](https://developers.google.com/
1707
1777
  # workspace/add-ons):
1708
1778
  class GoogleAppsCardV1CardAction
1709
1779
  include Google::Apis::Core::Hashable
@@ -1714,7 +1784,7 @@ module Google
1714
1784
  attr_accessor :action_label
1715
1785
 
1716
1786
  # Represents how to respond when users click an interactive element on a card,
1717
- # such as a button. [Google Workspace Add-ons and Chat apps](https://developers.
1787
+ # such as a button. [Google Workspace add-ons and Chat apps](https://developers.
1718
1788
  # google.com/workspace/extend):
1719
1789
  # Corresponds to the JSON property `onClick`
1720
1790
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1OnClick]
@@ -1738,7 +1808,7 @@ module Google
1738
1808
  # messages](https://developers.google.com/workspace/chat/create-messages#create).
1739
1809
  # For an example in Google Chat apps, see [Add a persistent footer](https://
1740
1810
  # developers.google.com/workspace/chat/design-components-card-dialog#
1741
- # add_a_persistent_footer). [Google Workspace Add-ons and Chat apps](https://
1811
+ # add_a_persistent_footer). [Google Workspace add-ons and Chat apps](https://
1742
1812
  # developers.google.com/workspace/extend):
1743
1813
  class GoogleAppsCardV1CardFixedFooter
1744
1814
  include Google::Apis::Core::Hashable
@@ -1747,7 +1817,7 @@ module Google
1747
1817
  # Google Chat apps, see [Add a button](https://developers.google.com/workspace/
1748
1818
  # chat/design-interactive-card-dialog#add_a_button). To make an image a
1749
1819
  # clickable button, specify an `Image` (not an `ImageComponent`) and set an `
1750
- # onClick` action. [Google Workspace Add-ons and Chat apps](https://developers.
1820
+ # onClick` action. [Google Workspace add-ons and Chat apps](https://developers.
1751
1821
  # google.com/workspace/extend):
1752
1822
  # Corresponds to the JSON property `primaryButton`
1753
1823
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Button]
@@ -1757,7 +1827,7 @@ module Google
1757
1827
  # Google Chat apps, see [Add a button](https://developers.google.com/workspace/
1758
1828
  # chat/design-interactive-card-dialog#add_a_button). To make an image a
1759
1829
  # clickable button, specify an `Image` (not an `ImageComponent`) and set an `
1760
- # onClick` action. [Google Workspace Add-ons and Chat apps](https://developers.
1830
+ # onClick` action. [Google Workspace add-ons and Chat apps](https://developers.
1761
1831
  # google.com/workspace/extend):
1762
1832
  # Corresponds to the JSON property `secondaryButton`
1763
1833
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Button]
@@ -1776,7 +1846,7 @@ module Google
1776
1846
 
1777
1847
  # Represents a card header. For an example in Google Chat apps, see [Add a
1778
1848
  # header](https://developers.google.com/workspace/chat/design-components-card-
1779
- # dialog#add_a_header). [Google Workspace Add-ons and Chat apps](https://
1849
+ # dialog#add_a_header). [Google Workspace add-ons and Chat apps](https://
1780
1850
  # developers.google.com/workspace/extend):
1781
1851
  class GoogleAppsCardV1CardHeader
1782
1852
  include Google::Apis::Core::Hashable
@@ -1786,7 +1856,7 @@ module Google
1786
1856
  # @return [String]
1787
1857
  attr_accessor :image_alt_text
1788
1858
 
1789
- # The shape used to crop the image. [Google Workspace Add-ons and Chat apps](
1859
+ # The shape used to crop the image. [Google Workspace add-ons and Chat apps](
1790
1860
  # https://developers.google.com/workspace/extend):
1791
1861
  # Corresponds to the JSON property `imageType`
1792
1862
  # @return [String]
@@ -1881,7 +1951,7 @@ module Google
1881
1951
  end
1882
1952
 
1883
1953
  # A text, icon, or text and icon chip that users can click. [Google Workspace
1884
- # Add-ons and Chat apps](https://developers.google.com/workspace/extend):
1954
+ # add-ons and Chat apps](https://developers.google.com/workspace/extend):
1885
1955
  class GoogleAppsCardV1Chip
1886
1956
  include Google::Apis::Core::Hashable
1887
1957
 
@@ -1912,7 +1982,7 @@ module Google
1912
1982
  # card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/
1913
1983
  # workspace/chat/format-messages#builtinicons) and [custom](https://developers.
1914
1984
  # google.com/workspace/chat/format-messages#customicons) icons. [Google
1915
- # Workspace Add-ons and Chat apps](https://developers.google.com/workspace/
1985
+ # Workspace add-ons and Chat apps](https://developers.google.com/workspace/
1916
1986
  # extend):
1917
1987
  # Corresponds to the JSON property `icon`
1918
1988
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Icon]
@@ -1924,7 +1994,7 @@ module Google
1924
1994
  attr_accessor :label
1925
1995
 
1926
1996
  # Represents how to respond when users click an interactive element on a card,
1927
- # such as a button. [Google Workspace Add-ons and Chat apps](https://developers.
1997
+ # such as a button. [Google Workspace add-ons and Chat apps](https://developers.
1928
1998
  # google.com/workspace/extend):
1929
1999
  # Corresponds to the JSON property `onClick`
1930
2000
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1OnClick]
@@ -1946,7 +2016,7 @@ module Google
1946
2016
  end
1947
2017
 
1948
2018
  # A list of chips layed out horizontally, which can either scroll horizontally
1949
- # or wrap to the next line. [Google Workspace Add-ons and Chat apps](https://
2019
+ # or wrap to the next line. [Google Workspace add-ons and Chat apps](https://
1950
2020
  # developers.google.com/workspace/extend):
1951
2021
  class GoogleAppsCardV1ChipList
1952
2022
  include Google::Apis::Core::Hashable
@@ -1972,7 +2042,7 @@ module Google
1972
2042
  end
1973
2043
  end
1974
2044
 
1975
- # Represent an expand and collapse control. [Google Workspace Add-ons and Chat
2045
+ # Represent an expand and collapse control. [Google Workspace add-ons and Chat
1976
2046
  # apps](https://developers.google.com/workspace/extend):
1977
2047
  class GoogleAppsCardV1CollapseControl
1978
2048
  include Google::Apis::Core::Hashable
@@ -1981,7 +2051,7 @@ module Google
1981
2051
  # Google Chat apps, see [Add a button](https://developers.google.com/workspace/
1982
2052
  # chat/design-interactive-card-dialog#add_a_button). To make an image a
1983
2053
  # clickable button, specify an `Image` (not an `ImageComponent`) and set an `
1984
- # onClick` action. [Google Workspace Add-ons and Chat apps](https://developers.
2054
+ # onClick` action. [Google Workspace add-ons and Chat apps](https://developers.
1985
2055
  # google.com/workspace/extend):
1986
2056
  # Corresponds to the JSON property `collapseButton`
1987
2057
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Button]
@@ -1991,7 +2061,7 @@ module Google
1991
2061
  # Google Chat apps, see [Add a button](https://developers.google.com/workspace/
1992
2062
  # chat/design-interactive-card-dialog#add_a_button). To make an image a
1993
2063
  # clickable button, specify an `Image` (not an `ImageComponent`) and set an `
1994
- # onClick` action. [Google Workspace Add-ons and Chat apps](https://developers.
2064
+ # onClick` action. [Google Workspace add-ons and Chat apps](https://developers.
1995
2065
  # google.com/workspace/extend):
1996
2066
  # Corresponds to the JSON property `expandButton`
1997
2067
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Button]
@@ -2014,7 +2084,7 @@ module Google
2014
2084
  end
2015
2085
  end
2016
2086
 
2017
- # A column. [Google Workspace Add-ons and Chat apps](https://developers.google.
2087
+ # A column. [Google Workspace add-ons and Chat apps](https://developers.google.
2018
2088
  # com/workspace/extend)
2019
2089
  class GoogleAppsCardV1Column
2020
2090
  include Google::Apis::Core::Hashable
@@ -2069,7 +2139,7 @@ module Google
2069
2139
  # column wraps if the screen width is less than or equal to 300 pt. * On Android
2070
2140
  # devices, the second column wraps if the screen width is less than or equal to
2071
2141
  # 320 dp. To include more than two columns, or to use rows, use the `Grid`
2072
- # widget. [Google Workspace Add-ons and Chat apps](https://developers.google.com/
2142
+ # widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/
2073
2143
  # workspace/extend): The add-on UIs that support columns include: * The dialog
2074
2144
  # displayed when users open the add-on from an email draft. * The dialog
2075
2145
  # displayed when users open the add-on from the **Add attachment** menu in a
@@ -2100,7 +2170,7 @@ module Google
2100
2170
  # workspace/chat/design-interactive-card-dialog#let_a_user_pick_a_date_and_time).
2101
2171
  # Users can input text or use the picker to select dates and times. If users
2102
2172
  # input an invalid date or time, the picker shows an error that prompts users to
2103
- # input the information correctly. [Google Workspace Add-ons and Chat apps](
2173
+ # input the information correctly. [Google Workspace add-ons and Chat apps](
2104
2174
  # https://developers.google.com/workspace/extend):
2105
2175
  class GoogleAppsCardV1DateTimePicker
2106
2176
  include Google::Apis::Core::Hashable
@@ -2121,7 +2191,7 @@ module Google
2121
2191
 
2122
2192
  # An action that describes the behavior when the form is submitted. For example,
2123
2193
  # you can invoke an Apps Script script to handle the form. If the action is
2124
- # triggered, the form values are sent to the server. [Google Workspace Add-ons
2194
+ # triggered, the form values are sent to the server. [Google Workspace add-ons
2125
2195
  # and Chat apps](https://developers.google.com/workspace/extend):
2126
2196
  # Corresponds to the JSON property `onChangeAction`
2127
2197
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Action]
@@ -2170,7 +2240,7 @@ module Google
2170
2240
  # below the text, an icon in front of the text, a selection widget, or a button
2171
2241
  # after the text. For an example in Google Chat apps, see [Display text with
2172
2242
  # decorative text](https://developers.google.com/workspace/chat/add-text-image-
2173
- # card-dialog#display_text_with_decorative_elements). [Google Workspace Add-ons
2243
+ # card-dialog#display_text_with_decorative_elements). [Google Workspace add-ons
2174
2244
  # and Chat apps](https://developers.google.com/workspace/extend):
2175
2245
  class GoogleAppsCardV1DecoratedText
2176
2246
  include Google::Apis::Core::Hashable
@@ -2184,7 +2254,7 @@ module Google
2184
2254
  # Google Chat apps, see [Add a button](https://developers.google.com/workspace/
2185
2255
  # chat/design-interactive-card-dialog#add_a_button). To make an image a
2186
2256
  # clickable button, specify an `Image` (not an `ImageComponent`) and set an `
2187
- # onClick` action. [Google Workspace Add-ons and Chat apps](https://developers.
2257
+ # onClick` action. [Google Workspace add-ons and Chat apps](https://developers.
2188
2258
  # google.com/workspace/extend):
2189
2259
  # Corresponds to the JSON property `button`
2190
2260
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Button]
@@ -2195,7 +2265,7 @@ module Google
2195
2265
  # card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/
2196
2266
  # workspace/chat/format-messages#builtinicons) and [custom](https://developers.
2197
2267
  # google.com/workspace/chat/format-messages#customicons) icons. [Google
2198
- # Workspace Add-ons and Chat apps](https://developers.google.com/workspace/
2268
+ # Workspace add-ons and Chat apps](https://developers.google.com/workspace/
2199
2269
  # extend):
2200
2270
  # Corresponds to the JSON property `endIcon`
2201
2271
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Icon]
@@ -2206,14 +2276,14 @@ module Google
2206
2276
  # card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/
2207
2277
  # workspace/chat/format-messages#builtinicons) and [custom](https://developers.
2208
2278
  # google.com/workspace/chat/format-messages#customicons) icons. [Google
2209
- # Workspace Add-ons and Chat apps](https://developers.google.com/workspace/
2279
+ # Workspace add-ons and Chat apps](https://developers.google.com/workspace/
2210
2280
  # extend):
2211
2281
  # Corresponds to the JSON property `icon`
2212
2282
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Icon]
2213
2283
  attr_accessor :icon
2214
2284
 
2215
2285
  # Represents how to respond when users click an interactive element on a card,
2216
- # such as a button. [Google Workspace Add-ons and Chat apps](https://developers.
2286
+ # such as a button. [Google Workspace add-ons and Chat apps](https://developers.
2217
2287
  # google.com/workspace/extend):
2218
2288
  # Corresponds to the JSON property `onClick`
2219
2289
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1OnClick]
@@ -2224,14 +2294,14 @@ module Google
2224
2294
  # card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/
2225
2295
  # workspace/chat/format-messages#builtinicons) and [custom](https://developers.
2226
2296
  # google.com/workspace/chat/format-messages#customicons) icons. [Google
2227
- # Workspace Add-ons and Chat apps](https://developers.google.com/workspace/
2297
+ # Workspace add-ons and Chat apps](https://developers.google.com/workspace/
2228
2298
  # extend):
2229
2299
  # Corresponds to the JSON property `startIcon`
2230
2300
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Icon]
2231
2301
  attr_accessor :start_icon
2232
2302
 
2233
2303
  # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [
2234
- # Google Workspace Add-ons and Chat apps](https://developers.google.com/
2304
+ # Google Workspace add-ons and Chat apps](https://developers.google.com/
2235
2305
  # workspace/extend): Only supported in the `decoratedText` widget.
2236
2306
  # Corresponds to the JSON property `switchControl`
2237
2307
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1SwitchControl]
@@ -2240,7 +2310,7 @@ module Google
2240
2310
  # Required. The primary text. Supports simple formatting. For more information
2241
2311
  # about formatting text, see [Formatting text in Google Chat apps](https://
2242
2312
  # developers.google.com/workspace/chat/format-messages#card-formatting) and [
2243
- # Formatting text in Google Workspace Add-ons](https://developers.google.com/
2313
+ # Formatting text in Google Workspace add-ons](https://developers.google.com/
2244
2314
  # apps-script/add-ons/concepts/widgets#text_formatting).
2245
2315
  # Corresponds to the JSON property `text`
2246
2316
  # @return [String]
@@ -2281,7 +2351,7 @@ module Google
2281
2351
  # Displays a divider between widgets as a horizontal line. For an example in
2282
2352
  # Google Chat apps, see [Add a horizontal divider between widgets](https://
2283
2353
  # developers.google.com/workspace/chat/format-structure-card-dialog#
2284
- # add_a_horizontal_divider_between_widgets). [Google Workspace Add-ons and Chat
2354
+ # add_a_horizontal_divider_between_widgets). [Google Workspace add-ons and Chat
2285
2355
  # apps](https://developers.google.com/workspace/extend): For example, the
2286
2356
  # following JSON creates a divider: ``` "divider": `` ```
2287
2357
  class GoogleAppsCardV1Divider
@@ -2303,7 +2373,7 @@ module Google
2303
2373
  # structure-card-dialog#display_a_grid_with_a_collection_of_items). A grid
2304
2374
  # supports any number of columns and items. The number of rows is determined by
2305
2375
  # items divided by columns. A grid with 10 items and 2 columns has 5 rows. A
2306
- # grid with 11 items and 2 columns has 6 rows. [Google Workspace Add-ons and
2376
+ # grid with 11 items and 2 columns has 6 rows. [Google Workspace add-ons and
2307
2377
  # Chat apps](https://developers.google.com/workspace/extend): For example, the
2308
2378
  # following JSON creates a 2 column grid with a single item: ``` "grid": ` "
2309
2379
  # title": "A fine collection of items", "columnCount": 2, "borderStyle": ` "type"
@@ -2315,7 +2385,7 @@ module Google
2315
2385
  include Google::Apis::Core::Hashable
2316
2386
 
2317
2387
  # The style options for the border of a card or widget, including the border
2318
- # type and color. [Google Workspace Add-ons and Chat apps](https://developers.
2388
+ # type and color. [Google Workspace add-ons and Chat apps](https://developers.
2319
2389
  # google.com/workspace/extend):
2320
2390
  # Corresponds to the JSON property `borderStyle`
2321
2391
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1BorderStyle]
@@ -2334,7 +2404,7 @@ module Google
2334
2404
  attr_accessor :items
2335
2405
 
2336
2406
  # Represents how to respond when users click an interactive element on a card,
2337
- # such as a button. [Google Workspace Add-ons and Chat apps](https://developers.
2407
+ # such as a button. [Google Workspace add-ons and Chat apps](https://developers.
2338
2408
  # google.com/workspace/extend):
2339
2409
  # Corresponds to the JSON property `onClick`
2340
2410
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1OnClick]
@@ -2360,7 +2430,7 @@ module Google
2360
2430
  end
2361
2431
 
2362
2432
  # Represents an item in a grid layout. Items can contain text, an image, or both
2363
- # text and an image. [Google Workspace Add-ons and Chat apps](https://developers.
2433
+ # text and an image. [Google Workspace add-ons and Chat apps](https://developers.
2364
2434
  # google.com/workspace/extend):
2365
2435
  class GoogleAppsCardV1GridItem
2366
2436
  include Google::Apis::Core::Hashable
@@ -2371,7 +2441,7 @@ module Google
2371
2441
  # @return [String]
2372
2442
  attr_accessor :id
2373
2443
 
2374
- # Represents an image. [Google Workspace Add-ons and Chat apps](https://
2444
+ # Represents an image. [Google Workspace add-ons and Chat apps](https://
2375
2445
  # developers.google.com/workspace/extend):
2376
2446
  # Corresponds to the JSON property `image`
2377
2447
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1ImageComponent]
@@ -2411,7 +2481,7 @@ module Google
2411
2481
  # card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/
2412
2482
  # workspace/chat/format-messages#builtinicons) and [custom](https://developers.
2413
2483
  # google.com/workspace/chat/format-messages#customicons) icons. [Google
2414
- # Workspace Add-ons and Chat apps](https://developers.google.com/workspace/
2484
+ # Workspace add-ons and Chat apps](https://developers.google.com/workspace/
2415
2485
  # extend):
2416
2486
  class GoogleAppsCardV1Icon
2417
2487
  include Google::Apis::Core::Hashable
@@ -2475,7 +2545,7 @@ module Google
2475
2545
 
2476
2546
  # An image that is specified by a URL and can have an `onClick` action. For an
2477
2547
  # example, see [Add an image](https://developers.google.com/workspace/chat/add-
2478
- # text-image-card-dialog#add_an_image). [Google Workspace Add-ons and Chat apps](
2548
+ # text-image-card-dialog#add_an_image). [Google Workspace add-ons and Chat apps](
2479
2549
  # https://developers.google.com/workspace/extend):
2480
2550
  class GoogleAppsCardV1Image
2481
2551
  include Google::Apis::Core::Hashable
@@ -2492,7 +2562,7 @@ module Google
2492
2562
  attr_accessor :image_url
2493
2563
 
2494
2564
  # Represents how to respond when users click an interactive element on a card,
2495
- # such as a button. [Google Workspace Add-ons and Chat apps](https://developers.
2565
+ # such as a button. [Google Workspace add-ons and Chat apps](https://developers.
2496
2566
  # google.com/workspace/extend):
2497
2567
  # Corresponds to the JSON property `onClick`
2498
2568
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1OnClick]
@@ -2510,7 +2580,7 @@ module Google
2510
2580
  end
2511
2581
  end
2512
2582
 
2513
- # Represents an image. [Google Workspace Add-ons and Chat apps](https://
2583
+ # Represents an image. [Google Workspace add-ons and Chat apps](https://
2514
2584
  # developers.google.com/workspace/extend):
2515
2585
  class GoogleAppsCardV1ImageComponent
2516
2586
  include Google::Apis::Core::Hashable
@@ -2521,13 +2591,13 @@ module Google
2521
2591
  attr_accessor :alt_text
2522
2592
 
2523
2593
  # The style options for the border of a card or widget, including the border
2524
- # type and color. [Google Workspace Add-ons and Chat apps](https://developers.
2594
+ # type and color. [Google Workspace add-ons and Chat apps](https://developers.
2525
2595
  # google.com/workspace/extend):
2526
2596
  # Corresponds to the JSON property `borderStyle`
2527
2597
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1BorderStyle]
2528
2598
  attr_accessor :border_style
2529
2599
 
2530
- # Represents the crop style applied to an image. [Google Workspace Add-ons and
2600
+ # Represents the crop style applied to an image. [Google Workspace add-ons and
2531
2601
  # Chat apps](https://developers.google.com/workspace/extend): For example, here'
2532
2602
  # s how to apply a 16:9 aspect ratio: ``` cropStyle ` "type": "RECTANGLE_CUSTOM",
2533
2603
  # "aspectRatio": 16/9 ` ```
@@ -2553,7 +2623,7 @@ module Google
2553
2623
  end
2554
2624
  end
2555
2625
 
2556
- # Represents the crop style applied to an image. [Google Workspace Add-ons and
2626
+ # Represents the crop style applied to an image. [Google Workspace add-ons and
2557
2627
  # Chat apps](https://developers.google.com/workspace/extend): For example, here'
2558
2628
  # s how to apply a 16:9 aspect ratio: ``` cropStyle ` "type": "RECTANGLE_CUSTOM",
2559
2629
  # "aspectRatio": 16/9 ` ```
@@ -2647,7 +2717,7 @@ module Google
2647
2717
 
2648
2718
  # A list of buttons layed out horizontally. For an example in Google Chat apps,
2649
2719
  # see [Add a button](https://developers.google.com/workspace/chat/design-
2650
- # interactive-card-dialog#add_a_button). [Google Workspace Add-ons and Chat apps]
2720
+ # interactive-card-dialog#add_a_button). [Google Workspace add-ons and Chat apps]
2651
2721
  # (https://developers.google.com/workspace/extend):
2652
2722
  # Corresponds to the JSON property `buttonList`
2653
2723
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1ButtonList]
@@ -2655,7 +2725,7 @@ module Google
2655
2725
 
2656
2726
  # An image that is specified by a URL and can have an `onClick` action. For an
2657
2727
  # example, see [Add an image](https://developers.google.com/workspace/chat/add-
2658
- # text-image-card-dialog#add_an_image). [Google Workspace Add-ons and Chat apps](
2728
+ # text-image-card-dialog#add_an_image). [Google Workspace add-ons and Chat apps](
2659
2729
  # https://developers.google.com/workspace/extend):
2660
2730
  # Corresponds to the JSON property `image`
2661
2731
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Image]
@@ -2666,9 +2736,9 @@ module Google
2666
2736
  # workspace/chat/add-text-image-card-dialog#add_a_paragraph_of_formatted_text).
2667
2737
  # For more information about formatting text, see [Formatting text in Google
2668
2738
  # Chat apps](https://developers.google.com/workspace/chat/format-messages#card-
2669
- # formatting) and [Formatting text in Google Workspace Add-ons](https://
2739
+ # formatting) and [Formatting text in Google Workspace add-ons](https://
2670
2740
  # developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). [
2671
- # Google Workspace Add-ons and Chat apps](https://developers.google.com/
2741
+ # Google Workspace add-ons and Chat apps](https://developers.google.com/
2672
2742
  # workspace/extend):
2673
2743
  # Corresponds to the JSON property `textParagraph`
2674
2744
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph]
@@ -2687,31 +2757,31 @@ module Google
2687
2757
  end
2688
2758
 
2689
2759
  # Represents how to respond when users click an interactive element on a card,
2690
- # such as a button. [Google Workspace Add-ons and Chat apps](https://developers.
2760
+ # such as a button. [Google Workspace add-ons and Chat apps](https://developers.
2691
2761
  # google.com/workspace/extend):
2692
2762
  class GoogleAppsCardV1OnClick
2693
2763
  include Google::Apis::Core::Hashable
2694
2764
 
2695
2765
  # An action that describes the behavior when the form is submitted. For example,
2696
2766
  # you can invoke an Apps Script script to handle the form. If the action is
2697
- # triggered, the form values are sent to the server. [Google Workspace Add-ons
2767
+ # triggered, the form values are sent to the server. [Google Workspace add-ons
2698
2768
  # and Chat apps](https://developers.google.com/workspace/extend):
2699
2769
  # Corresponds to the JSON property `action`
2700
2770
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Action]
2701
2771
  attr_accessor :action
2702
2772
 
2703
- # A card interface displayed in a Google Chat message or Google Workspace Add-on.
2773
+ # A card interface displayed in a Google Chat message or Google Workspace add-on.
2704
2774
  # Cards support a defined layout, interactive UI elements like buttons, and
2705
2775
  # rich media like images. Use cards to present detailed information, gather
2706
2776
  # information from users, and guide users to take a next step. [Card builder](
2707
2777
  # https://addons.gsuite.google.com/uikit/builder) To learn how to build cards,
2708
2778
  # see the following documentation: * For Google Chat apps, see [Design the
2709
2779
  # components of a card or dialog](https://developers.google.com/workspace/chat/
2710
- # design-components-card-dialog). * For Google Workspace Add-ons, see [Card-
2780
+ # design-components-card-dialog). * For Google Workspace add-ons, see [Card-
2711
2781
  # based interfaces](https://developers.google.com/apps-script/add-ons/concepts/
2712
2782
  # cards). Note: You can add up to 100 widgets per card. Any widgets beyond this
2713
2783
  # limit are ignored. This limit applies to both card messages and dialogs in
2714
- # Google Chat apps, and to cards in Google Workspace Add-ons. **Example: Card
2784
+ # Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card
2715
2785
  # message for a Google Chat app** ![Example contact card](https://developers.
2716
2786
  # google.com/workspace/chat/images/card_api_reference.png) To create the sample
2717
2787
  # card message in Google Chat, use the following JSON: ``` ` "cardsV2": [ ` "
@@ -2733,13 +2803,13 @@ module Google
2733
2803
 
2734
2804
  # An action that describes the behavior when the form is submitted. For example,
2735
2805
  # you can invoke an Apps Script script to handle the form. If the action is
2736
- # triggered, the form values are sent to the server. [Google Workspace Add-ons
2806
+ # triggered, the form values are sent to the server. [Google Workspace add-ons
2737
2807
  # and Chat apps](https://developers.google.com/workspace/extend):
2738
2808
  # Corresponds to the JSON property `openDynamicLinkAction`
2739
2809
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Action]
2740
2810
  attr_accessor :open_dynamic_link_action
2741
2811
 
2742
- # Represents an `onClick` event that opens a hyperlink. [Google Workspace Add-
2812
+ # Represents an `onClick` event that opens a hyperlink. [Google Workspace add-
2743
2813
  # ons and Chat apps](https://developers.google.com/workspace/extend):
2744
2814
  # Corresponds to the JSON property `openLink`
2745
2815
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1OpenLink]
@@ -2749,7 +2819,7 @@ module Google
2749
2819
  # invoke. For example, showing non-primary actions in a card. You can use this
2750
2820
  # widget when actions don't fit in the available space. To use, specify this
2751
2821
  # widget in the `OnClick` action of widgets that support it. For example, in a `
2752
- # Button`. [Google Workspace Add-ons and Chat apps](https://developers.google.
2822
+ # Button`. [Google Workspace add-ons and Chat apps](https://developers.google.
2753
2823
  # com/workspace/extend):
2754
2824
  # Corresponds to the JSON property `overflowMenu`
2755
2825
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1OverflowMenu]
@@ -2769,19 +2839,19 @@ module Google
2769
2839
  end
2770
2840
  end
2771
2841
 
2772
- # Represents an `onClick` event that opens a hyperlink. [Google Workspace Add-
2842
+ # Represents an `onClick` event that opens a hyperlink. [Google Workspace add-
2773
2843
  # ons and Chat apps](https://developers.google.com/workspace/extend):
2774
2844
  class GoogleAppsCardV1OpenLink
2775
2845
  include Google::Apis::Core::Hashable
2776
2846
 
2777
2847
  # Whether the client forgets about a link after opening it, or observes it until
2778
- # the window closes. [Google Workspace Add-ons](https://developers.google.com/
2848
+ # the window closes. [Google Workspace add-ons](https://developers.google.com/
2779
2849
  # workspace/add-ons):
2780
2850
  # Corresponds to the JSON property `onClose`
2781
2851
  # @return [String]
2782
2852
  attr_accessor :on_close
2783
2853
 
2784
- # How to open a link. [Google Workspace Add-ons](https://developers.google.com/
2854
+ # How to open a link. [Google Workspace add-ons](https://developers.google.com/
2785
2855
  # workspace/add-ons):
2786
2856
  # Corresponds to the JSON property `openAs`
2787
2857
  # @return [String]
@@ -2808,7 +2878,7 @@ module Google
2808
2878
  # invoke. For example, showing non-primary actions in a card. You can use this
2809
2879
  # widget when actions don't fit in the available space. To use, specify this
2810
2880
  # widget in the `OnClick` action of widgets that support it. For example, in a `
2811
- # Button`. [Google Workspace Add-ons and Chat apps](https://developers.google.
2881
+ # Button`. [Google Workspace add-ons and Chat apps](https://developers.google.
2812
2882
  # com/workspace/extend):
2813
2883
  class GoogleAppsCardV1OverflowMenu
2814
2884
  include Google::Apis::Core::Hashable
@@ -2828,7 +2898,7 @@ module Google
2828
2898
  end
2829
2899
  end
2830
2900
 
2831
- # An option that users can invoke in an overflow menu. [Google Workspace Add-ons
2901
+ # An option that users can invoke in an overflow menu. [Google Workspace add-ons
2832
2902
  # and Chat apps](https://developers.google.com/workspace/extend):
2833
2903
  class GoogleAppsCardV1OverflowMenuItem
2834
2904
  include Google::Apis::Core::Hashable
@@ -2840,7 +2910,7 @@ module Google
2840
2910
  alias_method :disabled?, :disabled
2841
2911
 
2842
2912
  # Represents how to respond when users click an interactive element on a card,
2843
- # such as a button. [Google Workspace Add-ons and Chat apps](https://developers.
2913
+ # such as a button. [Google Workspace add-ons and Chat apps](https://developers.
2844
2914
  # google.com/workspace/extend):
2845
2915
  # Corresponds to the JSON property `onClick`
2846
2916
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1OnClick]
@@ -2851,7 +2921,7 @@ module Google
2851
2921
  # card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/
2852
2922
  # workspace/chat/format-messages#builtinicons) and [custom](https://developers.
2853
2923
  # google.com/workspace/chat/format-messages#customicons) icons. [Google
2854
- # Workspace Add-ons and Chat apps](https://developers.google.com/workspace/
2924
+ # Workspace add-ons and Chat apps](https://developers.google.com/workspace/
2855
2925
  # extend):
2856
2926
  # Corresponds to the JSON property `startIcon`
2857
2927
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Icon]
@@ -2907,12 +2977,12 @@ module Google
2907
2977
  end
2908
2978
 
2909
2979
  # A section contains a collection of widgets that are rendered vertically in the
2910
- # order that they're specified. [Google Workspace Add-ons and Chat apps](https://
2980
+ # order that they're specified. [Google Workspace add-ons and Chat apps](https://
2911
2981
  # developers.google.com/workspace/extend):
2912
2982
  class GoogleAppsCardV1Section
2913
2983
  include Google::Apis::Core::Hashable
2914
2984
 
2915
- # Represent an expand and collapse control. [Google Workspace Add-ons and Chat
2985
+ # Represent an expand and collapse control. [Google Workspace add-ons and Chat
2916
2986
  # apps](https://developers.google.com/workspace/extend):
2917
2987
  # Corresponds to the JSON property `collapseControl`
2918
2988
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1CollapseControl]
@@ -2931,7 +3001,7 @@ module Google
2931
3001
  # Text that appears at the top of a section. Supports simple HTML formatted text.
2932
3002
  # For more information about formatting text, see [Formatting text in Google
2933
3003
  # Chat apps](https://developers.google.com/workspace/chat/format-messages#card-
2934
- # formatting) and [Formatting text in Google Workspace Add-ons](https://
3004
+ # formatting) and [Formatting text in Google Workspace add-ons](https://
2935
3005
  # developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).
2936
3006
  # Corresponds to the JSON property `header`
2937
3007
  # @return [String]
@@ -2977,14 +3047,14 @@ module Google
2977
3047
  # value of items that users select or input. For details about working with form
2978
3048
  # inputs, see [Receive form data](https://developers.google.com/workspace/chat/
2979
3049
  # read-form-data). To collect undefined or abstract data from users, use the
2980
- # TextInput widget. [Google Workspace Add-ons and Chat apps](https://developers.
3050
+ # TextInput widget. [Google Workspace add-ons and Chat apps](https://developers.
2981
3051
  # google.com/workspace/extend):
2982
3052
  class GoogleAppsCardV1SelectionInput
2983
3053
  include Google::Apis::Core::Hashable
2984
3054
 
2985
3055
  # An action that describes the behavior when the form is submitted. For example,
2986
3056
  # you can invoke an Apps Script script to handle the form. If the action is
2987
- # triggered, the form values are sent to the server. [Google Workspace Add-ons
3057
+ # triggered, the form values are sent to the server. [Google Workspace add-ons
2988
3058
  # and Chat apps](https://developers.google.com/workspace/extend):
2989
3059
  # Corresponds to the JSON property `externalDataSource`
2990
3060
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Action]
@@ -3030,7 +3100,7 @@ module Google
3030
3100
 
3031
3101
  # An action that describes the behavior when the form is submitted. For example,
3032
3102
  # you can invoke an Apps Script script to handle the form. If the action is
3033
- # triggered, the form values are sent to the server. [Google Workspace Add-ons
3103
+ # triggered, the form values are sent to the server. [Google Workspace add-ons
3034
3104
  # and Chat apps](https://developers.google.com/workspace/extend):
3035
3105
  # Corresponds to the JSON property `onChangeAction`
3036
3106
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Action]
@@ -3070,7 +3140,7 @@ module Google
3070
3140
  end
3071
3141
 
3072
3142
  # An item that users can select in a selection input, such as a checkbox or
3073
- # switch. Supports up to 100 items. [Google Workspace Add-ons and Chat apps](
3143
+ # switch. Supports up to 100 items. [Google Workspace add-ons and Chat apps](
3074
3144
  # https://developers.google.com/workspace/extend):
3075
3145
  class GoogleAppsCardV1SelectionItem
3076
3146
  include Google::Apis::Core::Hashable
@@ -3123,7 +3193,7 @@ module Google
3123
3193
  end
3124
3194
 
3125
3195
  # One suggested value that users can enter in a text input field. [Google
3126
- # Workspace Add-ons and Chat apps](https://developers.google.com/workspace/
3196
+ # Workspace add-ons and Chat apps](https://developers.google.com/workspace/
3127
3197
  # extend):
3128
3198
  class GoogleAppsCardV1SuggestionItem
3129
3199
  include Google::Apis::Core::Hashable
@@ -3153,7 +3223,7 @@ module Google
3153
3223
  # can make sense of. When referring to JavaScript, some users might enter `
3154
3224
  # javascript` and others `java script`. Suggesting `JavaScript` can standardize
3155
3225
  # how users interact with your app. When specified, `TextInput.type` is always `
3156
- # SINGLE_LINE`, even if it's set to `MULTIPLE_LINE`. [Google Workspace Add-ons
3226
+ # SINGLE_LINE`, even if it's set to `MULTIPLE_LINE`. [Google Workspace add-ons
3157
3227
  # and Chat apps](https://developers.google.com/workspace/extend):
3158
3228
  class GoogleAppsCardV1Suggestions
3159
3229
  include Google::Apis::Core::Hashable
@@ -3175,12 +3245,12 @@ module Google
3175
3245
  end
3176
3246
 
3177
3247
  # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [
3178
- # Google Workspace Add-ons and Chat apps](https://developers.google.com/
3248
+ # Google Workspace add-ons and Chat apps](https://developers.google.com/
3179
3249
  # workspace/extend): Only supported in the `decoratedText` widget.
3180
3250
  class GoogleAppsCardV1SwitchControl
3181
3251
  include Google::Apis::Core::Hashable
3182
3252
 
3183
- # How the switch appears in the user interface. [Google Workspace Add-ons and
3253
+ # How the switch appears in the user interface. [Google Workspace add-ons and
3184
3254
  # Chat apps](https://developers.google.com/workspace/extend):
3185
3255
  # Corresponds to the JSON property `controlType`
3186
3256
  # @return [String]
@@ -3195,7 +3265,7 @@ module Google
3195
3265
 
3196
3266
  # An action that describes the behavior when the form is submitted. For example,
3197
3267
  # you can invoke an Apps Script script to handle the form. If the action is
3198
- # triggered, the form values are sent to the server. [Google Workspace Add-ons
3268
+ # triggered, the form values are sent to the server. [Google Workspace add-ons
3199
3269
  # and Chat apps](https://developers.google.com/workspace/extend):
3200
3270
  # Corresponds to the JSON property `onChangeAction`
3201
3271
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Action]
@@ -3240,13 +3310,13 @@ module Google
3240
3310
  # developers.google.com/workspace/chat/read-form-data). When you need to collect
3241
3311
  # undefined or abstract data from users, use a text input. To collect defined or
3242
3312
  # enumerated data from users, use the SelectionInput widget. [Google Workspace
3243
- # Add-ons and Chat apps](https://developers.google.com/workspace/extend):
3313
+ # add-ons and Chat apps](https://developers.google.com/workspace/extend):
3244
3314
  class GoogleAppsCardV1TextInput
3245
3315
  include Google::Apis::Core::Hashable
3246
3316
 
3247
3317
  # An action that describes the behavior when the form is submitted. For example,
3248
3318
  # you can invoke an Apps Script script to handle the form. If the action is
3249
- # triggered, the form values are sent to the server. [Google Workspace Add-ons
3319
+ # triggered, the form values are sent to the server. [Google Workspace add-ons
3250
3320
  # and Chat apps](https://developers.google.com/workspace/extend):
3251
3321
  # Corresponds to the JSON property `autoCompleteAction`
3252
3322
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Action]
@@ -3268,7 +3338,7 @@ module Google
3268
3338
  # can make sense of. When referring to JavaScript, some users might enter `
3269
3339
  # javascript` and others `java script`. Suggesting `JavaScript` can standardize
3270
3340
  # how users interact with your app. When specified, `TextInput.type` is always `
3271
- # SINGLE_LINE`, even if it's set to `MULTIPLE_LINE`. [Google Workspace Add-ons
3341
+ # SINGLE_LINE`, even if it's set to `MULTIPLE_LINE`. [Google Workspace add-ons
3272
3342
  # and Chat apps](https://developers.google.com/workspace/extend):
3273
3343
  # Corresponds to the JSON property `initialSuggestions`
3274
3344
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Suggestions]
@@ -3292,7 +3362,7 @@ module Google
3292
3362
 
3293
3363
  # An action that describes the behavior when the form is submitted. For example,
3294
3364
  # you can invoke an Apps Script script to handle the form. If the action is
3295
- # triggered, the form values are sent to the server. [Google Workspace Add-ons
3365
+ # triggered, the form values are sent to the server. [Google Workspace add-ons
3296
3366
  # and Chat apps](https://developers.google.com/workspace/extend):
3297
3367
  # Corresponds to the JSON property `onChangeAction`
3298
3368
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Action]
@@ -3312,7 +3382,7 @@ module Google
3312
3382
  attr_accessor :type
3313
3383
 
3314
3384
  # Represents the necessary data for validating the widget it's attached to. [
3315
- # Google Workspace Add-ons and Chat apps](https://developers.google.com/
3385
+ # Google Workspace add-ons and Chat apps](https://developers.google.com/
3316
3386
  # workspace/extend):
3317
3387
  # Corresponds to the JSON property `validation`
3318
3388
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Validation]
@@ -3349,9 +3419,9 @@ module Google
3349
3419
  # workspace/chat/add-text-image-card-dialog#add_a_paragraph_of_formatted_text).
3350
3420
  # For more information about formatting text, see [Formatting text in Google
3351
3421
  # Chat apps](https://developers.google.com/workspace/chat/format-messages#card-
3352
- # formatting) and [Formatting text in Google Workspace Add-ons](https://
3422
+ # formatting) and [Formatting text in Google Workspace add-ons](https://
3353
3423
  # developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). [
3354
- # Google Workspace Add-ons and Chat apps](https://developers.google.com/
3424
+ # Google Workspace add-ons and Chat apps](https://developers.google.com/
3355
3425
  # workspace/extend):
3356
3426
  class GoogleAppsCardV1TextParagraph
3357
3427
  include Google::Apis::Core::Hashable
@@ -3383,19 +3453,19 @@ module Google
3383
3453
  end
3384
3454
 
3385
3455
  # Represents the necessary data for validating the widget it's attached to. [
3386
- # Google Workspace Add-ons and Chat apps](https://developers.google.com/
3456
+ # Google Workspace add-ons and Chat apps](https://developers.google.com/
3387
3457
  # workspace/extend):
3388
3458
  class GoogleAppsCardV1Validation
3389
3459
  include Google::Apis::Core::Hashable
3390
3460
 
3391
3461
  # Specify the character limit for text input widgets. Note that this is only
3392
- # used for text input and is ignored for other widgets. [Google Workspace Add-
3462
+ # used for text input and is ignored for other widgets. [Google Workspace add-
3393
3463
  # ons and Chat apps](https://developers.google.com/workspace/extend):
3394
3464
  # Corresponds to the JSON property `characterLimit`
3395
3465
  # @return [Fixnum]
3396
3466
  attr_accessor :character_limit
3397
3467
 
3398
- # Specify the type of the input widgets. [Google Workspace Add-ons and Chat apps]
3468
+ # Specify the type of the input widgets. [Google Workspace add-ons and Chat apps]
3399
3469
  # (https://developers.google.com/workspace/extend):
3400
3470
  # Corresponds to the JSON property `inputType`
3401
3471
  # @return [String]
@@ -3419,7 +3489,7 @@ module Google
3419
3489
 
3420
3490
  # A list of buttons layed out horizontally. For an example in Google Chat apps,
3421
3491
  # see [Add a button](https://developers.google.com/workspace/chat/design-
3422
- # interactive-card-dialog#add_a_button). [Google Workspace Add-ons and Chat apps]
3492
+ # interactive-card-dialog#add_a_button). [Google Workspace add-ons and Chat apps]
3423
3493
  # (https://developers.google.com/workspace/extend):
3424
3494
  # Corresponds to the JSON property `buttonList`
3425
3495
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1ButtonList]
@@ -3439,7 +3509,7 @@ module Google
3439
3509
  attr_accessor :carousel
3440
3510
 
3441
3511
  # A list of chips layed out horizontally, which can either scroll horizontally
3442
- # or wrap to the next line. [Google Workspace Add-ons and Chat apps](https://
3512
+ # or wrap to the next line. [Google Workspace add-ons and Chat apps](https://
3443
3513
  # developers.google.com/workspace/extend):
3444
3514
  # Corresponds to the JSON property `chipList`
3445
3515
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1ChipList]
@@ -3461,7 +3531,7 @@ module Google
3461
3531
  # column wraps if the screen width is less than or equal to 300 pt. * On Android
3462
3532
  # devices, the second column wraps if the screen width is less than or equal to
3463
3533
  # 320 dp. To include more than two columns, or to use rows, use the `Grid`
3464
- # widget. [Google Workspace Add-ons and Chat apps](https://developers.google.com/
3534
+ # widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/
3465
3535
  # workspace/extend): The add-on UIs that support columns include: * The dialog
3466
3536
  # displayed when users open the add-on from an email draft. * The dialog
3467
3537
  # displayed when users open the add-on from the **Add attachment** menu in a
@@ -3478,7 +3548,7 @@ module Google
3478
3548
  # workspace/chat/design-interactive-card-dialog#let_a_user_pick_a_date_and_time).
3479
3549
  # Users can input text or use the picker to select dates and times. If users
3480
3550
  # input an invalid date or time, the picker shows an error that prompts users to
3481
- # input the information correctly. [Google Workspace Add-ons and Chat apps](
3551
+ # input the information correctly. [Google Workspace add-ons and Chat apps](
3482
3552
  # https://developers.google.com/workspace/extend):
3483
3553
  # Corresponds to the JSON property `dateTimePicker`
3484
3554
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1DateTimePicker]
@@ -3488,7 +3558,7 @@ module Google
3488
3558
  # below the text, an icon in front of the text, a selection widget, or a button
3489
3559
  # after the text. For an example in Google Chat apps, see [Display text with
3490
3560
  # decorative text](https://developers.google.com/workspace/chat/add-text-image-
3491
- # card-dialog#display_text_with_decorative_elements). [Google Workspace Add-ons
3561
+ # card-dialog#display_text_with_decorative_elements). [Google Workspace add-ons
3492
3562
  # and Chat apps](https://developers.google.com/workspace/extend):
3493
3563
  # Corresponds to the JSON property `decoratedText`
3494
3564
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1DecoratedText]
@@ -3497,7 +3567,7 @@ module Google
3497
3567
  # Displays a divider between widgets as a horizontal line. For an example in
3498
3568
  # Google Chat apps, see [Add a horizontal divider between widgets](https://
3499
3569
  # developers.google.com/workspace/chat/format-structure-card-dialog#
3500
- # add_a_horizontal_divider_between_widgets). [Google Workspace Add-ons and Chat
3570
+ # add_a_horizontal_divider_between_widgets). [Google Workspace add-ons and Chat
3501
3571
  # apps](https://developers.google.com/workspace/extend): For example, the
3502
3572
  # following JSON creates a divider: ``` "divider": `` ```
3503
3573
  # Corresponds to the JSON property `divider`
@@ -3511,7 +3581,7 @@ module Google
3511
3581
  # structure-card-dialog#display_a_grid_with_a_collection_of_items). A grid
3512
3582
  # supports any number of columns and items. The number of rows is determined by
3513
3583
  # items divided by columns. A grid with 10 items and 2 columns has 5 rows. A
3514
- # grid with 11 items and 2 columns has 6 rows. [Google Workspace Add-ons and
3584
+ # grid with 11 items and 2 columns has 6 rows. [Google Workspace add-ons and
3515
3585
  # Chat apps](https://developers.google.com/workspace/extend): For example, the
3516
3586
  # following JSON creates a 2 column grid with a single item: ``` "grid": ` "
3517
3587
  # title": "A fine collection of items", "columnCount": 2, "borderStyle": ` "type"
@@ -3530,7 +3600,7 @@ module Google
3530
3600
 
3531
3601
  # An image that is specified by a URL and can have an `onClick` action. For an
3532
3602
  # example, see [Add an image](https://developers.google.com/workspace/chat/add-
3533
- # text-image-card-dialog#add_an_image). [Google Workspace Add-ons and Chat apps](
3603
+ # text-image-card-dialog#add_an_image). [Google Workspace add-ons and Chat apps](
3534
3604
  # https://developers.google.com/workspace/extend):
3535
3605
  # Corresponds to the JSON property `image`
3536
3606
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Image]
@@ -3547,7 +3617,7 @@ module Google
3547
3617
  # value of items that users select or input. For details about working with form
3548
3618
  # inputs, see [Receive form data](https://developers.google.com/workspace/chat/
3549
3619
  # read-form-data). To collect undefined or abstract data from users, use the
3550
- # TextInput widget. [Google Workspace Add-ons and Chat apps](https://developers.
3620
+ # TextInput widget. [Google Workspace add-ons and Chat apps](https://developers.
3551
3621
  # google.com/workspace/extend):
3552
3622
  # Corresponds to the JSON property `selectionInput`
3553
3623
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1SelectionInput]
@@ -3565,7 +3635,7 @@ module Google
3565
3635
  # developers.google.com/workspace/chat/read-form-data). When you need to collect
3566
3636
  # undefined or abstract data from users, use a text input. To collect defined or
3567
3637
  # enumerated data from users, use the SelectionInput widget. [Google Workspace
3568
- # Add-ons and Chat apps](https://developers.google.com/workspace/extend):
3638
+ # add-ons and Chat apps](https://developers.google.com/workspace/extend):
3569
3639
  # Corresponds to the JSON property `textInput`
3570
3640
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1TextInput]
3571
3641
  attr_accessor :text_input
@@ -3575,9 +3645,9 @@ module Google
3575
3645
  # workspace/chat/add-text-image-card-dialog#add_a_paragraph_of_formatted_text).
3576
3646
  # For more information about formatting text, see [Formatting text in Google
3577
3647
  # Chat apps](https://developers.google.com/workspace/chat/format-messages#card-
3578
- # formatting) and [Formatting text in Google Workspace Add-ons](https://
3648
+ # formatting) and [Formatting text in Google Workspace add-ons](https://
3579
3649
  # developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). [
3580
- # Google Workspace Add-ons and Chat apps](https://developers.google.com/
3650
+ # Google Workspace add-ons and Chat apps](https://developers.google.com/
3581
3651
  # workspace/extend):
3582
3652
  # Corresponds to the JSON property `textParagraph`
3583
3653
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph]
@@ -3605,21 +3675,21 @@ module Google
3605
3675
  end
3606
3676
  end
3607
3677
 
3608
- # The supported widgets that you can include in a column. [Google Workspace Add-
3678
+ # The supported widgets that you can include in a column. [Google Workspace add-
3609
3679
  # ons and Chat apps](https://developers.google.com/workspace/extend)
3610
3680
  class GoogleAppsCardV1Widgets
3611
3681
  include Google::Apis::Core::Hashable
3612
3682
 
3613
3683
  # A list of buttons layed out horizontally. For an example in Google Chat apps,
3614
3684
  # see [Add a button](https://developers.google.com/workspace/chat/design-
3615
- # interactive-card-dialog#add_a_button). [Google Workspace Add-ons and Chat apps]
3685
+ # interactive-card-dialog#add_a_button). [Google Workspace add-ons and Chat apps]
3616
3686
  # (https://developers.google.com/workspace/extend):
3617
3687
  # Corresponds to the JSON property `buttonList`
3618
3688
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1ButtonList]
3619
3689
  attr_accessor :button_list
3620
3690
 
3621
3691
  # A list of chips layed out horizontally, which can either scroll horizontally
3622
- # or wrap to the next line. [Google Workspace Add-ons and Chat apps](https://
3692
+ # or wrap to the next line. [Google Workspace add-ons and Chat apps](https://
3623
3693
  # developers.google.com/workspace/extend):
3624
3694
  # Corresponds to the JSON property `chipList`
3625
3695
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1ChipList]
@@ -3633,7 +3703,7 @@ module Google
3633
3703
  # workspace/chat/design-interactive-card-dialog#let_a_user_pick_a_date_and_time).
3634
3704
  # Users can input text or use the picker to select dates and times. If users
3635
3705
  # input an invalid date or time, the picker shows an error that prompts users to
3636
- # input the information correctly. [Google Workspace Add-ons and Chat apps](
3706
+ # input the information correctly. [Google Workspace add-ons and Chat apps](
3637
3707
  # https://developers.google.com/workspace/extend):
3638
3708
  # Corresponds to the JSON property `dateTimePicker`
3639
3709
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1DateTimePicker]
@@ -3643,7 +3713,7 @@ module Google
3643
3713
  # below the text, an icon in front of the text, a selection widget, or a button
3644
3714
  # after the text. For an example in Google Chat apps, see [Display text with
3645
3715
  # decorative text](https://developers.google.com/workspace/chat/add-text-image-
3646
- # card-dialog#display_text_with_decorative_elements). [Google Workspace Add-ons
3716
+ # card-dialog#display_text_with_decorative_elements). [Google Workspace add-ons
3647
3717
  # and Chat apps](https://developers.google.com/workspace/extend):
3648
3718
  # Corresponds to the JSON property `decoratedText`
3649
3719
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1DecoratedText]
@@ -3651,7 +3721,7 @@ module Google
3651
3721
 
3652
3722
  # An image that is specified by a URL and can have an `onClick` action. For an
3653
3723
  # example, see [Add an image](https://developers.google.com/workspace/chat/add-
3654
- # text-image-card-dialog#add_an_image). [Google Workspace Add-ons and Chat apps](
3724
+ # text-image-card-dialog#add_an_image). [Google Workspace add-ons and Chat apps](
3655
3725
  # https://developers.google.com/workspace/extend):
3656
3726
  # Corresponds to the JSON property `image`
3657
3727
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Image]
@@ -3668,7 +3738,7 @@ module Google
3668
3738
  # value of items that users select or input. For details about working with form
3669
3739
  # inputs, see [Receive form data](https://developers.google.com/workspace/chat/
3670
3740
  # read-form-data). To collect undefined or abstract data from users, use the
3671
- # TextInput widget. [Google Workspace Add-ons and Chat apps](https://developers.
3741
+ # TextInput widget. [Google Workspace add-ons and Chat apps](https://developers.
3672
3742
  # google.com/workspace/extend):
3673
3743
  # Corresponds to the JSON property `selectionInput`
3674
3744
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1SelectionInput]
@@ -3686,7 +3756,7 @@ module Google
3686
3756
  # developers.google.com/workspace/chat/read-form-data). When you need to collect
3687
3757
  # undefined or abstract data from users, use a text input. To collect defined or
3688
3758
  # enumerated data from users, use the SelectionInput widget. [Google Workspace
3689
- # Add-ons and Chat apps](https://developers.google.com/workspace/extend):
3759
+ # add-ons and Chat apps](https://developers.google.com/workspace/extend):
3690
3760
  # Corresponds to the JSON property `textInput`
3691
3761
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1TextInput]
3692
3762
  attr_accessor :text_input
@@ -3696,9 +3766,9 @@ module Google
3696
3766
  # workspace/chat/add-text-image-card-dialog#add_a_paragraph_of_formatted_text).
3697
3767
  # For more information about formatting text, see [Formatting text in Google
3698
3768
  # Chat apps](https://developers.google.com/workspace/chat/format-messages#card-
3699
- # formatting) and [Formatting text in Google Workspace Add-ons](https://
3769
+ # formatting) and [Formatting text in Google Workspace add-ons](https://
3700
3770
  # developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). [
3701
- # Google Workspace Add-ons and Chat apps](https://developers.google.com/
3771
+ # Google Workspace add-ons and Chat apps](https://developers.google.com/
3702
3772
  # workspace/extend):
3703
3773
  # Corresponds to the JSON property `textParagraph`
3704
3774
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph]
@@ -4510,8 +4580,8 @@ module Google
4510
4580
  # @return [Google::Apis::ChatV1::User]
4511
4581
  attr_accessor :sender
4512
4582
 
4513
- # A [slash command](https://developers.google.com/workspace/chat/slash-commands)
4514
- # in Google Chat.
4583
+ # Metadata about a [slash command](https://developers.google.com/workspace/chat/
4584
+ # commands) in Google Chat.
4515
4585
  # Corresponds to the JSON property `slashCommand`
4516
4586
  # @return [Google::Apis::ChatV1::SlashCommand]
4517
4587
  attr_accessor :slash_command
@@ -5158,12 +5228,12 @@ module Google
5158
5228
  end
5159
5229
  end
5160
5230
 
5161
- # A [slash command](https://developers.google.com/workspace/chat/slash-commands)
5162
- # in Google Chat.
5231
+ # Metadata about a [slash command](https://developers.google.com/workspace/chat/
5232
+ # commands) in Google Chat.
5163
5233
  class SlashCommand
5164
5234
  include Google::Apis::Core::Hashable
5165
5235
 
5166
- # The ID of the slash command invoked.
5236
+ # The ID of the slash command.
5167
5237
  # Corresponds to the JSON property `commandId`
5168
5238
  # @return [Fixnum]
5169
5239
  attr_accessor :command_id