google-apis-chat_v1 0.24.0 → 0.25.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 12469d8a74e75468ffbd02cd43ec019336716a063620fc00ecf4d62c2608708a
4
- data.tar.gz: 50d86ff49b1f4d0ad7ca2448e36b3535017dc387f509a37ce0d39df62f255791
3
+ metadata.gz: a1629a0ba48c528e11ef58f0c3e09f99469f5a5c19786a4d1728800fb318dc4b
4
+ data.tar.gz: 5f9c6a14603dae0833a9d5dece6ddbaa1c6b5346c6d2e6ba3f21b384334acec8
5
5
  SHA512:
6
- metadata.gz: dcd1cc8c6d5abfd032cf94e8d15609616ac560b00bd0f41636078fb424aee995d4386b571a90038a393b230d033b937b4d8ef6de2222af584ca70102472177d2
7
- data.tar.gz: 48236cf17dcb06071f1b08b10b79452966c2afae81bbb3e3a1ade28e42e071b987303bf1e829e7201ee6df80a4445accc30c5cb0d844d116e2eb62f719a2c4fa
6
+ metadata.gz: 768ed968958e7e50a1b0287cf657925f27dbe94751ddd3f02c86dfe0d8e36f88929368608888d1e6c1bdaad0f5478c64e97423dad32573cf5945d28b3cb3d8d6
7
+ data.tar.gz: 0f5283fbe69075a9318cc0eb66b1cd3af4e48ac55e8a07d9c3e4d1e2dc2b4318e93e7672b0efa7f394df997bc23ad1352133766e22142aa1ef99e725803b8172
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-chat_v1
2
2
 
3
+ ### v0.25.0 (2022-02-23)
4
+
5
+ * Regenerated from discovery document revision 20220216
6
+
3
7
  ### v0.24.0 (2022-02-11)
4
8
 
5
9
  * Regenerated from discovery document revision 20220209
@@ -54,8 +54,8 @@ module Google
54
54
  class ActionResponse
55
55
  include Google::Apis::Core::Hashable
56
56
 
57
- # Contains dialog if present as well as the ActionStatus for the request sent
58
- # from user.
57
+ # Contains a [dialog](https://developers.google.com/chat/how-tos/bot-dialogs)
58
+ # and request status code.
59
59
  # Corresponds to the JSON property `dialogAction`
60
60
  # @return [Google::Apis::ChatV1::DialogAction]
61
61
  attr_accessor :dialog_action
@@ -82,10 +82,7 @@ module Google
82
82
  end
83
83
  end
84
84
 
85
- # ActionStatus represents status of a request from the bot developer's side. In
86
- # specific, for each request a bot gets, the bot developer will set both fields
87
- # below in relation to what the response status and message related to status
88
- # should be.
85
+ # Represents the status of a request.
89
86
  class ActionStatus
90
87
  include Google::Apis::Core::Hashable
91
88
 
@@ -94,10 +91,8 @@ module Google
94
91
  # @return [String]
95
92
  attr_accessor :status_code
96
93
 
97
- # This message will be the corresponding string to the above status_code. If
98
- # unset, an appropriate generic message based on the status_code will be shown
99
- # to the user. If this field is set then the message will be surfaced to the
100
- # user for both successes and errors.
94
+ # The message to send users about the status of their request. If unset, a
95
+ # generic message based on the `status_code` is sent.
101
96
  # Corresponds to the JSON property `userFacingMessage`
102
97
  # @return [String]
103
98
  attr_accessor :user_facing_message
@@ -464,46 +459,57 @@ module Google
464
459
  end
465
460
  end
466
461
 
467
- # Next available ID = 8
462
+ # Represents information about the user's client, such as locale, host app, and
463
+ # platform. For Chat apps, `CommonEventObject` includes data submitted by users
464
+ # interacting with cards, like data entered in [dialogs](https://developers.
465
+ # google.com/chat/how-tos/bot-dialogs).
468
466
  class CommonEventObject
469
467
  include Google::Apis::Core::Hashable
470
468
 
471
- # The keys are the string IDs associated with the widget and the values are
472
- # inputs with a widget in the card.
469
+ # A map containing the current values of the widgets in a card. The map keys are
470
+ # the string IDs assigned to each widget, and the values represent inputs to the
471
+ # widget. Depending on the input data type, a different object represents each
472
+ # input: For single-value widgets, `StringInput`. For multi-value widgets, an
473
+ # array of `StringInput` objects. For a date-time picker, a `DateTimeInput`. For
474
+ # a date-only picker, a `DateInput`. For a time-only picker, a `TimeInput`.
475
+ # Corresponds with the data entered by a user on a card in a [dialog](https://
476
+ # developers.google.com/chat/how-tos/bot-dialogs).
473
477
  # Corresponds to the JSON property `formInputs`
