google-apis-chat_v1 0.67.0 → 0.69.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2cfb881e54cfab11fa7c62a3e0b141235ab07c16a32d3a9a2d8a2d7ed8c4b39e
4
- data.tar.gz: a080c277cfd9c924a6b61e386fd5e8b1295fb5d589b5a3b18b38de700448ba65
3
+ metadata.gz: df4c97a8aa2870c8769d840ac03e39a3269f8def78f6539363951f5bb6c1512c
4
+ data.tar.gz: d4f7361c06aadb5065c931203c3bbffa87fb2fb4ae1ba0a5a548b1317047cf7a
5
5
  SHA512:
6
- metadata.gz: cc25cb4e424ca6b1b27ead021944adebe096b68ca2d3827c711435b6ac624d77eb4bca665fcdb82bd32678932c7495fea8c8f121d6eb3b4af08b28048cf50dd7
7
- data.tar.gz: ce0e47fc4f115a5e764812275e78c240a32f42c4d7f8f288910b2ef26e7f9ad14b20497878e1e7045c30b91885023e41910c5b77fb748faa36767ef379ae3ac6
6
+ metadata.gz: 386187890b91c6a6dec65fd3062682616a353d3caab5138ab5d2585ef3ecb22f2e0218a7d3c40b55b98bce39d5aa46fadf8e2a55909609691156b6417a9f35b2
7
+ data.tar.gz: 2e200fad6dd01013bf107a1343e17f51c57d296172baa606304d84349cd6ed18fecf7e55c4034ce94563cbfd80b056cc781514c62273f66aa8b622f14a4e455b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-chat_v1
2
2
 
3
+ ### v0.69.0 (2023-08-27)
4
+
5
+ * Regenerated from discovery document revision 20230822
6
+
7
+ ### v0.68.0 (2023-08-13)
8
+
9
+ * Regenerated from discovery document revision 20230806
10
+
3
11
  ### v0.67.0 (2023-08-06)
4
12
 
5
13
  * Regenerated from discovery document revision 20230801
@@ -189,12 +189,12 @@ module Google
189
189
  # @return [Google::Apis::ChatV1::AttachmentDataRef]
190
190
  attr_accessor :attachment_data_ref
191
191
 
192
- # The original file name for the content, not the full path.
192
+ # Output only. The original file name for the content, not the full path.
193
193
  # Corresponds to the JSON property `contentName`
194
194
  # @return [String]
195
195
  attr_accessor :content_name
196
196
 
197
- # The content type (MIME type) of the file.
197
+ # Output only. The content type (MIME type) of the file.
198
198
  # Corresponds to the JSON property `contentType`
199
199
  # @return [String]
200
200
  attr_accessor :content_type
@@ -217,7 +217,7 @@ module Google
217
217
  # @return [String]
218
218
  attr_accessor :name
219
219
 
220
- # The source of the attachment.
220
+ # Output only. The source of the attachment.
221
221
  # Corresponds to the JSON property `source`
222
222
  # @return [String]
223
223
  attr_accessor :source
@@ -402,41 +402,42 @@ module Google
402
402
  end
403
403
  end
404
404
 
405
- # Widgets for Chat apps to specify.
405
+ # A [card](https://developers.google.com/chat/api/reference/rest/v1/cards) in a
406
+ # Google Chat message. Only Chat apps can create cards. If your Chat app [
407
+ # authenticates as a user](https://developers.google.com/chat/api/guides/auth/
408
+ # users), the message can't contain cards.
406
409
  class CardWithId
407
410
  include Google::Apis::Core::Hashable
408
411
 
409
- # Cards support a defined layout, interactive UI elements like buttons, and rich
410
- # media like images. Use cards to present detailed information, gather
411
- # information from users, and guide users to take a next step. In Google Chat,
412
- # cards appear in several places: - As stand-alone messages. - Accompanying a
413
- # text message, just beneath the text message. - As a [dialog](https://
414
- # developers.google.com/chat/how-tos/dialogs). The following example JSON
415
- # creates a "contact card" that features: - A header with the contact's name,
416
- # job title, and avatar picture. - A section with the contact information,
417
- # including formatted text. - Buttons that users can click to share the contact,
418
- # or see more or less information. For more examples, see [Design dynamic,
419
- # interactive, and consistent UIs with cards](https://developers.google.com/chat/
420
- # ui). ![Example contact card](https://developers.google.com/chat/images/
421
- # card_api_reference.png) ``` ` "cardsV2": [ ` "cardId": "unique-card-id", "card"
422
- # : ` "header": ` "title": "Sasha", "subtitle": "Software Engineer", "imageUrl":
423
- # "https://developers.google.com/chat/images/quickstart-app-avatar.png", "
424
- # imageType": "CIRCLE", "imageAltText": "Avatar for Sasha", `, "sections": [ ` "
425
- # header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "
426
- # widgets": [ ` "decoratedText": ` "startIcon": ` "knownIcon": "EMAIL", `, "text"
427
- # : "sasha@example.com", ` `, ` "decoratedText": ` "startIcon": ` "knownIcon": "
428
- # PERSON", `, "text": "Online", `, `, ` "decoratedText": ` "startIcon": ` "
429
- # knownIcon": "PHONE", `, "text": "+1 (555) 555-1234", ` `, ` "buttonList": ` "
430
- # buttons": [ ` "text": "Share", "onClick": ` "openLink": ` "url": "https://
431
- # example.com/share", ` ` `, ` "text": "Edit", "onClick": ` "action": ` "
432
- # function": "goToView", "parameters": [ ` "key": "viewType", "value": "EDIT", `
433
- # ], ` ` `, ], ` `, ], `, ], `, ` ], ` ```
412
+ # A card interface displayed in a Google Chat message or Google Workspace Add-on.
413
+ # Cards support a defined layout, interactive UI elements like buttons, and
414
+ # rich media like images. Use cards to present detailed information, gather
415
+ # information from users, and guide users to take a next step. To learn how to
416
+ # build cards, see the following documentation: * For Google Chat apps, see [
417
+ # Design dynamic, interactive, and consistent UIs with cards](https://developers.
418
+ # google.com/chat/ui). * For Google Workspace Add-ons, see [Card-based
419
+ # interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards).
420
+ # **Example: Card message for a Google Chat app** ![Example contact card](https:/
421
+ # /developers.google.com/chat/images/card_api_reference.png) To create the
422
+ # sample card message in Google Chat, use the following JSON: ``` ` "cardsV2": [
423
+ # ` "cardId": "unique-card-id", "card": ` "header": ` "title": "Sasha", "
424
+ # subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/
425
+ # chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText":
426
+ # "Avatar for Sasha", `, "sections": [ ` "header": "Contact Info", "collapsible":
427
+ # true, "uncollapsibleWidgetsCount": 1, "widgets": [ ` "decoratedText": ` "
428
+ # startIcon": ` "knownIcon": "EMAIL", `, "text": "sasha@example.com", ` `, ` "
429
+ # decoratedText": ` "startIcon": ` "knownIcon": "PERSON", `, "text": "Online", `,
430
+ # `, ` "decoratedText": ` "startIcon": ` "knownIcon": "PHONE", `, "text": "+1 (
431
+ # 555) 555-1234", ` `, ` "buttonList": ` "buttons": [ ` "text": "Share", "
432
+ # onClick": ` "openLink": ` "url": "https://example.com/share", ` ` `, ` "text":
433
+ # "Edit", "onClick": ` "action": ` "function": "goToView", "parameters": [ ` "
434
+ # key": "viewType", "value": "EDIT", ` ], ` ` `, ], ` `, ], `, ], `, ` ], ` ```
434
435
  # Corresponds to the JSON property `card`
