google-apis-chat_v1 0.67.0 → 0.68.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: 2cfb881e54cfab11fa7c62a3e0b141235ab07c16a32d3a9a2d8a2d7ed8c4b39e
4
- data.tar.gz: a080c277cfd9c924a6b61e386fd5e8b1295fb5d589b5a3b18b38de700448ba65
3
+ metadata.gz: 5612946e363951d77cf43c85a687c12b56869136c97a6298a704e866acb251cc
4
+ data.tar.gz: 2888c3afc13c516435eb4d3f5551463b910a85d93aa967e9d118b854ab16cd93
5
5
  SHA512:
6
- metadata.gz: cc25cb4e424ca6b1b27ead021944adebe096b68ca2d3827c711435b6ac624d77eb4bca665fcdb82bd32678932c7495fea8c8f121d6eb3b4af08b28048cf50dd7
7
- data.tar.gz: ce0e47fc4f115a5e764812275e78c240a32f42c4d7f8f288910b2ef26e7f9ad14b20497878e1e7045c30b91885023e41910c5b77fb748faa36767ef379ae3ac6
6
+ metadata.gz: 04d84e3f5dde32844dd849f33a8c5c94ff9626dfccdbd157cfac4c54eb9cd717e928eb3e0a1b4153fb3e75393e9318accc682eb2137be1fb1d86508fd4ca1286
7
+ data.tar.gz: 453ece9fe07a69b08380809694e86879c233fe2391152eea3c06b67fc5748ee0dba0b987b2a87bb919b4b999dc2cf7de3299832ed507f7eb9724d46f952db368
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-chat_v1
2
2
 
3
+ ### v0.68.0 (2023-08-13)
4
+
5
+ * Regenerated from discovery document revision 20230806
6
+
3
7
  ### v0.67.0 (2023-08-06)
4
8
 
5
9
  * Regenerated from discovery document revision 20230801
@@ -189,12 +189,12 @@ module Google
189
189
  # @return [Google::Apis::ChatV1::AttachmentDataRef]
190
190
  attr_accessor :attachment_data_ref
191
191
 
192
- # The original file name for the content, not the full path.
192
+ # Output only. The original file name for the content, not the full path.
193
193
  # Corresponds to the JSON property `contentName`
194
194
  # @return [String]
195
195
  attr_accessor :content_name
196
196
 
197
- # The content type (MIME type) of the file.
197
+ # Output only. The content type (MIME type) of the file.
198
198
  # Corresponds to the JSON property `contentType`
199
199
  # @return [String]
200
200
  attr_accessor :content_type
@@ -217,7 +217,7 @@ module Google
217
217
  # @return [String]
218
218
  attr_accessor :name
219
219
 
220
- # The source of the attachment.
220
+ # Output only. The source of the attachment.
221
221
  # Corresponds to the JSON property `source`
222
222
  # @return [String]
223
223
  attr_accessor :source
@@ -3423,13 +3423,18 @@ module Google
3423
3423
  # @return [Google::Apis::ChatV1::Space]
3424
3424
  attr_accessor :space
3425
3425
 
3426
- # Plain-text body of the message. The first link to an image, video, web page,
3427
- # or other preview-able item generates a preview chip.
3426
+ # Plain-text body of the message. The first link to an image, video, or web page
3427
+ # generates a preview chip. You can also @mention a Google Chat user, or
3428
+ # everyone in the space. To learn about creating text messages, see [Create a
3429
+ # text message](https://developers.google.com/chat/api/guides/message-formats/
3430
+ # text).
3428
3431
  # Corresponds to the JSON property `text`
3429
3432
  # @return [String]
3430
3433
  attr_accessor :text
3431
3434
 
3432
- # A thread in Google Chat.
3435
+ # A thread in a Google Chat space. For example usage, see [Start or reply to a
3436
+ # message thread](https://developers.google.com/chat/api/guides/crudl/messages#
3437
+ # start_or_reply_to_a_message_thread).
3433
3438
  # Corresponds to the JSON property `thread`
3434
3439
  # @return [Google::Apis::ChatV1::Thread]
3435
3440
  attr_accessor :thread
@@ -3747,8 +3752,11 @@ module Google
3747
3752
  alias_method :admin_installed?, :admin_installed
3748
3753
 
3749
3754
  # The space's display name. Required when [creating a space](https://developers.
