google-apis-chat_v1 0.49.0 → 0.51.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/chat_v1/classes.rb +31 -20
- data/lib/google/apis/chat_v1/gem_version.rb +2 -2
- data/lib/google/apis/chat_v1/service.rb +12 -14
- 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: d3f4a377cac8451cdfb29b0b5a6341ebc3b54785f6bc018680268fc53bfa1b66
|
4
|
+
data.tar.gz: 0aa3ef70db8e8b12e9d28122c51d8e344b7c72ba9d85831b7dfe2a70d79d8cb1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e5e864b8f4aaa496cc0b480816208d764e6396504ef725efc35808616bbc4f71e4606952e94fcffd3c82f87fcac6af7d244b38ad6661f0ed0b2eb7f8d523d6d
|
7
|
+
data.tar.gz: 0740c98535b47c8186d6bda15f92c8659e203ad9a896da194682132c1711de3a3cb17765a944abdd86ce5273179db6359f9d1410fb918fc7b84bbb9a0dd1c40f
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-chat_v1
|
2
2
|
|
3
|
+
### v0.51.0 (2023-01-29)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230119
|
6
|
+
|
7
|
+
### v0.50.0 (2023-01-22)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230115
|
10
|
+
|
3
11
|
### v0.49.0 (2023-01-15)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230103
|
@@ -729,8 +729,9 @@ module Google
|
|
729
729
|
# @return [Google::Apis::ChatV1::Space]
|
730
730
|
attr_accessor :space
|
731
731
|
|
732
|
-
# The Chat app-defined key for the thread related to the event. See
|
733
|
-
#
|
732
|
+
# The Chat app-defined key for the thread related to the event. See [`spaces.
|
733
|
+
# messages.thread.threadKey`](/chat/api/reference/rest/v1/spaces.messages#Thread.
|
734
|
+
# FIELDS.thread_key) for more information.
|
734
735
|
# Corresponds to the JSON property `threadKey`
|
735
736
|
# @return [String]
|
736
737
|
attr_accessor :thread_key
|
@@ -1084,15 +1085,17 @@ module Google
|
|
1084
1085
|
|
1085
1086
|
# A text, icon, or text + icon button that users can click. To make an image a
|
1086
1087
|
# clickable button, specify an Image (not an ImageComponent) and set an `onClick`
|
1087
|
-
# 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.
|
1088
1092
|
class GoogleAppsCardV1Button
|
1089
1093
|
include Google::Apis::Core::Hashable
|
1090
1094
|
|
1091
1095
|
# The alternative text used for accessibility. Set descriptive text that lets
|
1092
1096
|
# users know what the button does. For example, if a button opens a hyperlink,
|
1093
1097
|
# you might write: "Opens a new browser tab and navigates to the Google Chat
|
1094
|
-
# developer documentation at https://developers.google.com/chat".
|
1095
|
-
# when an icon is set; use `icon.alt_text` instead.
|
1098
|
+
# developer documentation at https://developers.google.com/chat".
|
1096
1099
|
# Corresponds to the JSON property `altText`
|
1097
1100
|
# @return [String]
|
1098
1101
|
attr_accessor :alt_text
|
@@ -1335,14 +1338,20 @@ module Google
|
|
1335
1338
|
|
1336
1339
|
# A text, icon, or text + icon button that users can click. To make an image a
|
1337
1340
|
# clickable button, specify an Image (not an ImageComponent) and set an `onClick`
|
1338
|
-
# 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.
|
1339
1345
|
# Corresponds to the JSON property `primaryButton`
|
1340
1346
|
# @return [Google::Apis::ChatV1::GoogleAppsCardV1Button]
|
1341
1347
|
attr_accessor :primary_button
|
1342
1348
|
|
1343
1349
|
# A text, icon, or text + icon button that users can click. To make an image a
|
1344
1350
|
# clickable button, specify an Image (not an ImageComponent) and set an `onClick`
|
1345
|
-
# 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.
|
1346
1355
|
# Corresponds to the JSON property `secondaryButton`
|
1347
1356
|
# @return [Google::Apis::ChatV1::GoogleAppsCardV1Button]
|
1348
1357
|
attr_accessor :secondary_button
|
@@ -1484,7 +1493,10 @@ module Google
|
|
1484
1493
|
|
1485
1494
|
# A text, icon, or text + icon button that users can click. To make an image a
|
1486
1495
|
# clickable button, specify an Image (not an ImageComponent) and set an `onClick`
|
1487
|
-
# 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.
|
1488
1500
|
# Corresponds to the JSON property `button`
|
1489
1501
|
# @return [Google::Apis::ChatV1::GoogleAppsCardV1Button]
|
1490
1502
|
attr_accessor :button
|
@@ -1690,15 +1702,14 @@ module Google
|
|
1690
1702
|
class GoogleAppsCardV1Icon
|
1691
1703
|
include Google::Apis::Core::Hashable
|
1692
1704
|
|
1693
|
-
# Optional. A description of the icon used for accessibility. If unspecified,
|
1694
|
-
# default value is provided. As a best practice, you should set a
|
1695
|
-
# description
|
1696
|
-
#
|
1697
|
-
#
|
1698
|
-
#
|
1699
|
-
#
|
1700
|
-
#
|
1701
|
-
# 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.
|
1702
1713
|
# Corresponds to the JSON property `altText`
|
1703
1714
|
# @return [String]
|
1704
1715
|
attr_accessor :alt_text
|
@@ -2201,9 +2212,9 @@ module Google
|
|
2201
2212
|
# @return [Google::Apis::ChatV1::GoogleAppsCardV1Action]
|
2202
2213
|
attr_accessor :auto_complete_action
|
2203
2214
|
|
2204
|
-
# Text that appears
|
2205
|
-
# prompting them to enter a certain value. This text is
|
2206
|
-
#
|
2215
|
+
# Text that appears below the text input field meant to assist users by
|
2216
|
+
# prompting them to enter a certain value. This text is always visible. Required
|
2217
|
+
# if `label` is unspecified. Otherwise, optional.
|
2207
2218
|
# Corresponds to the JSON property `hintText`
|
2208
2219
|
# @return [String]
|
2209
2220
|
attr_accessor :hint_text
|
@@ -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.51.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 = "20230119"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -175,10 +175,9 @@ module Google
|
|
175
175
|
execute_or_queue_command(command, &block)
|
176
176
|
end
|
177
177
|
|
178
|
-
# [
|
179
|
-
#
|
180
|
-
# guides/auth/).
|
181
|
-
# developers.google.com/chat/api/guides/auth/service-accounts). Supports [user
|
178
|
+
# Returns a membership. Requires [authentication](https://developers.google.com/
|
179
|
+
# chat/api/guides/auth/). Fully supports [service account authentication](https:/
|
180
|
+
# /developers.google.com/chat/api/guides/auth/service-accounts). Supports [user
|
182
181
|
# authentication](https://developers.google.com/chat/api/guides/auth/users) as
|
183
182
|
# part of the [Google Workspace Developer Preview Program](https://developers.
|
184
183
|
# google.com/workspace/preview), which grants early access to certain features. [
|
@@ -215,16 +214,15 @@ module Google
|
|
215
214
|
execute_or_queue_command(command, &block)
|
216
215
|
end
|
217
216
|
|
218
|
-
# [
|
219
|
-
#
|
220
|
-
# com/chat/api/guides/auth/
|
221
|
-
# https://developers.google.com/chat/
|
222
|
-
#
|
223
|
-
#
|
224
|
-
#
|
225
|
-
#
|
226
|
-
#
|
227
|
-
# authorization scope.
|
217
|
+
# Lists memberships in a space. Requires [authentication](https://developers.
|
218
|
+
# google.com/chat/api/guides/auth/). Fully supports [service account
|
219
|
+
# authentication](https://developers.google.com/chat/api/guides/auth/service-
|
220
|
+
# accounts). Supports [user authentication](https://developers.google.com/chat/
|
221
|
+
# api/guides/auth/users) as part of the [Google Workspace Developer Preview
|
222
|
+
# Program](https://developers.google.com/workspace/preview), which grants early
|
223
|
+
# access to certain features. [User authentication](https://developers.google.
|
224
|
+
# com/chat/api/guides/auth/users) requires the `chat.memberships` or `chat.
|
225
|
+
# memberships.readonly` authorization scope.
|
228
226
|
# @param [String] parent
|
229
227
|
# Required. The resource name of the space for which to fetch a membership list.
|
230
228
|
# Format: spaces/`space`
|
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.51.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-01-
|
11
|
+
date: 2023-01-29 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.51.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: []
|