google-apis-chat_v1 0.109.0 → 0.111.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: dce0dfdea43cc9d585d110d56af1272a576bc5f0e4b39bbefeb07c377202787b
4
- data.tar.gz: b5b8f534fcf0d83184eaa63083dc6d8550b5aa2750a85e37e436578897d18925
3
+ metadata.gz: 422dd8c6e6b86b49d7ea79d83919faf7b61a6956c1fad1d2a5ba4f074dc2b6ba
4
+ data.tar.gz: 30c9319cda95434f2b182fe21bd898bf767b655a359728eaf7221dbe3039b7fa
5
5
  SHA512:
6
- metadata.gz: 3140dd539f25ecc20f033b35501524703225f7f524e20e260acbba9f861d39e912d0664af3254173a1ab9ceb73a8d045d69e84b89003f5d89e14d667fe858af4
7
- data.tar.gz: c4c7b1d4b7237d7d879ae2d26c29b2e9e5dfa8b4a605449aaa737166e8a5cbeaa70fe23e38cef42b04659fba137326f49c97f42e1e82ab94631c7779b2019d92
6
+ metadata.gz: 14c63d8b23dbc1e01946baba532d5ce3e09ddc90f9d68c5245661bdd98d575ae17deed5e0e1bff9254b9562b929650eeb8426f7e4313fb81647f2a6cb817ec78
7
+ data.tar.gz: a20ed3d3418680c89718396e9ea710fcffa5e08f5903526f15e70ba6a98fc57a23ea0927871f662e6a5e658a01e2a5cc92dd9e11ae6aa201d0919ce8d0a53cb8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-chat_v1
2
2
 
3
+ ### v0.111.0 (2024-11-10)
4
+
5
+ * Regenerated from discovery document revision 20241103
6
+
7
+ ### v0.110.0 (2024-11-03)
8
+
9
+ * Regenerated from discovery document revision 20241029
10
+
3
11
  ### v0.109.0 (2024-10-27)
4
12
 
5
13
  * Regenerated from discovery document revision 20241020
@@ -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
@@ -3948,8 +3948,8 @@ module Google
3948
3948
  # @return [Google::Apis::ChatV1::User]
3949
3949
  attr_accessor :member
3950
3950
 
3951
- # Resource name of the membership, assigned by the server. Format: `spaces/`
3952
- # space`/members/`member``
3951
+ # Identifier. Resource name of the membership, assigned by the server. Format: `
3952
+ # spaces/`space`/members/`member``
3953
3953
  # Corresponds to the JSON property `name`
3954
3954
  # @return [String]
3955
3955
  attr_accessor :name
@@ -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 counting users
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 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).
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/reference/
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 a message,
4195
- # or to get, delete, or update a message. To set a custom ID, specify the [`
4196
- # messageId`](https://developers.google.com/workspace/chat/api/reference/rest/v1/
4197
- # spaces.messages/create#body.QUERY_PARAMETERS.message_id) field when you create
4198
- # the message. For details, see [Name a message](https://developers.google.com/
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 actual cards
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/`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/
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, 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).
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`/messages/`message`/
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://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.
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 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.
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 space type
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/`thread``
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.109.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 = "20241020"
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 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).
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 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).
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 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`.
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
@@ -723,14 +724,14 @@ module Google
723
724
  # Format: spaces/`space`
724
725
  # @param [Google::Apis::ChatV1::Membership] membership_object
725
726
  # @param [Boolean] use_admin_access