474
478
  # @return [Hash<String,Google::Apis::ChatV1::Inputs>]
475
479
  attr_accessor :form_inputs
476
480
 
477
- # The hostApp enum which indicates the app the add-on is invoked from
481
+ # The hostApp enum which indicates the app the add-on is invoked from. Always `
482
+ # CHAT` for Chat apps.
478
483
  # Corresponds to the JSON property `hostApp`
479
484
  # @return [String]
480
485
  attr_accessor :host_app
481
486
 
482
- # Name of the invoked function associated with the widget. This field is
483
- # currently only set for chat.
487
+ # Name of the invoked function associated with the widget. Only set for Chat
488
+ # apps.
484
489
  # Corresponds to the JSON property `invokedFunction`
485
490
  # @return [String]
486
491
  attr_accessor :invoked_function
487
492
 
488
- # Any additional parameters.
493
+ # Custom [parameters](/chat/api/reference/rest/v1/cards#ActionParameter) passed
494
+ # to the invoked function. Both keys and values must be strings.
489
495
  # Corresponds to the JSON property `parameters`
490
496
  # @return [Hash<String,String>]
491
497
  attr_accessor :parameters
492
498
 
493
- # The platform enum which indicates the platform where the add-on is running.
499
+ # The platform enum which indicates the platform where the event originates (`
500
+ # WEB`, `IOS`, or `ANDROID`). Not supported by Chat apps.
494
501
  # Corresponds to the JSON property `platform`
495
502
  # @return [String]
496
503
  attr_accessor :platform
497
504
 
498
- # The timezone id and offset. The id is the tz database time zones such as "
499
- # America/Toronto". The user timezone offset, in milliseconds, from Coordinated
500
- # Universal Time (UTC).
505
+ # The timezone ID and offset from Coordinated Universal Time (UTC). Not
506
+ # supported by Chat apps.
501
507
  # Corresponds to the JSON property `timeZone`
502
508
  # @return [Google::Apis::ChatV1::TimeZone]
503
509
  attr_accessor :time_zone
504
510
 
505
511
  # The full locale.displayName in the format of [ISO 639 language code]-[ISO 3166
506
- # country/region code] such as "en-US"
512
+ # country/region code] such as "en-US". Not supported by Chat apps.
507
513
  # Corresponds to the JSON property `userLocale`
508
514
  # @return [String]
509
515
  attr_accessor :user_locale
@@ -524,11 +530,11 @@ module Google
524
530
  end
525
531
  end
526
532
 
527
- # Input Parameter for Date Picker widget.
533
+ # Date input values. Not supported by Chat apps.
528
534
  class DateInput
529
535
  include Google::Apis::Core::Hashable
530
536
 
531
- #
537
+ # Time since epoch time, in milliseconds.
532
538
  # Corresponds to the JSON property `msSinceEpoch`
533
539
  # @return [Fixnum]
534
540
  attr_accessor :ms_since_epoch
@@ -543,23 +549,23 @@ module Google
543
549
  end
544
550
  end
545
551
 
546
- # Input Parameter for Date and Time Picker widget.
552
+ # Date and time input values. Not supported by Chat apps.
547
553
  class DateTimeInput
548
554
  include Google::Apis::Core::Hashable
549
555
 
550
- #
556
+ # Whether the `datetime` input includes a calendar date.
551
557
  # Corresponds to the JSON property `hasDate`
552
558
  # @return [Boolean]
553
559
  attr_accessor :has_date
554
560
  alias_method :has_date?, :has_date
555
561
 
556
- #
562
+ # Whether the `datetime` input includes a timestamp.
557
563
  # Corresponds to the JSON property `hasTime`
558
564
  # @return [Boolean]
559
565
  attr_accessor :has_time
560
566
  alias_method :has_time?, :has_time
561
567
 
562
- #
568
+ # Time since epoch time, in milliseconds.
563
569
  # Corresponds to the JSON property `msSinceEpoch`
564
570
  # @return [Fixnum]
565
571
  attr_accessor :ms_since_epoch
