google-apis-chat_v1 0.79.0 → 0.81.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 54fe519dc8c421fe7e4608028c62645164b46bd98b2d32fca371f4aaf1a69197
|
4
|
+
data.tar.gz: bb15ec163bdc176df97c3090263613bd5babf565381b15047201e65d7775c223
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5a3d7f80e43ab918eef15adc486615ff43eb842af1b4cac5bf5938736a8c905444df6424693c9505bdf972f9601d505931e658ccc1cd701471560d178790ecb
|
7
|
+
data.tar.gz: b3fbd9614ce28b033eaac8911bdcdd4d7618a5489ddb67481dbda5f5104aea42c34d8f9ca6edf87601aa1902ee68936386d330bc28fa23d2a1fb2251dad873aa
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-chat_v1
|
2
2
|
|
3
|
+
### v0.81.0 (2023-12-24)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231214
|
6
|
+
|
7
|
+
### v0.80.0 (2023-12-17)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20231212
|
10
|
+
|
3
11
|
### v0.79.0 (2023-12-10)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20231130
|
@@ -413,33 +413,35 @@ module Google
|
|
413
413
|
# A [card](https://developers.google.com/chat/api/reference/rest/v1/cards) in a
|
414
414
|
# Google Chat message. Only Chat apps can create cards. If your Chat app [
|
415
415
|
# authenticates as a user](https://developers.google.com/chat/api/guides/auth/
|
416
|
-
# users), the message can't contain cards.
|
416
|
+
# users), the message can't contain cards. [Card builder](https://addons.gsuite.
|
417
|
+
# google.com/uikit/builder)
|
417
418
|
class CardWithId
|
418
419
|
include Google::Apis::Core::Hashable
|
419
420
|
|
420
421
|
# A card interface displayed in a Google Chat message or Google Workspace Add-on.
|
421
422
|
# Cards support a defined layout, interactive UI elements like buttons, and
|
422
423
|
# rich media like images. Use cards to present detailed information, gather
|
423
|
-
# information from users, and guide users to take a next step.
|
424
|
-
#
|
425
|
-
#
|
426
|
-
# google.com/chat/
|
427
|
-
# interfaces](https://
|
428
|
-
# **Example: Card
|
429
|
-
#
|
430
|
-
#
|
431
|
-
#
|
432
|
-
#
|
433
|
-
#
|
434
|
-
# "
|
435
|
-
#
|
436
|
-
#
|
437
|
-
#
|
438
|
-
#
|
439
|
-
#
|
440
|
-
#
|
441
|
-
# "
|
442
|
-
#
|
424
|
+
# information from users, and guide users to take a next step. [Card builder](
|
425
|
+
# https://addons.gsuite.google.com/uikit/builder) To learn how to build cards,
|
426
|
+
# see the following documentation: * For Google Chat apps, see [Design dynamic,
|
427
|
+
# interactive, and consistent UIs with cards](https://developers.google.com/chat/
|
428
|
+
# ui). * For Google Workspace Add-ons, see [Card-based interfaces](https://
|
429
|
+
# developers.google.com/apps-script/add-ons/concepts/cards). **Example: Card
|
430
|
+
# message for a Google Chat app** ![Example contact card](https://developers.
|
431
|
+
# google.com/chat/images/card_api_reference.png) To create the sample card
|
432
|
+
# message in Google Chat, use the following JSON: ``` ` "cardsV2": [ ` "cardId":
|
433
|
+
# "unique-card-id", "card": ` "header": ` "title": "Sasha", "subtitle": "
|
434
|
+
# Software Engineer", "imageUrl": "https://developers.google.com/chat/images/
|
435
|
+
# quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for
|
436
|
+
# Sasha", `, "sections": [ ` "header": "Contact Info", "collapsible": true, "
|
437
|
+
# uncollapsibleWidgetsCount": 1, "widgets": [ ` "decoratedText": ` "startIcon": `
|
438
|
+
# "knownIcon": "EMAIL", `, "text": "sasha@example.com", ` `, ` "decoratedText":
|
439
|
+
# ` "startIcon": ` "knownIcon": "PERSON", `, "text": "Online", `, `, ` "
|
440
|
+
# decoratedText": ` "startIcon": ` "knownIcon": "PHONE", `, "text": "+1 (555)
|
441
|
+
# 555-1234", ` `, ` "buttonList": ` "buttons": [ ` "text": "Share", "onClick": `
|
442
|
+
# "openLink": ` "url": "https://example.com/share", ` ` `, ` "text": "Edit", "
|
443
|
+
# onClick": ` "action": ` "function": "goToView", "parameters": [ ` "key": "
|
444
|
+
# viewType", "value": "EDIT", ` ], ` ` `, ], ` `, ], `, ], `, ` ], ` ```
|
443
445
|
# Corresponds to the JSON property `card`
|
444
446
|
# @return [Google::Apis::ChatV1::GoogleAppsCardV1Card]
|
445
447
|
attr_accessor :card
|
@@ -898,26 +900,27 @@ module Google
|
|
898
900
|
# A card interface displayed in a Google Chat message or Google Workspace Add-on.
|
899
901
|
# Cards support a defined layout, interactive UI elements like buttons, and
|
900
902
|
# rich media like images. Use cards to present detailed information, gather
|
901
|
-
# information from users, and guide users to take a next step.
|
902
|
-
#
|
903
|
-
#
|
904
|
-
# google.com/chat/
|
905
|
-
# interfaces](https://
|
906
|
-
# **Example: Card
|
907
|
-
#
|
908
|
-
#
|
909
|
-
#
|
910
|
-
#
|
911
|
-
#
|
912
|
-
# "
|
913
|
-
#
|
914
|
-
#
|
915
|
-
#
|
916
|
-
#
|
917
|
-
#
|
918
|
-
#
|
919
|
-
# "
|
920
|
-
#
|
903
|
+
# information from users, and guide users to take a next step. [Card builder](
|
904
|
+
# https://addons.gsuite.google.com/uikit/builder) To learn how to build cards,
|
905
|
+
# see the following documentation: * For Google Chat apps, see [Design dynamic,
|
906
|
+
# interactive, and consistent UIs with cards](https://developers.google.com/chat/
|
907
|
+
# ui). * For Google Workspace Add-ons, see [Card-based interfaces](https://
|
908
|
+
# developers.google.com/apps-script/add-ons/concepts/cards). **Example: Card
|
909
|
+
# message for a Google Chat app** ![Example contact card](https://developers.
|
910
|
+
# google.com/chat/images/card_api_reference.png) To create the sample card
|
911
|
+
# message in Google Chat, use the following JSON: ``` ` "cardsV2": [ ` "cardId":
|
912
|
+
# "unique-card-id", "card": ` "header": ` "title": "Sasha", "subtitle": "
|
913
|
+
# Software Engineer", "imageUrl": "https://developers.google.com/chat/images/
|
914
|
+
# quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for
|
915
|
+
# Sasha", `, "sections": [ ` "header": "Contact Info", "collapsible": true, "
|
916
|
+
# uncollapsibleWidgetsCount": 1, "widgets": [ ` "decoratedText": ` "startIcon": `
|
917
|
+
# "knownIcon": "EMAIL", `, "text": "sasha@example.com", ` `, ` "decoratedText":
|
918
|
+
# ` "startIcon": ` "knownIcon": "PERSON", `, "text": "Online", `, `, ` "
|
919
|
+
# decoratedText": ` "startIcon": ` "knownIcon": "PHONE", `, "text": "+1 (555)
|
920
|
+
# 555-1234", ` `, ` "buttonList": ` "buttons": [ ` "text": "Share", "onClick": `
|
921
|
+
# "openLink": ` "url": "https://example.com/share", ` ` `, ` "text": "Edit", "
|
922
|
+
# onClick": ` "action": ` "function": "goToView", "parameters": [ ` "key": "
|
923
|
+
# viewType", "value": "EDIT", ` ], ` ` `, ], ` `, ], `, ], `, ` ], ` ```
|
921
924
|
# Corresponds to the JSON property `body`
|
922
925
|
# @return [Google::Apis::ChatV1::GoogleAppsCardV1Card]
|
923
926
|
attr_accessor :body
|
@@ -1378,26 +1381,27 @@ module Google
|
|
1378
1381
|
# A card interface displayed in a Google Chat message or Google Workspace Add-on.
|
1379
1382
|
# Cards support a defined layout, interactive UI elements like buttons, and
|
1380
1383
|
# rich media like images. Use cards to present detailed information, gather
|
1381
|
-
# information from users, and guide users to take a next step.
|
1382
|
-
#
|
1383
|
-
#
|
1384
|
-
# google.com/chat/
|
1385
|
-
# interfaces](https://
|
1386
|
-
# **Example: Card
|
1387
|
-
#
|
1388
|
-
#
|
1389
|
-
#
|
1390
|
-
#
|
1391
|
-
#
|
1392
|
-
# "
|
1393
|
-
#
|
1394
|
-
#
|
1395
|
-
#
|
1396
|
-
#
|
1397
|
-
#
|
1398
|
-
#
|
1399
|
-
# "
|
1400
|
-
#
|
1384
|
+
# information from users, and guide users to take a next step. [Card builder](
|
1385
|
+
# https://addons.gsuite.google.com/uikit/builder) To learn how to build cards,
|
1386
|
+
# see the following documentation: * For Google Chat apps, see [Design dynamic,
|
1387
|
+
# interactive, and consistent UIs with cards](https://developers.google.com/chat/
|
1388
|
+
# ui). * For Google Workspace Add-ons, see [Card-based interfaces](https://
|
1389
|
+
# developers.google.com/apps-script/add-ons/concepts/cards). **Example: Card
|
1390
|
+
# message for a Google Chat app** ![Example contact card](https://developers.
|
1391
|
+
# google.com/chat/images/card_api_reference.png) To create the sample card
|
1392
|
+
# message in Google Chat, use the following JSON: ``` ` "cardsV2": [ ` "cardId":
|
1393
|
+
# "unique-card-id", "card": ` "header": ` "title": "Sasha", "subtitle": "
|
1394
|
+
# Software Engineer", "imageUrl": "https://developers.google.com/chat/images/
|
1395
|
+
# quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for
|
1396
|
+
# Sasha", `, "sections": [ ` "header": "Contact Info", "collapsible": true, "
|
1397
|
+
# uncollapsibleWidgetsCount": 1, "widgets": [ ` "decoratedText": ` "startIcon": `
|
1398
|
+
# "knownIcon": "EMAIL", `, "text": "sasha@example.com", ` `, ` "decoratedText":
|
1399
|
+
# ` "startIcon": ` "knownIcon": "PERSON", `, "text": "Online", `, `, ` "
|
1400
|
+
# decoratedText": ` "startIcon": ` "knownIcon": "PHONE", `, "text": "+1 (555)
|
1401
|
+
# 555-1234", ` `, ` "buttonList": ` "buttons": [ ` "text": "Share", "onClick": `
|
1402
|
+
# "openLink": ` "url": "https://example.com/share", ` ` `, ` "text": "Edit", "
|
1403
|
+
# onClick": ` "action": ` "function": "goToView", "parameters": [ ` "key": "
|
1404
|
+
# viewType", "value": "EDIT", ` ], ` ` `, ], ` `, ], `, ], `, ` ], ` ```
|
1401
1405
|
class GoogleAppsCardV1Card
|
1402
1406
|
include Google::Apis::Core::Hashable
|
1403
1407
|
|
@@ -2120,26 +2124,27 @@ module Google
|
|
2120
2124
|
# A card interface displayed in a Google Chat message or Google Workspace Add-on.
|
2121
2125
|
# Cards support a defined layout, interactive UI elements like buttons, and
|
2122
2126
|
# rich media like images. Use cards to present detailed information, gather
|
2123
|
-
# information from users, and guide users to take a next step.
|
2124
|
-
#
|
2125
|
-
#
|
2126
|
-
# google.com/chat/
|
2127
|
-
# interfaces](https://
|
2128
|
-
# **Example: Card
|
2129
|
-
#
|
2130
|
-
#
|
2131
|
-
#
|
2132
|
-
#
|
2133
|
-
#
|
2134
|
-
# "
|
2135
|
-
#
|
2136
|
-
#
|
2137
|
-
#
|
2138
|
-
#
|
2139
|
-
#
|
2140
|
-
#
|
2141
|
-
# "
|
2142
|
-
#
|
2127
|
+
# information from users, and guide users to take a next step. [Card builder](
|
2128
|
+
# https://addons.gsuite.google.com/uikit/builder) To learn how to build cards,
|
2129
|
+
# see the following documentation: * For Google Chat apps, see [Design dynamic,
|
2130
|
+
# interactive, and consistent UIs with cards](https://developers.google.com/chat/
|
2131
|
+
# ui). * For Google Workspace Add-ons, see [Card-based interfaces](https://
|
2132
|
+
# developers.google.com/apps-script/add-ons/concepts/cards). **Example: Card
|
2133
|
+
# message for a Google Chat app** ![Example contact card](https://developers.
|
2134
|
+
# google.com/chat/images/card_api_reference.png) To create the sample card
|
2135
|
+
# message in Google Chat, use the following JSON: ``` ` "cardsV2": [ ` "cardId":
|
2136
|
+
# "unique-card-id", "card": ` "header": ` "title": "Sasha", "subtitle": "
|
2137
|
+
# Software Engineer", "imageUrl": "https://developers.google.com/chat/images/
|
2138
|
+
# quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for
|
2139
|
+
# Sasha", `, "sections": [ ` "header": "Contact Info", "collapsible": true, "
|
2140
|
+
# uncollapsibleWidgetsCount": 1, "widgets": [ ` "decoratedText": ` "startIcon": `
|
2141
|
+
# "knownIcon": "EMAIL", `, "text": "sasha@example.com", ` `, ` "decoratedText":
|
2142
|
+
# ` "startIcon": ` "knownIcon": "PERSON", `, "text": "Online", `, `, ` "
|
2143
|
+
# decoratedText": ` "startIcon": ` "knownIcon": "PHONE", `, "text": "+1 (555)
|
2144
|
+
# 555-1234", ` `, ` "buttonList": ` "buttons": [ ` "text": "Share", "onClick": `
|
2145
|
+
# "openLink": ` "url": "https://example.com/share", ` ` `, ` "text": "Edit", "
|
2146
|
+
# onClick": ` "action": ` "function": "goToView", "parameters": [ ` "key": "
|
2147
|
+
# viewType", "value": "EDIT", ` ], ` ` `, ], ` `, ], `, ], `, ` ], ` ```
|
2143
2148
|
# Corresponds to the JSON property `card`
|
2144
2149
|
# @return [Google::Apis::ChatV1::GoogleAppsCardV1Card]
|
2145
2150
|
attr_accessor :card
|
@@ -3353,7 +3358,7 @@ module Google
|
|
3353
3358
|
# user](https://developers.google.com/chat/api/guides/auth/users), the messages
|
3354
3359
|
# can't contain cards. To learn about cards and how to create them, see [Design
|
3355
3360
|
# dynamic, interactive, and consistent UIs with cards](https://developers.google.
|
3356
|
-
# com/chat/ui).
|
3361
|
+
# com/chat/ui). [Card builder](https://addons.gsuite.google.com/uikit/builder)
|
3357
3362
|
# Corresponds to the JSON property `cardsV2`
|
3358
3363
|
# @return [Array<Google::Apis::ChatV1::CardWithId>]
|
3359
3364
|
attr_accessor :cards_v2
|
@@ -3441,6 +3446,14 @@ module Google
|
|
3441
3446
|
# @return [String]
|
3442
3447
|
attr_accessor :name
|
3443
3448
|
|
3449
|
+
# A user in Google Chat. When returned as an output from a request, if your Chat
|
3450
|
+
# app [authenticates as a user](https://developers.google.com/chat/api/guides/
|
3451
|
+
# auth/users), the output for a `User` resource only populates the user's `name`
|
3452
|
+
# and `type`.
|
3453
|
+
# Corresponds to the JSON property `privateMessageViewer`
|
3454
|
+
# @return [Google::Apis::ChatV1::User]
|
3455
|
+
attr_accessor :private_message_viewer
|
3456
|
+
|
3444
3457
|
# Information about a quoted message.
|
3445
3458
|
# Corresponds to the JSON property `quotedMessageMetadata`
|
3446
3459
|
# @return [Google::Apis::ChatV1::QuotedMessageMetadata]
|
@@ -3518,6 +3531,7 @@ module Google
|
|
3518
3531
|
@last_update_time = args[:last_update_time] if args.key?(:last_update_time)
|
3519
3532
|
@matched_url = args[:matched_url] if args.key?(:matched_url)
|
3520
3533
|
@name = args[:name] if args.key?(:name)
|
3534
|
+
@private_message_viewer = args[:private_message_viewer] if args.key?(:private_message_viewer)
|
3521
3535
|
@quoted_message_metadata = args[:quoted_message_metadata] if args.key?(:quoted_message_metadata)
|
3522
3536
|
@sender = args[:sender] if args.key?(:sender)
|
3523
3537
|
@slash_command = args[:slash_command] if args.key?(:slash_command)
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.81.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 = "
|
25
|
+
REVISION = "20231214"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1458,6 +1458,8 @@ module Google
|
|
1458
1458
|
property :matched_url, as: 'matchedUrl', class: Google::Apis::ChatV1::MatchedUrl, decorator: Google::Apis::ChatV1::MatchedUrl::Representation
|
1459
1459
|
|
1460
1460
|
property :name, as: 'name'
|
1461
|
+
property :private_message_viewer, as: 'privateMessageViewer', class: Google::Apis::ChatV1::User, decorator: Google::Apis::ChatV1::User::Representation
|
1462
|
+
|
1461
1463
|
property :quoted_message_metadata, as: 'quotedMessageMetadata', class: Google::Apis::ChatV1::QuotedMessageMetadata, decorator: Google::Apis::ChatV1::QuotedMessageMetadata::Representation
|
1462
1464
|
|
1463
1465
|
property :sender, as: 'sender', class: Google::Apis::ChatV1::User, decorator: Google::Apis::ChatV1::User::Representation
|
@@ -308,19 +308,14 @@ module Google
|
|
308
308
|
# guides/auth/users). Lists spaces visible to the caller or authenticated user.
|
309
309
|
# Group chats and DMs aren't listed until the first message is sent.
|
310
310
|
# @param [String] filter
|
311
|
-
# Optional. A query filter.
|
312
|
-
# google.com/chat/api/
|
313
|
-
# type
|
314
|
-
#
|
315
|
-
#
|
316
|
-
#
|
317
|
-
#
|
318
|
-
#
|
319
|
-
# queries are rejected by the server with an `INVALID_ARGUMENT` error. With [app
|
320
|
-
# authentication](https://developers.google.com/chat/api/guides/auth/service-
|
321
|
-
# accounts), this field is ignored and the query always returns all spaces. But
|
322
|
-
# the Chat API still validates the query syntax, so invalid queries are still
|
323
|
-
# rejected.
|
311
|
+
# Optional. A query filter. You can filter spaces by the space type ([`
|
312
|
+
# space_type`](https://developers.google.com/chat/api/reference/rest/v1/spaces#
|
313
|
+
# spacetype)). To filter by space type, you must specify valid enum value, such
|
314
|
+
# as `SPACE` or `GROUP_CHAT` (the `space_type` can't be `SPACE_TYPE_UNSPECIFIED`)
|
315
|
+
# . To query for multiple space types, use the `OR` operator. For example, the
|
316
|
+
# following queries are valid: ``` space_type = "SPACE" spaceType = "GROUP_CHAT"
|
317
|
+
# OR spaceType = "DIRECT_MESSAGE" ``` Invalid queries are rejected by the server
|
318
|
+
# with an `INVALID_ARGUMENT` error.
|
324
319
|
# @param [Fixnum] page_size
|
325
320
|
# Optional. The maximum number of spaces to return. The service might return
|
326
321
|
# fewer than this value. If unspecified, at most 100 spaces are returned. The
|
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.
|
4
|
+
version: 0.81.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-12-
|
11
|
+
date: 2023-12-24 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.81.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: []
|