435
436
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Card]
436
437
  attr_accessor :card
437
438
 
438
- # Required for `cardsV2` messages. Chat app-specified identifier for this widget.
439
- # Scoped within a message.
439
+ # Required if the message contains multiple cards. A unique identifier for a
440
+ # card in a message.
440
441
  # Corresponds to the JSON property `cardId`
441
442
  # @return [String]
442
443
  attr_accessor :card_id
@@ -768,9 +769,12 @@ module Google
768
769
  end
769
770
  end
770
771
 
771
- # Google Chat events. To learn how to use events, see [Receive and respond to
772
- # Google Chat events](https://developers.google.com/chat/api/guides/message-
773
- # formats).
772
+ # A Google Chat app interaction event. To learn about interaction events, see [
773
+ # Receive and respond to interactions with your Google Chat app](https://
774
+ # developers.google.com/chat/api/guides/message-formats). To learn about event
775
+ # types and for example event payloads, see [Types of Google Chat app
776
+ # interaction events](https://developers.google.com/chat/api/guides/message-
777
+ # formats/events).
774
778
  class DeprecatedEvent
775
779
  include Google::Apis::Core::Hashable
776
780
 
@@ -796,25 +800,25 @@ module Google
796
800
  # @return [String]
797
801
  attr_accessor :config_complete_redirect_url
798
802
 
799
- # The type of [dialog](https://developers.google.com/chat/how-tos/dialogs) event
800
- # received.
803
+ # The type of [dialog](https://developers.google.com/chat/how-tos/dialogs)
804
+ # interaction event received.
801
805
  # Corresponds to the JSON property `dialogEventType`
802
806
  # @return [String]
803
807
  attr_accessor :dialog_event_type
804
808
 
805
- # The timestamp indicating when the event occurred.
809
+ # The timestamp indicating when the interaction event occurred.
806
810
  # Corresponds to the JSON property `eventTime`
807
811
  # @return [String]
808
812
  attr_accessor :event_time
809
813
 
810
- # True when the event is related to [dialogs](https://developers.google.com/chat/
811
- # how-tos/dialogs).
814
+ # For `CARD_CLICKED` interaction events, whether the user interacted with a [
815
+ # dialog](https://developers.google.com/chat/how-tos/dialogs).
812
816
  # Corresponds to the JSON property `isDialogEvent`
813
817
  # @return [Boolean]
814
818
  attr_accessor :is_dialog_event
815
819
  alias_method :is_dialog_event?, :is_dialog_event
816
820
 
817
- # A message in Google Chat.
821
+ # A message in a Google Chat space.
818
822
  # Corresponds to the JSON property `message`
819
823
  # @return [Google::Apis::ChatV1::Message]
820
824
  attr_accessor :message
@@ -825,9 +829,9 @@ module Google
825
829
  # @return [Google::Apis::ChatV1::Space]
826
830
  attr_accessor :space
827
831
 
828
- # The Chat app-defined key for the thread related to the event. See [`spaces.
829
- # messages.thread.threadKey`](/chat/api/reference/rest/v1/spaces.messages#Thread.
830
- # FIELDS.thread_key) for more information.
832
+ # The Chat app-defined key for the thread related to the interaction event. See [
833
+ # `spaces.messages.thread.threadKey`](/chat/api/reference/rest/v1/spaces.
834
+ # messages#Thread.FIELDS.thread_key) for more information.
831
835
  # Corresponds to the JSON property `threadKey`
832
836
  # @return [String]
833
837
  attr_accessor :thread_key
@@ -843,7 +847,9 @@ module Google
843
847
  # @return [String]
844
848
  attr_accessor :token
845
849
 
846
- # The type of the event.
850
+ # The type of interaction event. For details, see [Types of Google Chat app
851
+ # interaction events](https://developers.google.com/chat/api/guides/message-
852
+ # formats/events).
847
853
  # Corresponds to the JSON property `type`
848
854
  # @return [String]
849
855
  attr_accessor :type
@@ -881,31 +887,29 @@ module Google
881
887
  class Dialog
882
888
  include Google::Apis::Core::Hashable
883
889
 