@@ -586,7 +592,10 @@ module Google
586
592
  # @return [Google::Apis::ChatV1::FormAction]
587
593
  attr_accessor :action
588
594
 
589
- # Next available ID = 8
595
+ # Represents information about the user's client, such as locale, host app, and
596
+ # platform. For Chat apps, `CommonEventObject` includes data submitted by users
597
+ # interacting with cards, like data entered in [dialogs](https://developers.
598
+ # google.com/chat/how-tos/bot-dialogs).
590
599
  # Corresponds to the JSON property `common`
591
600
  # @return [Google::Apis::ChatV1::CommonEventObject]
592
601
  attr_accessor :common
@@ -599,7 +608,8 @@ module Google
599
608
  # @return [String]
600
609
  attr_accessor :config_complete_redirect_url
601
610
 
602
- # The type of dialog event we have received.
611
+ # The type of [dialog](https://developers.google.com/chat/how-tos/bot-dialogs)
612
+ # event received.
603
613
  # Corresponds to the JSON property `dialogEventType`
604
614
  # @return [String]
605
615
  attr_accessor :dialog_event_type
@@ -609,8 +619,8 @@ module Google
609
619
  # @return [String]
610
620
  attr_accessor :event_time
611
621
 
612
- # Whether or not this event is related to dialogs request, submit or cancel.
613
- # This will be set to true when we want a request/submit/cancel event.
622
+ # True when the event is related to [dialogs](https://developers.google.com/chat/
623
+ # how-tos/bot-dialogs).
614
624
  # Corresponds to the JSON property `isDialogEvent`
615
625
  # @return [Boolean]
616
626
  attr_accessor :is_dialog_event
@@ -708,15 +718,12 @@ module Google
708
718
  end
709
719
  end
710
720
 
711
- # Contains dialog if present as well as the ActionStatus for the request sent
712
- # from user.
721
+ # Contains a [dialog](https://developers.google.com/chat/how-tos/bot-dialogs)
722
+ # and request status code.
713
723
  class DialogAction
714
724
  include Google::Apis::Core::Hashable
715
725
 
716
- # ActionStatus represents status of a request from the bot developer's side. In
717
- # specific, for each request a bot gets, the bot developer will set both fields
718
- # below in relation to what the response status and message related to status
719
- # should be.
726
+ # Represents the status of a request.
720
727
  # Corresponds to the JSON property `actionStatus`
721
728
  # @return [Google::Apis::ChatV1::ActionStatus]
722
729
  attr_accessor :action_status
@@ -853,7 +860,8 @@ module Google
853
860
  # @return [String]
854
861
  attr_accessor :function
855
862
 
856
- #
863
+ # Specifies the loading indicator that the action displays while making the call
864
+ # to the action.
857
865
  # Corresponds to the JSON property `loadIndicator`
858
866
  # @return [String]
859
867
  attr_accessor :load_indicator
@@ -1054,7 +1062,7 @@ module Google
1054
1062
  # @return [Google::Apis::ChatV1::Color]
1055
1063
  attr_accessor :color
1056
1064
 
1057
- # If true, the button is displayed in a disabled state and doesn't respond to
1065
+ # If `true`, the button is displayed in a disabled state and doesn't respond to
1058
1066
  # user actions.
1059
1067
  # Corresponds to the JSON property `disabled`
1060
1068
  # @return [Boolean]
@@ -1066,7 +1074,7 @@ module Google
1066
1074
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Icon]
1067
1075
  attr_accessor :icon
1068
1076
 
1069
- # The action to perform when the button is clicked.
1077
+ # Represents the response to an `onClick` event.
1070
1078
  # Corresponds to the JSON property `onClick`
1071
1079
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1OnClick]
1072
1080
  attr_accessor :on_click
@@ -1095,7 +1103,7 @@ module Google
1095
1103
  class GoogleAppsCardV1ButtonList
1096
1104
  include Google::Apis::Core::Hashable
1097
1105
 
1098
- #
1106
+ # An array of buttons.
1099
1107
  # Corresponds to the JSON property `buttons`
1100
1108
  # @return [Array<Google::Apis::ChatV1::GoogleAppsCardV1Button>]
1101
1109
  attr_accessor :buttons
@@ -1131,9 +1139,9 @@ module Google
1131
1139
  class GoogleAppsCardV1Card
1132
1140
  include Google::Apis::Core::Hashable
1133
1141
 
