google-apis-chat_v1 0.67.0 → 0.68.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 +4 -0
- data/lib/google/apis/chat_v1/classes.rb +21 -14
- data/lib/google/apis/chat_v1/gem_version.rb +2 -2
- data/lib/google/apis/chat_v1/service.rb +36 -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: 5612946e363951d77cf43c85a687c12b56869136c97a6298a704e866acb251cc
|
4
|
+
data.tar.gz: 2888c3afc13c516435eb4d3f5551463b910a85d93aa967e9d118b854ab16cd93
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04d84e3f5dde32844dd849f33a8c5c94ff9626dfccdbd157cfac4c54eb9cd717e928eb3e0a1b4153fb3e75393e9318accc682eb2137be1fb1d86508fd4ca1286
|
7
|
+
data.tar.gz: 453ece9fe07a69b08380809694e86879c233fe2391152eea3c06b67fc5748ee0dba0b987b2a87bb919b4b999dc2cf7de3299832ed507f7eb9724d46f952db368
|
data/CHANGELOG.md
CHANGED
@@ -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
|
@@ -3423,13 +3423,18 @@ module Google
|
|
3423
3423
|
# @return [Google::Apis::ChatV1::Space]
|
3424
3424
|
attr_accessor :space
|
3425
3425
|
|
3426
|
-
# Plain-text body of the message. The first link to an image, video, web page
|
3427
|
-
#
|
3426
|
+
# Plain-text body of the message. The first link to an image, video, or web page
|
3427
|
+
# generates a preview chip. You can also @mention a Google Chat user, or
|
3428
|
+
# everyone in the space. To learn about creating text messages, see [Create a
|
3429
|
+
# text message](https://developers.google.com/chat/api/guides/message-formats/
|
3430
|
+
# text).
|
3428
3431
|
# Corresponds to the JSON property `text`
|
3429
3432
|
# @return [String]
|
3430
3433
|
attr_accessor :text
|
3431
3434
|
|
3432
|
-
# A thread in Google Chat.
|
3435
|
+
# A thread in a Google Chat space. For example usage, see [Start or reply to a
|
3436
|
+
# message thread](https://developers.google.com/chat/api/guides/crudl/messages#
|
3437
|
+
# start_or_reply_to_a_message_thread).
|
3433
3438
|
# Corresponds to the JSON property `thread`
|
3434
3439
|
# @return [Google::Apis::ChatV1::Thread]
|
3435
3440
|
attr_accessor :thread
|
@@ -3747,8 +3752,11 @@ module Google
|
|
3747
3752
|
alias_method :admin_installed?, :admin_installed
|
3748
3753
|
|
3749
3754
|
# The space's display name. Required when [creating a space](https://developers.
|
3750
|
-
# google.com/chat/api/reference/rest/v1/spaces/create).
|
3751
|
-
#
|
3755
|
+
# google.com/chat/api/reference/rest/v1/spaces/create). If you receive the error
|
3756
|
+
# message `ALREADY_EXISTS` when creating a space or updating the `displayName`,
|
3757
|
+
# try a different `displayName`. An existing space within the Google Workspace
|
3758
|
+
# organization might already use this display name. For direct messages, this
|
3759
|
+
# field might be empty. Supports up to 128 characters.
|
3752
3760
|
# Corresponds to the JSON property `displayName`
|
3753
3761
|
# @return [String]
|
3754
3762
|
attr_accessor :display_name
|
@@ -3986,7 +3994,9 @@ module Google
|
|
3986
3994
|
end
|
3987
3995
|
end
|
3988
3996
|
|
3989
|
-
# A thread in Google Chat.
|
3997
|
+
# A thread in a Google Chat space. For example usage, see [Start or reply to a
|
3998
|
+
# message thread](https://developers.google.com/chat/api/guides/crudl/messages#
|
3999
|
+
# start_or_reply_to_a_message_thread).
|
3990
4000
|
class Thread
|
3991
4001
|
include Google::Apis::Core::Hashable
|
3992
4002
|
|
@@ -3995,11 +4005,8 @@ module Google
|
|
3995
4005
|
# @return [String]
|
3996
4006
|
attr_accessor :name
|
3997
4007
|
|
3998
|
-
# Optional.
|
3999
|
-
#
|
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.
|
4008
|
+
# Optional. ID for the thread. Supports up to 4000 characters. Input for
|
4009
|
+
# creating or updating a thread. Otherwise, output only.
|
4003
4010
|
# Corresponds to the JSON property `threadKey`
|
4004
4011
|
# @return [String]
|
4005
4012
|
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.68.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 = "20230806"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -141,9 +141,11 @@ module Google
|
|
141
141
|
|
142
142
|
# Creates a named space. Spaces grouped by topics aren't supported. For an
|
143
143
|
# example, see [Create a space](https://developers.google.com/chat/api/guides/v1/
|
144
|
-
# spaces/create).
|
145
|
-
#
|
146
|
-
#
|
144
|
+
# spaces/create). If you receive the error message `ALREADY_EXISTS` when
|
145
|
+
# creating a space, try a different `displayName`. An existing space within the
|
146
|
+
# Google Workspace organization might already use this display name. Requires [
|
147
|
+
# user authentication](https://developers.google.com/chat/api/guides/auth/users)
|
148
|
+
# and the `chat.spaces.create` or `chat.spaces` scope.
|
147
149
|
# @param [Google::Apis::ChatV1::Space] space_object
|
148
150
|
# @param [String] request_id
|
149
151
|
# Optional. A unique identifier for this request. A random UUID is recommended.
|
@@ -365,9 +367,12 @@ module Google
|
|
365
367
|
end
|
366
368
|
|
367
369
|
# Updates a space. For an example, see [Update a space](https://developers.
|
368
|
-
# google.com/chat/api/guides/v1/spaces/update).
|
369
|
-
#
|
370
|
-
#
|
370
|
+
# google.com/chat/api/guides/v1/spaces/update). If you're updating the `
|
371
|
+
# displayName` field and receive the error message `ALREADY_EXISTS`, try a
|
372
|
+
# different display name.. An existing space within the Google Workspace
|
373
|
+
# organization might already use this display name. Requires [user
|
374
|
+
# authentication](https://developers.google.com/chat/api/guides/auth/users) and
|
375
|
+
# the `chat.spaces` scope.
|
371
376
|
# @param [String] name
|
372
377
|
# Resource name of the space. Format: `spaces/`space``
|
373
378
|
# @param [Google::Apis::ChatV1::Space] space_object
|
@@ -377,18 +382,20 @@ module Google
|
|
377
382
|
# display name of a space with the `SPACE` type, or when also including the `
|
378
383
|
# space_type` mask to change a `GROUP_CHAT` space type to `SPACE`. Trying to
|
379
384
|
# update the display name of a `GROUP_CHAT` or a `DIRECT_MESSAGE` space results
|
380
|
-
# in an invalid argument error.
|
381
|
-
#
|
382
|
-
#
|
383
|
-
#
|
384
|
-
#
|
385
|
-
#
|
386
|
-
#
|
387
|
-
#
|
388
|
-
#
|
389
|
-
#
|
390
|
-
#
|
391
|
-
#
|
385
|
+
# in an invalid argument error. If you receive the error message `ALREADY_EXISTS`
|
386
|
+
# when updating the `displayName`, try a different `displayName`. An existing
|
387
|
+
# space within the Google Workspace organization might already use this display
|
388
|
+
# name.) - `space_type` (Only supports changing a `GROUP_CHAT` space type to `
|
389
|
+
# SPACE`. Include `display_name` together with `space_type` in the update mask
|
390
|
+
# and ensure that the specified space has a non-empty display name and the `
|
391
|
+
# SPACE` space type. Including the `space_type` mask and the `SPACE` type in the
|
392
|
+
# specified space when updating the display name is optional if the existing
|
393
|
+
# space already has the `SPACE` type. Trying to update the space type in other
|
394
|
+
# ways results in an invalid argument error). - `space_details` - `
|
395
|
+
# space_history_state` (Supports [turning history on or off for the space](https:
|
396
|
+
# //support.google.com/chat/answer/7664687) if [the organization allows users to
|
397
|
+
# change their history setting](https://support.google.com/a/answer/7664184).
|
398
|
+
# Warning: mutually exclusive with all other field paths.)
|
392
399
|
# @param [String] fields
|
393
400
|
# Selector specifying which fields to include in a partial response.
|
394
401
|
# @param [String] quota_user
|
@@ -442,9 +449,12 @@ module Google
|
|
442
449
|
# membership](https://developers.google.com/chat/api/guides/v1/members/create).
|
443
450
|
# If a DM already exists between two users, even when one user blocks the other
|
444
451
|
# at the time a request is made, then the existing DM is returned. Spaces with
|
445
|
-
# threaded replies
|
446
|
-
#
|
447
|
-
# the
|
452
|
+
# threaded replies aren't supported. If you receive the error message `
|
453
|
+
# ALREADY_EXISTS` when setting up a space, try a different `displayName`. An
|
454
|
+
# existing space within the Google Workspace organization might already use this
|
455
|
+
# display name. Requires [user authentication](https://developers.google.com/
|
456
|
+
# chat/api/guides/auth/users) and the `chat.spaces.create` or `chat.spaces`
|
457
|
+
# scope.
|
448
458
|
# @param [Google::Apis::ChatV1::SetUpSpaceRequest] set_up_space_request_object
|
449
459
|
# @param [String] fields
|
450
460
|
# Selector specifying which fields to include in a partial response.
|
@@ -725,11 +735,11 @@ module Google
|
|
725
735
|
# Optional. A unique request ID for this message. Specifying an existing request
|
726
736
|
# ID returns the message created with that ID instead of creating a new message.
|
727
737
|
# @param [String] thread_key
|
728
|
-
# Optional. Deprecated: Use thread.thread_key instead.
|
729
|
-
# To start or add to a thread, create a message
|
730
|
-
# thread.name. For example usage, see [Start or
|
731
|
-
#
|
732
|
-
# start_or_reply_to_a_message_thread).
|
738
|
+
# Optional. Deprecated: Use thread.thread_key instead. ID for the thread.
|
739
|
+
# Supports up to 4000 characters. To start or add to a thread, create a message
|
740
|
+
# and specify a `threadKey` or the thread.name. For example usage, see [Start or
|
741
|
+
# reply to a message thread](https://developers.google.com/chat/api/guides/crudl/
|
742
|
+
# messages#start_or_reply_to_a_message_thread).
|
733
743
|
# @param [String] fields
|
734
744
|
# Selector specifying which fields to include in a partial response.
|
735
745
|
# @param [String] quota_user
|
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.68.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-
|
11
|
+
date: 2023-08-13 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.68.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: []
|