google-apis-chat_v1 0.51.0 → 0.53.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 +27 -19
- 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: ee6374104804e4583ea1cb59ff35323ac8be8326221022dd0c474037565cc3bf
|
4
|
+
data.tar.gz: 24041d1a0d2592e226da9fd9b6d7617a061b69de9ec26c29d1d066a90588f85a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e8c88b6ac18a8eb769dde6ab6778be868d41bd1ca867ab322511f29718206b1ff6cd695d255517ef826c361679248ed27be051b0e38ee166d3db82b3d9843469
|
7
|
+
data.tar.gz: 5ab1e0a41e220868c10ea90020cf970bac58b6cb1c1b2cd5dbbbefa903c097126a003b60b279314350a18595d9f556c227cfd520919ec8af193bac4ac8c1e284
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-chat_v1
|
2
2
|
|
3
|
+
### v0.53.0 (2023-02-12)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230205
|
6
|
+
|
7
|
+
### v0.52.0 (2023-02-05)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230131
|
10
|
+
|
3
11
|
### v0.51.0 (2023-01-29)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230119
|
@@ -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
|
|
@@ -693,9 +693,9 @@ module Google
|
|
693
693
|
attr_accessor :common
|
694
694
|
|
695
695
|
# The URL the Chat app should redirect the user to after they have completed an
|
696
|
-
# authorization or configuration flow outside of Google Chat.
|
697
|
-
#
|
698
|
-
#
|
696
|
+
# authorization or configuration flow outside of Google Chat. For more
|
697
|
+
# information, see [Connect a Chat app with other services & tools](https://
|
698
|
+
# developers.google.com/chat/how-tos/connect-web-services-tools).
|
699
699
|
# Corresponds to the JSON property `configCompleteRedirectUrl`
|
700
700
|
# @return [String]
|
701
701
|
attr_accessor :config_complete_redirect_url
|
@@ -2695,7 +2695,8 @@ module Google
|
|
2695
2695
|
# @return [Google::Apis::ChatV1::User]
|
2696
2696
|
attr_accessor :member
|
2697
2697
|
|
2698
|
-
# Resource name of the membership. Format: spaces/`space
|
2698
|
+
# Resource name of the membership, assigned by the server. Format: spaces/`space`
|
2699
|
+
# /members/`member`
|
2699
2700
|
# Corresponds to the JSON property `name`
|
2700
2701
|
# @return [String]
|
2701
2702
|
attr_accessor :name
|
@@ -2729,7 +2730,7 @@ module Google
|
|
2729
2730
|
class Message
|
2730
2731
|
include Google::Apis::Core::Hashable
|
2731
2732
|
|
2732
|
-
# Parameters that a Chat app can use to configure how
|
2733
|
+
# Parameters that a Chat app can use to configure how its response is posted.
|
2733
2734
|
# Corresponds to the JSON property `actionResponse`
|
2734
2735
|
# @return [Google::Apis::ChatV1::ActionResponse]
|
2735
2736
|
attr_accessor :action_response
|
@@ -2744,7 +2745,7 @@ module Google
|
|
2744
2745
|
# @return [String]
|
2745
2746
|
attr_accessor :argument_text
|
2746
2747
|
|
2747
|
-
# User
|
2748
|
+
# User-uploaded attachment.
|
2748
2749
|
# Corresponds to the JSON property `attachment`
|
2749
2750
|
# @return [Array<Google::Apis::ChatV1::Attachment>]
|
2750
2751
|
attr_accessor :attachment
|
@@ -2759,7 +2760,7 @@ module Google
|
|
2759
2760
|
|
2760
2761
|
# Richly formatted and interactive cards that display UI elements and editable
|
2761
2762
|
# widgets, such as: - Formatted text - Buttons - Clickable images - Checkboxes -
|
2762
|
-
# Radio buttons - Input widgets. Cards are usually displayed below the text
|
2763
|
+
# Radio buttons - Input widgets. Cards are usually displayed below the text body
|
2763
2764
|
# of a Chat message, but can situationally appear other places, such as [dialogs]
|
2764
2765
|
# (https://developers.google.com/chat/how-tos/dialogs). The `cardId` is a unique
|
2765
2766
|
# identifier among cards in the same message and for identifying user input
|
@@ -3015,7 +3016,7 @@ module Google
|
|
3015
3016
|
|
3016
3017
|
# The space's display name. Required when [creating a space](https://developers.
|
3017
3018
|
# google.com/chat/api/reference/rest/v1/spaces/create). For direct messages,
|
3018
|
-
# this field may be empty.
|
3019
|
+
# this field may be empty. Supports up to 128 characters.
|
3019
3020
|
# Corresponds to the JSON property `displayName`
|
3020
3021
|
# @return [String]
|
3021
3022
|
attr_accessor :display_name
|
@@ -3075,12 +3076,13 @@ module Google
|
|
3075
3076
|
include Google::Apis::Core::Hashable
|
3076
3077
|
|
3077
3078
|
# Optional. A description of the space. It could describe the space's discussion
|
3078
|
-
# topic, functional purpose, or participants.
|
3079
|
+
# topic, functional purpose, or participants. Supports up to 150 characters.
|
3079
3080
|
# Corresponds to the JSON property `description`
|
3080
3081
|
# @return [String]
|
3081
3082
|
attr_accessor :description
|
3082
3083
|
|
3083
|
-
# Optional. The space's rules, expectations, and etiquette.
|
3084
|
+
# Optional. The space's rules, expectations, and etiquette. Supports up to 5,000
|
3085
|
+
# characters.
|
3084
3086
|
# Corresponds to the JSON property `guidelines`
|
3085
3087
|
# @return [String]
|
3086
3088
|
attr_accessor :guidelines
|
@@ -3211,9 +3213,9 @@ module Google
|
|
3211
3213
|
|
3212
3214
|
# Optional. Opaque thread identifier. To start or add to a thread, create a
|
3213
3215
|
# message and specify a `threadKey` or the thread.name. For example usage, see [
|
3214
|
-
# Start or reply to a message thread](/chat/api/
|
3215
|
-
# start_or_reply_to_a_message_thread). For other requests,
|
3216
|
-
# only field.
|
3216
|
+
# Start or reply to a message thread](https://developers.google.com/chat/api/
|
3217
|
+
# guides/crudl/messages#start_or_reply_to_a_message_thread). For other requests,
|
3218
|
+
# this is an output only field.
|
3217
3219
|
# Corresponds to the JSON property `threadKey`
|
3218
3220
|
# @return [String]
|
3219
3221
|
attr_accessor :thread_key
|
@@ -3302,8 +3304,14 @@ module Google
|
|
3302
3304
|
attr_accessor :is_anonymous
|
3303
3305
|
alias_method :is_anonymous?, :is_anonymous
|
3304
3306
|
|
3305
|
-
# Resource name for a Google Chat user.
|
3306
|
-
#
|
3307
|
+
# Resource name for a Google Chat user. Format: `users/`user``. `users/app` can
|
3308
|
+
# be used as an alias for the calling app bot user. For human users, ``user`` is
|
3309
|
+
# the same user identifier as: - the ``person_id`` for the [Person](https://
|
3310
|
+
# developers.google.com/people/api/rest/v1/people) in the People API, where the
|
3311
|
+
# Person `resource_name` is `people/`person_id``. For example, `users/123456789`
|
3312
|
+
# in Chat API represents the same person as `people/123456789` in People API. -
|
3313
|
+
# the `id` for a [user](https://developers.google.com/admin-sdk/directory/
|
3314
|
+
# reference/rest/v1/users) in the Admin SDK Directory API.
|
3307
3315
|
# Corresponds to the JSON property `name`
|
3308
3316
|
# @return [String]
|
3309
3317
|
attr_accessor :name
|
@@ -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.53.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 = "20230205"
|
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.53.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-12 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.53.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: []
|