726
- # When `true`, the method runs using the user's Google Workspace administrator
727
- # privileges. The calling user must be a Google Workspace administrator with the
728
- # [manage chat and spaces conversations privilege](https://support.google.com/a/
729
- # answer/13369245). Requires the `chat.admin.memberships` [OAuth 2.0 scope](
730
- # https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-
731
- # scopes). Creating app memberships or creating memberships for users outside
732
- # the administrator's Google Workspace organization isn't supported using admin
733
- # access.
727
+ # Optional. When `true`, the method runs using the user's Google Workspace
728
+ # administrator privileges. The calling user must be a Google Workspace
729
+ # administrator with the [manage chat and spaces conversations privilege](https:/
730
+ # /support.google.com/a/answer/13369245). Requires the `chat.admin.memberships` [
731
+ # OAuth 2.0 scope](https://developers.google.com/workspace/chat/authenticate-
732
+ # authorize#chat-api-scopes). Creating app memberships or creating memberships
733
+ # for users outside the administrator's Google Workspace organization isn't
734
+ # supported using admin access.
734
735
  # @param [String] fields
735
736
  # Selector specifying which fields to include in a partial response.
736
737
  # @param [String] quota_user
@@ -783,13 +784,13 @@ module Google
783
784
  # spaces/`space`/members/app` format. Format: `spaces/`space`/members/`member``
784
785
  # or `spaces/`space`/members/app`.
785
786
  # @param [Boolean] use_admin_access
786
- # When `true`, the method runs using the user's Google Workspace administrator
787
- # privileges. The calling user must be a Google Workspace administrator with the
788
- # [manage chat and spaces conversations privilege](https://support.google.com/a/
789
- # answer/13369245). Requires the `chat.admin.memberships` [OAuth 2.0 scope](
790
- # https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-
791
- # scopes). Deleting app memberships in a space isn't supported using admin
792
- # access.
787
+ # Optional. When `true`, the method runs using the user's Google Workspace
788
+ # administrator privileges. The calling user must be a Google Workspace
789
+ # administrator with the [manage chat and spaces conversations privilege](https:/
790
+ # /support.google.com/a/answer/13369245). Requires the `chat.admin.memberships` [
791
+ # OAuth 2.0 scope](https://developers.google.com/workspace/chat/authenticate-
792
+ # authorize#chat-api-scopes). Deleting app memberships in a space isn't
793
+ # supported using admin access.
793
794
  # @param [String] fields
794
795
  # Selector specifying which fields to include in a partial response.
795
796
  # @param [String] quota_user
@@ -836,12 +837,12 @@ module Google
836
837
  # member``. For example, `spaces/`space`/members/example@gmail.com` where `
837
838
  # example@gmail.com` is the email of the Google Chat user.
838
839
  # @param [Boolean] use_admin_access
839
- # When `true`, the method runs using the user's Google Workspace administrator
840
- # privileges. The calling user must be a Google Workspace administrator with the
841
- # [manage chat and spaces conversations privilege](https://support.google.com/a/
842
- # answer/13369245). Requires the `chat.admin.memberships` or `chat.admin.
843
- # memberships.readonly` [OAuth 2.0 scopes](https://developers.google.com/
844
- # workspace/chat/authenticate-authorize#chat-api-scopes). Getting app
840
+ # Optional. When `true`, the method runs using the user's Google Workspace
841
+ # administrator privileges. The calling user must be a Google Workspace
842
+ # administrator with the [manage chat and spaces conversations privilege](https:/
843
+ # /support.google.com/a/answer/13369245). Requires the `chat.admin.memberships`
844
+ # or `chat.admin.memberships.readonly` [OAuth 2.0 scopes](https://developers.
845
+ # google.com/workspace/chat/authenticate-authorize#chat-api-scopes). Getting app
845
846
  # memberships in a space isn't supported when using admin access.
846
847
  # @param [String] fields
847
848
  # Selector specifying which fields to include in a partial response.
@@ -927,13 +928,13 @@ module Google
927
928
  # Currently requires [user authentication](https://developers.google.com/
928
929
  # workspace/chat/authenticate-authorize-chat-user).
929
930
  # @param [Boolean] use_admin_access
