google-apis-chat_v1 0.110.0 → 0.112.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7ddf128d60f1a0dde1c0be32feececf72048fca001eae5cb20105a4e66e632a6
4
- data.tar.gz: 39d40a21795ffd1e299912c2334d937e98ba412282c7daa9f4596397fd9c6cf1
3
+ metadata.gz: b5830fb1bc4478265dac063eb57bd32c440b2561b5bf684920c8a0c2090690a2
4
+ data.tar.gz: ffb635f46616f9e908e0f4687d1e99490fdf6db73cf710bd7d5192cd97530a6a
5
5
  SHA512:
6
- metadata.gz: 9dfa2f4d2753f9bac126e83215871d67d7d0e2687f2f1dce6ac167e315965f9db568a944c7ed8dd7e4158251fcf9d83e32e8c51f3420bf0f495e7ad18a4ca79d
7
- data.tar.gz: bc603d8ba16c906e535fe893dc523e278374f344a8e0f61e20113202a70c4e17ca04be83c1ff4d11595f3db203bfd8c6856e8bda8ccb5aa7321485538de4d0b1
6
+ metadata.gz: 65e6299a4c56f2206b4db4f2ba21d9efc6c80b97cae628357c30939028fa5240bf8904a5f357036bcf8040956355f7edbf7fe6b7582a624a14af3ba198f9834d
7
+ data.tar.gz: 6fbdab5f32d5ad9925d093293c52cefcccee016b7e6595f4f45fea296b0f2ce09412e08f9547e530653b1ac1127738f873a7d5145687f80b4eea9b949e759568
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-chat_v1
2
2
 
3
+ ### v0.112.0 (2024-12-02)
4
+
5
+ * Regenerated from discovery document revision 20241124
6
+
7
+ ### v0.111.0 (2024-11-17)
8
+
9
+ * Regenerated from discovery document revision 20241110
10
+
3
11
  ### v0.110.0 (2024-11-03)
4
12
 
5
13
  * Regenerated from discovery document revision 20241029
@@ -132,8 +132,8 @@ module Google
132
132
  # @return [String]
133
133
  attr_accessor :type
134
134
 
135
- # The response of the updated widget. Used to provide autocomplete options for a
136
- # widget.
135
+ # For `selectionInput` widgets, returns autocomplete suggestions for a
136
+ # multiselect menu.
137
137
  # Corresponds to the JSON property `updatedWidget`
138
138
  # @return [Google::Apis::ChatV1::UpdatedWidget]
139
139
  attr_accessor :updated_widget
@@ -292,8 +292,8 @@ module Google
292
292
  # @return [Google::Apis::ChatV1::DriveDataRef]
293
293
  attr_accessor :drive_data_ref
294
294
 
295
- # Resource name of the attachment, in the form `spaces/`space`/messages/`message`
296
- # /attachments/`attachment``.
295
+ # Optional. Resource name of the attachment, in the form `spaces/`space`/
296
+ # messages/`message`/attachments/`attachment``.
297
297
  # Corresponds to the JSON property `name`
298
298
  # @return [String]
299
299
  attr_accessor :name
@@ -331,15 +331,15 @@ module Google
331
331
  class AttachmentDataRef
332
332
  include Google::Apis::Core::Hashable
333
333
 
334
- # Opaque token containing a reference to an uploaded attachment. Treated by
335
- # clients as an opaque string and used to create or update Chat messages with
336
- # attachments.
334
+ # Optional. Opaque token containing a reference to an uploaded attachment.
335
+ # Treated by clients as an opaque string and used to create or update Chat
336
+ # messages with attachments.
337
337
  # Corresponds to the JSON property `attachmentUploadToken`
338
338
  # @return [String]
339
339
  attr_accessor :attachment_upload_token
340
340
 
341
- # The resource name of the attachment data. This field is used with the media
342
- # API to download the attachment data.
341
+ # Optional. The resource name of the attachment data. This field is used with
342
+ # the media API to download the attachment data.
343
343
  # Corresponds to the JSON property `resourceName`
344
344
  # @return [String]
345
345
  attr_accessor :resource_name
@@ -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
@@ -2871,9 +2871,12 @@ module Google
2871
2871
  attr_accessor :multi_select_max_selected_items
2872
2872
 
2873
2873
  # For multiselect menus, the number of text characters that a user inputs before