884
- # Cards support a defined layout, interactive UI elements like buttons, and rich
885
- # media like images. Use cards to present detailed information, gather
886
- # information from users, and guide users to take a next step. In Google Chat,
887
- # cards appear in several places: - As stand-alone messages. - Accompanying a
888
- # text message, just beneath the text message. - As a [dialog](https://
889
- # developers.google.com/chat/how-tos/dialogs). The following example JSON
890
- # creates a "contact card" that features: - A header with the contact's name,
891
- # job title, and avatar picture. - A section with the contact information,
892
- # including formatted text. - Buttons that users can click to share the contact,
893
- # or see more or less information. For more examples, see [Design dynamic,
894
- # interactive, and consistent UIs with cards](https://developers.google.com/chat/
895
- # ui). ![Example contact card](https://developers.google.com/chat/images/
896
- # card_api_reference.png) ``` ` "cardsV2": [ ` "cardId": "unique-card-id", "card"
897
- # : ` "header": ` "title": "Sasha", "subtitle": "Software Engineer", "imageUrl":
898
- # "https://developers.google.com/chat/images/quickstart-app-avatar.png", "
899
- # imageType": "CIRCLE", "imageAltText": "Avatar for Sasha", `, "sections": [ ` "
900
- # header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "
901
- # widgets": [ ` "decoratedText": ` "startIcon": ` "knownIcon": "EMAIL", `, "text"
902
- # : "sasha@example.com", ` `, ` "decoratedText": ` "startIcon": ` "knownIcon": "
903
- # PERSON", `, "text": "Online", `, `, ` "decoratedText": ` "startIcon": ` "
904
- # knownIcon": "PHONE", `, "text": "+1 (555) 555-1234", ` `, ` "buttonList": ` "
905
- # buttons": [ ` "text": "Share", "onClick": ` "openLink": ` "url": "https://
906
- # example.com/share", ` ` `, ` "text": "Edit", "onClick": ` "action": ` "
907
- # function": "goToView", "parameters": [ ` "key": "viewType", "value": "EDIT", `
908
- # ], ` ` `, ], ` `, ], `, ], `, ` ], ` ```
890
+ # A card interface displayed in a Google Chat message or Google Workspace Add-on.
891
+ # Cards support a defined layout, interactive UI elements like buttons, and
892
+ # rich media like images. Use cards to present detailed information, gather
893
+ # information from users, and guide users to take a next step. To learn how to
894
+ # build cards, see the following documentation: * For Google Chat apps, see [
895
+ # Design dynamic, interactive, and consistent UIs with cards](https://developers.
896
+ # google.com/chat/ui). * For Google Workspace Add-ons, see [Card-based
897
+ # interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards).
898
+ # **Example: Card message for a Google Chat app** ![Example contact card](https:/
899
+ # /developers.google.com/chat/images/card_api_reference.png) To create the
900
+ # sample card message in Google Chat, use the following JSON: ``` ` "cardsV2": [
901
+ # ` "cardId": "unique-card-id", "card": ` "header": ` "title": "Sasha", "
902
+ # subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/
903
+ # chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText":
904
+ # "Avatar for Sasha", `, "sections": [ ` "header": "Contact Info", "collapsible":
905
+ # true, "uncollapsibleWidgetsCount": 1, "widgets": [ ` "decoratedText": ` "
906
+ # startIcon": ` "knownIcon": "EMAIL", `, "text": "sasha@example.com", ` `, ` "
907
+ # decoratedText": ` "startIcon": ` "knownIcon": "PERSON", `, "text": "Online", `,
908
+ # `, ` "decoratedText": ` "startIcon": ` "knownIcon": "PHONE", `, "text": "+1 (
909
+ # 555) 555-1234", ` `, ` "buttonList": ` "buttons": [ ` "text": "Share", "
910
+ # onClick": ` "openLink": ` "url": "https://example.com/share", ` ` `, ` "text":
911
+ # "Edit", "onClick": ` "action": ` "function": "goToView", "parameters": [ ` "
912
+ # key": "viewType", "value": "EDIT", ` ], ` ` `, ], ` `, ], `, ], `, ` ], ` ```
909
913
  # Corresponds to the JSON property `body`
910
914
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Card]
911
915
  attr_accessor :body
@@ -1364,31 +1368,29 @@ module Google
1364
1368
  end
1365
1369
  end
1366
1370
 
1367
- # Cards support a defined layout, interactive UI elements like buttons, and rich
1368
- # media like images. Use cards to present detailed information, gather
1369
- # information from users, and guide users to take a next step. In Google Chat,
1370
- # cards appear in several places: - As stand-alone messages. - Accompanying a
1371
- # text message, just beneath the text message. - As a [dialog](https://
1372
- # developers.google.com/chat/how-tos/dialogs). The following example JSON
1373
- # creates a "contact card" that features: - A header with the contact's name,
1374
- # job title, and avatar picture. - A section with the contact information,
1375
- # including formatted text. - Buttons that users can click to share the contact,
1376
- # or see more or less information. For more examples, see [Design dynamic,
1377
- # interactive, and consistent UIs with cards](https://developers.google.com/chat/
1378
- # ui). ![Example contact card](https://developers.google.com/chat/images/
1379
- # card_api_reference.png) ``` ` "cardsV2": [ ` "cardId": "unique-card-id", "card"
1380
- # : ` "header": ` "title": "Sasha", "subtitle": "Software Engineer", "imageUrl":
1381
- # "https://developers.google.com/chat/images/quickstart-app-avatar.png", "
1382
- # imageType": "CIRCLE", "imageAltText": "Avatar for Sasha", `, "sections": [ ` "
1383
- # header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "
1384
- # widgets": [ ` "decoratedText": ` "startIcon": ` "knownIcon": "EMAIL", `, "text"
1385
- # : "sasha@example.com", ` `, ` "decoratedText": ` "startIcon": ` "knownIcon": "
1386
- # PERSON", `, "text": "Online", `, `, ` "decoratedText": ` "startIcon": ` "
1387
- # knownIcon": "PHONE", `, "text": "+1 (555) 555-1234", ` `, ` "buttonList": ` "
1388
- # buttons": [ ` "text": "Share", "onClick": ` "openLink": ` "url": "https://
1389
- # example.com/share", ` ` `, ` "text": "Edit", "onClick": ` "action": ` "
1390
- # function": "goToView", "parameters": [ ` "key": "viewType", "value": "EDIT", `
1391
- # ], ` ` `, ], ` `, ], `, ], `, ` ], ` ```
1371
+ # A card interface displayed in a Google Chat message or Google Workspace Add-on.
1372
+ # Cards support a defined layout, interactive UI elements like buttons, and
1373
+ # rich media like images. Use cards to present detailed information, gather
1374
+ # information from users, and guide users to take a next step. To learn how to
1375
+ # build cards, see the following documentation: * For Google Chat apps, see [
1376
+ # Design dynamic, interactive, and consistent UIs with cards](https://developers.
1377
+ # google.com/chat/ui). * For Google Workspace Add-ons, see [Card-based
1378
+ # interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards).
1379
+ # **Example: Card message for a Google Chat app** ![Example contact card](https:/
1380
+ # /developers.google.com/chat/images/card_api_reference.png) To create the
1381
+ # sample card message in Google Chat, use the following JSON: ``` ` "cardsV2": [
1382
+ # ` "cardId": "unique-card-id", "card": ` "header": ` "title": "Sasha", "
1383
+ # subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/
1384
+ # chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText":
1385
+ # "Avatar for Sasha", `, "sections": [ ` "header": "Contact Info", "collapsible":
1386
+ # true, "uncollapsibleWidgetsCount": 1, "widgets": [ ` "decoratedText": ` "
1387
+ # startIcon": ` "knownIcon": "EMAIL", `, "text": "sasha@example.com", ` `, ` "
1388
+ # decoratedText": ` "startIcon": ` "knownIcon": "PERSON", `, "text": "Online", `,
1389
+ # `, ` "decoratedText": ` "startIcon": ` "knownIcon": "PHONE", `, "text": "+1 (
1390
+ # 555) 555-1234", ` `, ` "buttonList": ` "buttons": [ ` "text": "Share", "
1391
+ # onClick": ` "openLink": ` "url": "https://example.com/share", ` ` `, ` "text":
1392
+ # "Edit", "onClick": ` "action": ` "function": "goToView", "parameters": [ ` "
1393
+ # key": "viewType", "value": "EDIT", ` ], ` ` `, ], ` `, ], `, ], `, ` ], ` ```
1392
1394
  class GoogleAppsCardV1Card