3750
- # google.com/chat/api/reference/rest/v1/spaces/create). For direct messages,
3751
- # this field might be empty. Supports up to 128 characters.
3755
+ # google.com/chat/api/reference/rest/v1/spaces/create). If you receive the error
3756
+ # message `ALREADY_EXISTS` when creating a space or updating the `displayName`,
3757
+ # try a different `displayName`. An existing space within the Google Workspace
3758
+ # organization might already use this display name. For direct messages, this
3759
+ # field might be empty. Supports up to 128 characters.
3752
3760
  # Corresponds to the JSON property `displayName`
3753
3761
  # @return [String]
3754
3762
  attr_accessor :display_name
@@ -3986,7 +3994,9 @@ module Google
3986
3994
  end
3987
3995
  end
3988
3996
 
3989
- # A thread in Google Chat.
3997
+ # A thread in a Google Chat space. For example usage, see [Start or reply to a
3998
+ # message thread](https://developers.google.com/chat/api/guides/crudl/messages#
3999
+ # start_or_reply_to_a_message_thread).
3990
4000
  class Thread
3991
4001
  include Google::Apis::Core::Hashable
3992
4002
 
@@ -3995,11 +4005,8 @@ module Google
3995
4005
  # @return [String]
3996
4006
  attr_accessor :name
3997
4007
 
3998
- # Optional. Opaque thread identifier. To start or add to a thread, create a
3999
- # message and specify a `threadKey` or the thread.name. For example usage, see [
4000
- # Start or reply to a message thread](https://developers.google.com/chat/api/
4001
- # guides/crudl/messages#start_or_reply_to_a_message_thread). For other requests,
4002
- # this is an output only field.
4008
+ # Optional. ID for the thread. Supports up to 4000 characters. Input for
4009
+ # creating or updating a thread. Otherwise, output only.
4003
4010
  # Corresponds to the JSON property `threadKey`
4004
4011
  # @return [String]
4005
4012
  attr_accessor :thread_key
@@ -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.67.0"
19
+ GEM_VERSION = "0.68.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230801"
25
+ REVISION = "20230806"
26
26
  end
27
27
  end
28
28
  end
@@ -141,9 +141,11 @@ module Google
141
141
 
142
142
  # Creates a named space. Spaces grouped by topics aren't supported. For an
143
143
  # example, see [Create a space](https://developers.google.com/chat/api/guides/v1/
144
- # spaces/create). Requires [user authentication](https://developers.google.com/
145
- # chat/api/guides/auth/users) and the `chat.spaces.create` or `chat.spaces`
146
- # scope.
144
+ # spaces/create). If you receive the error message `ALREADY_EXISTS` when
145
+ # creating a space, try a different `displayName`. An existing space within the
146
+ # Google Workspace organization might already use this display name. Requires [
147
+ # user authentication](https://developers.google.com/chat/api/guides/auth/users)
148
+ # and the `chat.spaces.create` or `chat.spaces` scope.
147
149
  # @param [Google::Apis::ChatV1::Space] space_object
148
150
  # @param [String] request_id
149
151
  # Optional. A unique identifier for this request. A random UUID is recommended.
@@ -365,9 +367,12 @@ module Google
365
367
  end
366
368
 
367
369
  # Updates a space. For an example, see [Update a space](https://developers.
368
- # google.com/chat/api/guides/v1/spaces/update). Requires [user authentication](
369
- # https://developers.google.com/chat/api/guides/auth/users) and the `chat.spaces`
370
- # scope.
370
+ # google.com/chat/api/guides/v1/spaces/update). If you're updating the `
371
+ # displayName` field and receive the error message `ALREADY_EXISTS`, try a
372
+ # different display name.. An existing space within the Google Workspace
373
+ # organization might already use this display name. Requires [user
374
+ # authentication](https://developers.google.com/chat/api/guides/auth/users) and
375
+ # the `chat.spaces` scope.
371
376
  # @param [String] name
372
377
  # Resource name of the space. Format: `spaces/`space``
373
378
  # @param [Google::Apis::ChatV1::Space] space_object
@@ -377,18 +382,20 @@ module Google
377
382
  # display name of a space with the `SPACE` type, or when also including the `
378
383
  # space_type` mask to change a `GROUP_CHAT` space type to `SPACE`. Trying to
379
384
  # update the display name of a `GROUP_CHAT` or a `DIRECT_MESSAGE` space results