1134
- # The actions of this card. They are added to a card's generated toolbar menu.
1142
+ # The card's actions. Actions are added to the card's generated toolbar menu.
1135
1143
  # For example, the following JSON constructs a card action menu with Settings
1136
- # and Send Feedback options: ``` "card_actions": [ ` "actionLabel": "Setting", "
1144
+ # and Send Feedback options: ``` "card_actions": [ ` "actionLabel": "Settings", "
1137
1145
  # onClick": ` "action": ` "functionName": "goToView", "parameters": [ ` "key": "
1138
1146
  # viewType", "value": "SETTING" ` ], "loadIndicator": "LoadIndicator.SPINNER" ` `
1139
1147
  # `, ` "actionLabel": "Send Feedback", "onClick": ` "openLink": ` "url": "https:
@@ -1142,7 +1150,7 @@ module Google
1142
1150
  # @return [Array<Google::Apis::ChatV1::GoogleAppsCardV1CardAction>]
1143
1151
  attr_accessor :card_actions
1144
1152
 
1145
- # The display style for peekCardHeader.
1153
+ # The display style for `peekCardHeader`.
1146
1154
  # Corresponds to the JSON property `displayStyle`
1147
1155
  # @return [String]
1148
1156
  attr_accessor :display_style
@@ -1152,20 +1160,17 @@ module Google
1152
1160
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1CardFixedFooter]
1153
1161
  attr_accessor :fixed_footer
1154
1162
 
1155
- # The header of the card. A header usually contains a title and an image.
1163
+ # Represents a card header.
1156
1164
  # Corresponds to the JSON property `header`
1157
1165
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1CardHeader]
1158
1166
  attr_accessor :header
1159
1167
 
1160
- # Name of the card, which is used as a identifier for the card in card
1161
- # navigation.
1168
+ # Name of the card. Used as a card identifier in card navigation.
1162
1169
  # Corresponds to the JSON property `name`
1163
1170
  # @return [String]
1164
1171
  attr_accessor :name
1165
1172
 
1166
- # When displaying contextual content, the peek card header acts as a placeholder
1167
- # so that the user can navigate forward between the homepage cards and the
1168
- # contextual cards.
1173
+ # Represents a card header.
1169
1174
  # Corresponds to the JSON property `peekCardHeader`
1170
1175
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1CardHeader]
1171
1176
  attr_accessor :peek_card_header
@@ -1202,7 +1207,7 @@ module Google
1202
1207
  # @return [String]
1203
1208
  attr_accessor :action_label
1204
1209
 
1205
- # The onclick action for this action item.
1210
+ # Represents the response to an `onClick` event.
1206
1211
  # Corresponds to the JSON property `onClick`
1207
1212
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1OnClick]
1208
1213
  attr_accessor :on_click
@@ -1243,7 +1248,7 @@ module Google
1243
1248
  end
1244
1249
  end
1245
1250
 
1246
- #
1251
+ # Represents a card header.
1247
1252
  class GoogleAppsCardV1CardHeader
1248
1253
  include Google::Apis::Core::Hashable
1249
1254
 
@@ -1267,9 +1272,9 @@ module Google
1267
1272
  # @return [String]
1268
1273
  attr_accessor :subtitle
1269
1274
 
1270
- # The title of the card header. The title must be specified. The header has a
1271
- # fixed height: if both a title and subtitle are specified, each takes up one
1272
- # line. If only the title is specified, it takes up both lines.
1275
+ # Required. The title of the card header. The header has a fixed height: if both
1276
+ # a title and subtitle are specified, each takes up one line. If only the title
1277
+ # is specified, it takes up both lines.
1273
1278
  # Corresponds to the JSON property `title`
1274
1279
  # @return [String]
1275
1280
  attr_accessor :title
@@ -1288,7 +1293,8 @@ module Google
1288
1293
  end
1289
1294
  end
1290
1295
 
1291
- # The widget that lets users to specify a date and time.
1296
+ # The widget that lets users to specify a date and time. Not supported by Google
1297
+ # Chat apps.
1292
1298
  class GoogleAppsCardV1DateTimePicker
1293
1299
  include Google::Apis::Core::Hashable
1294
1300
 
@@ -1297,7 +1303,7 @@ module Google
1297
1303
  # @return [String]
1298
1304
  attr_accessor :label
1299
1305
 
1300
- # The name of the text input that's used in formInput, and uniquely identifies
1306
+ # The name of the text input that's used in `formInput`, and uniquely identifies
1301
1307
  # this input.
1302
1308
  # Corresponds to the JSON property `name`