1393
1395
  include Google::Apis::Core::Hashable
1394
1396
 
@@ -2112,31 +2114,29 @@ module Google
2112
2114
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Action]
2113
2115
  attr_accessor :action
2114
2116
 
2115
- # Cards support a defined layout, interactive UI elements like buttons, and rich
2116
- # media like images. Use cards to present detailed information, gather
2117
- # information from users, and guide users to take a next step. In Google Chat,
2118
- # cards appear in several places: - As stand-alone messages. - Accompanying a
2119
- # text message, just beneath the text message. - As a [dialog](https://
2120
- # developers.google.com/chat/how-tos/dialogs). The following example JSON
2121
- # creates a "contact card" that features: - A header with the contact's name,
2122
- # job title, and avatar picture. - A section with the contact information,
2123
- # including formatted text. - Buttons that users can click to share the contact,
2124
- # or see more or less information. For more examples, see [Design dynamic,
2125
- # interactive, and consistent UIs with cards](https://developers.google.com/chat/
2126
- # ui). ![Example contact card](https://developers.google.com/chat/images/
2127
- # card_api_reference.png) ``` ` "cardsV2": [ ` "cardId": "unique-card-id", "card"
2128
- # : ` "header": ` "title": "Sasha", "subtitle": "Software Engineer", "imageUrl":
2129
- # "https://developers.google.com/chat/images/quickstart-app-avatar.png", "
2130
- # imageType": "CIRCLE", "imageAltText": "Avatar for Sasha", `, "sections": [ ` "
2131
- # header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "
2132
- # widgets": [ ` "decoratedText": ` "startIcon": ` "knownIcon": "EMAIL", `, "text"
2133
- # : "sasha@example.com", ` `, ` "decoratedText": ` "startIcon": ` "knownIcon": "
2134
- # PERSON", `, "text": "Online", `, `, ` "decoratedText": ` "startIcon": ` "
2135
- # knownIcon": "PHONE", `, "text": "+1 (555) 555-1234", ` `, ` "buttonList": ` "
2136
- # buttons": [ ` "text": "Share", "onClick": ` "openLink": ` "url": "https://
2137
- # example.com/share", ` ` `, ` "text": "Edit", "onClick": ` "action": ` "
2138
- # function": "goToView", "parameters": [ ` "key": "viewType", "value": "EDIT", `
2139
- # ], ` ` `, ], ` `, ], `, ], `, ` ], ` ```
2117
+ # A card interface displayed in a Google Chat message or Google Workspace Add-on.
2118
+ # Cards support a defined layout, interactive UI elements like buttons, and
2119
+ # rich media like images. Use cards to present detailed information, gather
2120
+ # information from users, and guide users to take a next step. To learn how to
2121
+ # build cards, see the following documentation: * For Google Chat apps, see [
2122
+ # Design dynamic, interactive, and consistent UIs with cards](https://developers.
2123
+ # google.com/chat/ui). * For Google Workspace Add-ons, see [Card-based
2124
+ # interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards).
2125
+ # **Example: Card message for a Google Chat app** ![Example contact card](https:/
2126
+ # /developers.google.com/chat/images/card_api_reference.png) To create the
2127
+ # sample card message in Google Chat, use the following JSON: ``` ` "cardsV2": [
2128
+ # ` "cardId": "unique-card-id", "card": ` "header": ` "title": "Sasha", "
2129
+ # subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/
2130
+ # chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText":
2131
+ # "Avatar for Sasha", `, "sections": [ ` "header": "Contact Info", "collapsible":
2132
+ # true, "uncollapsibleWidgetsCount": 1, "widgets": [ ` "decoratedText": ` "
2133
+ # startIcon": ` "knownIcon": "EMAIL", `, "text": "sasha@example.com", ` `, ` "
2134
+ # decoratedText": ` "startIcon": ` "knownIcon": "PERSON", `, "text": "Online", `,
2135
+ # `, ` "decoratedText": ` "startIcon": ` "knownIcon": "PHONE", `, "text": "+1 (
2136
+ # 555) 555-1234", ` `, ` "buttonList": ` "buttons": [ ` "text": "Share", "
2137
+ # onClick": ` "openLink": ` "url": "https://example.com/share", ` ` `, ` "text":
2138
+ # "Edit", "onClick": ` "action": ` "function": "goToView", "parameters": [ ` "
2139
+ # key": "viewType", "value": "EDIT", ` ], ` ` `, ], ` `, ], `, ], `, ` ], ` ```
2140
2140
  # Corresponds to the JSON property `card`
2141
2141
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Card]
2142
2142
  attr_accessor :card
@@ -2971,7 +2971,9 @@ module Google
2971
2971
  end
2972
2972
  end
2973
2973
 
2974
- # Types of data inputs for widgets. Users enter data with these inputs.
2974
+ # Types of data that users can enter on cards or dialogs. To learn how to
2975
+ # process information from users, see [Read form data input by users on cards](
2976
+ # https://developers.google.com/chat/ui/read-form-data).
2975
2977
  class Inputs
2976
2978
  include Google::Apis::Core::Hashable
2977
2979
 
@@ -3280,7 +3282,7 @@ module Google
3280
3282
  end
3281
3283
  end
3282
3284
 
3283
- # A message in Google Chat.
3285
+ # A message in a Google Chat space.
3284
3286
  class Message
3285
3287
  include Google::Apis::Core::Hashable
3286
3288
 
@@ -3318,15 +3320,12 @@ module Google
3318
3320
  # @return [Array<Google::Apis::ChatV1::Card>]
