google-apis-chat_v1 0.111.0 → 0.113.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: 422dd8c6e6b86b49d7ea79d83919faf7b61a6956c1fad1d2a5ba4f074dc2b6ba
4
- data.tar.gz: 30c9319cda95434f2b182fe21bd898bf767b655a359728eaf7221dbe3039b7fa
3
+ metadata.gz: '080d29b83f1e1421d4524459bb71771b1e5244e045756bf46a6fc528b9c21e64'
4
+ data.tar.gz: 6419eae4118ac198167edc12fd012199202e06a1b487e1ef1811ec3790d83009
5
5
  SHA512:
6
- metadata.gz: 14c63d8b23dbc1e01946baba532d5ce3e09ddc90f9d68c5245661bdd98d575ae17deed5e0e1bff9254b9562b929650eeb8426f7e4313fb81647f2a6cb817ec78
7
- data.tar.gz: a20ed3d3418680c89718396e9ea710fcffa5e08f5903526f15e70ba6a98fc57a23ea0927871f662e6a5e658a01e2a5cc92dd9e11ae6aa201d0919ce8d0a53cb8
6
+ metadata.gz: 2bcf43f3d47f886caa8961d0cc6bd31b782d99a13eb221c7d6f9bd61cbfa9e90692d16bd4dd26353f39a020a1adc0dba7ebc81de8ed27167de1caa495db03568
7
+ data.tar.gz: 05ac05e9a33bb9ac351d5b127f5722e551f8def71a50680b80a1df89ab8b268077b04117fb14788cf548d1733f0fe9fde08482bc05ff1d21e367650e0485a409
data/CHANGELOG.md CHANGED
@@ -1,8 +1,16 @@
1
1
  # Release history for google-apis-chat_v1
2
2
 
3
- ### v0.111.0 (2024-11-10)
3
+ ### v0.113.0 (2024-12-08)
4
4
 
5
- * Regenerated from discovery document revision 20241103
5
+ * Regenerated from discovery document revision 20241203
6
+
7
+ ### v0.112.0 (2024-12-02)
8
+
9
+ * Regenerated from discovery document revision 20241124
10
+
11
+ ### v0.111.0 (2024-11-17)
12
+
13
+ * Regenerated from discovery document revision 20241110
6
14
 
7
15
  ### v0.110.0 (2024-11-03)
8
16
 
@@ -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
@@ -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
 
@@ -4191,12 +4194,12 @@ module Google
4191
4194
  # @return [Array<Google::Apis::ChatV1::CardWithId>]
4192
4195
  attr_accessor :cards_v2
4193
4196
 
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).
4197
+ # Optional. A custom ID for the message. You can use field to identify a message,
4198
+ # or to get, delete, or update a message. To set a custom ID, specify the [`
4199
+ # messageId`](https://developers.google.com/workspace/chat/api/reference/rest/v1/
4200
+ # spaces.messages/create#body.QUERY_PARAMETERS.message_id) field when you create
4201
+ # the message. For details, see [Name a message](https://developers.google.com/
4202
+ # workspace/chat/create-messages#name_a_created_message).
4200
4203
  # Corresponds to the JSON property `clientAssignedMessageId`
4201
4204
  # @return [String]
4202
4205
  attr_accessor :client_assigned_message_id
@@ -5716,8 +5719,8 @@ module Google
5716
5719
  end
5717
5720
  end
5718
5721
 
5719
- # The response of the updated widget. Used to provide autocomplete options for a
5720
- # widget.
5722
+ # For `selectionInput` widgets, returns autocomplete suggestions for a
5723
+ # multiselect menu.
5721
5724
  class UpdatedWidget
5722
5725
  include Google::Apis::Core::Hashable
5723
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.111.0"
19
+ GEM_VERSION = "0.113.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 = "20241103"
25
+ REVISION = "20241203"
26
26
  end
27
27
  end
28
28
  end