2874
- # the app queries autocomplete and displays suggested items in the menu. If
2875
- # unspecified, defaults to 0 characters for static data sources and 3 characters
2876
- # for external data sources.
2874
+ # the menu returns suggested selection items. If unset, the multiselect menu
2875
+ # uses the following default values: * If the menu uses a static array of `
2876
+ # SelectionInput` items, defaults to 0 characters and immediately populates
2877
+ # items from the array. * If the menu uses a dynamic data source (`
2878
+ # multi_select_data_source`), defaults to 3 characters before querying the data
2879
+ # source to return suggested items.
2877
2880
  # Corresponds to the JSON property `multiSelectMinQueryLength`
2878
2881
  # @return [Fixnum]
2879
2882
  attr_accessor :multi_select_min_query_length
@@ -2927,8 +2930,8 @@ module Google
2927
2930
  end
2928
2931
 
2929
2932
  # An item that users can select in a selection input, such as a checkbox or
2930
- # switch. [Google Workspace Add-ons and Chat apps](https://developers.google.com/
2931
- # workspace/extend):
2933
+ # switch. Supports up to 100 items. [Google Workspace Add-ons and Chat apps](
2934
+ # https://developers.google.com/workspace/extend):
2932
2935
  class GoogleAppsCardV1SelectionItem
2933
2936
  include Google::Apis::Core::Hashable
2934
2937
 
@@ -4046,13 +4049,13 @@ module Google
4046
4049
  class MembershipCount
4047
4050
  include Google::Apis::Core::Hashable
4048
4051
 
4049
- # Count of human users that have directly joined the space, not counting users
4050
- # joined by having membership in a joined group.
4052
+ # Output only. Count of human users that have directly joined the space, not
4053
+ # counting users joined by having membership in a joined group.
4051
4054
  # Corresponds to the JSON property `joinedDirectHumanUserCount`
4052
4055
  # @return [Fixnum]
4053
4056
  attr_accessor :joined_direct_human_user_count
4054
4057
 
4055
- # Count of all groups that have directly joined the space.
4058
+ # Output only. Count of all groups that have directly joined the space.
4056
4059
  # Corresponds to the JSON property `joinedGroupCount`
4057
4060
  # @return [Fixnum]
4058
4061
  attr_accessor :joined_group_count
@@ -4135,13 +4138,13 @@ module Google
4135
4138
  class Message
4136
4139
  include Google::Apis::Core::Hashable
4137
4140
 
4138
- # One or more interactive widgets that appear at the bottom of a message. You
4139
- # can add accessory widgets to messages that contain text, cards, or both text
4140
- # and cards. Not supported for messages that contain dialogs. For details, see [
4141
- # Add interactive widgets at the bottom of a message](https://developers.google.
4142
- # com/workspace/chat/create-messages#add-accessory-widgets). Creating a message
4143
- # with accessory widgets requires [app authentication] (https://developers.
4144
- # google.com/workspace/chat/authenticate-authorize-chat-app).
4141
+ # Optional. One or more interactive widgets that appear at the bottom of a
4142
+ # message. You can add accessory widgets to messages that contain text, cards,
4143
+ # or both text and cards. Not supported for messages that contain dialogs. For
4144
+ # details, see [Add interactive widgets at the bottom of a message](https://
4145
+ # developers.google.com/workspace/chat/create-messages#add-accessory-widgets).
4146
+ # Creating a message with accessory widgets requires [app authentication] (https:
4147
+ # //developers.google.com/workspace/chat/authenticate-authorize-chat-app).
4145
4148
  # Corresponds to the JSON property `accessoryWidgets`
4146
4149
  # @return [Array<Google::Apis::ChatV1::AccessoryWidget>]
4147
4150
  attr_accessor :accessory_widgets
@@ -4167,7 +4170,7 @@ module Google
4167
4170
  # @return [Array<Google::Apis::ChatV1::AttachedGif>]
4168
4171
  attr_accessor :attached_gifs
4169
4172
 
4170
- # User-uploaded attachment.
4173
+ # Optional. User-uploaded attachment.
4171
4174
  # Corresponds to the JSON property `attachment`
4172
4175
  # @return [Array<Google::Apis::ChatV1::Attachment>]
4173
4176
  attr_accessor :attachment
@@ -4180,8 +4183,8 @@ module Google
4180
4183
  # @return [Array<Google::Apis::ChatV1::Card>]