3319
3321
  attr_accessor :cards
3320
3322
 
3321
- # Richly formatted and interactive cards that display UI elements and editable
3322
- # widgets, such as: - Formatted text - Buttons - Clickable images - Checkboxes -
3323
- # Radio buttons - Input widgets. Cards are usually displayed below the text body
3324
- # of a Chat message, but can situationally appear other places, such as [dialogs]
3325
- # (https://developers.google.com/chat/how-tos/dialogs). Each card can have a
3326
- # maximum size of 32 KB. The `cardId` is a unique identifier among cards in the
3327
- # same message and for identifying user input values. Currently supported
3328
- # widgets include: - `TextParagraph` - `DecoratedText` - `Image` - `ButtonList` -
3329
- # `Divider` - `TextInput` - `SelectionInput` - `Grid`
3323
+ # An array of [cards](https://developers.google.com/chat/api/reference/rest/v1/
3324
+ # cards). Only Chat apps can create cards. If your Chat app [authenticates as a
3325
+ # user](https://developers.google.com/chat/api/guides/auth/users), the messages
3326
+ # can't contain cards. To learn about cards and how to create them, see [Design
3327
+ # dynamic, interactive, and consistent UIs with cards](https://developers.google.
3328
+ # com/chat/ui).
3330
3329
  # Corresponds to the JSON property `cardsV2`
3331
3330
  # @return [Array<Google::Apis::ChatV1::CardWithId>]
3332
3331
  attr_accessor :cards_v2
@@ -3423,13 +3422,18 @@ module Google
3423
3422
  # @return [Google::Apis::ChatV1::Space]
3424
3423
  attr_accessor :space
3425
3424
 
3426
- # Plain-text body of the message. The first link to an image, video, web page,
3427
- # or other preview-able item generates a preview chip.
3425
+ # Plain-text body of the message. The first link to an image, video, or web page
3426
+ # generates a preview chip. You can also @mention a Google Chat user, or
3427
+ # everyone in the space. To learn about creating text messages, see [Create a
3428
+ # text message](https://developers.google.com/chat/api/guides/message-formats/
3429
+ # text).
3428
3430
  # Corresponds to the JSON property `text`
3429
3431
  # @return [String]
3430
3432
  attr_accessor :text
3431
3433
 
3432
- # A thread in Google Chat.
3434
+ # A thread in a Google Chat space. For example usage, see [Start or reply to a
3435
+ # message thread](https://developers.google.com/chat/api/guides/crudl/messages#
3436
+ # start_or_reply_to_a_message_thread).
3433
3437
  # Corresponds to the JSON property `thread`
3434
3438
  # @return [Google::Apis::ChatV1::Thread]
3435
3439
  attr_accessor :thread
@@ -3747,8 +3751,11 @@ module Google
3747
3751
  alias_method :admin_installed?, :admin_installed
3748
3752
 
3749
3753
  # The space's display name. Required when [creating a space](https://developers.
3750
- # google.com/chat/api/reference/rest/v1/spaces/create). For direct messages,
3751
- # this field might be empty. Supports up to 128 characters.
3754
+ # google.com/chat/api/reference/rest/v1/spaces/create). If you receive the error
3755
+ # message `ALREADY_EXISTS` when creating a space or updating the `displayName`,
3756
+ # try a different `displayName`. An existing space within the Google Workspace
3757
+ # organization might already use this display name. For direct messages, this
3758
+ # field might be empty. Supports up to 128 characters.
3752
3759
  # Corresponds to the JSON property `displayName`
3753
3760
  # @return [String]
3754
3761
  attr_accessor :display_name
@@ -3986,7 +3993,9 @@ module Google
3986
3993
  end
3987
3994
  end
3988
3995
 
3989
- # A thread in Google Chat.
3996
+ # A thread in a Google Chat space. For example usage, see [Start or reply to a
3997
+ # message thread](https://developers.google.com/chat/api/guides/crudl/messages#
3998
+ # start_or_reply_to_a_message_thread).
3990
3999
  class Thread
3991
4000
  include Google::Apis::Core::Hashable
3992
4001
 
@@ -3995,11 +4004,8 @@ module Google
3995
4004
  # @return [String]
3996
4005
  attr_accessor :name
3997
4006
 
3998
- # Optional. Opaque thread identifier. To start or add to a thread, create a
3999
- # message and specify a `threadKey` or the thread.name. For example usage, see [
4000
- # Start or reply to a message thread](https://developers.google.com/chat/api/
4001
- # guides/crudl/messages#start_or_reply_to_a_message_thread). For other requests,
4002
- # this is an output only field.
4007
+ # Optional. ID for the thread. Supports up to 4000 characters. Input for
4008
+ # creating or updating a thread. Otherwise, output only.
4003
4009
  # Corresponds to the JSON property `threadKey`
4004
4010
  # @return [String]
4005
4011
  attr_accessor :thread_key
@@ -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.67.0"
19
+ GEM_VERSION = "0.69.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230801"
25
+ REVISION = "20230822"
26
26
  end
27
27
  end
28
28
  end
@@ -91,9 +91,8 @@ module Google
91
91
  # Uploads an attachment. For an example, see [Upload media as a file attachment](
92
92
  # https://developers.google.com/chat/api/guides/v1/media-and-attachments/upload).
93
93
  # Requires user [authentication](https://developers.google.com/chat/api/guides/
94
- # auth/users) and the `chat.messages` or `chat.messages.create` authorization
95
- # scope. You can upload attachments up to 200 MB. Certain file types aren't
96
- # supported. For details, see [File types blocked by Google Chat](https://
94
+ # auth/users). You can upload attachments up to 200 MB. Certain file types aren'
95
+ # t supported. For details, see [File types blocked by Google Chat](https://
97
96
  # support.google.com/chat/answer/7651457?&co=GENIE.Platform%3DDesktop#File%
98
97
  # 20types%20blocked%20in%20Google%20Chat).
99
98
  # @param [String] parent
@@ -141,9 +140,10 @@ module Google
141
140
 
142
141
  # Creates a named space. Spaces grouped by topics aren't supported. For an
143
142
  # example, see [Create a space](https://developers.google.com/chat/api/guides/v1/
144
- # spaces/create). Requires [user authentication](https://developers.google.com/
145
- # chat/api/guides/auth/users) and the `chat.spaces.create` or `chat.spaces`
146
- # scope.
143
+ # spaces/create). If you receive the error message `ALREADY_EXISTS` when
144
+ # creating a space, try a different `displayName`. An existing space within the
145
+ # Google Workspace organization might already use this display name. Requires [
146
+ # user authentication](https://developers.google.com/chat/api/guides/auth/users).
147
147
  # @param [Google::Apis::ChatV1::Space] space_object
