google-apis-chat_v1 0.75.0 → 0.76.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 +10 -11
- data/lib/google/apis/chat_v1/gem_version.rb +2 -2
- data/lib/google/apis/chat_v1/service.rb +35 -35
- 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: 005d8d6c7edccdf3a114dc00ab25d5d87789bf2d339adbcb6dd1a22c5a2521bc
|
4
|
+
data.tar.gz: 2bc9dd91af3f1fa65a1aef505c3c559c74feb7833406f2eb6f7a39488366f235
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8368649471a5a787712aa3489c45c75c44fa6e3a31c67c8cc9582a0bb39874f15f5304f7d2690d23b9a407064684e2484edd77dd651788a75557594421e57165
|
7
|
+
data.tar.gz: 8459f904c2300ca2d60bcb2dc504df35a6869f1a8904a76909d103f0089f7cad01af39cddf737b1591586d567bd40d13c53008f6398df7286a99ea8c88e4e6dd
|
data/CHANGELOG.md
CHANGED
@@ -4163,17 +4163,16 @@ module Google
|
|
4163
4163
|
|
4164
4164
|
# Resource name for a Google Chat user. Format: `users/`user``. `users/app` can
|
4165
4165
|
# be used as an alias for the calling app bot user. For human users, ``user`` is
|
4166
|
-
# the same user identifier as: - the
|
4167
|
-
#
|
4168
|
-
#
|
4169
|
-
# in
|
4170
|
-
#
|
4171
|
-
#
|
4172
|
-
#
|
4173
|
-
#
|
4174
|
-
#
|
4175
|
-
# users/123456789
|
4176
|
-
# 123456789`) will be returned from the API.
|
4166
|
+
# the same user identifier as: - the `id` for the [Person](https://developers.
|
4167
|
+
# google.com/people/api/rest/v1/people) in the People API. For example, `users/
|
4168
|
+
# 123456789` in Chat API represents the same person as the `123456789` Person
|
4169
|
+
# profile ID in People API. - the `id` for a [user](https://developers.google.
|
4170
|
+
# com/admin-sdk/directory/reference/rest/v1/users) in the Admin SDK Directory
|
4171
|
+
# API. - the user's email address can be used as an alias for ``user`` in API
|
4172
|
+
# requests. For example, if the People API Person profile ID for `user@example.
|
4173
|
+
# com` is `123456789`, you can use `users/user@example.com` as an alias to
|
4174
|
+
# reference `users/123456789`. Only the canonical resource name (for example `
|
4175
|
+
# users/123456789`) will be returned from the API.
|
4177
4176
|
# Corresponds to the JSON property `name`
|
4178
4177
|
# @return [String]
|
4179
4178
|
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.76.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 = "20231114"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -227,15 +227,15 @@ module Google
|
|
227
227
|
# auth/service-accounts).
|
228
228
|
# @param [String] name
|
229
229
|
# Required. Resource name of the user to find direct message with. Format: `
|
230
|
-
# users/`user``, where ``user`` is either the
|
231
|
-
#
|
232
|
-
#
|
233
|
-
#
|
234
|
-
#
|
235
|
-
#
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
230
|
+
# users/`user``, where ``user`` is either the `id` for the [person](https://
|
231
|
+
# developers.google.com/people/api/rest/v1/people) from the People API, or the `
|
232
|
+
# id` for the [user](https://developers.google.com/admin-sdk/directory/reference/
|
233
|
+
# rest/v1/users) in the Directory API. For example, if the People API profile ID
|
234
|
+
# is `123456789`, you can find a direct message with that person by using `users/
|
235
|
+
# 123456789` as the `name`. When [authenticated as a user](https://developers.
|
236
|
+
# google.com/chat/api/guides/auth/users), you can use the email as an alias for `
|
237
|
+
# `user``. For example, `users/example@gmail.com` where `example@gmail.com` is
|
238
|
+
# the email of the Google Chat user.
|
239
239
|
# @param [String] fields
|
240
240
|
# Selector specifying which fields to include in a partial response.
|
241
241
|
# @param [String] quota_user
|
@@ -427,27 +427,27 @@ module Google
|
|
427
427
|
# add memberships with the appropriate `member.name` in the `SetUpSpaceRequest`.
|
428
428
|
# To add a human user, use `users/`user``, where ``user`` can be the email
|
429
429
|
# address for the user. For users in the same Workspace organization ``user``
|
430
|
-
# can also be the
|
431
|
-
#
|
432
|
-
#
|
433
|
-
#
|
434
|
-
#
|
435
|
-
#
|
436
|
-
#
|
437
|
-
#
|
438
|
-
#
|
439
|
-
#
|
440
|
-
#
|
441
|
-
#
|
442
|
-
#
|
443
|
-
#
|
444
|
-
#
|
445
|
-
#
|
446
|
-
#
|
447
|
-
#
|
448
|
-
#
|
449
|
-
#
|
450
|
-
#
|
430
|
+
# can also be the `id` for the person from the People API, or the `id` for the
|
431
|
+
# user in the Directory API. For example, if the People API Person profile ID
|
432
|
+
# for `user@example.com` is `123456789`, you can add the user to the space by
|
433
|
+
# setting the `membership.member.name` to `users/user@example.com` or `users/
|
434
|
+
# 123456789`. For a space or group chat, if the caller blocks or is blocked by
|
435
|
+
# some members, then those members aren't added to the created space. To create
|
436
|
+
# a direct message (DM) between the calling user and another human user, specify
|
437
|
+
# exactly one membership to represent the human user. If one user blocks the
|
438
|
+
# other, the request fails and the DM isn't created. To create a DM between the
|
439
|
+
# calling user and the calling app, set `Space.singleUserBotDm` to `true` and
|
440
|
+
# don't specify any memberships. You can only use this method to set up a DM
|
441
|
+
# with the calling app. To add the calling app as a member of a space or an
|
442
|
+
# existing DM between two human users, see [create a membership](https://
|
443
|
+
# developers.google.com/chat/api/guides/v1/members/create). If a DM already
|
444
|
+
# exists between two users, even when one user blocks the other at the time a
|
445
|
+
# request is made, then the existing DM is returned. Spaces with threaded
|
446
|
+
# replies aren't supported. If you receive the error message `ALREADY_EXISTS`
|
447
|
+
# when setting up a space, try a different `displayName`. An existing space
|
448
|
+
# within the Google Workspace organization might already use this display name.
|
449
|
+
# Requires [user authentication](https://developers.google.com/chat/api/guides/
|
450
|
+
# auth/users).
|
451
451
|
# @param [Google::Apis::ChatV1::SetUpSpaceRequest] set_up_space_request_object
|
452
452
|
# @param [String] fields
|
453
453
|
# Selector specifying which fields to include in a partial response.
|
@@ -489,11 +489,11 @@ module Google
|
|
489
489
|
# app to a space or a direct message between two human users, use `users/app`.
|
490
490
|
# Unable to add other apps to the space. - To add a human user, use `users/`user`
|
491
491
|
# `, where ``user`` can be the email address for the user. For users in the same
|
492
|
-
# Workspace organization ``user`` can also be the
|
493
|
-
#
|
494
|
-
#
|
495
|
-
#
|
496
|
-
#
|
492
|
+
# Workspace organization ``user`` can also be the `id` for the person from the
|
493
|
+
# People API, or the `id` for the user in the Directory API. For example, if the
|
494
|
+
# People API Person profile ID for `user@example.com` is `123456789`, you can
|
495
|
+
# add the user to the space by setting the `membership.member.name` to `users/
|
496
|
+
# user@example.com` or `users/123456789`.
|
497
497
|
# @param [String] parent
|
498
498
|
# Required. The resource name of the space for which to create the membership.
|
499
499
|
# Format: 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.76.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-
|
11
|
+
date: 2023-11-19 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.76.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: []
|