1303
1309
  # @return [String]
@@ -1371,7 +1377,7 @@ module Google
1371
1377
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Icon]
1372
1378
  attr_accessor :icon
1373
1379
 
1374
- # Only the top and bottom label and content region are clickable.
1380
+ # Represents the response to an `onClick` event.
1375
1381
  # Corresponds to the JSON property `onClick`
1376
1382
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1OnClick]
1377
1383
  attr_accessor :on_click
@@ -1381,7 +1387,7 @@ module Google
1381
1387
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Icon]
1382
1388
  attr_accessor :start_icon
1383
1389
 
1384
- # A switch widget can be clicked to change its state or trigger an action.
1390
+ # Either a toggle-style switch or a checkbox.
1385
1391
  # Corresponds to the JSON property `switchControl`
1386
1392
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1SwitchControl]
1387
1393
  attr_accessor :switch_control
@@ -1456,8 +1462,7 @@ module Google
1456
1462
  # @return [Array<Google::Apis::ChatV1::GoogleAppsCardV1GridItem>]
1457
1463
  attr_accessor :items
1458
1464
 
1459
- # This callback is reused by each individual grid item, but with the item's
1460
- # identifier and index in the items list added to the callback's parameters.
1465
+ # Represents the response to an `onClick` event.
1461
1466
  # Corresponds to the JSON property `onClick`
1462
1467
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1OnClick]
1463
1468
  attr_accessor :on_click
@@ -1491,7 +1496,7 @@ module Google
1491
1496
  # @return [String]
1492
1497
  attr_accessor :id
1493
1498
 
1494
- # The image that displays in the grid item.
1499
+ # Represents an image.
1495
1500
  # Corresponds to the JSON property `image`
1496
1501
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1ImageComponent]
1497
1502
  attr_accessor :image
@@ -1552,7 +1557,7 @@ module Google
1552
1557
  # @return [String]
1553
1558
  attr_accessor :image_type
1554
1559
 
1555
- # The icon specified by the string name of a list of known icons
1560
+ # The icon specified by the string name of a list of known icons.
1556
1561
  # Corresponds to the JSON property `knownIcon`
1557
1562
  # @return [String]
1558
1563
  attr_accessor :known_icon
@@ -1570,7 +1575,7 @@ module Google
1570
1575
  end
1571
1576
  end
1572
1577
 
1573
- # An image that is specified by a URL and can have an onClick action.
1578
+ # An image that is specified by a URL and can have an `onClick` action.
1574
1579
  class GoogleAppsCardV1Image
1575
1580
  include Google::Apis::Core::Hashable
1576
1581
 
@@ -1584,7 +1589,7 @@ module Google
1584
1589
  # @return [String]
1585
1590
  attr_accessor :image_url
1586
1591
 
1587
- #
1592
+ # Represents the response to an `onClick` event.
1588
1593
  # Corresponds to the JSON property `onClick`
1589
1594
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1OnClick]
1590
1595
  attr_accessor :on_click
@@ -1601,7 +1606,7 @@ module Google
1601
1606
  end
1602
1607
  end
1603
1608
 
1604
- #
1609
+ # Represents an image.
1605
1610
  class GoogleAppsCardV1ImageComponent
1606
1611
  include Google::Apis::Core::Hashable
1607
1612
 
@@ -1663,7 +1668,7 @@ module Google
1663
1668
  end
1664
1669
  end
1665
1670
 
1666
- #
1671
+ # Represents the response to an `onClick` event.
1667
1672
  class GoogleAppsCardV1OnClick
1668
1673
  include Google::Apis::Core::Hashable
1669
1674
 
@@ -1701,7 +1706,7 @@ module Google
1701
1706
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Action]
1702
1707
  attr_accessor :open_dynamic_link_action
1703
1708
 
1704
- # If specified, this onClick triggers an open link action.
1709
+ # Represents an `onClick` event that opens a hyperlink.
1705
1710
  # Corresponds to the JSON property `openLink`
1706
1711
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1OpenLink]
1707
1712
  attr_accessor :open_link
@@ -1719,16 +1724,17 @@ module Google
1719
1724
  end
1720
1725
  end
1721
1726
 
1722
- #
1727
+ # Represents an `onClick` event that opens a hyperlink.
1723
1728
  class GoogleAppsCardV1OpenLink
1724
1729
  include Google::Apis::Core::Hashable
1725
1730
 
