google-apis-chat_v1 0.50.0 → 0.52.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/chat_v1/classes.rb +35 -25
- data/lib/google/apis/chat_v1/gem_version.rb +2 -2
- data/lib/google/apis/chat_v1/service.rb +6 -4
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3714de06f7773230e1276d95b2f3b9178839f76f9699b51d21b167a8746c652e
|
4
|
+
data.tar.gz: '0091eb9417f31be71f25ebc0f8cf7b26f0ac8a3779d4d1c520c52a8d37c68a45'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18b6594c979c43267ce4a47ce6ca9264e9e1149c1f8d9a341a133b665a864a340de23d7fc06cb743dadb2c278a180ebedd4201d8e7a54f388f111f55c47931a2
|
7
|
+
data.tar.gz: d80d0e05c3bae4a160fccc1d1f685eba502fda6beb4d8b9ca6580be1f205a268b0ee2ba713b5129973093d1ca95c3a3e7005d321c3f7b818010e0a9a4e7a73e8
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-chat_v1
|
2
2
|
|
3
|
+
### v0.52.0 (2023-02-05)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230131
|
6
|
+
|
7
|
+
### v0.51.0 (2023-01-29)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230119
|
10
|
+
|
3
11
|
### v0.50.0 (2023-01-22)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230115
|
@@ -50,7 +50,7 @@ module Google
|
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
-
# Parameters that a Chat app can use to configure how
|
53
|
+
# Parameters that a Chat app can use to configure how its response is posted.
|
54
54
|
class ActionResponse
|
55
55
|
include Google::Apis::Core::Hashable
|
56
56
|
|
@@ -113,9 +113,9 @@ module Google
|
|
113
113
|
# Annotations associated with the plain-text body of the message. Example plain-
|
114
114
|
# text message body: ``` Hello @FooBot how are you!" ``` The corresponding
|
115
115
|
# annotations metadata: ``` "annotations":[` "type":"USER_MENTION", "startIndex":
|
116
|
-
# 6, "length":7, "userMention": ` "user": ` "name":"users
|
117
|
-
# "
|
118
|
-
#
|
116
|
+
# 6, "length":7, "userMention": ` "user": ` "name":"users/`user`", "displayName":
|
117
|
+
# "FooBot", "avatarUrl":"https://goo.gl/aeDtrS", "type":"BOT" `, "type":"MENTION"
|
118
|
+
# ` `] ```
|
119
119
|
class Annotation
|
120
120
|
include Google::Apis::Core::Hashable
|
121
121
|
|
@@ -1085,15 +1085,17 @@ module Google
|
|
1085
1085
|
|
1086
1086
|
# A text, icon, or text + icon button that users can click. To make an image a
|
1087
1087
|
# clickable button, specify an Image (not an ImageComponent) and set an `onClick`
|
1088
|
-
# action.
|
1088
|
+
# action. Currently supported in Chat apps (including [dialogs] (https://
|
1089
|
+
# developers.google.com/chat/how-tos/dialogs) and [card messages] (https://
|
1090
|
+
# developers.google.com/chat/api/guides/message-formats/cards)) and Google
|
1091
|
+
# Workspace Add-ons.
|
1089
1092
|
class GoogleAppsCardV1Button
|
1090
1093
|
include Google::Apis::Core::Hashable
|
1091
1094
|
|
1092
1095
|
# The alternative text used for accessibility. Set descriptive text that lets
|
1093
1096
|
# users know what the button does. For example, if a button opens a hyperlink,
|
1094
1097
|
# you might write: "Opens a new browser tab and navigates to the Google Chat
|
1095
|
-
# developer documentation at https://developers.google.com/chat".
|
1096
|
-
# when an icon is set; use `icon.alt_text` instead.
|
1098
|
+
# developer documentation at https://developers.google.com/chat".
|
1097
1099
|
# Corresponds to the JSON property `altText`
|
1098
1100
|
# @return [String]
|
1099
1101
|
attr_accessor :alt_text
|
@@ -1336,14 +1338,20 @@ module Google
|
|
1336
1338
|
|
1337
1339
|
# A text, icon, or text + icon button that users can click. To make an image a
|
1338
1340
|
# clickable button, specify an Image (not an ImageComponent) and set an `onClick`
|
1339
|
-
# action.
|
1341
|
+
# action. Currently supported in Chat apps (including [dialogs] (https://
|
1342
|
+
# developers.google.com/chat/how-tos/dialogs) and [card messages] (https://
|
1343
|
+
# developers.google.com/chat/api/guides/message-formats/cards)) and Google
|
1344
|
+
# Workspace Add-ons.
|
1340
1345
|
# Corresponds to the JSON property `primaryButton`
|
1341
1346
|
# @return [Google::Apis::ChatV1::GoogleAppsCardV1Button]
|
1342
1347
|
attr_accessor :primary_button
|
1343
1348
|
|
1344
1349
|
# A text, icon, or text + icon button that users can click. To make an image a
|
1345
1350
|
# clickable button, specify an Image (not an ImageComponent) and set an `onClick`
|
1346
|
-
# action.
|
1351
|
+
# action. Currently supported in Chat apps (including [dialogs] (https://
|
1352
|
+
# developers.google.com/chat/how-tos/dialogs) and [card messages] (https://
|
1353
|
+
# developers.google.com/chat/api/guides/message-formats/cards)) and Google
|
1354
|
+
# Workspace Add-ons.
|
1347
1355
|
# Corresponds to the JSON property `secondaryButton`
|
1348
1356
|
# @return [Google::Apis::ChatV1::GoogleAppsCardV1Button]
|
1349
1357
|
attr_accessor :secondary_button
|
@@ -1485,7 +1493,10 @@ module Google
|
|
1485
1493
|
|
1486
1494
|
# A text, icon, or text + icon button that users can click. To make an image a
|
1487
1495
|
# clickable button, specify an Image (not an ImageComponent) and set an `onClick`
|
1488
|
-
# action.
|
1496
|
+
# action. Currently supported in Chat apps (including [dialogs] (https://
|
1497
|
+
# developers.google.com/chat/how-tos/dialogs) and [card messages] (https://
|
1498
|
+
# developers.google.com/chat/api/guides/message-formats/cards)) and Google
|
1499
|
+
# Workspace Add-ons.
|
1489
1500
|
# Corresponds to the JSON property `button`
|
1490
1501
|
# @return [Google::Apis::ChatV1::GoogleAppsCardV1Button]
|
1491
1502
|
attr_accessor :button
|
@@ -1691,15 +1702,14 @@ module Google
|
|
1691
1702
|
class GoogleAppsCardV1Icon
|
1692
1703
|
include Google::Apis::Core::Hashable
|
1693
1704
|
|
1694
|
-
# Optional. A description of the icon used for accessibility. If unspecified,
|
1695
|
-
# default value is provided. As a best practice, you should set a
|
1696
|
-
# description
|
1697
|
-
#
|
1698
|
-
#
|
1699
|
-
#
|
1700
|
-
#
|
1701
|
-
#
|
1702
|
-
# developer documentation at https://developers.google.com/chat".
|
1705
|
+
# Optional. A description of the icon used for accessibility. If unspecified,
|
1706
|
+
# the default value "Button" is provided. As a best practice, you should set a
|
1707
|
+
# helpful description for what the icon displays, and if applicable, what it
|
1708
|
+
# does. For example, `A user's account portrait`, or `Opens a new browser tab
|
1709
|
+
# and navigates to the Google Chat developer documentation at https://developers.
|
1710
|
+
# google.com/chat`. If the icon is set in a Button, the `altText` appears as
|
1711
|
+
# helper text when the user hovers over the button. However, if the button also
|
1712
|
+
# sets `text`, the icon's `altText` is ignored.
|
1703
1713
|
# Corresponds to the JSON property `altText`
|
1704
1714
|
# @return [String]
|
1705
1715
|
attr_accessor :alt_text
|
@@ -2719,7 +2729,7 @@ module Google
|
|
2719
2729
|
class Message
|
2720
2730
|
include Google::Apis::Core::Hashable
|
2721
2731
|
|
2722
|
-
# Parameters that a Chat app can use to configure how
|
2732
|
+
# Parameters that a Chat app can use to configure how its response is posted.
|
2723
2733
|
# Corresponds to the JSON property `actionResponse`
|
2724
2734
|
# @return [Google::Apis::ChatV1::ActionResponse]
|
2725
2735
|
attr_accessor :action_response
|
@@ -2734,7 +2744,7 @@ module Google
|
|
2734
2744
|
# @return [String]
|
2735
2745
|
attr_accessor :argument_text
|
2736
2746
|
|
2737
|
-
# User
|
2747
|
+
# User-uploaded attachment.
|
2738
2748
|
# Corresponds to the JSON property `attachment`
|
2739
2749
|
# @return [Array<Google::Apis::ChatV1::Attachment>]
|
2740
2750
|
attr_accessor :attachment
|
@@ -2749,7 +2759,7 @@ module Google
|
|
2749
2759
|
|
2750
2760
|
# Richly formatted and interactive cards that display UI elements and editable
|
2751
2761
|
# widgets, such as: - Formatted text - Buttons - Clickable images - Checkboxes -
|
2752
|
-
# Radio buttons - Input widgets. Cards are usually displayed below the text
|
2762
|
+
# Radio buttons - Input widgets. Cards are usually displayed below the text body
|
2753
2763
|
# of a Chat message, but can situationally appear other places, such as [dialogs]
|
2754
2764
|
# (https://developers.google.com/chat/how-tos/dialogs). The `cardId` is a unique
|
2755
2765
|
# identifier among cards in the same message and for identifying user input
|
@@ -3201,9 +3211,9 @@ module Google
|
|
3201
3211
|
|
3202
3212
|
# Optional. Opaque thread identifier. To start or add to a thread, create a
|
3203
3213
|
# message and specify a `threadKey` or the thread.name. For example usage, see [
|
3204
|
-
# Start or reply to a message thread](/chat/api/
|
3205
|
-
# start_or_reply_to_a_message_thread). For other requests,
|
3206
|
-
# only field.
|
3214
|
+
# Start or reply to a message thread](https://developers.google.com/chat/api/
|
3215
|
+
# guides/crudl/messages#start_or_reply_to_a_message_thread). For other requests,
|
3216
|
+
# this is an output only field.
|
3207
3217
|
# Corresponds to the JSON property `threadKey`
|
3208
3218
|
# @return [String]
|
3209
3219
|
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.
|
19
|
+
GEM_VERSION = "0.52.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.11.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230131"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -298,8 +298,9 @@ module Google
|
|
298
298
|
# @param [String] thread_key
|
299
299
|
# Optional. Deprecated: Use thread.thread_key instead. Opaque thread identifier.
|
300
300
|
# To start or add to a thread, create a message and specify a `threadKey` or the
|
301
|
-
# thread.name. For example usage, see [Start or reply to a message thread](
|
302
|
-
# api/guides/crudl/messages#
|
301
|
+
# thread.name. For example usage, see [Start or reply to a message thread](https:
|
302
|
+
# //developers.google.com/chat/api/guides/crudl/messages#
|
303
|
+
# start_or_reply_to_a_message_thread).
|
303
304
|
# @param [String] fields
|
304
305
|
# Selector specifying which fields to include in a partial response.
|
305
306
|
# @param [String] quota_user
|
@@ -527,8 +528,9 @@ module Google
|
|
527
528
|
end
|
528
529
|
|
529
530
|
# Gets the metadata of a message attachment. The attachment data is fetched
|
530
|
-
# using the media API
|
531
|
-
#
|
531
|
+
# using the [media API](https://developers.google.com/chat/api/reference/rest/v1/
|
532
|
+
# media/download). Requires [service account authentication](https://developers.
|
533
|
+
# google.com/chat/api/guides/auth/service-accounts).
|
532
534
|
# @param [String] name
|
533
535
|
# Required. Resource name of the attachment, in the form "spaces/*/messages/*/
|
534
536
|
# attachments/*".
|
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.52.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-
|
11
|
+
date: 2023-02-05 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.52.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: []
|