4181
4184
  attr_accessor :cards
4182
4185
 
4183
- # An array of [cards](https://developers.google.com/workspace/chat/api/reference/
4184
- # rest/v1/cards). Only Chat apps can create cards. If your Chat app [
4186
+ # Optional. An array of [cards](https://developers.google.com/workspace/chat/api/
4187
+ # reference/rest/v1/cards). Only Chat apps can create cards. If your Chat app [
4185
4188
  # authenticates as a user](https://developers.google.com/workspace/chat/
4186
4189
  # authenticate-authorize-chat-user), the messages can't contain cards. To learn
4187
4190
  # how to create a message that contains cards, see [Send a message](https://
@@ -4227,8 +4230,8 @@ module Google
4227
4230
  # @return [Array<Google::Apis::ChatV1::EmojiReactionSummary>]
4228
4231
  attr_accessor :emoji_reaction_summaries
4229
4232
 
4230
- # A plain-text description of the message's cards, used when the actual cards
4231
- # can't be displayed—for example, mobile notifications.
4233
+ # Optional. A plain-text description of the message's cards, used when the
4234
+ # actual cards can't be displayed—for example, mobile notifications.
4232
4235
  # Corresponds to the JSON property `fallbackText`
4233
4236
  # @return [String]
4234
4237
  attr_accessor :fallback_text
@@ -4263,9 +4266,9 @@ module Google
4263
4266
  # @return [Google::Apis::ChatV1::MatchedUrl]
4264
4267
  attr_accessor :matched_url
4265
4268
 
4266
- # Resource name of the message. Format: `spaces/`space`/messages/`message``
4267
- # Where ``space`` is the ID of the space where the message is posted and ``
4268
- # message`` is a system-assigned ID for the message. For example, `spaces/
4269
+ # Identifier. Resource name of the message. Format: `spaces/`space`/messages/`
4270
+ # message`` Where ``space`` is the ID of the space where the message is posted
4271
+ # and ``message`` is a system-assigned ID for the message. For example, `spaces/
4269
4272
  # AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`. If you set a custom ID when you
4270
4273
  # create a message, you can use this ID to specify the message in a request by
4271
4274
  # replacing ``message`` with the value from the `clientAssignedMessageId` field.
@@ -4309,12 +4312,12 @@ module Google
4309
4312
  # @return [Google::Apis::ChatV1::Space]
4310
4313
  attr_accessor :space
4311
4314
 
4312
- # Plain-text body of the message. The first link to an image, video, or web page
4313
- # generates a [preview chip](https://developers.google.com/workspace/chat/
4314
- # preview-links). You can also [@mention a Google Chat user](https://developers.
4315
- # google.com/workspace/chat/format-messages#messages-@mention), or everyone in
4316
- # the space. To learn about creating text messages, see [Send a message](https://
4317
- # developers.google.com/workspace/chat/create-messages).
4315
+ # Optional. Plain-text body of the message. The first link to an image, video,
4316
+ # or web page generates a [preview chip](https://developers.google.com/workspace/
4317
+ # chat/preview-links). You can also [@mention a Google Chat user](https://
4318
+ # developers.google.com/workspace/chat/format-messages#messages-@mention), or
4319
+ # everyone in the space. To learn about creating text messages, see [Send a
4320
+ # message](https://developers.google.com/workspace/chat/create-messages).
4318
4321
  # Corresponds to the JSON property `text`
4319
4322
  # @return [String]
4320
4323
  attr_accessor :text
@@ -4542,13 +4545,13 @@ module Google
4542
4545
  class PermissionSetting
4543
4546
  include Google::Apis::Core::Hashable
4544
4547
 
4545
- # Whether spaces managers have this permission.
4548
+ # Optional. Whether spaces managers have this permission.
4546
4549
  # Corresponds to the JSON property `managersAllowed`
4547
4550
  # @return [Boolean]
4548
4551
  attr_accessor :managers_allowed
4549
4552
  alias_method :managers_allowed?, :managers_allowed
4550
4553
 
4551
- # Whether non-manager members have this permission.
4554
+ # Optional. Whether non-manager members have this permission.
4552
4555
  # Corresponds to the JSON property `membersAllowed`
4553
4556
  # @return [Boolean]
4554
4557
  attr_accessor :members_allowed
@@ -4665,8 +4668,8 @@ module Google
4665
4668
  # @return [Google::Apis::ChatV1::Emoji]