930
- # When `true`, the method runs using the user's Google Workspace administrator
931
- # privileges. The calling user must be a Google Workspace administrator with the
932
- # [manage chat and spaces conversations privilege](https://support.google.com/a/
933
- # answer/13369245). Requires either the `chat.admin.memberships.readonly` or `
934
- # chat.admin.memberships` [OAuth 2.0 scope](https://developers.google.com/
935
- # workspace/chat/authenticate-authorize#chat-api-scopes). Listing app
936
- # memberships in a space isn't supported when using admin access.
931
+ # Optional. When `true`, the method runs using the user's Google Workspace
932
+ # administrator privileges. The calling user must be a Google Workspace
933
+ # administrator with the [manage chat and spaces conversations privilege](https:/
934
+ # /support.google.com/a/answer/13369245). Requires either the `chat.admin.
935
+ # memberships.readonly` or `chat.admin.memberships` [OAuth 2.0 scope](https://
936
+ # developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes).
937
+ # Listing app memberships in a space isn't supported when using admin access.
937
938
  # @param [String] fields
938
939
  # Selector specifying which fields to include in a partial response.
939
940
  # @param [String] quota_user
@@ -979,19 +980,19 @@ module Google
979
980
  # administrator privileges by setting the `use_admin_access` field in the
980
981
  # request.
981
982
  # @param [String] name
982
- # Resource name of the membership, assigned by the server. Format: `spaces/`
983
- # space`/members/`member``
983
+ # Identifier. Resource name of the membership, assigned by the server. Format: `
984
+ # spaces/`space`/members/`member``
984
985
  # @param [Google::Apis::ChatV1::Membership] membership_object
985
986
  # @param [String] update_mask
986
987
  # Required. The field paths to update. Separate multiple values with commas or
987
988
  # use `*` to update all field paths. Currently supported field paths: - `role`
988
989
  # @param [Boolean] use_admin_access
989
- # When `true`, the method runs using the user's Google Workspace administrator
990
- # privileges. The calling user must be a Google Workspace administrator with the
991
- # [manage chat and spaces conversations privilege](https://support.google.com/a/
992
- # answer/13369245). Requires the `chat.admin.memberships` [OAuth 2.0 scope](
993
- # https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-
994
- # scopes).
990
+ # Optional. When `true`, the method runs using the user's Google Workspace
991
+ # administrator privileges. The calling user must be a Google Workspace
992
+ # administrator with the [manage chat and spaces conversations privilege](https:/
993
+ # /support.google.com/a/answer/13369245). Requires the `chat.admin.memberships` [
994
+ # OAuth 2.0 scope](https://developers.google.com/workspace/chat/authenticate-
995
+ # authorize#chat-api-scopes).
995
996
  # @param [String] fields
996
997
  # Selector specifying which fields to include in a partial response.
997
998
  # @param [String] quota_user
@@ -1040,7 +1041,10 @@ module Google
1040
1041
  # message can only contain text (`text`). ![Message sent with user
1041
1042
  # authentication](https://developers.google.com/workspace/chat/images/message-
1042
1043
  # user-auth.svg) 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. 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
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 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. 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 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.
@@ -1659,10 +1664,11 @@ module Google
1659
1664
  # return fewer than this value. Negative values return an `INVALID_ARGUMENT`
1660
1665
  # error.
1661
1666
  # @param [String] page_token
1662
- # A page token, received from a previous list space events call. Provide this to
1663
- # retrieve the subsequent page. When paginating, all other parameters provided
1664
- # to list space events must match the call that provided the page token. Passing
1665
- # different values to the other parameters might lead to unexpected results.
1667
+ # Optional. A page token, received from a previous list space events call.
1668
+ # Provide this to retrieve the subsequent page. When paginating, all other
1669
+ # parameters provided to list space events must match the call that provided the
1670
+ # page token. Passing different values to the other parameters might lead to
1671
+ # unexpected results.
1666
1672
  # @param [String] fields
1667
1673
  # Selector specifying which fields to include in a partial response.
1668
1674
  # @param [String] quota_user
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.109.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-10-27 00:00:00.000000000 Z
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.109.0
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.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