google-apis-chat_v1 0.129.0 → 0.130.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 +18 -3
- data/lib/google/apis/chat_v1/gem_version.rb +2 -2
- data/lib/google/apis/chat_v1/service.rb +42 -23
- 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: f53de24e594de743adedf276e6d20f1d1ac257c5635c2d9cf368e800d3a3e0a3
|
4
|
+
data.tar.gz: f77a6c98a5d331b8596eef7e03ab3eb56e6d129228503118ded4a4a7e622ad76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cac5ae55e91a8696732b10290f81885f43c16dae995b4b610c25d413f8fd7faa6ac9e202c8172d5036731a3aacfedaf125c3f908c02856f8983c4f5350ef0ea6
|
7
|
+
data.tar.gz: 3a268a328be9c66149a01b0d86e51a5c8fac2575c4b3fe220c7df35b49ba705a1832a0b76d1d03eebfbe45b485c4034263455f4d068ed9bd1e0fc540923766f3
|
data/CHANGELOG.md
CHANGED
@@ -5079,7 +5079,13 @@ module Google
|
|
5079
5079
|
# @return [Google::Apis::ChatV1::User]
|
5080
5080
|
attr_accessor :private_message_viewer
|
5081
5081
|
|
5082
|
-
# Information about a
|
5082
|
+
# Information about a message that another message quotes. When you create a
|
5083
|
+
# message, you can quote messages within the same thread, or quote a root
|
5084
|
+
# message to create a new root message. However, you can't quote a message reply
|
5085
|
+
# from a different thread. When you update a message, you can't add or replace
|
5086
|
+
# the `quotedMessageMetadata` field, but you can remove it. For example usage,
|
5087
|
+
# see [Quote another message](https://developers.google.com/workspace/chat/
|
5088
|
+
# create-messages#quote-a-message).
|
5083
5089
|
# Corresponds to the JSON property `quotedMessageMetadata`
|
5084
5090
|
# @return [Google::Apis::ChatV1::QuotedMessageMetadata]
|
5085
5091
|
attr_accessor :quoted_message_metadata
|
@@ -5424,12 +5430,21 @@ module Google
|
|
5424
5430
|
end
|
5425
5431
|
end
|
5426
5432
|
|
5427
|
-
# Information about a
|
5433
|
+
# Information about a message that another message quotes. When you create a
|
5434
|
+
# message, you can quote messages within the same thread, or quote a root
|
5435
|
+
# message to create a new root message. However, you can't quote a message reply
|
5436
|
+
# from a different thread. When you update a message, you can't add or replace
|
5437
|
+
# the `quotedMessageMetadata` field, but you can remove it. For example usage,
|
5438
|
+
# see [Quote another message](https://developers.google.com/workspace/chat/
|
5439
|
+
# create-messages#quote-a-message).
|
5428
5440
|
class QuotedMessageMetadata
|
5429
5441
|
include Google::Apis::Core::Hashable
|
5430
5442
|
|
5431
5443
|
# Required. The timestamp when the quoted message was created or when the quoted
|
5432
|
-
# message was last updated.
|
5444
|
+
# message was last updated. If the message was edited, use this field, `
|
5445
|
+
# last_update_time`. If the message was never edited, use `create_time`. If `
|
5446
|
+
# last_update_time` doesn't match the latest version of the quoted message, the
|
5447
|
+
# request fails.
|
5433
5448
|
# Corresponds to the JSON property `lastUpdateTime`
|
5434
5449
|
# @return [String]
|
5435
5450
|
attr_accessor :last_update_time
|
@@ -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.130.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 = "20250821"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -760,13 +760,15 @@ module Google
|
|
760
760
|
end
|
761
761
|
|
762
762
|
# Returns a list of spaces in a Google Workspace organization based on an
|
763
|
-
# administrator's search.
|
764
|
-
#
|
765
|
-
#
|
766
|
-
#
|
767
|
-
# chat-
|
768
|
-
#
|
769
|
-
#
|
763
|
+
# administrator's search. In the request, set `use_admin_access` to `true`. For
|
764
|
+
# an example, see [Search for and manage spaces](https://developers.google.com/
|
765
|
+
# workspace/chat/search-manage-admin). Requires [user authentication with
|
766
|
+
# administrator privileges](https://developers.google.com/workspace/chat/
|
767
|
+
# authenticate-authorize-chat-user#admin-privileges) and one of the following [
|
768
|
+
# authorization scopes](https://developers.google.com/workspace/chat/
|
769
|
+
# authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/
|
770
|
+
# chat.admin.spaces.readonly` - `https://www.googleapis.com/auth/chat.admin.
|
771
|
+
# spaces`
|
770
772
|
# @param [String] order_by
|
771
773
|
# Optional. How the list of spaces is ordered. Supported attributes to order by
|
772
774
|
# are: - `membership_count.joined_direct_human_user_count` — Denotes the count
|
@@ -1443,13 +1445,20 @@ module Google
|
|
1443
1445
|
# message](https://developers.google.com/workspace/chat/get-messages). Supports
|
1444
1446
|
# the following types of [authentication](https://developers.google.com/
|
1445
1447
|
# workspace/chat/authenticate-authorize): - [App authentication](https://
|
1446
|
-
# developers.google.com/workspace/chat/authenticate-authorize-chat-app) with
|
1447
|
-
# authorization
|
1448
|
-
#
|
1449
|
-
#
|
1450
|
-
#
|
1451
|
-
# auth/chat.messages`
|
1452
|
-
#
|
1448
|
+
# developers.google.com/workspace/chat/authenticate-authorize-chat-app) with one
|
1449
|
+
# of the following authorization scopes: - `https://www.googleapis.com/auth/chat.
|
1450
|
+
# bot`: When using this authorization scope, this method returns details about a
|
1451
|
+
# message the Chat app has access to, like direct messages and [slash commands](
|
1452
|
+
# https://developers.google.com/workspace/chat/slash-commands) that invoke the
|
1453
|
+
# Chat app. - `https://www.googleapis.com/auth/chat.app.messages.readonly` with [
|
1454
|
+
# administrator approval](https://support.google.com/a?p=chat-app-auth) (
|
1455
|
+
# available in [Developer Preview](https://developers.google.com/workspace/
|
1456
|
+
# preview)). When using this authentication scope, this method returns details
|
1457
|
+
# about a public message in a space. - [User authentication](https://developers.
|
1458
|
+
# google.com/workspace/chat/authenticate-authorize-chat-user) with one of the
|
1459
|
+
# following authorization scopes: - `https://www.googleapis.com/auth/chat.
|
1460
|
+
# messages.readonly` - `https://www.googleapis.com/auth/chat.messages` Note:
|
1461
|
+
# Might return a message from a blocked member or space.
|
1453
1462
|
# @param [String] name
|
1454
1463
|
# Required. Resource name of the message. Format: `spaces/`space`/messages/`
|
1455
1464
|
# message`` If you've set a custom ID for your message, you can use the value
|
@@ -1484,16 +1493,24 @@ module Google
|
|
1484
1493
|
end
|
1485
1494
|
|
1486
1495
|
# Lists messages in a space that the caller is a member of, including messages
|
1487
|
-
# from blocked members and spaces.
|
1496
|
+
# from blocked members and spaces. System messages, like those announcing new
|
1497
|
+
# space members, aren't included. If you list messages from a space with no
|
1488
1498
|
# messages, the response is an empty object. When using a REST/HTTP interface,
|
1489
1499
|
# the response contains an empty JSON object, ````. For an example, see [List
|
1490
1500
|
# messages](https://developers.google.com/workspace/chat/api/guides/v1/messages/
|
1491
|
-
# list).
|
1492
|
-
# chat/authenticate-authorize
|
1493
|
-
#
|
1494
|
-
#
|
1495
|
-
#
|
1496
|
-
# https://www.googleapis.com/auth/chat.
|
1501
|
+
# list). Supports the following types of [authentication](https://developers.
|
1502
|
+
# google.com/workspace/chat/authenticate-authorize): - [App authentication](
|
1503
|
+
# https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
|
1504
|
+
# with [administrator approval](https://support.google.com/a?p=chat-app-auth) in
|
1505
|
+
# [Developer Preview](https://developers.google.com/workspace/preview) with the
|
1506
|
+
# authorization scope: - `https://www.googleapis.com/auth/chat.app.messages.
|
1507
|
+
# readonly`. When using this authentication scope, this method only returns
|
1508
|
+
# public messages in a space. It doesn't include private messages. - [User
|
1509
|
+
# authentication](https://developers.google.com/workspace/chat/authenticate-
|
1510
|
+
# authorize-chat-user) with one of the following authorization scopes: - `https:/
|
1511
|
+
# /www.googleapis.com/auth/chat.messages.readonly` - `https://www.googleapis.com/
|
1512
|
+
# auth/chat.messages` - `https://www.googleapis.com/auth/chat.import` (import
|
1513
|
+
# mode spaces only)
|
1497
1514
|
# @param [String] parent
|
1498
1515
|
# Required. The resource name of the space to list messages from. Format: `
|
1499
1516
|
# spaces/`space``
|
@@ -1602,7 +1619,8 @@ module Google
|
|
1602
1619
|
# `attachment` - `cards` (Requires [app authentication](/chat/api/guides/auth/
|
1603
1620
|
# service-accounts).) - `cards_v2` (Requires [app authentication](/chat/api/
|
1604
1621
|
# guides/auth/service-accounts).) - `accessory_widgets` (Requires [app
|
1605
|
-
# authentication](/chat/api/guides/auth/service-accounts).)
|
1622
|
+
# authentication](/chat/api/guides/auth/service-accounts).) - `
|
1623
|
+
# quoted_message_metadata` (Only allows removal of the quoted message.)
|
1606
1624
|
# @param [String] fields
|
1607
1625
|
# Selector specifying which fields to include in a partial response.
|
1608
1626
|
# @param [String] quota_user
|
@@ -1669,7 +1687,8 @@ module Google
|
|
1669
1687
|
# `attachment` - `cards` (Requires [app authentication](/chat/api/guides/auth/
|
1670
1688
|
# service-accounts).) - `cards_v2` (Requires [app authentication](/chat/api/
|
1671
1689
|
# guides/auth/service-accounts).) - `accessory_widgets` (Requires [app
|
1672
|
-
# authentication](/chat/api/guides/auth/service-accounts).)
|
1690
|
+
# authentication](/chat/api/guides/auth/service-accounts).) - `
|
1691
|
+
# quoted_message_metadata` (Only allows removal of the quoted message.)
|
1673
1692
|
# @param [String] fields
|
1674
1693
|
# Selector specifying which fields to include in a partial response.
|
1675
1694
|
# @param [String] quota_user
|
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.130.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.130.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:
|