@@ -178,22 +178,23 @@ 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://
181
+ # Creates a space. Can be used to create a named space, or a group chat in `
182
+ # Import mode`. For an example, see [Create a space](https://developers.google.
183
+ # com/workspace/chat/create-spaces). Supports the following types of [
184
+ # authentication](https://developers.google.com/workspace/chat/authenticate-
185
+ # authorize): - [App authentication](https://developers.google.com/workspace/
186
+ # chat/authenticate-authorize-chat-app) with [administrator approval](https://
187
+ # support.google.com/a?p=chat-app-auth) in [Developer Preview](https://
193
188
  # developers.google.com/workspace/preview) - [User authentication](https://
194
189
  # developers.google.com/workspace/chat/authenticate-authorize-chat-user) When
195
190
  # authenticating as an app, the `space.customer` field must be set in the
196
- # request.
191
+ # request. Space membership upon creation depends on whether the space is
192
+ # created in `Import mode`: * **Import mode:** No members are created. * **All
193
+ # other modes:** The calling user is added as a member. This is: * The app
194
+ # itself when using app authentication. * The human user when using user
195
+ # authentication. If you receive the error message `ALREADY_EXISTS` when
196
+ # creating a space, try a different `displayName`. An existing space within the
197
+ # Google Workspace organization might already use this display name.
197
198
  # @param [Google::Apis::ChatV1::Space] space_object
198
199
  # @param [String] request_id
199
200
  # Optional. A unique identifier for this request. A random UUID is recommended.
@@ -1061,7 +1062,10 @@ module Google
1061
1062
  # google.com/workspace/chat/create-messages#name_a_created_message).
1062
1063
  # @param [String] message_reply_option
1063
1064
  # Optional. Specifies whether a message starts a thread or replies to one. Only
1064
- # supported in named spaces.
1065
+ # supported in named spaces. When [responding to user interactions](https://
1066
+ # developers.google.com/workspace/chat/receive-respond-interactions), this field
1067
+ # is ignored. For interactions within a thread, the reply is created in the same
1068
+ # thread. Otherwise, the reply is created as a new thread.
1065
1069
  # @param [String] request_id
1066
1070
  # Optional. A unique request ID for this message. Specifying an existing request
1067
1071
  # ID returns the message created with that ID instead of creating a new message.
@@ -1223,21 +1227,21 @@ module Google
1223
1227
  # name = spaces/AAAAAAAAAAA/threads/123 ``` Invalid queries are rejected by the
1224
1228
  # server with an `INVALID_ARGUMENT` error.
1225
1229
  # @param [String] order_by
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
1229
- # descending. The default ordering is `create_time ASC`.
1230
+ # Optional. How the list of messages is ordered. Specify a value to order by an
1231
+ # ordering operation. Valid ordering operation values are as follows: - `ASC`
1232
+ # for ascending. - `DESC` for descending. The default ordering is `create_time
1233
+ # ASC`.
1230
1234
  # @param [Fixnum] page_size
1231
1235
  # Optional. The maximum number of messages returned. The service might return
1232
1236
  # fewer messages than this value. If unspecified, at most 25 are returned. The
1233
1237
  # maximum value is 1000. If you use a value more than 1000, it's automatically
1234
1238
  # changed to 1000. Negative values return an `INVALID_ARGUMENT` error.
1235
1239
  # @param [String] page_token
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.
1240
+ # Optional. A page token received from a previous list messages call. Provide
1241
+ # this parameter to retrieve the subsequent page. When paginating, all other
1242
+ # parameters provided should match the call that provided the page token.
1243
+ # Passing different values to the other parameters might lead to unexpected
1244
+ # results.
1241
1245
  # @param [Boolean] show_deleted
1242
1246
  # Optional. Whether to include deleted messages. Deleted messages include
1243
1247
  # deleted time and metadata about their deletion, but message content is
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.111.0
4
+ version: 0.113.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-17 00:00:00.000000000 Z
11
+ date: 2024-12-08 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.111.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.113.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.22
78
+ rubygems_version: 3.5.23
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Google Chat API V1