google-apis-chat_v1 0.110.0 → 0.111.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 +56 -55
- data/lib/google/apis/chat_v1/gem_version.rb +2 -2
- data/lib/google/apis/chat_v1/service.rb +66 -61
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 422dd8c6e6b86b49d7ea79d83919faf7b61a6956c1fad1d2a5ba4f074dc2b6ba
|
|
4
|
+
data.tar.gz: 30c9319cda95434f2b182fe21bd898bf767b655a359728eaf7221dbe3039b7fa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 14c63d8b23dbc1e01946baba532d5ce3e09ddc90f9d68c5245661bdd98d575ae17deed5e0e1bff9254b9562b929650eeb8426f7e4313fb81647f2a6cb817ec78
|
|
7
|
+
data.tar.gz: a20ed3d3418680c89718396e9ea710fcffa5e08f5903526f15e70ba6a98fc57a23ea0927871f662e6a5e658a01e2a5cc92dd9e11ae6aa201d0919ce8d0a53cb8
|
data/CHANGELOG.md
CHANGED
|
@@ -1154,7 +1154,7 @@ module Google
|
|
|
1154
1154
|
# @return [Google::Apis::ChatV1::CustomEmoji]
|
|
1155
1155
|
attr_accessor :custom_emoji
|
|
1156
1156
|
|
|
1157
|
-
# A basic emoji represented by a unicode string.
|
|
1157
|
+
# Optional. A basic emoji represented by a unicode string.
|
|
1158
1158
|
# Corresponds to the JSON property `unicode`
|
|
1159
1159
|
# @return [String]
|
|
1160
1160
|
attr_accessor :unicode
|
|
@@ -1179,7 +1179,7 @@ module Google
|
|
|
1179
1179
|
# @return [Google::Apis::ChatV1::Emoji]
|
|
1180
1180
|
attr_accessor :emoji
|
|
1181
1181
|
|
|
1182
|
-
# The total number of reactions using the associated emoji.
|
|
1182
|
+
# Output only. The total number of reactions using the associated emoji.
|
|
1183
1183
|
# Corresponds to the JSON property `reactionCount`
|
|
1184
1184
|
# @return [Fixnum]
|
|
1185
1185
|
attr_accessor :reaction_count
|
|
@@ -4046,13 +4046,13 @@ module Google
|
|
|
4046
4046
|
class MembershipCount
|
|
4047
4047
|
include Google::Apis::Core::Hashable
|
|
4048
4048
|
|
|
4049
|
-
# Count of human users that have directly joined the space, not
|
|
4050
|
-
# joined by having membership in a joined group.
|
|
4049
|
+
# Output only. Count of human users that have directly joined the space, not
|
|
4050
|
+
# counting users joined by having membership in a joined group.
|
|
4051
4051
|
# Corresponds to the JSON property `joinedDirectHumanUserCount`
|
|
4052
4052
|
# @return [Fixnum]
|
|
4053
4053
|
attr_accessor :joined_direct_human_user_count
|
|
4054
4054
|
|
|
4055
|
-
# Count of all groups that have directly joined the space.
|
|
4055
|
+
# Output only. Count of all groups that have directly joined the space.
|
|
4056
4056
|
# Corresponds to the JSON property `joinedGroupCount`
|
|
4057
4057
|
# @return [Fixnum]
|
|
4058
4058
|
attr_accessor :joined_group_count
|
|
@@ -4135,13 +4135,13 @@ module Google
|
|
|
4135
4135
|
class Message
|
|
4136
4136
|
include Google::Apis::Core::Hashable
|
|
4137
4137
|
|
|
4138
|
-
# One or more interactive widgets that appear at the bottom of a
|
|
4139
|
-
# can add accessory widgets to messages that contain text, cards,
|
|
4140
|
-
# and cards. Not supported for messages that contain dialogs. For
|
|
4141
|
-
# Add interactive widgets at the bottom of a message](https://
|
|
4142
|
-
# com/workspace/chat/create-messages#add-accessory-widgets).
|
|
4143
|
-
# with accessory widgets requires [app authentication] (https
|
|
4144
|
-
# google.com/workspace/chat/authenticate-authorize-chat-app).
|
|
4138
|
+
# Optional. One or more interactive widgets that appear at the bottom of a
|
|
4139
|
+
# message. You can add accessory widgets to messages that contain text, cards,
|
|
4140
|
+
# or both text and cards. Not supported for messages that contain dialogs. For
|
|
4141
|
+
# details, see [Add interactive widgets at the bottom of a message](https://
|
|
4142
|
+
# developers.google.com/workspace/chat/create-messages#add-accessory-widgets).
|
|
4143
|
+
# Creating a message with accessory widgets requires [app authentication] (https:
|
|
4144
|
+
# //developers.google.com/workspace/chat/authenticate-authorize-chat-app).
|
|
4145
4145
|
# Corresponds to the JSON property `accessoryWidgets`
|
|
4146
4146
|
# @return [Array<Google::Apis::ChatV1::AccessoryWidget>]
|
|
4147
4147
|
attr_accessor :accessory_widgets
|
|
@@ -4167,7 +4167,7 @@ module Google
|
|
|
4167
4167
|
# @return [Array<Google::Apis::ChatV1::AttachedGif>]
|
|
4168
4168
|
attr_accessor :attached_gifs
|
|
4169
4169
|
|
|
4170
|
-
# User-uploaded attachment.
|
|
4170
|
+
# Optional. User-uploaded attachment.
|
|
4171
4171
|
# Corresponds to the JSON property `attachment`
|
|
4172
4172
|
# @return [Array<Google::Apis::ChatV1::Attachment>]
|
|
4173
4173
|
attr_accessor :attachment
|
|
@@ -4180,8 +4180,8 @@ module Google
|
|
|
4180
4180
|
# @return [Array<Google::Apis::ChatV1::Card>]
|
|
4181
4181
|
attr_accessor :cards
|
|
4182
4182
|
|
|
4183
|
-
# An array of [cards](https://developers.google.com/workspace/chat/api/
|
|
4184
|
-
# rest/v1/cards). Only Chat apps can create cards. If your Chat app [
|
|
4183
|
+
# Optional. An array of [cards](https://developers.google.com/workspace/chat/api/
|
|
4184
|
+
# reference/rest/v1/cards). Only Chat apps can create cards. If your Chat app [
|
|
4185
4185
|
# authenticates as a user](https://developers.google.com/workspace/chat/
|
|
4186
4186
|
# authenticate-authorize-chat-user), the messages can't contain cards. To learn
|
|
4187
4187
|
# how to create a message that contains cards, see [Send a message](https://
|
|
@@ -4191,12 +4191,12 @@ module Google
|
|
|
4191
4191
|
# @return [Array<Google::Apis::ChatV1::CardWithId>]
|
|
4192
4192
|
attr_accessor :cards_v2
|
|
4193
4193
|
|
|
4194
|
-
# Optional. A custom ID for the message. You can use field to identify
|
|
4195
|
-
# or to get, delete, or update a message. To set a custom ID, specify
|
|
4196
|
-
# messageId`](https://developers.google.com/workspace/chat/api/reference/
|
|
4197
|
-
# spaces.messages/create#body.QUERY_PARAMETERS.message_id) field when
|
|
4198
|
-
# the message. For details, see [Name a message](https://developers.
|
|
4199
|
-
# workspace/chat/create-messages#name_a_created_message).
|
|
4194
|
+
# Optional. Optional. A custom ID for the message. You can use field to identify
|
|
4195
|
+
# a message, or to get, delete, or update a message. To set a custom ID, specify
|
|
4196
|
+
# the [`messageId`](https://developers.google.com/workspace/chat/api/reference/
|
|
4197
|
+
# rest/v1/spaces.messages/create#body.QUERY_PARAMETERS.message_id) field when
|
|
4198
|
+
# you create the message. For details, see [Name a message](https://developers.
|
|
4199
|
+
# google.com/workspace/chat/create-messages#name_a_created_message).
|
|
4200
4200
|
# Corresponds to the JSON property `clientAssignedMessageId`
|
|
4201
4201
|
# @return [String]
|
|
4202
4202
|
attr_accessor :client_assigned_message_id
|
|
@@ -4227,8 +4227,8 @@ module Google
|
|
|
4227
4227
|
# @return [Array<Google::Apis::ChatV1::EmojiReactionSummary>]
|
|
4228
4228
|
attr_accessor :emoji_reaction_summaries
|
|
4229
4229
|
|
|
4230
|
-
# A plain-text description of the message's cards, used when the
|
|
4231
|
-
# can't be displayed—for example, mobile notifications.
|
|
4230
|
+
# Optional. A plain-text description of the message's cards, used when the
|
|
4231
|
+
# actual cards can't be displayed—for example, mobile notifications.
|
|
4232
4232
|
# Corresponds to the JSON property `fallbackText`
|
|
4233
4233
|
# @return [String]
|
|
4234
4234
|
attr_accessor :fallback_text
|
|
@@ -4263,9 +4263,9 @@ module Google
|
|
|
4263
4263
|
# @return [Google::Apis::ChatV1::MatchedUrl]
|
|
4264
4264
|
attr_accessor :matched_url
|
|
4265
4265
|
|
|
4266
|
-
# Resource name of the message. Format: `spaces/`space`/messages/`
|
|
4267
|
-
# Where ``space`` is the ID of the space where the message is posted
|
|
4268
|
-
# message`` is a system-assigned ID for the message. For example, `spaces/
|
|
4266
|
+
# Identifier. Resource name of the message. Format: `spaces/`space`/messages/`
|
|
4267
|
+
# message`` Where ``space`` is the ID of the space where the message is posted
|
|
4268
|
+
# and ``message`` is a system-assigned ID for the message. For example, `spaces/
|
|
4269
4269
|
# AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`. If you set a custom ID when you
|
|
4270
4270
|
# create a message, you can use this ID to specify the message in a request by
|
|
4271
4271
|
# replacing ``message`` with the value from the `clientAssignedMessageId` field.
|
|
@@ -4309,12 +4309,12 @@ module Google
|
|
|
4309
4309
|
# @return [Google::Apis::ChatV1::Space]
|
|
4310
4310
|
attr_accessor :space
|
|
4311
4311
|
|
|
4312
|
-
# Plain-text body of the message. The first link to an image, video,
|
|
4313
|
-
# generates a [preview chip](https://developers.google.com/workspace/
|
|
4314
|
-
# preview-links). You can also [@mention a Google Chat user](https://
|
|
4315
|
-
# google.com/workspace/chat/format-messages#messages-@mention), or
|
|
4316
|
-
# the space. To learn about creating text messages, see [Send a
|
|
4317
|
-
# developers.google.com/workspace/chat/create-messages).
|
|
4312
|
+
# Optional. Plain-text body of the message. The first link to an image, video,
|
|
4313
|
+
# or web page generates a [preview chip](https://developers.google.com/workspace/
|
|
4314
|
+
# chat/preview-links). You can also [@mention a Google Chat user](https://
|
|
4315
|
+
# developers.google.com/workspace/chat/format-messages#messages-@mention), or
|
|
4316
|
+
# everyone in the space. To learn about creating text messages, see [Send a
|
|
4317
|
+
# message](https://developers.google.com/workspace/chat/create-messages).
|
|
4318
4318
|
# Corresponds to the JSON property `text`
|
|
4319
4319
|
# @return [String]
|
|
4320
4320
|
attr_accessor :text
|
|
@@ -4542,13 +4542,13 @@ module Google
|
|
|
4542
4542
|
class PermissionSetting
|
|
4543
4543
|
include Google::Apis::Core::Hashable
|
|
4544
4544
|
|
|
4545
|
-
# Whether spaces managers have this permission.
|
|
4545
|
+
# Optional. Whether spaces managers have this permission.
|
|
4546
4546
|
# Corresponds to the JSON property `managersAllowed`
|
|
4547
4547
|
# @return [Boolean]
|
|
4548
4548
|
attr_accessor :managers_allowed
|
|
4549
4549
|
alias_method :managers_allowed?, :managers_allowed
|
|
4550
4550
|
|
|
4551
|
-
# Whether non-manager members have this permission.
|
|
4551
|
+
# Optional. Whether non-manager members have this permission.
|
|
4552
4552
|
# Corresponds to the JSON property `membersAllowed`
|
|
4553
4553
|
# @return [Boolean]
|
|
4554
4554
|
attr_accessor :members_allowed
|
|
@@ -4665,8 +4665,8 @@ module Google
|
|
|
4665
4665
|
# @return [Google::Apis::ChatV1::Emoji]
|
|
4666
4666
|
attr_accessor :emoji
|
|
4667
4667
|
|
|
4668
|
-
# The resource name of the reaction. Format: `spaces/`space`/
|
|
4669
|
-
# reactions/`reaction``
|
|
4668
|
+
# Identifier. The resource name of the reaction. Format: `spaces/`space`/
|
|
4669
|
+
# messages/`message`/reactions/`reaction``
|
|
4670
4670
|
# Corresponds to the JSON property `name`
|
|
4671
4671
|
# @return [String]
|
|
4672
4672
|
attr_accessor :name
|
|
@@ -5042,23 +5042,23 @@ module Google
|
|
|
5042
5042
|
# @return [String]
|
|
5043
5043
|
attr_accessor :create_time
|
|
5044
5044
|
|
|
5045
|
-
# The space's display name. Required when [creating a space](https://
|
|
5046
|
-
# google.com/workspace/chat/api/reference/rest/v1/spaces/create) with
|
|
5047
|
-
# spaceType` of `SPACE`. If you receive the error message `ALREADY_EXISTS`
|
|
5048
|
-
# creating a space or updating the `displayName`, try a different `
|
|
5049
|
-
# An existing space within the Google Workspace organization might
|
|
5050
|
-
# this display name. For direct messages, this field might be empty.
|
|
5051
|
-
# to 128 characters.
|
|
5045
|
+
# Optional. The space's display name. Required when [creating a space](https://
|
|
5046
|
+
# developers.google.com/workspace/chat/api/reference/rest/v1/spaces/create) with
|
|
5047
|
+
# a `spaceType` of `SPACE`. If you receive the error message `ALREADY_EXISTS`
|
|
5048
|
+
# when creating a space or updating the `displayName`, try a different `
|
|
5049
|
+
# displayName`. An existing space within the Google Workspace organization might
|
|
5050
|
+
# already use this display name. For direct messages, this field might be empty.
|
|
5051
|
+
# Supports up to 128 characters.
|
|
5052
5052
|
# Corresponds to the JSON property `displayName`
|
|
5053
5053
|
# @return [String]
|
|
5054
5054
|
attr_accessor :display_name
|
|
5055
5055
|
|
|
5056
|
-
# Immutable. Whether this space permits any Google Chat user as a
|
|
5057
|
-
# when creating a space in a Google Workspace organization. Omit
|
|
5058
|
-
# creating spaces in the following conditions: * The
|
|
5059
|
-
# consumer account (unmanaged user account). By
|
|
5060
|
-
# consumer account permits any Google Chat user.
|
|
5061
|
-
# is output only.
|
|
5056
|
+
# Optional. Immutable. Whether this space permits any Google Chat user as a
|
|
5057
|
+
# member. Input when creating a space in a Google Workspace organization. Omit
|
|
5058
|
+
# this field when creating spaces in the following conditions: * The
|
|
5059
|
+
# authenticated user uses a consumer account (unmanaged user account). By
|
|
5060
|
+
# default, a space created by a consumer account permits any Google Chat user.
|
|
5061
|
+
# For existing spaces, this field is output only.
|
|
5062
5062
|
# Corresponds to the JSON property `externalUserAllowed`
|
|
5063
5063
|
# @return [Boolean]
|
|
5064
5064
|
attr_accessor :external_user_allowed
|
|
@@ -5084,8 +5084,8 @@ module Google
|
|
|
5084
5084
|
# @return [Google::Apis::ChatV1::MembershipCount]
|
|
5085
5085
|
attr_accessor :membership_count
|
|
5086
5086
|
|
|
5087
|
-
# Resource name of the space. Format: `spaces/`space`` Where ``space
|
|
5088
|
-
# represents the system-assigned ID for the space. You can obtain the space ID
|
|
5087
|
+
# Identifier. Resource name of the space. Format: `spaces/`space`` Where ``space`
|
|
5088
|
+
# ` represents the system-assigned ID for the space. You can obtain the space ID
|
|
5089
5089
|
# by calling the [`spaces.list()`](https://developers.google.com/workspace/chat/
|
|
5090
5090
|
# api/reference/rest/v1/spaces/list) method or from the space URL. For example,
|
|
5091
5091
|
# if the space URL is `https://mail.google.com/mail/u/0/#chat/space/AAAAAAAAA`,
|
|
@@ -5121,7 +5121,7 @@ module Google
|
|
|
5121
5121
|
# @return [Google::Apis::ChatV1::SpaceDetails]
|
|
5122
5122
|
attr_accessor :space_details
|
|
5123
5123
|
|
|
5124
|
-
# The message history state for messages and threads in this space.
|
|
5124
|
+
# Optional. The message history state for messages and threads in this space.
|
|
5125
5125
|
# Corresponds to the JSON property `spaceHistoryState`
|
|
5126
5126
|
# @return [String]
|
|
5127
5127
|
attr_accessor :space_history_state
|
|
@@ -5131,8 +5131,8 @@ module Google
|
|
|
5131
5131
|
# @return [String]
|
|
5132
5132
|
attr_accessor :space_threading_state
|
|
5133
5133
|
|
|
5134
|
-
# The type of space. Required when creating a space or updating the
|
|
5135
|
-
# of a space. Output only for other usage.
|
|
5134
|
+
# Optional. The type of space. Required when creating a space or updating the
|
|
5135
|
+
# space type of a space. Output only for other usage.
|
|
5136
5136
|
# Corresponds to the JSON property `spaceType`
|
|
5137
5137
|
# @return [String]
|
|
5138
5138
|
attr_accessor :space_type
|
|
@@ -5606,7 +5606,8 @@ module Google
|
|
|
5606
5606
|
class Thread
|
|
5607
5607
|
include Google::Apis::Core::Hashable
|
|
5608
5608
|
|
|
5609
|
-
# Resource name of the thread. Example: `spaces/`space`/threads/`
|
|
5609
|
+
# Identifier. Resource name of the thread. Example: `spaces/`space`/threads/`
|
|
5610
|
+
# thread``
|
|
5610
5611
|
# Corresponds to the JSON property `name`
|
|
5611
5612
|
# @return [String]
|
|
5612
5613
|
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.111.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 = "20241103"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -244,11 +244,12 @@ module Google
|
|
|
244
244
|
# @param [String] name
|
|
245
245
|
# Required. Resource name of the space to delete. Format: `spaces/`space``
|
|
246
246
|
# @param [Boolean] use_admin_access
|
|
247
|
-
# When `true`, the method runs using the user's Google Workspace
|
|
248
|
-
# privileges. The calling user must be a Google Workspace
|
|
249
|
-
# [manage chat and spaces conversations privilege](https
|
|
250
|
-
# answer/13369245). Requires the `chat.admin.delete` [
|
|
251
|
-
# developers.google.com/workspace/chat/authenticate-
|
|
247
|
+
# Optional. When `true`, the method runs using the user's Google Workspace
|
|
248
|
+
# administrator privileges. The calling user must be a Google Workspace
|
|
249
|
+
# administrator with the [manage chat and spaces conversations privilege](https:/
|
|
250
|
+
# /support.google.com/a/answer/13369245). Requires the `chat.admin.delete` [
|
|
251
|
+
# OAuth 2.0 scope](https://developers.google.com/workspace/chat/authenticate-
|
|
252
|
+
# authorize#chat-api-scopes).
|
|
252
253
|
# @param [String] fields
|
|
253
254
|
# Selector specifying which fields to include in a partial response.
|
|
254
255
|
# @param [String] quota_user
|
|
@@ -340,12 +341,12 @@ module Google
|
|
|
340
341
|
# Required. Resource name of the space, in the form `spaces/`space``. Format: `
|
|
341
342
|
# spaces/`space``
|
|
342
343
|
# @param [Boolean] use_admin_access
|
|
343
|
-
# When `true`, the method runs using the user's Google Workspace
|
|
344
|
-
# privileges. The calling user must be a Google Workspace
|
|
345
|
-
# [manage chat and spaces conversations privilege](https
|
|
346
|
-
# answer/13369245). Requires the `chat.admin.spaces` or `
|
|
347
|
-
# readonly` [OAuth 2.0 scopes](https://developers.google.com/
|
|
348
|
-
# authenticate-authorize#chat-api-scopes).
|
|
344
|
+
# Optional. When `true`, the method runs using the user's Google Workspace
|
|
345
|
+
# administrator privileges. The calling user must be a Google Workspace
|
|
346
|
+
# administrator with the [manage chat and spaces conversations privilege](https:/
|
|
347
|
+
# /support.google.com/a/answer/13369245). Requires the `chat.admin.spaces` or `
|
|
348
|
+
# chat.admin.spaces.readonly` [OAuth 2.0 scopes](https://developers.google.com/
|
|
349
|
+
# workspace/chat/authenticate-authorize#chat-api-scopes).
|
|
349
350
|
# @param [String] fields
|
|
350
351
|
# Selector specifying which fields to include in a partial response.
|
|
351
352
|
# @param [String] quota_user
|
|
@@ -446,8 +447,8 @@ module Google
|
|
|
446
447
|
# authorize this method with administrator privileges by setting the `
|
|
447
448
|
# use_admin_access` field in the request.
|
|
448
449
|
# @param [String] name
|
|
449
|
-
# Resource name of the space. Format: `spaces/`space`` Where ``space
|
|
450
|
-
# represents the system-assigned ID for the space. You can obtain the space ID
|
|
450
|
+
# Identifier. Resource name of the space. Format: `spaces/`space`` Where ``space`
|
|
451
|
+
# ` represents the system-assigned ID for the space. You can obtain the space ID
|
|
451
452
|
# by calling the [`spaces.list()`](https://developers.google.com/workspace/chat/
|
|
452
453
|
# api/reference/rest/v1/spaces/list) method or from the space URL. For example,
|
|
453
454
|
# if the space URL is `https://mail.google.com/mail/u/0/#chat/space/AAAAAAAAA`,
|
|
@@ -494,13 +495,13 @@ module Google
|
|
|
494
495
|
# permission_settings.manageApps` - `permission_settings.manageWebhooks` - `
|
|
495
496
|
# permission_settings.replyMessages`
|
|
496
497
|
# @param [Boolean] use_admin_access
|
|
497
|
-
# When `true`, the method runs using the user's Google Workspace
|
|
498
|
-
# privileges. The calling user must be a Google Workspace
|
|
499
|
-
# [manage chat and spaces conversations privilege](https
|
|
500
|
-
# answer/13369245). Requires the `chat.admin.spaces` [
|
|
501
|
-
# developers.google.com/workspace/chat/authenticate-
|
|
502
|
-
# Some `FieldMask` values are not supported using
|
|
503
|
-
# the description of `update_mask`.
|
|
498
|
+
# Optional. When `true`, the method runs using the user's Google Workspace
|
|
499
|
+
# administrator privileges. The calling user must be a Google Workspace
|
|
500
|
+
# administrator with the [manage chat and spaces conversations privilege](https:/
|
|
501
|
+
# /support.google.com/a/answer/13369245). Requires the `chat.admin.spaces` [
|
|
502
|
+
# OAuth 2.0 scope](https://developers.google.com/workspace/chat/authenticate-
|
|
503
|
+
# authorize#chat-api-scopes). Some `FieldMask` values are not supported using
|
|
504
|
+
# admin access. For details, see the description of `update_mask`.
|
|
504
505
|
# @param [String] fields
|
|
505
506
|
# Selector specifying which fields to include in a partial response.
|
|
506
507
|
# @param [String] quota_user
|
|
@@ -1040,7 +1041,10 @@ module Google
|
|
|
1040
1041
|
# message can only contain text (`text`).  The maximum message size, including the message contents, is 32,
|
|
1043
|
-
# 000 bytes.
|
|
1044
|
+
# 000 bytes. For [webhook](https://developers.google.com/workspace/chat/
|
|
1045
|
+
# quickstart/webhooks) requests, the response doesn't contain the full message.
|
|
1046
|
+
# The response only populates the `name` and `thread.name` fields in addition to
|
|
1047
|
+
# the information that was in the request.
|
|
1044
1048
|
# @param [String] parent
|
|
1045
1049
|
# Required. The resource name of the space in which to create a message. Format:
|
|
1046
1050
|
# `spaces/`space``
|
|
@@ -1115,9 +1119,9 @@ module Google
|
|
|
1115
1119
|
# Name a message] (https://developers.google.com/workspace/chat/create-messages#
|
|
1116
1120
|
# name_a_created_message).
|
|
1117
1121
|
# @param [Boolean] force
|
|
1118
|
-
# When `true`, deleting a message also deletes its threaded replies.
|
|
1119
|
-
#
|
|
1120
|
-
# authenticating as a user](https://developers.google.com/workspace/chat/
|
|
1122
|
+
# Optional. When `true`, deleting a message also deletes its threaded replies.
|
|
1123
|
+
# When `false`, if a message has threaded replies, deletion fails. Only applies
|
|
1124
|
+
# when [authenticating as a user](https://developers.google.com/workspace/chat/
|
|
1121
1125
|
# authenticate-authorize-chat-user). Has no effect when [authenticating as a
|
|
1122
1126
|
# Chat app] (https://developers.google.com/workspace/chat/authenticate-authorize-
|
|
1123
1127
|
# chat-app).
|
|
@@ -1201,42 +1205,43 @@ module Google
|
|
|
1201
1205
|
# Required. The resource name of the space to list messages from. Format: `
|
|
1202
1206
|
# spaces/`space``
|
|
1203
1207
|
# @param [String] filter
|
|
1204
|
-
# A query filter. You can filter messages by date (`create_time`) and
|
|
1205
|
-
# thread.name`). To filter messages by the date they were created,
|
|
1206
|
-
# create_time` with a timestamp in [RFC-3339](https://www.rfc-
|
|
1207
|
-
# rfc3339) format and double quotation marks. For example, `"2023-
|
|
1208
|
-
# 04:00"`. You can use the greater than operator `>` to list
|
|
1209
|
-
# created after a timestamp, or the less than operator `<` to
|
|
1210
|
-
# were created before a timestamp. To filter messages within
|
|
1211
|
-
# use the `AND` operator between two timestamps. To filter by
|
|
1212
|
-
# the `thread.name`, formatted as `spaces/`space`/threads/`
|
|
1213
|
-
# only specify one `thread.name` per query. To filter by both
|
|
1214
|
-
# use the `AND` operator in your query. For example, the
|
|
1215
|
-
# valid: ``` create_time > "2012-04-21T11:30:00-04:00"
|
|
1216
|
-
# 21T11:30:00-04:00" AND thread.name = spaces/AAAAAAAAAAA/
|
|
1217
|
-
# create_time > "2012-04-21T11:30:00+00:00" AND create_time < "2013-
|
|
1218
|
-
# 00+00:00" AND thread.name = spaces/AAAAAAAAAAA/threads/123 thread.
|
|
1219
|
-
# spaces/AAAAAAAAAAA/threads/123 ``` Invalid queries are rejected by the
|
|
1220
|
-
# with an `INVALID_ARGUMENT` error.
|
|
1208
|
+
# Optional. A query filter. You can filter messages by date (`create_time`) and
|
|
1209
|
+
# thread (`thread.name`). To filter messages by the date they were created,
|
|
1210
|
+
# specify the `create_time` with a timestamp in [RFC-3339](https://www.rfc-
|
|
1211
|
+
# editor.org/rfc/rfc3339) format and double quotation marks. For example, `"2023-
|
|
1212
|
+
# 04-21T11:30:00-04:00"`. You can use the greater than operator `>` to list
|
|
1213
|
+
# messages that were created after a timestamp, or the less than operator `<` to
|
|
1214
|
+
# list messages that were created before a timestamp. To filter messages within
|
|
1215
|
+
# a time interval, use the `AND` operator between two timestamps. To filter by
|
|
1216
|
+
# thread, specify the `thread.name`, formatted as `spaces/`space`/threads/`
|
|
1217
|
+
# thread``. You can only specify one `thread.name` per query. To filter by both
|
|
1218
|
+
# thread and date, use the `AND` operator in your query. For example, the
|
|
1219
|
+
# following queries are valid: ``` create_time > "2012-04-21T11:30:00-04:00"
|
|
1220
|
+
# create_time > "2012-04-21T11:30:00-04:00" AND thread.name = spaces/AAAAAAAAAAA/
|
|
1221
|
+
# threads/123 create_time > "2012-04-21T11:30:00+00:00" AND create_time < "2013-
|
|
1222
|
+
# 01-01T00:00:00+00:00" AND thread.name = spaces/AAAAAAAAAAA/threads/123 thread.
|
|
1223
|
+
# name = spaces/AAAAAAAAAAA/threads/123 ``` Invalid queries are rejected by the
|
|
1224
|
+
# server with an `INVALID_ARGUMENT` error.
|
|
1221
1225
|
# @param [String] order_by
|
|
1222
|
-
# Optional, if resuming from a previous query. How the list of
|
|
1223
|
-
# ordered. Specify a value to order by an ordering operation. Valid
|
|
1224
|
-
# operation values are as follows: - `ASC` for ascending. - `DESC` for
|
|
1226
|
+
# Optional. Optional, if resuming from a previous query. How the list of
|
|
1227
|
+
# messages is ordered. Specify a value to order by an ordering operation. Valid
|
|
1228
|
+
# ordering operation values are as follows: - `ASC` for ascending. - `DESC` for
|
|
1225
1229
|
# descending. The default ordering is `create_time ASC`.
|
|
1226
1230
|
# @param [Fixnum] page_size
|
|
1227
|
-
# The maximum number of messages returned. The service might return
|
|
1228
|
-
# messages than this value. If unspecified, at most 25 are returned. The
|
|
1229
|
-
# value is 1000. If you use a value more than 1000, it's automatically
|
|
1230
|
-
# to 1000. Negative values return an `INVALID_ARGUMENT` error.
|
|
1231
|
+
# Optional. The maximum number of messages returned. The service might return
|
|
1232
|
+
# fewer messages than this value. If unspecified, at most 25 are returned. The
|
|
1233
|
+
# maximum value is 1000. If you use a value more than 1000, it's automatically
|
|
1234
|
+
# changed to 1000. Negative values return an `INVALID_ARGUMENT` error.
|
|
1231
1235
|
# @param [String] page_token
|
|
1232
|
-
# Optional, if resuming from a previous query. A page token received
|
|
1233
|
-
# previous list messages call. Provide this parameter to retrieve the
|
|
1234
|
-
# page. When paginating, all other parameters provided should match
|
|
1235
|
-
# that provided the page token. Passing different values to the other
|
|
1236
|
-
# might lead to unexpected results.
|
|
1236
|
+
# Optional. Optional, if resuming from a previous query. A page token received
|
|
1237
|
+
# from a previous list messages call. Provide this parameter to retrieve the
|
|
1238
|
+
# subsequent page. When paginating, all other parameters provided should match
|
|
1239
|
+
# the call that provided the page token. Passing different values to the other
|
|
1240
|
+
# parameters might lead to unexpected results.
|
|
1237
1241
|
# @param [Boolean] show_deleted
|
|
1238
|
-
# Whether to include deleted messages. Deleted messages include
|
|
1239
|
-
# metadata about their deletion, but message content is
|
|
1242
|
+
# Optional. Whether to include deleted messages. Deleted messages include
|
|
1243
|
+
# deleted time and metadata about their deletion, but message content is
|
|
1244
|
+
# unavailable.
|
|
1240
1245
|
# @param [String] fields
|
|
1241
1246
|
# Selector specifying which fields to include in a partial response.
|
|
1242
1247
|
# @param [String] quota_user
|
|
@@ -1280,9 +1285,9 @@ module Google
|
|
|
1280
1285
|
# authenticate-authorize-chat-user) When using app authentication, requests can
|
|
1281
1286
|
# only update messages created by the calling Chat app.
|
|
1282
1287
|
# @param [String] name
|
|
1283
|
-
# Resource name of the message. Format: `spaces/`space`/messages/`
|
|
1284
|
-
# Where ``space`` is the ID of the space where the message is posted
|
|
1285
|
-
# message`` is a system-assigned ID for the message. For example, `spaces/
|
|
1288
|
+
# Identifier. Resource name of the message. Format: `spaces/`space`/messages/`
|
|
1289
|
+
# message`` Where ``space`` is the ID of the space where the message is posted
|
|
1290
|
+
# and ``message`` is a system-assigned ID for the message. For example, `spaces/
|
|
1286
1291
|
# AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`. If you set a custom ID when you
|
|
1287
1292
|
# create a message, you can use this ID to specify the message in a request by
|
|
1288
1293
|
# replacing ``message`` with the value from the `clientAssignedMessageId` field.
|
|
@@ -1344,9 +1349,9 @@ module Google
|
|
|
1344
1349
|
# authenticate-authorize-chat-user) When using app authentication, requests can
|
|
1345
1350
|
# only update messages created by the calling Chat app.
|
|
1346
1351
|
# @param [String] name
|
|
1347
|
-
# Resource name of the message. Format: `spaces/`space`/messages/`
|
|
1348
|
-
# Where ``space`` is the ID of the space where the message is posted
|
|
1349
|
-
# message`` is a system-assigned ID for the message. For example, `spaces/
|
|
1352
|
+
# Identifier. Resource name of the message. Format: `spaces/`space`/messages/`
|
|
1353
|
+
# message`` Where ``space`` is the ID of the space where the message is posted
|
|
1354
|
+
# and ``message`` is a system-assigned ID for the message. For example, `spaces/
|
|
1350
1355
|
# AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`. If you set a custom ID when you
|
|
1351
1356
|
# create a message, you can use this ID to specify the message in a request by
|
|
1352
1357
|
# replacing ``message`` with the value from the `clientAssignedMessageId` field.
|
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.111.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-
|
|
11
|
+
date: 2024-11-17 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.111.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: []
|
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
75
75
|
- !ruby/object:Gem::Version
|
|
76
76
|
version: '0'
|
|
77
77
|
requirements: []
|
|
78
|
-
rubygems_version: 3.5.
|
|
78
|
+
rubygems_version: 3.5.22
|
|
79
79
|
signing_key:
|
|
80
80
|
specification_version: 4
|
|
81
81
|
summary: Simple REST client for Google Chat API V1
|