148
148
  # @param [String] request_id
149
149
  # Optional. A unique identifier for this request. A random UUID is recommended.
@@ -184,7 +184,7 @@ module Google
184
184
  # in the space—are also deleted. For an example, see [Delete a space](https://
185
185
  # developers.google.com/chat/api/guides/v1/spaces/delete). Requires [user
186
186
  # authentication](https://developers.google.com/chat/api/guides/auth/users) from
187
- # a user who has permission to delete the space, and the `chat.delete` scope.
187
+ # a user who has permission to delete the space.
188
188
  # @param [String] name
189
189
  # Required. Resource name of the space to delete. Format: `spaces/`space``
190
190
  # @param [String] fields
@@ -269,8 +269,7 @@ module Google
269
269
  # account authentication](https://developers.google.com/chat/api/guides/auth/
270
270
  # service-accounts) and [user authentication](https://developers.google.com/chat/
271
271
  # api/guides/auth/users). [User authentication](https://developers.google.com/
272
- # chat/api/guides/auth/users) requires the `chat.spaces` or `chat.spaces.
273
- # readonly` authorization scope.
272
+ # chat/api/guides/auth/users).
274
273
  # @param [String] name
275
274
  # Required. Resource name of the space, in the form "spaces/*". Format: `spaces/`
276
275
  # space``
@@ -307,8 +306,7 @@ module Google
307
306
  # authentication](https://developers.google.com/chat/api/guides/auth). Fully
308
307
  # supports [service account authentication](https://developers.google.com/chat/
309
308
  # api/guides/auth/service-accounts) and [user authentication](https://developers.
310
- # google.com/chat/api/guides/auth/users) requires the `chat.spaces` or `chat.
311
- # spaces.readonly` authorization scope. Lists spaces visible to the caller or
309
+ # google.com/chat/api/guides/auth/users). Lists spaces visible to the caller or
312
310
  # authenticated user. Group chats and DMs aren't listed until the first message
313
311
  # is sent.
314
312
  # @param [String] filter
@@ -365,9 +363,11 @@ module Google
365
363
  end
366
364
 
367
365
  # Updates a space. For an example, see [Update a space](https://developers.
368
- # google.com/chat/api/guides/v1/spaces/update). Requires [user authentication](
369
- # https://developers.google.com/chat/api/guides/auth/users) and the `chat.spaces`
370
- # scope.
366
+ # google.com/chat/api/guides/v1/spaces/update). If you're updating the `
367
+ # displayName` field and receive the error message `ALREADY_EXISTS`, try a
368
+ # different display name.. An existing space within the Google Workspace
369
+ # organization might already use this display name. Requires [user
370
+ # authentication](https://developers.google.com/chat/api/guides/auth/users).
371
371
  # @param [String] name
372
372
  # Resource name of the space. Format: `spaces/`space``
373
373
  # @param [Google::Apis::ChatV1::Space] space_object
@@ -377,18 +377,20 @@ module Google
377
377
  # display name of a space with the `SPACE` type, or when also including the `
378
378
  # space_type` mask to change a `GROUP_CHAT` space type to `SPACE`. Trying to
379
379
  # update the display name of a `GROUP_CHAT` or a `DIRECT_MESSAGE` space results
380
- # in an invalid argument error.) - `space_type` (Only supports changing a `
381
- # GROUP_CHAT` space type to `SPACE`. Include `display_name` together with `
382
- # space_type` in the update mask and ensure that the specified space has a non-
383
- # empty display name and the `SPACE` space type. Including the `space_type` mask
384
- # and the `SPACE` type in the specified space when updating the display name is
385
- # optional if the existing space already has the `SPACE` type. Trying to update
386
- # the space type in other ways results in an invalid argument error). - `
387
- # space_details` - `space_history_state` (Supports [turning history on or off
388
- # for the space](https://support.google.com/chat/answer/7664687) if [the
389
- # organization allows users to change their history setting](https://support.
390
- # google.com/a/answer/7664184). Warning: mutually exclusive with all other field
391
- # paths.)
380
+ # in an invalid argument error. If you receive the error message `ALREADY_EXISTS`
381
+ # when updating the `displayName`, try a different `displayName`. An existing
382
+ # space within the Google Workspace organization might already use this display
383
+ # name.) - `space_type` (Only supports changing a `GROUP_CHAT` space type to `
384
+ # SPACE`. Include `display_name` together with `space_type` in the update mask
385
+ # and ensure that the specified space has a non-empty display name and the `
386
+ # SPACE` space type. Including the `space_type` mask and the `SPACE` type in the
387
+ # specified space when updating the display name is optional if the existing
388
+ # space already has the `SPACE` type. Trying to update the space type in other
389
+ # ways results in an invalid argument error). - `space_details` - `
390
+ # space_history_state` (Supports [turning history on or off for the space](https:
391
+ # //support.google.com/chat/answer/7664687) if [the organization allows users to
392
+ # change their history setting](https://support.google.com/a/answer/7664184).
393
+ # Warning: mutually exclusive with all other field paths.)
392
394
  # @param [String] fields
393
395
  # Selector specifying which fields to include in a partial response.
394
396
  # @param [String] quota_user
@@ -442,9 +444,11 @@ module Google
442
444
  # membership](https://developers.google.com/chat/api/guides/v1/members/create).
443
445
  # If a DM already exists between two users, even when one user blocks the other
444
446
  # at the time a request is made, then the existing DM is returned. Spaces with
445
- # threaded replies or guest access aren't supported. Requires [user
446
- # authentication](https://developers.google.com/chat/api/guides/auth/users) and
447
- # the `chat.spaces.create` or `chat.spaces` scope.
447
+ # threaded replies aren't supported. If you receive the error message `
448
+ # ALREADY_EXISTS` when setting up a space, try a different `displayName`. An
449
+ # existing space within the Google Workspace organization might already use this
450
+ # display name. Requires [user authentication](https://developers.google.com/
451
+ # chat/api/guides/auth/users).
448
452
  # @param [Google::Apis::ChatV1::SetUpSpaceRequest] set_up_space_request_object
449
453
  # @param [String] fields
450
454
  # Selector specifying which fields to include in a partial response.
@@ -481,18 +485,16 @@ module Google
481
485
  # policy turned off, then they're invited, and must accept the space invitation