1726
- #
1731
+ # Whether the client forgets about a link after opening it, or observes it until
1732
+ # the window closes. Not supported by Chat apps.
1727
1733
  # Corresponds to the JSON property `onClose`
1728
1734
  # @return [String]
1729
1735
  attr_accessor :on_close
1730
1736
 
1731
- #
1737
+ # How to open a link. Not supported by Chat apps.
1732
1738
  # Corresponds to the JSON property `openAs`
1733
1739
  # @return [String]
1734
1740
  attr_accessor :open_as
@@ -1769,9 +1775,9 @@ module Google
1769
1775
  attr_accessor :header
1770
1776
 
1771
1777
  # The number of uncollapsible widgets. For example, when a section contains five
1772
- # widgets and the `numUncollapsibleWidget` is set to `2`, the first two widgets
1773
- # are always shown and the last three are collapsed as default. The `
1774
- # numUncollapsibleWidget` is taken into account only when collapsible is set to `
1778
+ # widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two
1779
+ # widgets are always shown and the last three are collapsed as default. The `
1780
+ # uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `
1775
1781
  # true`.
1776
1782
  # Corresponds to the JSON property `uncollapsibleWidgetsCount`
1777
1783
  # @return [Fixnum]
@@ -1795,12 +1801,12 @@ module Google
1795
1801
  end
1796
1802
  end
1797
1803
 
1798
- # A widget that creates a UI item (for example, a drop-down list) with options
1799
- # for users to select.
1804
+ # A widget that creates a UI item with options for users to select. For example,
1805
+ # a dropdown menu.
1800
1806
  class GoogleAppsCardV1SelectionInput
1801
1807
  include Google::Apis::Core::Hashable
1802
1808
 
1803
- #
1809
+ # An array of the selected items.
1804
1810
  # Corresponds to the JSON property `items`
1805
1811
  # @return [Array<Google::Apis::ChatV1::GoogleAppsCardV1SelectionItem>]
1806
1812
  attr_accessor :items
@@ -1810,7 +1816,7 @@ module Google
1810
1816
  # @return [String]
1811
1817
  attr_accessor :label
1812
1818
 
1813
- # The name of the text input which is used in formInput.
1819
+ # The name of the text input which is used in `formInput`.
1814
1820
  # Corresponds to the JSON property `name`
1815
1821
  # @return [String]
1816
1822
  attr_accessor :name
@@ -1821,7 +1827,7 @@ module Google
1821
1827
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Action]
1822
1828
  attr_accessor :on_change_action
1823
1829
 
1824
- #
1830
+ # The type of the selection.
1825
1831
  # Corresponds to the JSON property `type`
1826
1832
  # @return [String]
1827
1833
  attr_accessor :type
@@ -1840,8 +1846,7 @@ module Google
1840
1846
  end
1841
1847
  end
1842
1848
 
1843
- # The item in the switch control. A radio button, at most one of the items is
1844
- # selected.
1849
+ # A selectable item in the switch control.
1845
1850
  class GoogleAppsCardV1SelectionItem
1846
1851
  include Google::Apis::Core::Hashable
1847
1852
 
@@ -1875,11 +1880,11 @@ module Google
1875
1880
  end
1876
1881
  end
1877
1882
 
1878
- # A suggestion item. Only supports text for now.
1883
+ # A suggestion item.
1879
1884
  class GoogleAppsCardV1SuggestionItem
1880
1885
  include Google::Apis::Core::Hashable
1881
1886
 
1882
- #
1887
+ # The suggested autocomplete result.
1883
1888
  # Corresponds to the JSON property `text`
1884
1889
  # @return [String]
1885
1890
  attr_accessor :text
@@ -1899,7 +1904,7 @@ module Google
1899
1904
  class GoogleAppsCardV1Suggestions
1900
1905
  include Google::Apis::Core::Hashable
1901
1906
 
1902
- # A list of suggestions items which will be used in are used in autocomplete.
1907
+ # A list of suggestions used for autocomplete recommendations.
1903
1908
  # Corresponds to the JSON property `items`
1904
1909
  # @return [Array<Google::Apis::ChatV1::GoogleAppsCardV1SuggestionItem>]
1905
1910
  attr_accessor :items
@@ -1914,7 +1919,7 @@ module Google
1914
1919
  end
1915
1920
  end
1916
1921
 
1917
- #
1922
+ # Either a toggle-style switch or a checkbox.
1918
1923
  class GoogleAppsCardV1SwitchControl