4666
4669
  attr_accessor :emoji
4667
4670
 
4668
- # The resource name of the reaction. Format: `spaces/`space`/messages/`message`/
4669
- # reactions/`reaction``
4671
+ # Identifier. The resource name of the reaction. Format: `spaces/`space`/
4672
+ # messages/`message`/reactions/`reaction``
4670
4673
  # Corresponds to the JSON property `name`
4671
4674
  # @return [String]
4672
4675
  attr_accessor :name
@@ -5042,23 +5045,23 @@ module Google
5042
5045
  # @return [String]
5043
5046
  attr_accessor :create_time
5044
5047
 
5045
- # The space's display name. Required when [creating a space](https://developers.
5046
- # google.com/workspace/chat/api/reference/rest/v1/spaces/create) with a `
5047
- # spaceType` of `SPACE`. If you receive the error message `ALREADY_EXISTS` when
5048
- # creating a space or updating the `displayName`, try a different `displayName`.
5049
- # An existing space within the Google Workspace organization might already use
5050
- # this display name. For direct messages, this field might be empty. Supports up
5051
- # to 128 characters.
5048
+ # Optional. The space's display name. Required when [creating a space](https://
5049
+ # developers.google.com/workspace/chat/api/reference/rest/v1/spaces/create) with
5050
+ # a `spaceType` of `SPACE`. If you receive the error message `ALREADY_EXISTS`
5051
+ # when creating a space or updating the `displayName`, try a different `
5052
+ # displayName`. An existing space within the Google Workspace organization might
5053
+ # already use this display name. For direct messages, this field might be empty.
5054
+ # Supports up to 128 characters.
5052
5055
  # Corresponds to the JSON property `displayName`
5053
5056
  # @return [String]
5054
5057
  attr_accessor :display_name
5055
5058
 
5056
- # Immutable. Whether this space permits any Google Chat user as a member. Input
5057
- # when creating a space in a Google Workspace organization. Omit this field when
5058
- # creating spaces in the following conditions: * The authenticated user uses a
5059
- # consumer account (unmanaged user account). By default, a space created by a
5060
- # consumer account permits any Google Chat user. For existing spaces, this field
5061
- # is output only.
5059
+ # Optional. Immutable. Whether this space permits any Google Chat user as a
5060
+ # member. Input when creating a space in a Google Workspace organization. Omit
5061
+ # this field when creating spaces in the following conditions: * The
5062
+ # authenticated user uses a consumer account (unmanaged user account). By
5063
+ # default, a space created by a consumer account permits any Google Chat user.
5064
+ # For existing spaces, this field is output only.
5062
5065
  # Corresponds to the JSON property `externalUserAllowed`
5063
5066
  # @return [Boolean]
5064
5067
  attr_accessor :external_user_allowed
@@ -5084,8 +5087,8 @@ module Google
5084
5087
  # @return [Google::Apis::ChatV1::MembershipCount]
5085
5088
  attr_accessor :membership_count
5086
5089
 
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
5090
+ # Identifier. Resource name of the space. Format: `spaces/`space`` Where ``space`
5091
+ # ` represents the system-assigned ID for the space. You can obtain the space ID
5089
5092
  # by calling the [`spaces.list()`](https://developers.google.com/workspace/chat/
5090
5093
  # api/reference/rest/v1/spaces/list) method or from the space URL. For example,
5091
5094
  # if the space URL is `https://mail.google.com/mail/u/0/#chat/space/AAAAAAAAA`,
@@ -5121,7 +5124,7 @@ module Google
5121
5124
  # @return [Google::Apis::ChatV1::SpaceDetails]
5122
5125
  attr_accessor :space_details
5123
5126
 
5124
- # The message history state for messages and threads in this space.
5127
+ # Optional. The message history state for messages and threads in this space.
5125
5128
  # Corresponds to the JSON property `spaceHistoryState`
5126
5129
  # @return [String]
5127
5130
  attr_accessor :space_history_state
@@ -5131,8 +5134,8 @@ module Google
5131
5134
  # @return [String]
5132
5135
  attr_accessor :space_threading_state
5133
5136
 
5134
- # The type of space. Required when creating a space or updating the space type
5135
- # of a space. Output only for other usage.
5137
+ # Optional. The type of space. Required when creating a space or updating the
5138
+ # space type of a space. Output only for other usage.
5136
5139
  # Corresponds to the JSON property `spaceType`