482
486
  # before joining. Otherwise, creating a membership adds the member directly to
483
487
  # the specified space. Requires [user authentication](https://developers.google.
484
- # com/chat/api/guides/auth/users) and the `chat.memberships` (for human
485
- # membership) or `chat.memberships.app` (for app membership) scope. To specify
486
- # the member to add, set the `membership.member.name` in the `
487
- # CreateMembershipRequest`: - To add the calling app to a space or a direct
488
- # message between two human users, use `users/app`. Unable to add other apps to
489
- # the space. - To add a human user, use `users/`user``, where ``user`` can be
490
- # the email address for the user. For users in the same Workspace organization ``
491
- # user`` can also be the ``person_id`` for the person from the People API, or
492
- # the `id` for the user in the Directory API. For example, if the People API
493
- # Person `resourceName` for `user@example.com` is `people/123456789`, you can
494
- # add the user to the space by setting the `membership.member.name` to `users/
495
- # user@example.com` or `users/123456789`.
488
+ # com/chat/api/guides/auth/users). To specify the member to add, set the `
489
+ # membership.member.name` in the `CreateMembershipRequest`: - To add the calling
490
+ # app to a space or a direct message between two human users, use `users/app`.
491
+ # Unable to add other apps to the space. - To add a human user, use `users/`user`
492
+ # `, where ``user`` can be the email address for the user. For users in the same
493
+ # Workspace organization ``user`` can also be the ``person_id`` for the person
494
+ # from the People API, or the `id` for the user in the Directory API. For
495
+ # example, if the People API Person `resourceName` for `user@example.com` is `
496
+ # people/123456789`, you can add the user to the space by setting the `
497
+ # membership.member.name` to `users/user@example.com` or `users/123456789`.
496
498
  # @param [String] parent
497
499
  # Required. The resource name of the space for which to create the membership.
498
500
  # Format: spaces/`space`
@@ -528,8 +530,7 @@ module Google
528
530
 
529
531
  # Deletes a membership. For an example, see [Delete a membership](https://
530
532
  # developers.google.com/chat/api/guides/v1/members/delete). Requires [user
531
- # authentication](https://developers.google.com/chat/api/guides/auth/users) and
532
- # the `chat.memberships` or `chat.memberships.app` authorization scope.
533
+ # authentication](https://developers.google.com/chat/api/guides/auth/users).
533
534
  # @param [String] name
534
535
  # Required. Resource name of the membership to delete. Chat apps can delete
535
536
  # human users' or their own memberships. Chat apps can't delete other apps'
@@ -573,8 +574,7 @@ module Google
573
574
  # supports [service account authentication](https://developers.google.com/chat/
574
575
  # api/guides/auth/service-accounts) and [user authentication](https://developers.
575
576
  # google.com/chat/api/guides/auth/users). [User authentication](https://
576
- # developers.google.com/chat/api/guides/auth/users) requires the `chat.
577
- # memberships` or `chat.memberships.readonly` authorization scope.
577
+ # developers.google.com/chat/api/guides/auth/users).
578
578
  # @param [String] name
579
579
  # Required. Resource name of the membership to retrieve. To get the app's own
580
580
  # membership, you can optionally use `spaces/`space`/members/app`. Format: `
@@ -621,8 +621,7 @@ module Google
621
621
  # Fully supports [service account authentication](https://developers.google.com/
622
622
  # chat/api/guides/auth/service-accounts) and [user authentication](https://
623
623
  # developers.google.com/chat/api/guides/auth/users). [User authentication](https:
624
- # //developers.google.com/chat/api/guides/auth/users) requires the `chat.
625
- # memberships` or `chat.memberships.readonly` authorization scope.
624
+ # //developers.google.com/chat/api/guides/auth/users).
626
625
  # @param [String] parent
627
626
  # Required. The resource name of the space for which to fetch a membership list.
628
627
  # Format: spaces/`space`
@@ -688,19 +687,13 @@ module Google
688
687
  execute_or_queue_command(command, &block)
689
688
  end
690
689
 
691
- # Creates a message. For an example, see [Create a message](https://developers.
692
- # google.com/chat/api/guides/crudl/messages#create_a_message). Requires [
693
- # authentication](https://developers.google.com/chat/api/guides/auth). Creating
694
- # a text message supports both [user authentication](https://developers.google.
695
- # com/chat/api/guides/auth/users) and [app authentication] (https://developers.
696
- # google.com/chat/api/guides/auth/service-accounts). [User authentication](https:
697
- # //developers.google.com/chat/api/guides/auth/users) requires the `chat.
698
- # messages` or `chat.messages.create` authorization scope. Creating a card
699
- # message only supports and requires [app authentication] (https://developers.
700
- # google.com/chat/api/guides/auth/service-accounts). Because Chat provides
701
- # authentication for [webhooks](https://developers.google.com/chat/how-tos/
702
- # webhooks) as part of the URL that's generated when a webhook is registered,
703
- # webhooks can create messages without a service account or user authentication.
690
+ # Creates a message in a Google Chat space. For an example, see [Create a
691
+ # message](https://developers.google.com/chat/api/guides/v1/messages/create).
692
+ # Calling this method requires [authentication](https://developers.google.com/
693
+ # chat/api/guides/auth) and supports the following authentication types: - For
694
+ # text messages, user authentication or app authentication are supported. - For
695
+ # card messages, only app authentication is supported. (Only Chat apps can
696
+ # create card messages.)
704
697
  # @param [String] parent
705
698
  # Required. The resource name of the space in which to create a message. Format:
706
699
  # `spaces/`space``
@@ -725,11 +718,11 @@ module Google
725
718
  # Optional. A unique request ID for this message. Specifying an existing request
726
719
  # ID returns the message created with that ID instead of creating a new message.
727
720
  # @param [String] thread_key
728
- # Optional. Deprecated: Use thread.thread_key instead. Opaque thread identifier.
729
- # To start or add to a thread, create a message and specify a `threadKey` or the
730
- # thread.name. For example usage, see [Start or reply to a message thread](https:
731
- # //developers.google.com/chat/api/guides/crudl/messages#
732
- # start_or_reply_to_a_message_thread).
721
+ # Optional. Deprecated: Use thread.thread_key instead. ID for the thread.
722
+ # Supports up to 4000 characters. To start or add to a thread, create a message
723
+ # and specify a `threadKey` or the thread.name. For example usage, see [Start or
724
+ # reply to a message thread](https://developers.google.com/chat/api/guides/crudl/
725
+ # messages#start_or_reply_to_a_message_thread).
733
726
  # @param [String] fields