1919
1924
  include Google::Apis::Core::Hashable
1920
1925
 
@@ -1923,7 +1928,7 @@ module Google
1923
1928
  # @return [String]
1924
1929
  attr_accessor :control_type
1925
1930
 
1926
- # The name of the switch widget that's used in formInput.
1931
+ # The name of the switch widget that's used in `formInput`.
1927
1932
  # Corresponds to the JSON property `name`
1928
1933
  # @return [String]
1929
1934
  attr_accessor :name
@@ -1986,7 +1991,7 @@ module Google
1986
1991
  # @return [String]
1987
1992
  attr_accessor :label
1988
1993
 
1989
- # The name of the text input which is used in formInput.
1994
+ # The name of the text input which is used in `formInput`.
1990
1995
  # Corresponds to the JSON property `name`
1991
1996
  # @return [String]
1992
1997
  attr_accessor :name
@@ -2053,7 +2058,8 @@ module Google
2053
2058
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1ButtonList]
2054
2059
  attr_accessor :button_list
2055
2060
 
2056
- # The widget that lets users to specify a date and time.
2061
+ # The widget that lets users to specify a date and time. Not supported by Google
2062
+ # Chat apps.
2057
2063
  # Corresponds to the JSON property `dateTimePicker`
2058
2064
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1DateTimePicker]
2059
2065
  attr_accessor :date_time_picker
@@ -2080,13 +2086,13 @@ module Google
2080
2086
  # @return [String]
2081
2087
  attr_accessor :horizontal_alignment
2082
2088
 
2083
- # An image that is specified by a URL and can have an onClick action.
2089
+ # An image that is specified by a URL and can have an `onClick` action.
2084
2090
  # Corresponds to the JSON property `image`
2085
2091
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Image]
2086
2092
  attr_accessor :image
2087
2093
 
2088
- # A widget that creates a UI item (for example, a drop-down list) with options
2089
- # for users to select.
2094
+ # A widget that creates a UI item with options for users to select. For example,
2095
+ # a dropdown menu.
2090
2096
  # Corresponds to the JSON property `selectionInput`
2091
2097
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1SelectionInput]
2092
2098
  attr_accessor :selection_input
@@ -2194,28 +2200,28 @@ module Google
2194
2200
  end
2195
2201
  end
2196
2202
 
2197
- # The inputs with widgets.
2203
+ # Types of data inputs for widgets. Users enter data with these inputs.
2198
2204
  class Inputs
2199
2205
  include Google::Apis::Core::Hashable
2200
2206
 
2201
- # Input Parameter for Date Picker widget.
2207
+ # Date input values. Not supported by Chat apps.
2202
2208
  # Corresponds to the JSON property `dateInput`
2203
2209
  # @return [Google::Apis::ChatV1::DateInput]
2204
2210
  attr_accessor :date_input
2205
2211
 
2206
- # Input Parameter for Date and Time Picker widget.
2212
+ # Date and time input values. Not supported by Chat apps.
2207
2213
  # Corresponds to the JSON property `dateTimeInput`
2208
2214
  # @return [Google::Apis::ChatV1::DateTimeInput]
2209
2215
  attr_accessor :date_time_input
2210
2216
 
2211
- # Input parameter for regular widgets. For single-valued widgets, it will be a
2212
- # single value list; for multi-valued widgets, such as checkbox, all the values
2213
- # are presented.
2217
+ # Input parameter for regular widgets. For single-valued widgets, it is a single
2218
+ # value list. For multi-valued widgets, such as checkbox, all the values are
2219
+ # presented.
2214
2220
  # Corresponds to the JSON property `stringInputs`
2215
2221
  # @return [Google::Apis::ChatV1::StringInputs]
2216
2222
  attr_accessor :string_inputs
2217
2223
 
2218
- # Input Parameter for Time Picker widget.
2224
+ # Time input values. Not supported by Chat apps.
2219
2225
  # Corresponds to the JSON property `timeInput`
2220
2226
  # @return [Google::Apis::ChatV1::TimeInput]
2221
2227
  attr_accessor :time_input
@@ -2500,7 +2506,8 @@ module Google
2500
2506
  # @return [Google::Apis::ChatV1::User]
2501
2507
  attr_accessor :sender
2502
2508
 
2503
- # A Slash Command in Chat.
2509
+ # A [slash command](https://developers.google.com/chat/how-tos/slash-commands)
2510
+ # in Google Chat.
2504
2511
  # Corresponds to the JSON property `slashCommand`