5137
5140
  # @return [String]
5138
5141
  attr_accessor :space_type
@@ -5606,7 +5609,8 @@ module Google
5606
5609
  class Thread
5607
5610
  include Google::Apis::Core::Hashable
5608
5611
 
5609
- # Resource name of the thread. Example: `spaces/`space`/threads/`thread``
5612
+ # Identifier. Resource name of the thread. Example: `spaces/`space`/threads/`
5613
+ # thread``
5610
5614
  # Corresponds to the JSON property `name`
5611
5615
  # @return [String]
5612
5616
  attr_accessor :name
@@ -5715,8 +5719,8 @@ module Google
5715
5719
  end
5716
5720
  end
5717
5721
 
5718
- # The response of the updated widget. Used to provide autocomplete options for a
5719
- # widget.
5722
+ # For `selectionInput` widgets, returns autocomplete suggestions for a
5723
+ # multiselect menu.
5720
5724
  class UpdatedWidget
5721
5725
  include Google::Apis::Core::Hashable
5722
5726
 
@@ -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.110.0"
19
+ GEM_VERSION = "0.112.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 = "20241029"
25
+ REVISION = "20241124"
26
26
  end
27
27
  end
28
28
  end
@@ -178,22 +178,19 @@ module Google
178
178
  execute_or_queue_command(command, &block)
179
179
  end
180
180
 
181
- # Creates a space with no members. Can be used to create a named space. Spaces
182
- # grouped by topics aren't supported. For an example, see [Create a space](https:
183
- # //developers.google.com/workspace/chat/create-spaces). If you receive the
184
- # error message `ALREADY_EXISTS` when creating a space, try a different `
185
- # displayName`. An existing space within the Google Workspace organization might
186
- # already use this display name. If you're a member of the [Developer Preview
187
- # program](https://developers.google.com/workspace/preview), you can create a
188
- # group chat in import mode using `spaceType.GROUP_CHAT`. Supports the following
189
- # types of [authentication](https://developers.google.com/workspace/chat/
190
- # authenticate-authorize): - [App authentication](https://developers.google.com/
191
- # workspace/chat/authenticate-authorize-chat-app) with [administrator approval](
192
- # https://support.google.com/a?p=chat-app-auth) in [Developer Preview](https://
193
- # developers.google.com/workspace/preview) - [User authentication](https://
194
- # developers.google.com/workspace/chat/authenticate-authorize-chat-user) When
195
- # authenticating as an app, the `space.customer` field must be set in the
196
- # request.
181
+ # Creates a space with no members. Can be used to create a named space, or a
182
+ # group chat in `Import mode`. For an example, see [Create a space](https://
183
+ # developers.google.com/workspace/chat/create-spaces). If you receive the error
184
+ # message `ALREADY_EXISTS` when creating a space, try a different `displayName`.
185
+ # An existing space within the Google Workspace organization might already use
186
+ # this display name. Supports the following types of [authentication](https://
187
+ # developers.google.com/workspace/chat/authenticate-authorize): - [App
188
+ # authentication](https://developers.google.com/workspace/chat/authenticate-
189
+ # authorize-chat-app) with [administrator approval](https://support.google.com/a?
190
+ # p=chat-app-auth) in [Developer Preview](https://developers.google.com/
191
+ # workspace/preview) - [User authentication](https://developers.google.com/
192
+ # workspace/chat/authenticate-authorize-chat-user) When authenticating as an app,
193
+ # the `space.customer` field must be set in the request.
197
194
  # @param [Google::Apis::ChatV1::Space] space_object
198
195
  # @param [String] request_id
199
196
  # Optional. A unique identifier for this request. A random UUID is recommended.
@@ -244,11 +241,12 @@ module Google
244
241
  # @param [String] name
245
242
  # Required. Resource name of the space to delete. Format: `spaces/`space``
246
243
  # @param [Boolean] use_admin_access
247
- # When `true`, the method runs using the user's Google Workspace administrator
248
- # privileges. The calling user must be a Google Workspace administrator with the
249
- # [manage chat and spaces conversations privilege](https://support.google.com/a/
250
- # answer/13369245). Requires the `chat.admin.delete` [OAuth 2.0 scope](https://
251
- # developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes).
244
+ # Optional. When `true`, the method runs using the user's Google Workspace
245
+ # administrator privileges. The calling user must be a Google Workspace
246
+ # administrator with the [manage chat and spaces conversations privilege](https:/
247
+ # /support.google.com/a/answer/13369245). Requires the `chat.admin.delete` [
248
+ # OAuth 2.0 scope](https://developers.google.com/workspace/chat/authenticate-
249
+ # authorize#chat-api-scopes).
252
250
  # @param [String] fields