734
727
  # Selector specifying which fields to include in a partial response.
735
728
  # @param [String] quota_user
@@ -769,9 +762,8 @@ module Google
769
762
  # account authentication](https://developers.google.com/chat/api/guides/auth/
770
763
  # service-accounts) and [user authentication](https://developers.google.com/chat/
771
764
  # api/guides/auth/users). [User authentication](https://developers.google.com/
772
- # chat/api/guides/auth/users) requires the `chat.messages` authorization scope.
773
- # Requests authenticated with service accounts can only delete messages created
774
- # by the calling Chat app.
765
+ # chat/api/guides/auth/users). Requests authenticated with service accounts can
766
+ # only delete messages created by the calling Chat app.
775
767
  # @param [String] name
776
768
  # Required. Resource name of the message that you want to delete, in the form `
777
769
  # spaces/*/messages/*` Example: `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.
@@ -816,9 +808,8 @@ module Google
816
808
  # supports [service account authentication](https://developers.google.com/chat/
817
809
  # api/guides/auth/service-accounts) and [user authentication](https://developers.
818
810
  # google.com/chat/api/guides/auth/users). [User authentication](https://
819
- # developers.google.com/chat/api/guides/auth/users) requires the `chat.messages`
820
- # or `chat.messages.readonly` authorization scope. Note: Might return a message
821
- # from a blocked member or space.
811
+ # developers.google.com/chat/api/guides/auth/users). Note: Might return a
812
+ # message from a blocked member or space.
822
813
  # @param [String] name
823
814
  # Required. Resource name of the message to retrieve. Format: `spaces/`space`/
824
815
  # messages/`message`` If the message begins with `client-`, then it has a custom
@@ -856,8 +847,7 @@ module Google
856
847
  # Lists messages in a space that the caller is a member of, including messages
857
848
  # from blocked members and spaces. For an example, see [List messages](/chat/api/
858
849
  # guides/v1/messages/list). Requires [user authentication](https://developers.
859
- # google.com/chat/api/guides/auth/users) and the `chat.messages` or `chat.
860
- # messages.readonly` authorization scope.
850
+ # google.com/chat/api/guides/auth/users).
861
851
  # @param [String] parent
862
852
  # Required. The resource name of the space to list messages from. Format: `
863
853
  # spaces/`space``
@@ -938,9 +928,9 @@ module Google
938
928
  # api/guides/auth). Fully supports [service account authentication](https://
939
929
  # developers.google.com/chat/api/guides/auth/service-accounts) and [user
940
930
  # authentication](https://developers.google.com/chat/api/guides/auth/users). [
941
- # User authentication](https://developers.google.com/chat/api/guides/auth/users)
942
- # requires the `chat.messages` authorization scope. Requests authenticated with
943
- # service accounts can only update messages created by the calling Chat app.
931
+ # User authentication](https://developers.google.com/chat/api/guides/auth/users).
932
+ # Requests authenticated with service accounts can only update messages created
933
+ # by the calling Chat app.
944
934
  # @param [String] name
945
935
  # Resource name in the form `spaces/*/messages/*`. Example: `spaces/AAAAAAAAAAA/
946
936
  # messages/BBBBBBBBBBB.BBBBBBBBBBB`
@@ -995,9 +985,9 @@ module Google
995
985
  # api/guides/auth). Fully supports [service account authentication](https://
996
986
  # developers.google.com/chat/api/guides/auth/service-accounts) and [user
997
987
  # authentication](https://developers.google.com/chat/api/guides/auth/users). [
998
- # User authentication](https://developers.google.com/chat/api/guides/auth/users)
999
- # requires the `chat.messages` authorization scope. Requests authenticated with
1000
- # service accounts can only update messages created by the calling Chat app.
988
+ # User authentication](https://developers.google.com/chat/api/guides/auth/users).
989
+ # Requests authenticated with service accounts can only update messages created
990
+ # by the calling Chat app.
1001
991
  # @param [String] name
1002
992
  # Resource name in the form `spaces/*/messages/*`. Example: `spaces/AAAAAAAAAAA/
1003
993
  # messages/BBBBBBBBBBB.BBBBBBBBBBB`
@@ -1083,8 +1073,7 @@ module Google
1083
1073
  # Creates a reaction and adds it to a message. For an example, see [Create a
1084
1074
  # reaction](https://developers.google.com/chat/api/guides/v1/reactions/create).
1085
1075
  # Requires [user authentication](https://developers.google.com/chat/api/guides/
1086
- # auth/users) and the `chat.messages`, `chat.messages.reactions`, or `chat.
1087
- # messages.reactions.create` scope. Only unicode emoji are supported.
1076
+ # auth/users). Only unicode emoji are supported.
1088
1077
  # @param [String] parent
1089
1078
  # Required. The message where the reaction is created. Format: `spaces/`space`/
1090
1079
  # messages/`message``
@@ -1120,8 +1109,7 @@ module Google
1120
1109
 
1121
1110
  # Deletes a reaction to a message. For an example, see [Delete a reaction](https:
1122
1111
  # //developers.google.com/chat/api/guides/v1/reactions/delete). Requires [user
1123
- # authentication](https://developers.google.com/chat/api/guides/auth/users) and
1124
- # the `chat.messages` or `chat.messages.reactions` scope.
1112
+ # authentication](https://developers.google.com/chat/api/guides/auth/users).
1125
1113
  # @param [String] name
1126
1114
  # Required. Name of the reaction to delete. Format: `spaces/`space`/messages/`
1127
1115
  # message`/reactions/`reaction``
@@ -1154,9 +1142,7 @@ module Google
1154
1142
 
1155
1143
  # Lists reactions to a message. For an example, see [List reactions](https://
1156
1144
  # developers.google.com/chat/api/guides/v1/reactions/list). Requires [user
1157
- # authentication](https://developers.google.com/chat/api/guides/auth/users) and `
1158
- # chat.messages`, `chat.messages.readonly`, `chat.messages.reactions`, or `chat.
1159
- # messages.reactions.readonly` scope.
1145
+ # authentication](https://developers.google.com/chat/api/guides/auth/users).
1160
1146
  # @param [String] parent
1161
1147
  # Required. The message users reacted to. Format: `spaces/`space`/messages/`
1162
1148
  # message``
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.67.0
4
+ version: 0.69.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-06 00:00:00.000000000 Z
11
+ date: 2023-08-27 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.67.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.69.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Google Chat API V1