2505
2512
  # @return [Google::Apis::ChatV1::SlashCommand]
2506
2513
  attr_accessor :slash_command
@@ -2618,7 +2625,8 @@ module Google
2618
2625
  end
2619
2626
  end
2620
2627
 
2621
- # A Slash Command in Chat.
2628
+ # A [slash command](https://developers.google.com/chat/how-tos/slash-commands)
2629
+ # in Google Chat.
2622
2630
  class SlashCommand
2623
2631
  include Google::Apis::Core::Hashable
2624
2632
 
@@ -2768,13 +2776,13 @@ module Google
2768
2776
  end
2769
2777
  end
2770
2778
 
2771
- # Input parameter for regular widgets. For single-valued widgets, it will be a
2772
- # single value list; for multi-valued widgets, such as checkbox, all the values
2773
- # are presented.
2779
+ # Input parameter for regular widgets. For single-valued widgets, it is a single
2780
+ # value list. For multi-valued widgets, such as checkbox, all the values are
2781
+ # presented.
2774
2782
  class StringInputs
2775
2783
  include Google::Apis::Core::Hashable
2776
2784
 
2777
- #
2785
+ # An array of strings entered by the user.
2778
2786
  # Corresponds to the JSON property `value`
2779
2787
  # @return [Array<String>]
2780
2788
  attr_accessor :value
@@ -2853,16 +2861,16 @@ module Google
2853
2861
  end
2854
2862
  end
2855
2863
 
2856
- # Input Parameter for Time Picker widget.
2864
+ # Time input values. Not supported by Chat apps.
2857
2865
  class TimeInput
2858
2866
  include Google::Apis::Core::Hashable
2859
2867
 
2860
- #
2868
+ # The hour on a 24-hour clock.
2861
2869
  # Corresponds to the JSON property `hours`
2862
2870
  # @return [Fixnum]
2863
2871
  attr_accessor :hours
2864
2872
 
2865
- #
2873
+ # The number of minutes past the hour. Valid values are 0 to 59.
2866
2874
  # Corresponds to the JSON property `minutes`
2867
2875
  # @return [Fixnum]
2868
2876
  attr_accessor :minutes
@@ -2878,18 +2886,19 @@ module Google
2878
2886
  end
2879
2887
  end
2880
2888
 
2881
- # The timezone id and offset. The id is the tz database time zones such as "
2882
- # America/Toronto". The user timezone offset, in milliseconds, from Coordinated
2883
- # Universal Time (UTC).
2889
+ # The timezone ID and offset from Coordinated Universal Time (UTC). Not
2890
+ # supported by Chat apps.
2884
2891
  class TimeZone
2885
2892
  include Google::Apis::Core::Hashable
2886
2893
 
2887
- #
2894
+ # The [IANA TZ](https://www.iana.org/time-zones) time zone database code, such
2895
+ # as "America/Toronto".
2888
2896
  # Corresponds to the JSON property `id`
2889
2897
  # @return [String]
2890
2898
  attr_accessor :id
2891
2899
 
2892
- #
2900
+ # The user timezone offset, in milliseconds, from Coordinated Universal Time (
2901
+ # UTC).
2893
2902
  # Corresponds to the JSON property `offset`
2894
2903
  # @return [Fixnum]
2895
2904
  attr_accessor :offset
@@ -2925,9 +2934,9 @@ module Google
2925
2934
  attr_accessor :is_anonymous
2926
2935
  alias_method :is_anonymous?, :is_anonymous
2927
2936
 
2928
- # Resource name for a Google Chat user. Formatted as `users/AAAAAAAAAAA`.
2929
- # Represents a [person](https://developers.google.com/people/api/rest/v1/people#
2930
- # Person) in the People API.
2937
+ # Resource name for a Google Chat user. Formatted as `users/`user``. Represents
2938
+ # a [person](https://developers.google.com/people/api/rest/v1/people#Person) in
2939
+ # the People API.
2931
2940
  # Corresponds to the JSON property `name`
2932
2941
  # @return [String]
2933
2942
  attr_accessor :name
@@ -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.24.0"
19
+ GEM_VERSION = "0.25.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220209"
25
+ REVISION = "20220216"
26
26
  end
27
27
  end
28
28
  end
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.24.0
4
+ version: 0.25.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: 2022-02-14 00:00:00.000000000 Z
11
+ date: 2022-02-28 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.24.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.25.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: []