google-apis-chat_v1 0.126.0 → 0.127.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 +20 -23
- data/lib/google/apis/chat_v1/gem_version.rb +2 -2
- data/lib/google/apis/chat_v1/service.rb +34 -40
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e7fb247be2ed7b058cafff833e67896e93d803a77ba03150a49cee4ca19d5de
|
4
|
+
data.tar.gz: '09ab08120b447825f8d358939fdfa4e07de02912076ecccfbb0c3c70007c7e2c'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ccf4a01a8adfc5f70bb3743f1579e8e01809dd067f881e1760d2b90a4ebc38e88ad214d4f3149e33495e118df5a49d8cad448a09aa70d728a846d844001b285a
|
7
|
+
data.tar.gz: b7038b48469b32fc37e33647590021d4a078f33ccc9c71f004969d2500461742e17088e4e1cddae7e2e480ccc4e280ed4e1629d41f1016bb06b947afbbda4bf7
|
data/CHANGELOG.md
CHANGED
@@ -43,9 +43,8 @@ module Google
|
|
43
43
|
# authentication](https://developers.google.com/workspace/chat/authenticate-
|
44
44
|
# authorize-chat-user) - [App authentication](https://developers.google.com/
|
45
45
|
# workspace/chat/authenticate-authorize-chat-app) with [administrator approval](
|
46
|
-
# https://support.google.com/a?p=chat-app-auth) with the `chat.app.spaces` scope
|
47
|
-
#
|
48
|
-
# field is not populated when using the `chat.bot` scope with [app
|
46
|
+
# https://support.google.com/a?p=chat-app-auth) with the `chat.app.spaces` scope.
|
47
|
+
# This field is not populated when using the `chat.bot` scope with [app
|
49
48
|
# authentication](https://developers.google.com/workspace/chat/authenticate-
|
50
49
|
# authorize-chat-app). Setting the target audience requires [user authentication]
|
51
50
|
# (https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
|
@@ -184,15 +183,15 @@ module Google
|
|
184
183
|
end
|
185
184
|
end
|
186
185
|
|
187
|
-
# Annotations can be associated with the plain-text body of the
|
188
|
-
# chips that link to Google Workspace resources like Google Docs
|
189
|
-
#
|
190
|
-
# see [Format text messages](https://developers.google.com/
|
191
|
-
# messages). Example plain-text message body: ``` Hello @
|
192
|
-
# The corresponding annotations metadata: ``` "
|
193
|
-
# USER_MENTION", "startIndex":6, "length":7, "
|
194
|
-
#
|
195
|
-
# type":"BOT" `, "type":"MENTION" ` `] ```
|
186
|
+
# Output only. Annotations can be associated with the plain-text body of the
|
187
|
+
# message or with chips that link to Google Workspace resources like Google Docs
|
188
|
+
# or Sheets with `start_index` and `length` of 0. To add basic formatting to a
|
189
|
+
# text message, see [Format text messages](https://developers.google.com/
|
190
|
+
# workspace/chat/format-messages). Example plain-text message body: ``` Hello @
|
191
|
+
# FooBot how are you!" ``` The corresponding annotations metadata: ``` "
|
192
|
+
# annotations":[` "type":"USER_MENTION", "startIndex":6, "length":7, "
|
193
|
+
# userMention": ` "user": ` "name":"users/`user`", "displayName":"FooBot", "
|
194
|
+
# avatarUrl":"https://goo.gl/aeDtrS", "type":"BOT" `, "type":"MENTION" ` `] ```
|
196
195
|
class Annotation
|
197
196
|
include Google::Apis::Core::Hashable
|
198
197
|
|
@@ -209,7 +208,7 @@ module Google
|
|
209
208
|
|
210
209
|
# A rich link to a resource. Rich links can be associated with the plain-text
|
211
210
|
# body of the message or represent chips that link to Google Workspace resources
|
212
|
-
# like Google Docs or Sheets with
|
211
|
+
# like Google Docs or Sheets with `start_index` and `length` of 0.
|
213
212
|
# Corresponds to the JSON property `richLinkMetadata`
|
214
213
|
# @return [Google::Apis::ChatV1::RichLinkMetadata]
|
215
214
|
attr_accessor :rich_link_metadata
|
@@ -4659,7 +4658,7 @@ module Google
|
|
4659
4658
|
|
4660
4659
|
# Output only. Annotations can be associated with the plain-text body of the
|
4661
4660
|
# message or with chips that link to Google Workspace resources like Google Docs
|
4662
|
-
# or Sheets with
|
4661
|
+
# or Sheets with `start_index` and `length` of 0.
|
4663
4662
|
# Corresponds to the JSON property `annotations`
|
4664
4663
|
# @return [Array<Google::Apis::ChatV1::Annotation>]
|
4665
4664
|
attr_accessor :annotations
|
@@ -5141,13 +5140,13 @@ module Google
|
|
5141
5140
|
class QuotedMessageMetadata
|
5142
5141
|
include Google::Apis::Core::Hashable
|
5143
5142
|
|
5144
|
-
#
|
5145
|
-
#
|
5143
|
+
# Required. The timestamp when the quoted message was created or when the quoted
|
5144
|
+
# message was last updated.
|
5146
5145
|
# Corresponds to the JSON property `lastUpdateTime`
|
5147
5146
|
# @return [String]
|
5148
5147
|
attr_accessor :last_update_time
|
5149
5148
|
|
5150
|
-
#
|
5149
|
+
# Required. Resource name of the message that is quoted. Format: `spaces/`space`/
|
5151
5150
|
# messages/`message``
|
5152
5151
|
# Corresponds to the JSON property `name`
|
5153
5152
|
# @return [String]
|
@@ -5281,7 +5280,7 @@ module Google
|
|
5281
5280
|
|
5282
5281
|
# A rich link to a resource. Rich links can be associated with the plain-text
|
5283
5282
|
# body of the message or represent chips that link to Google Workspace resources
|
5284
|
-
# like Google Docs or Sheets with
|
5283
|
+
# like Google Docs or Sheets with `start_index` and `length` of 0.
|
5285
5284
|
class RichLinkMetadata
|
5286
5285
|
include Google::Apis::Core::Hashable
|
5287
5286
|
|
@@ -5572,8 +5571,7 @@ module Google
|
|
5572
5571
|
# developers.google.com/admin-sdk/directory/reference/rest/v1/customers).
|
5573
5572
|
# Private apps can also use the `customers/my_customer` alias to create the
|
5574
5573
|
# space in the same Google Workspace organization as the app. For DMs, this
|
5575
|
-
# field isn't populated.
|
5576
|
-
# workspace/preview).
|
5574
|
+
# field isn't populated.
|
5577
5575
|
# Corresponds to the JSON property `customer`
|
5578
5576
|
# @return [String]
|
5579
5577
|
attr_accessor :customer
|
@@ -5649,9 +5647,8 @@ module Google
|
|
5649
5647
|
# Optional. Input only. Predefined space permission settings, input only when
|
5650
5648
|
# creating a space. If the field is not set, a collaboration space is created.
|
5651
5649
|
# After you create the space, settings are populated in the `PermissionSettings`
|
5652
|
-
# field. Setting predefined permission settings supports: -
|
5653
|
-
#
|
5654
|
-
# (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
|
5650
|
+
# field. Setting predefined permission settings supports: - [App authentication](
|
5651
|
+
# https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
|
5655
5652
|
# with [administrator approval](https://support.google.com/a?p=chat-app-auth)
|
5656
5653
|
# with the `chat.app.spaces` or `chat.app.spaces.create` scopes. - [User
|
5657
5654
|
# authentication](https://developers.google.com/workspace/chat/authenticate-
|
@@ -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.127.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250727"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -371,24 +371,23 @@ module Google
|
|
371
371
|
# authentication](https://developers.google.com/workspace/chat/authenticate-
|
372
372
|
# authorize): - [App authentication](https://developers.google.com/workspace/
|
373
373
|
# chat/authenticate-authorize-chat-app) with [administrator approval](https://
|
374
|
-
# support.google.com/a?p=chat-app-auth)
|
375
|
-
#
|
376
|
-
#
|
377
|
-
#
|
378
|
-
#
|
379
|
-
#
|
380
|
-
#
|
381
|
-
#
|
382
|
-
#
|
383
|
-
#
|
384
|
-
#
|
385
|
-
#
|
386
|
-
#
|
387
|
-
#
|
388
|
-
#
|
389
|
-
#
|
390
|
-
# The
|
391
|
-
# app authentication. * The human user when using user authentication. If you
|
374
|
+
# support.google.com/a?p=chat-app-auth) and one of the following authorization
|
375
|
+
# scopes: - `https://www.googleapis.com/auth/chat.app.spaces.create` - `https://
|
376
|
+
# www.googleapis.com/auth/chat.app.spaces` - [User authentication](https://
|
377
|
+
# developers.google.com/workspace/chat/authenticate-authorize-chat-user) with
|
378
|
+
# one of the following authorization scopes: - `https://www.googleapis.com/auth/
|
379
|
+
# chat.spaces.create` - `https://www.googleapis.com/auth/chat.spaces` - `https://
|
380
|
+
# www.googleapis.com/auth/chat.import` (import mode spaces only) When
|
381
|
+
# authenticating as an app, the `space.customer` field must be set in the
|
382
|
+
# request. When authenticating as an app, the Chat app is added as a member of
|
383
|
+
# the space. However, unlike human authentication, the Chat app is not added as
|
384
|
+
# a space manager. By default, the Chat app can be removed from the space by all
|
385
|
+
# space members. To allow only space managers to remove the app from a space,
|
386
|
+
# set `space.permission_settings.manage_apps` to `managers_allowed`. Space
|
387
|
+
# membership upon creation depends on whether the space is created in `Import
|
388
|
+
# mode`: * **Import mode:** No members are created. * **All other modes:** The
|
389
|
+
# calling user is added as a member. This is: * The app itself when using app
|
390
|
+
# authentication. * The human user when using user authentication. If you
|
392
391
|
# receive the error message `ALREADY_EXISTS` when creating a space, try a
|
393
392
|
# different `displayName`. An existing space within the Google Workspace
|
394
393
|
# organization might already use this display name.
|
@@ -434,16 +433,15 @@ module Google
|
|
434
433
|
# types of [authentication](https://developers.google.com/workspace/chat/
|
435
434
|
# authenticate-authorize): - [App authentication](https://developers.google.com/
|
436
435
|
# workspace/chat/authenticate-authorize-chat-app) with [administrator approval](
|
437
|
-
# https://support.google.com/a?p=chat-app-auth)
|
438
|
-
#
|
439
|
-
#
|
440
|
-
#
|
441
|
-
#
|
442
|
-
#
|
443
|
-
#
|
444
|
-
#
|
445
|
-
#
|
446
|
-
# googleapis.com/auth/chat.admin.delete`
|
436
|
+
# https://support.google.com/a?p=chat-app-auth) and the authorization scope: - `
|
437
|
+
# https://www.googleapis.com/auth/chat.app.delete` (only in spaces the app
|
438
|
+
# created) - [User authentication](https://developers.google.com/workspace/chat/
|
439
|
+
# authenticate-authorize-chat-user) with one of the following authorization
|
440
|
+
# scopes: - `https://www.googleapis.com/auth/chat.delete` - `https://www.
|
441
|
+
# googleapis.com/auth/chat.import` (import mode spaces only) - User
|
442
|
+
# authentication grants administrator privileges when an administrator account
|
443
|
+
# authenticates, `use_admin_access` is `true`, and the following authorization
|
444
|
+
# scope is used: - `https://www.googleapis.com/auth/chat.admin.delete`
|
447
445
|
# @param [String] name
|
448
446
|
# Required. Resource name of the space to delete. Format: `spaces/`space``
|
449
447
|
# @param [Boolean] use_admin_access
|
@@ -662,9 +660,8 @@ module Google
|
|
662
660
|
# (https://developers.google.com/workspace/chat/authenticate-authorize): - [App
|
663
661
|
# authentication](https://developers.google.com/workspace/chat/authenticate-
|
664
662
|
# authorize-chat-app) with [administrator approval](https://support.google.com/a?
|
665
|
-
# p=chat-app-auth)
|
666
|
-
#
|
667
|
-
# www.googleapis.com/auth/chat.app.spaces` - [User authentication](https://
|
663
|
+
# p=chat-app-auth) and one of the following authorization scopes: - `https://www.
|
664
|
+
# googleapis.com/auth/chat.app.spaces` - [User authentication](https://
|
668
665
|
# developers.google.com/workspace/chat/authenticate-authorize-chat-user) with
|
669
666
|
# one of the following authorization scopes: - `https://www.googleapis.com/auth/
|
670
667
|
# chat.spaces` - `https://www.googleapis.com/auth/chat.import` (import mode
|
@@ -944,11 +941,10 @@ module Google
|
|
944
941
|
# space. Supports the following types of [authentication](https://developers.
|
945
942
|
# google.com/workspace/chat/authenticate-authorize): - [App authentication](
|
946
943
|
# https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
|
947
|
-
# with [administrator approval](https://support.google.com/a?p=chat-app-auth)
|
948
|
-
#
|
949
|
-
#
|
950
|
-
#
|
951
|
-
# authenticate-authorize-chat-user) with one of the following authorization
|
944
|
+
# with [administrator approval](https://support.google.com/a?p=chat-app-auth)
|
945
|
+
# and the authorization scope: - `https://www.googleapis.com/auth/chat.app.
|
946
|
+
# memberships` - [User authentication](https://developers.google.com/workspace/
|
947
|
+
# chat/authenticate-authorize-chat-user) with one of the following authorization
|
952
948
|
# scopes: - `https://www.googleapis.com/auth/chat.memberships` - `https://www.
|
953
949
|
# googleapis.com/auth/chat.memberships.app` (to add the calling app to the space)
|
954
950
|
# - `https://www.googleapis.com/auth/chat.import` (import mode spaces only) -
|
@@ -1012,8 +1008,7 @@ module Google
|
|
1012
1008
|
# Supports the following types of [authentication](https://developers.google.com/
|
1013
1009
|
# workspace/chat/authenticate-authorize): - [App authentication](https://
|
1014
1010
|
# developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [
|
1015
|
-
# administrator approval](https://support.google.com/a?p=chat-app-auth)
|
1016
|
-
# Developer Preview](https://developers.google.com/workspace/preview) and the
|
1011
|
+
# administrator approval](https://support.google.com/a?p=chat-app-auth) and the
|
1017
1012
|
# authorization scope: - `https://www.googleapis.com/auth/chat.app.memberships` -
|
1018
1013
|
# [User authentication](https://developers.google.com/workspace/chat/
|
1019
1014
|
# authenticate-authorize-chat-user) with one of the following authorization
|
@@ -1249,8 +1244,7 @@ module Google
|
|
1249
1244
|
# the following types of [authentication](https://developers.google.com/
|
1250
1245
|
# workspace/chat/authenticate-authorize): - [App authentication](https://
|
1251
1246
|
# developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [
|
1252
|
-
# administrator approval](https://support.google.com/a?p=chat-app-auth)
|
1253
|
-
# Developer Preview](https://developers.google.com/workspace/preview) and the
|
1247
|
+
# administrator approval](https://support.google.com/a?p=chat-app-auth) and the
|
1254
1248
|
# authorization scope: - `https://www.googleapis.com/auth/chat.app.memberships` (
|
1255
1249
|
# only in spaces the app created) - [User authentication](https://developers.
|
1256
1250
|
# google.com/workspace/chat/authenticate-authorize-chat-user) with one of the
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.127.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chat_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.127.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chat_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|