google-apis-chat_v1 0.111.0 → 0.112.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 +6 -2
- data/lib/google/apis/chat_v1/classes.rb +25 -22
- data/lib/google/apis/chat_v1/gem_version.rb +2 -2
- data/lib/google/apis/chat_v1/service.rb +26 -26
- 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: b5830fb1bc4478265dac063eb57bd32c440b2561b5bf684920c8a0c2090690a2
|
|
4
|
+
data.tar.gz: ffb635f46616f9e908e0f4687d1e99490fdf6db73cf710bd7d5192cd97530a6a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 65e6299a4c56f2206b4db4f2ba21d9efc6c80b97cae628357c30939028fa5240bf8904a5f357036bcf8040956355f7edbf7fe6b7582a624a14af3ba198f9834d
|
|
7
|
+
data.tar.gz: 6fbdab5f32d5ad9925d093293c52cefcccee016b7e6595f4f45fea296b0f2ce09412e08f9547e530653b1ac1127738f873a7d5145687f80b4eea9b949e759568
|
data/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
# Release history for google-apis-chat_v1
|
|
2
2
|
|
|
3
|
-
### v0.
|
|
3
|
+
### v0.112.0 (2024-12-02)
|
|
4
4
|
|
|
5
|
-
* Regenerated from discovery document revision
|
|
5
|
+
* Regenerated from discovery document revision 20241124
|
|
6
|
+
|
|
7
|
+
### v0.111.0 (2024-11-17)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20241110
|
|
6
10
|
|
|
7
11
|
### v0.110.0 (2024-11-03)
|
|
8
12
|
|
|
@@ -132,8 +132,8 @@ module Google
|
|
|
132
132
|
# @return [String]
|
|
133
133
|
attr_accessor :type
|
|
134
134
|
|
|
135
|
-
#
|
|
136
|
-
#
|
|
135
|
+
# For `selectionInput` widgets, returns autocomplete suggestions for a
|
|
136
|
+
# multiselect menu.
|
|
137
137
|
# Corresponds to the JSON property `updatedWidget`
|
|
138
138
|
# @return [Google::Apis::ChatV1::UpdatedWidget]
|
|
139
139
|
attr_accessor :updated_widget
|
|
@@ -292,8 +292,8 @@ module Google
|
|
|
292
292
|
# @return [Google::Apis::ChatV1::DriveDataRef]
|
|
293
293
|
attr_accessor :drive_data_ref
|
|
294
294
|
|
|
295
|
-
# Resource name of the attachment, in the form `spaces/`space`/
|
|
296
|
-
#
|
|
295
|
+
# Optional. Resource name of the attachment, in the form `spaces/`space`/
|
|
296
|
+
# messages/`message`/attachments/`attachment``.
|
|
297
297
|
# Corresponds to the JSON property `name`
|
|
298
298
|
# @return [String]
|
|
299
299
|
attr_accessor :name
|
|
@@ -331,15 +331,15 @@ module Google
|
|
|
331
331
|
class AttachmentDataRef
|
|
332
332
|
include Google::Apis::Core::Hashable
|
|
333
333
|
|
|
334
|
-
# Opaque token containing a reference to an uploaded attachment.
|
|
335
|
-
# clients as an opaque string and used to create or update Chat
|
|
336
|
-
# attachments.
|
|
334
|
+
# Optional. Opaque token containing a reference to an uploaded attachment.
|
|
335
|
+
# Treated by clients as an opaque string and used to create or update Chat
|
|
336
|
+
# messages with attachments.
|
|
337
337
|
# Corresponds to the JSON property `attachmentUploadToken`
|
|
338
338
|
# @return [String]
|
|
339
339
|
attr_accessor :attachment_upload_token
|
|
340
340
|
|
|
341
|
-
# The resource name of the attachment data. This field is used with
|
|
342
|
-
# API to download the attachment data.
|
|
341
|
+
# Optional. The resource name of the attachment data. This field is used with
|
|
342
|
+
# the media API to download the attachment data.
|
|
343
343
|
# Corresponds to the JSON property `resourceName`
|
|
344
344
|
# @return [String]
|
|
345
345
|
attr_accessor :resource_name
|
|
@@ -2871,9 +2871,12 @@ module Google
|
|
|
2871
2871
|
attr_accessor :multi_select_max_selected_items
|
|
2872
2872
|
|
|
2873
2873
|
# For multiselect menus, the number of text characters that a user inputs before
|
|
2874
|
-
# the
|
|
2875
|
-
#
|
|
2876
|
-
#
|
|
2874
|
+
# the menu returns suggested selection items. If unset, the multiselect menu
|
|
2875
|
+
# uses the following default values: * If the menu uses a static array of `
|
|
2876
|
+
# SelectionInput` items, defaults to 0 characters and immediately populates
|
|
2877
|
+
# items from the array. * If the menu uses a dynamic data source (`
|
|
2878
|
+
# multi_select_data_source`), defaults to 3 characters before querying the data
|
|
2879
|
+
# source to return suggested items.
|
|
2877
2880
|
# Corresponds to the JSON property `multiSelectMinQueryLength`
|
|
2878
2881
|
# @return [Fixnum]
|
|
2879
2882
|
attr_accessor :multi_select_min_query_length
|
|
@@ -2927,8 +2930,8 @@ module Google
|
|
|
2927
2930
|
end
|
|
2928
2931
|
|
|
2929
2932
|
# An item that users can select in a selection input, such as a checkbox or
|
|
2930
|
-
# switch. [Google Workspace Add-ons and Chat apps](
|
|
2931
|
-
# workspace/extend):
|
|
2933
|
+
# switch. Supports up to 100 items. [Google Workspace Add-ons and Chat apps](
|
|
2934
|
+
# https://developers.google.com/workspace/extend):
|
|
2932
2935
|
class GoogleAppsCardV1SelectionItem
|
|
2933
2936
|
include Google::Apis::Core::Hashable
|
|
2934
2937
|
|
|
@@ -4191,12 +4194,12 @@ module Google
|
|
|
4191
4194
|
# @return [Array<Google::Apis::ChatV1::CardWithId>]
|
|
4192
4195
|
attr_accessor :cards_v2
|
|
4193
4196
|
|
|
4194
|
-
# Optional.
|
|
4195
|
-
#
|
|
4196
|
-
#
|
|
4197
|
-
#
|
|
4198
|
-
#
|
|
4199
|
-
#
|
|
4197
|
+
# Optional. A custom ID for the message. You can use field to identify a message,
|
|
4198
|
+
# or to get, delete, or update a message. To set a custom ID, specify the [`
|
|
4199
|
+
# messageId`](https://developers.google.com/workspace/chat/api/reference/rest/v1/
|
|
4200
|
+
# spaces.messages/create#body.QUERY_PARAMETERS.message_id) field when you create
|
|
4201
|
+
# the message. For details, see [Name a message](https://developers.google.com/
|
|
4202
|
+
# workspace/chat/create-messages#name_a_created_message).
|
|
4200
4203
|
# Corresponds to the JSON property `clientAssignedMessageId`
|
|
4201
4204
|
# @return [String]
|
|
4202
4205
|
attr_accessor :client_assigned_message_id
|
|
@@ -5716,8 +5719,8 @@ module Google
|
|
|
5716
5719
|
end
|
|
5717
5720
|
end
|
|
5718
5721
|
|
|
5719
|
-
#
|
|
5720
|
-
#
|
|
5722
|
+
# For `selectionInput` widgets, returns autocomplete suggestions for a
|
|
5723
|
+
# multiselect menu.
|
|
5721
5724
|
class UpdatedWidget
|
|
5722
5725
|
include Google::Apis::Core::Hashable
|
|
5723
5726
|
|
|
@@ -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.112.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.15.1"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20241124"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -178,22 +178,19 @@ module Google
|
|
|
178
178
|
execute_or_queue_command(command, &block)
|
|
179
179
|
end
|
|
180
180
|
|
|
181
|
-
# Creates a space with no members. Can be used to create a named space
|
|
182
|
-
#
|
|
183
|
-
#
|
|
184
|
-
#
|
|
185
|
-
#
|
|
186
|
-
#
|
|
187
|
-
#
|
|
188
|
-
#
|
|
189
|
-
#
|
|
190
|
-
#
|
|
191
|
-
# workspace/
|
|
192
|
-
#
|
|
193
|
-
#
|
|
194
|
-
# developers.google.com/workspace/chat/authenticate-authorize-chat-user) When
|
|
195
|
-
# authenticating as an app, the `space.customer` field must be set in the
|
|
196
|
-
# request.
|
|
181
|
+
# Creates a space with no members. Can be used to create a named space, or a
|
|
182
|
+
# group chat in `Import mode`. For an example, see [Create a space](https://
|
|
183
|
+
# developers.google.com/workspace/chat/create-spaces). If you receive the error
|
|
184
|
+
# message `ALREADY_EXISTS` when creating a space, try a different `displayName`.
|
|
185
|
+
# An existing space within the Google Workspace organization might already use
|
|
186
|
+
# this display name. Supports the following types of [authentication](https://
|
|
187
|
+
# developers.google.com/workspace/chat/authenticate-authorize): - [App
|
|
188
|
+
# authentication](https://developers.google.com/workspace/chat/authenticate-
|
|
189
|
+
# authorize-chat-app) with [administrator approval](https://support.google.com/a?
|
|
190
|
+
# p=chat-app-auth) in [Developer Preview](https://developers.google.com/
|
|
191
|
+
# workspace/preview) - [User authentication](https://developers.google.com/
|
|
192
|
+
# workspace/chat/authenticate-authorize-chat-user) When authenticating as an app,
|
|
193
|
+
# the `space.customer` field must be set in the request.
|
|
197
194
|
# @param [Google::Apis::ChatV1::Space] space_object
|
|
198
195
|
# @param [String] request_id
|
|
199
196
|
# Optional. A unique identifier for this request. A random UUID is recommended.
|
|
@@ -1061,7 +1058,10 @@ module Google
|
|
|
1061
1058
|
# google.com/workspace/chat/create-messages#name_a_created_message).
|
|
1062
1059
|
# @param [String] message_reply_option
|
|
1063
1060
|
# Optional. Specifies whether a message starts a thread or replies to one. Only
|
|
1064
|
-
# supported in named spaces.
|
|
1061
|
+
# supported in named spaces. When [responding to user interactions](https://
|
|
1062
|
+
# developers.google.com/workspace/chat/receive-respond-interactions), this field
|
|
1063
|
+
# is ignored. For interactions within a thread, the reply is created in the same
|
|
1064
|
+
# thread. Otherwise, the reply is created as a new thread.
|
|
1065
1065
|
# @param [String] request_id
|
|
1066
1066
|
# Optional. A unique request ID for this message. Specifying an existing request
|
|
1067
1067
|
# ID returns the message created with that ID instead of creating a new message.
|
|
@@ -1223,21 +1223,21 @@ module Google
|
|
|
1223
1223
|
# name = spaces/AAAAAAAAAAA/threads/123 ``` Invalid queries are rejected by the
|
|
1224
1224
|
# server with an `INVALID_ARGUMENT` error.
|
|
1225
1225
|
# @param [String] order_by
|
|
1226
|
-
# Optional.
|
|
1227
|
-
#
|
|
1228
|
-
#
|
|
1229
|
-
#
|
|
1226
|
+
# Optional. How the list of messages is ordered. Specify a value to order by an
|
|
1227
|
+
# ordering operation. Valid ordering operation values are as follows: - `ASC`
|
|
1228
|
+
# for ascending. - `DESC` for descending. The default ordering is `create_time
|
|
1229
|
+
# ASC`.
|
|
1230
1230
|
# @param [Fixnum] page_size
|
|
1231
1231
|
# Optional. The maximum number of messages returned. The service might return
|
|
1232
1232
|
# fewer messages than this value. If unspecified, at most 25 are returned. The
|
|
1233
1233
|
# maximum value is 1000. If you use a value more than 1000, it's automatically
|
|
1234
1234
|
# changed to 1000. Negative values return an `INVALID_ARGUMENT` error.
|
|
1235
1235
|
# @param [String] page_token
|
|
1236
|
-
# Optional.
|
|
1237
|
-
#
|
|
1238
|
-
#
|
|
1239
|
-
#
|
|
1240
|
-
#
|
|
1236
|
+
# Optional. A page token received from a previous list messages call. Provide
|
|
1237
|
+
# this parameter to retrieve the subsequent page. When paginating, all other
|
|
1238
|
+
# parameters provided should match the call that provided the page token.
|
|
1239
|
+
# Passing different values to the other parameters might lead to unexpected
|
|
1240
|
+
# results.
|
|
1241
1241
|
# @param [Boolean] show_deleted
|
|
1242
1242
|
# Optional. Whether to include deleted messages. Deleted messages include
|
|
1243
1243
|
# deleted time and metadata about their deletion, but message content is
|
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.112.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: 2024-
|
|
11
|
+
date: 2024-12-04 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.112.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: []
|