253
251
  # Selector specifying which fields to include in a partial response.
254
252
  # @param [String] quota_user
@@ -340,12 +338,12 @@ module Google
340
338
  # Required. Resource name of the space, in the form `spaces/`space``. Format: `
341
339
  # spaces/`space``
342
340
  # @param [Boolean] use_admin_access
343
- # When `true`, the method runs using the user's Google Workspace administrator
344
- # privileges. The calling user must be a Google Workspace administrator with the
345
- # [manage chat and spaces conversations privilege](https://support.google.com/a/
346
- # answer/13369245). Requires the `chat.admin.spaces` or `chat.admin.spaces.
347
- # readonly` [OAuth 2.0 scopes](https://developers.google.com/workspace/chat/
348
- # authenticate-authorize#chat-api-scopes).
341
+ # Optional. When `true`, the method runs using the user's Google Workspace
342
+ # administrator privileges. The calling user must be a Google Workspace
343
+ # administrator with the [manage chat and spaces conversations privilege](https:/
344
+ # /support.google.com/a/answer/13369245). Requires the `chat.admin.spaces` or `
345
+ # chat.admin.spaces.readonly` [OAuth 2.0 scopes](https://developers.google.com/
346
+ # workspace/chat/authenticate-authorize#chat-api-scopes).
349
347
  # @param [String] fields
350
348
  # Selector specifying which fields to include in a partial response.
351
349
  # @param [String] quota_user
@@ -446,8 +444,8 @@ module Google
446
444
  # authorize this method with administrator privileges by setting the `
447
445
  # use_admin_access` field in the request.
448
446
  # @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
447
+ # Identifier. Resource name of the space. Format: `spaces/`space`` Where ``space`
448
+ # ` represents the system-assigned ID for the space. You can obtain the space ID
451
449
  # by calling the [`spaces.list()`](https://developers.google.com/workspace/chat/
452
450
  # api/reference/rest/v1/spaces/list) method or from the space URL. For example,
453
451
  # if the space URL is `https://mail.google.com/mail/u/0/#chat/space/AAAAAAAAA`,
@@ -494,13 +492,13 @@ module Google
494
492
  # permission_settings.manageApps` - `permission_settings.manageWebhooks` - `
495
493
  # permission_settings.replyMessages`
496
494
  # @param [Boolean] use_admin_access
497
- # When `true`, the method runs using the user's Google Workspace administrator
498
- # privileges. The calling user must be a Google Workspace administrator with the
499
- # [manage chat and spaces conversations privilege](https://support.google.com/a/
500
- # answer/13369245). Requires the `chat.admin.spaces` [OAuth 2.0 scope](https://
501
- # developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes).
502
- # Some `FieldMask` values are not supported using admin access. For details, see
503
- # the description of `update_mask`.
495
+ # Optional. When `true`, the method runs using the user's Google Workspace
496
+ # administrator privileges. The calling user must be a Google Workspace
497
+ # administrator with the [manage chat and spaces conversations privilege](https:/
498
+ # /support.google.com/a/answer/13369245). Requires the `chat.admin.spaces` [
499
+ # OAuth 2.0 scope](https://developers.google.com/workspace/chat/authenticate-
500
+ # authorize#chat-api-scopes). Some `FieldMask` values are not supported using
501
+ # admin access. For details, see the description of `update_mask`.
504
502
  # @param [String] fields
505
503
  # Selector specifying which fields to include in a partial response.
506
504
  # @param [String] quota_user
@@ -1040,7 +1038,10 @@ module Google
1040
1038
  # message can only contain text (`text`). ![Message sent with user
1041
1039
  # authentication](https://developers.google.com/workspace/chat/images/message-
1042
1040
  # user-auth.svg) The maximum message size, including the message contents, is 32,
1043
- # 000 bytes.
1041
+ # 000 bytes. For [webhook](https://developers.google.com/workspace/chat/
1042
+ # quickstart/webhooks) requests, the response doesn't contain the full message.
1043
+ # The response only populates the `name` and `thread.name` fields in addition to
1044
+ # the information that was in the request.
1044
1045
  # @param [String] parent
