google-apis-chat_v1 0.102.0 → 0.103.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 +4 -0
- data/lib/google/apis/chat_v1/classes.rb +11 -7
- data/lib/google/apis/chat_v1/gem_version.rb +2 -2
- data/lib/google/apis/chat_v1/service.rb +21 -9
- 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: 9299c746df7364f6dac6b8ce99ca758b252e9dbd8cd5cdebc137ccd53183df52
|
|
4
|
+
data.tar.gz: f60c2cc0f9cd13a95ccc5986a5da0761e04ca979097646744f45193ce6858bc0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 293d49333586d6f87b88475c0cd53d31c7d10cce7aa3d5ee0696e7b09de350956c9bd591716b3e37e9ade78cc883b1afc8dffc1ef435f1ff117ab24c8390ee42
|
|
7
|
+
data.tar.gz: 9da5a760b2ecabde3cc6c24b2e0080b4e5698007a45fc6b0a4a30435ad4b534388a18ced701b7542c4a92bd0a464ae060326fa7bb18092c1651f47d9dc8d3f41
|
data/CHANGELOG.md
CHANGED
|
@@ -3875,9 +3875,9 @@ module Google
|
|
|
3875
3875
|
# rest/v1/cards). Only Chat apps can create cards. If your Chat app [
|
|
3876
3876
|
# authenticates as a user](https://developers.google.com/workspace/chat/
|
|
3877
3877
|
# authenticate-authorize-chat-user), the messages can't contain cards. To learn
|
|
3878
|
-
#
|
|
3879
|
-
# developers.google.com/workspace/chat/create-messages
|
|
3880
|
-
#
|
|
3878
|
+
# how to create a message that contains cards, see [Send a message](https://
|
|
3879
|
+
# developers.google.com/workspace/chat/create-messages). [Card builder](https://
|
|
3880
|
+
# addons.gsuite.google.com/uikit/builder)
|
|
3881
3881
|
# Corresponds to the JSON property `cardsV2`
|
|
3882
3882
|
# @return [Array<Google::Apis::ChatV1::CardWithId>]
|
|
3883
3883
|
attr_accessor :cards_v2
|
|
@@ -4004,9 +4004,8 @@ module Google
|
|
|
4004
4004
|
# generates a [preview chip](https://developers.google.com/workspace/chat/
|
|
4005
4005
|
# preview-links). You can also [@mention a Google Chat user](https://developers.
|
|
4006
4006
|
# google.com/workspace/chat/format-messages#messages-@mention), or everyone in
|
|
4007
|
-
# the space. To learn about creating text messages, see [Send a
|
|
4008
|
-
#
|
|
4009
|
-
# messages).
|
|
4007
|
+
# the space. To learn about creating text messages, see [Send a message](https://
|
|
4008
|
+
# developers.google.com/workspace/chat/create-messages).
|
|
4010
4009
|
# Corresponds to the JSON property `text`
|
|
4011
4010
|
# @return [String]
|
|
4012
4011
|
attr_accessor :text
|
|
@@ -4678,7 +4677,12 @@ module Google
|
|
|
4678
4677
|
# @return [Google::Apis::ChatV1::MembershipCount]
|
|
4679
4678
|
attr_accessor :membership_count
|
|
4680
4679
|
|
|
4681
|
-
# Resource name of the space. Format: `spaces/`space``
|
|
4680
|
+
# Resource name of the space. Format: `spaces/`space`` Where ``space``
|
|
4681
|
+
# represents the system-assigned ID for the space. You can obtain the space ID
|
|
4682
|
+
# by calling the [`spaces.list()`](https://developers.google.com/workspace/chat/
|
|
4683
|
+
# api/reference/rest/v1/spaces/list) method or from the space URL. For example,
|
|
4684
|
+
# if the space URL is `https://mail.google.com/mail/u/0/#chat/space/AAAAAAAAA`,
|
|
4685
|
+
# the space ID is `AAAAAAAAA`.
|
|
4682
4686
|
# Corresponds to the JSON property `name`
|
|
4683
4687
|
# @return [String]
|
|
4684
4688
|
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.103.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 = "20240825"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -423,7 +423,12 @@ module Google
|
|
|
423
423
|
# already use this display name. Requires [user authentication](https://
|
|
424
424
|
# developers.google.com/workspace/chat/authenticate-authorize-chat-user).
|
|
425
425
|
# @param [String] name
|
|
426
|
-
# Resource name of the space. Format: `spaces/`space``
|
|
426
|
+
# Resource name of the space. Format: `spaces/`space`` Where ``space``
|
|
427
|
+
# represents the system-assigned ID for the space. You can obtain the space ID
|
|
428
|
+
# by calling the [`spaces.list()`](https://developers.google.com/workspace/chat/
|
|
429
|
+
# api/reference/rest/v1/spaces/list) method or from the space URL. For example,
|
|
430
|
+
# if the space URL is `https://mail.google.com/mail/u/0/#chat/space/AAAAAAAAA`,
|
|
431
|
+
# the space ID is `AAAAAAAAA`.
|
|
427
432
|
# @param [Google::Apis::ChatV1::Space] space_object
|
|
428
433
|
# @param [String] update_mask
|
|
429
434
|
# Required. The updated field paths, comma separated if there are multiple. You
|
|
@@ -976,14 +981,21 @@ module Google
|
|
|
976
981
|
execute_or_queue_command(command, &block)
|
|
977
982
|
end
|
|
978
983
|
|
|
979
|
-
# Creates a message in a Google Chat space.
|
|
980
|
-
#
|
|
981
|
-
#
|
|
982
|
-
#
|
|
983
|
-
#
|
|
984
|
-
#
|
|
985
|
-
#
|
|
986
|
-
#
|
|
984
|
+
# Creates a message in a Google Chat space. For an example, see [Send a message](
|
|
985
|
+
# https://developers.google.com/workspace/chat/create-messages). The `create()`
|
|
986
|
+
# method requires either user or app authentication. Chat attributes the message
|
|
987
|
+
# sender differently depending on the type of authentication that you use in
|
|
988
|
+
# your request. The following image shows how Chat attributes a message when you
|
|
989
|
+
# use app authentication. Chat displays the Chat app as the message sender. The
|
|
990
|
+
# content of the message can contain text (`text`), cards (`cardsV2`), and
|
|
991
|
+
# accessory widgets (`accessoryWidgets`). ![Message sent with app authentication]
|
|
992
|
+
# (https://developers.google.com/workspace/chat/images/message-app-auth.svg) The
|
|
993
|
+
# following image shows how Chat attributes a message when you use user
|
|
994
|
+
# authentication. Chat displays the user as the message sender and attributes
|
|
995
|
+
# the Chat app to the message by displaying its name. The content of message can
|
|
996
|
+
# only contain text (`text`).  The maximum
|
|
998
|
+
# message size, including the message contents, is 32,000 bytes.
|
|
987
999
|
# @param [String] parent
|
|
988
1000
|
# Required. The resource name of the space in which to create a message. Format:
|
|
989
1001
|
# `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.103.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-09-01 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.103.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: []
|