380
- # in an invalid argument error.) - `space_type` (Only supports changing a `
381
- # GROUP_CHAT` space type to `SPACE`. Include `display_name` together with `
382
- # space_type` in the update mask and ensure that the specified space has a non-
383
- # empty display name and the `SPACE` space type. Including the `space_type` mask
384
- # and the `SPACE` type in the specified space when updating the display name is
385
- # optional if the existing space already has the `SPACE` type. Trying to update
386
- # the space type in other ways results in an invalid argument error). - `
387
- # space_details` - `space_history_state` (Supports [turning history on or off
388
- # for the space](https://support.google.com/chat/answer/7664687) if [the
389
- # organization allows users to change their history setting](https://support.
390
- # google.com/a/answer/7664184). Warning: mutually exclusive with all other field
391
- # paths.)
385
+ # in an invalid argument error. If you receive the error message `ALREADY_EXISTS`
386
+ # when updating the `displayName`, try a different `displayName`. An existing
387
+ # space within the Google Workspace organization might already use this display
388
+ # name.) - `space_type` (Only supports changing a `GROUP_CHAT` space type to `
389
+ # SPACE`. Include `display_name` together with `space_type` in the update mask
390
+ # and ensure that the specified space has a non-empty display name and the `
391
+ # SPACE` space type. Including the `space_type` mask and the `SPACE` type in the
392
+ # specified space when updating the display name is optional if the existing
393
+ # space already has the `SPACE` type. Trying to update the space type in other
394
+ # ways results in an invalid argument error). - `space_details` - `
395
+ # space_history_state` (Supports [turning history on or off for the space](https:
396
+ # //support.google.com/chat/answer/7664687) if [the organization allows users to
397
+ # change their history setting](https://support.google.com/a/answer/7664184).
398
+ # Warning: mutually exclusive with all other field paths.)
392
399
  # @param [String] fields
393
400
  # Selector specifying which fields to include in a partial response.
394
401
  # @param [String] quota_user
@@ -442,9 +449,12 @@ module Google
442
449
  # membership](https://developers.google.com/chat/api/guides/v1/members/create).
443
450
  # If a DM already exists between two users, even when one user blocks the other
444
451
  # at the time a request is made, then the existing DM is returned. Spaces with
445
- # threaded replies or guest access aren't supported. Requires [user
446
- # authentication](https://developers.google.com/chat/api/guides/auth/users) and
447
- # the `chat.spaces.create` or `chat.spaces` scope.
452
+ # threaded replies aren't supported. If you receive the error message `
453
+ # ALREADY_EXISTS` when setting up a space, try a different `displayName`. An
454
+ # existing space within the Google Workspace organization might already use this
455
+ # display name. Requires [user authentication](https://developers.google.com/
456
+ # chat/api/guides/auth/users) and the `chat.spaces.create` or `chat.spaces`
457
+ # scope.
448
458
  # @param [Google::Apis::ChatV1::SetUpSpaceRequest] set_up_space_request_object
449
459
  # @param [String] fields
450
460
  # Selector specifying which fields to include in a partial response.
@@ -725,11 +735,11 @@ module Google
725
735
  # Optional. A unique request ID for this message. Specifying an existing request
726
736
  # ID returns the message created with that ID instead of creating a new message.
727
737
  # @param [String] thread_key
728
- # Optional. Deprecated: Use thread.thread_key instead. Opaque thread identifier.
729
- # To start or add to a thread, create a message and specify a `threadKey` or the
730
- # thread.name. For example usage, see [Start or reply to a message thread](https:
731
- # //developers.google.com/chat/api/guides/crudl/messages#
732
- # start_or_reply_to_a_message_thread).
738
+ # Optional. Deprecated: Use thread.thread_key instead. ID for the thread.
739
+ # Supports up to 4000 characters. To start or add to a thread, create a message
740
+ # and specify a `threadKey` or the thread.name. For example usage, see [Start or
741
+ # reply to a message thread](https://developers.google.com/chat/api/guides/crudl/
742
+ # messages#start_or_reply_to_a_message_thread).
733
743
  # @param [String] fields
734
744
  # Selector specifying which fields to include in a partial response.
735
745
  # @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.67.0
4
+ version: 0.68.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: 2023-08-06 00:00:00.000000000 Z
11
+ date: 2023-08-13 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.67.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.68.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: []