1045
1046
  # Required. The resource name of the space in which to create a message. Format:
1046
1047
  # `spaces/`space``
@@ -1057,7 +1058,10 @@ module Google
1057
1058
  # google.com/workspace/chat/create-messages#name_a_created_message).
1058
1059
  # @param [String] message_reply_option
1059
1060
  # Optional. Specifies whether a message starts a thread or replies to one. Only
1060
- # supported in named spaces.
1061
+ # supported in named spaces. When [responding to user interactions](https://
1062
+ # developers.google.com/workspace/chat/receive-respond-interactions), this field
1063
+ # is ignored. For interactions within a thread, the reply is created in the same
1064
+ # thread. Otherwise, the reply is created as a new thread.
1061
1065
  # @param [String] request_id
1062
1066
  # Optional. A unique request ID for this message. Specifying an existing request
1063
1067
  # ID returns the message created with that ID instead of creating a new message.
@@ -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. When `false`
1119
- # , if a message has threaded replies, deletion fails. Only applies when [
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 thread (`
1205
- # thread.name`). To filter messages by the date they were created, specify the `
1206
- # create_time` with a timestamp in [RFC-3339](https://www.rfc-editor.org/rfc/
1207
- # rfc3339) format and double quotation marks. For example, `"2023-04-21T11:30:00-
1208
- # 04:00"`. You can use the greater than operator `>` to list messages that were
1209
- # created after a timestamp, or the less than operator `<` to list messages that
1210
- # were created before a timestamp. To filter messages within a time interval,
1211
- # use the `AND` operator between two timestamps. To filter by thread, specify
1212
- # the `thread.name`, formatted as `spaces/`space`/threads/`thread``. You can
1213
- # only specify one `thread.name` per query. To filter by both thread and date,
1214
- # use the `AND` operator in your query. For example, the following queries are
1215
- # valid: ``` create_time > "2012-04-21T11:30:00-04:00" create_time > "2012-04-
1216
- # 21T11:30:00-04:00" AND thread.name = spaces/AAAAAAAAAAA/threads/123
1217
- # create_time > "2012-04-21T11:30:00+00:00" AND create_time < "2013-01-01T00:00:
1218
- # 00+00:00" AND thread.name = spaces/AAAAAAAAAAA/threads/123 thread.name =
1219
- # spaces/AAAAAAAAAAA/threads/123 ``` Invalid queries are rejected by the server
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 messages is
1223
- # ordered. Specify a value to order by an ordering operation. Valid ordering
1224
- # operation values are as follows: - `ASC` for ascending. - `DESC` for
1225
- # descending. The default ordering is `create_time ASC`.
1226
+ # Optional. How the list of messages is ordered. Specify a value to order by an
1227
+ # ordering operation. Valid ordering operation values are as follows: - `ASC`
1228
+ # for ascending. - `DESC` for descending. The default ordering is `create_time
1229
+ # ASC`.
1226
1230
  # @param [Fixnum] page_size
1227
- # The maximum number of messages returned. The service might return fewer
1228
- # messages than this value. If unspecified, at most 25 are returned. The maximum
1229
- # value is 1000. If you use a value more than 1000, it's automatically changed
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 from a
1233
- # previous list messages call. Provide this parameter to retrieve the subsequent
1234
- # page. When paginating, all other parameters provided should match the call
1235
- # that provided the page token. Passing different values to the other parameters
1236
- # might lead to unexpected results.
1236
+ # Optional. A page token received from a previous list messages call. Provide
1237
+ # this parameter to retrieve the subsequent page. When paginating, all other
1238
+ # parameters provided should match the call that provided the page token.
1239
+ # Passing different values to the other parameters might lead to unexpected
1240
+ # results.
1237
1241
  # @param [Boolean] show_deleted
1238
- # Whether to include deleted messages. Deleted messages include deleted time and
1239
- # metadata about their deletion, but message content is unavailable.
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/`message``
1284
- # Where ``space`` is the ID of the space where the message is posted and ``
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/`message``
1348
- # Where ``space`` is the ID of the space where the message is posted and ``
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.110.0
4
+ version: 0.112.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-03 00:00:00.000000000 Z
11
+ date: 2024-12-04 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.110.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.112.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.21
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