google-apis-chat_v1 0.76.0 → 0.77.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 005d8d6c7edccdf3a114dc00ab25d5d87789bf2d339adbcb6dd1a22c5a2521bc
4
- data.tar.gz: 2bc9dd91af3f1fa65a1aef505c3c559c74feb7833406f2eb6f7a39488366f235
3
+ metadata.gz: 82e52f01a75d5732e8b21c4cb38eec99174f8dca5aa7f79797175c3027157a05
4
+ data.tar.gz: b2dd508219112f9d890170180c05eebe4526d99bcd6cdb3f3d91b2c3373b2f04
5
5
  SHA512:
6
- metadata.gz: 8368649471a5a787712aa3489c45c75c44fa6e3a31c67c8cc9582a0bb39874f15f5304f7d2690d23b9a407064684e2484edd77dd651788a75557594421e57165
7
- data.tar.gz: 8459f904c2300ca2d60bcb2dc504df35a6869f1a8904a76909d103f0089f7cad01af39cddf737b1591586d567bd40d13c53008f6398df7286a99ea8c88e4e6dd
6
+ metadata.gz: 102581df0e348883dc5c620dd08595390412fe3fa807f865442ea3312d3c714d6c88f4dd3b7be0a97b7e6f4164ae2550c3f1f6e5cfbb865fb9d74c79bf332444
7
+ data.tar.gz: 65fc975528d6e5274f2964d5fe6140843057ba7910bd3a7326961638d9bcfd7695e98a1b0bcafcca49345bcef4fcadf05beaeff94927a227a2dc9854095b55d9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-chat_v1
2
2
 
3
+ ### v0.77.0 (2023-11-26)
4
+
5
+ * Regenerated from discovery document revision 20231116
6
+
3
7
  ### v0.76.0 (2023-11-19)
4
8
 
5
9
  * Regenerated from discovery document revision 20231114
@@ -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.76.0"
19
+ GEM_VERSION = "0.77.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 = "20231114"
25
+ REVISION = "20231116"
26
26
  end
27
27
  end
28
28
  end
@@ -219,12 +219,12 @@ module Google
219
219
  # Find a direct message](/chat/api/guides/v1/spaces/find-direct-message). With [
220
220
  # user authentication](https://developers.google.com/chat/api/guides/auth/users),
221
221
  # returns the direct message space between the specified user and the
222
- # authenticated user. With [service account authentication](https://developers.
223
- # google.com/chat/api/guides/auth/service-accounts), returns the direct message
224
- # space between the specified user and the calling Chat app. Requires [user
222
+ # authenticated user. With [app authentication](https://developers.google.com/
223
+ # chat/api/guides/auth/service-accounts), returns the direct message space
224
+ # between the specified user and the calling Chat app. Requires [user
225
225
  # authentication](https://developers.google.com/chat/api/guides/auth/users) or [
226
- # service account authentication](https://developers.google.com/chat/api/guides/
227
- # auth/service-accounts).
226
+ # app authentication](https://developers.google.com/chat/api/guides/auth/service-
227
+ # accounts).
228
228
  # @param [String] name
229
229
  # Required. Resource name of the user to find direct message with. Format: `
230
230
  # users/`user``, where ``user`` is either the `id` for the [person](https://
@@ -265,10 +265,10 @@ module Google
265
265
 
266
266
  # Returns details about a space. For an example, see [Get a space](https://
267
267
  # developers.google.com/chat/api/guides/v1/spaces/get). Requires [authentication]
268
- # (https://developers.google.com/chat/api/guides/auth). Fully supports [service
269
- # account authentication](https://developers.google.com/chat/api/guides/auth/
270
- # service-accounts) and [user authentication](https://developers.google.com/chat/
271
- # api/guides/auth/users).
268
+ # (https://developers.google.com/chat/api/guides/auth). Supports [app
269
+ # authentication](https://developers.google.com/chat/api/guides/auth/service-
270
+ # accounts) and [user authentication](https://developers.google.com/chat/api/
271
+ # guides/auth/users).
272
272
  # @param [String] name
273
273
  # Required. Resource name of the space, in the form "spaces/*". Format: `spaces/`
274
274
  # space``
@@ -302,12 +302,11 @@ module Google
302
302
  # Lists spaces the caller is a member of. Group chats and DMs aren't listed
303
303
  # until the first message is sent. For an example, see [List spaces](https://
304
304
  # developers.google.com/chat/api/guides/v1/spaces/list). Requires [
305
- # authentication](https://developers.google.com/chat/api/guides/auth). Fully
306
- # supports [service account authentication](https://developers.google.com/chat/
307
- # api/guides/auth/service-accounts) and [user authentication](https://developers.
308
- # google.com/chat/api/guides/auth/users). Lists spaces visible to the caller or
309
- # authenticated user. Group chats and DMs aren't listed until the first message
310
- # is sent.
305
+ # authentication](https://developers.google.com/chat/api/guides/auth). Supports [
306
+ # app authentication](https://developers.google.com/chat/api/guides/auth/service-
307
+ # accounts) and [user authentication](https://developers.google.com/chat/api/
308
+ # guides/auth/users). Lists spaces visible to the caller or authenticated user.
309
+ # Group chats and DMs aren't listed until the first message is sent.
311
310
  # @param [String] filter
312
311
  # Optional. A query filter. Requires [user authentication](https://developers.
313
312
  # google.com/chat/api/guides/auth/users). You can filter spaces by the space
@@ -317,11 +316,11 @@ module Google
317
316
  # SPACE_TYPE_UNSPECIFIED`). To query for multiple space types, use the `OR`
318
317
  # operator. For example, the following queries are valid: ``` space_type = "
319
318
  # SPACE" spaceType = "GROUP_CHAT" OR spaceType = "DIRECT_MESSAGE" ``` Invalid
320
- # queries are rejected by the server with an `INVALID_ARGUMENT` error. With [
321
- # service account authentication](https://developers.google.com/chat/api/guides/
322
- # auth/service-accounts), this field is ignored and the query always returns all
323
- # spaces. But the Chat API still validates the query syntax with service
324
- # accounts, so invalid queries are still rejected.
319
+ # queries are rejected by the server with an `INVALID_ARGUMENT` error. With [app
320
+ # authentication](https://developers.google.com/chat/api/guides/auth/service-
321
+ # accounts), this field is ignored and the query always returns all spaces. But
322
+ # the Chat API still validates the query syntax, so invalid queries are still
323
+ # rejected.
325
324
  # @param [Fixnum] page_size
326
325
  # Optional. The maximum number of spaces to return. The service might return
327
326
  # fewer than this value. If unspecified, at most 100 spaces are returned. The
@@ -569,10 +568,10 @@ module Google
569
568
 
570
569
  # Returns details about a membership. For an example, see [Get a membership](
571
570
  # https://developers.google.com/chat/api/guides/v1/members/get). Requires [
572
- # authentication](https://developers.google.com/chat/api/guides/auth). Fully
573
- # supports [service account authentication](https://developers.google.com/chat/
574
- # api/guides/auth/service-accounts) and [user authentication](https://developers.
575
- # google.com/chat/api/guides/auth/users).
571
+ # authentication](https://developers.google.com/chat/api/guides/auth). Supports [
572
+ # app authentication](https://developers.google.com/chat/api/guides/auth/service-
573
+ # accounts) and [user authentication](https://developers.google.com/chat/api/
574
+ # guides/auth/users).
576
575
  # @param [String] name
577
576
  # Required. Resource name of the membership to retrieve. To get the app's own
578
577
  # membership, you can optionally use `spaces/`space`/members/app`. Format: `
@@ -616,9 +615,9 @@ module Google
616
615
  # [User authentication](https://developers.google.com/chat/api/guides/auth/users)
617
616
  # lists memberships in spaces that the authenticated user has access to.
618
617
  # Requires [authentication](https://developers.google.com/chat/api/guides/auth).
619
- # Fully supports [service account authentication](https://developers.google.com/
620
- # chat/api/guides/auth/service-accounts) and [user authentication](https://
621
- # developers.google.com/chat/api/guides/auth/users).
618
+ # Supports [app authentication](https://developers.google.com/chat/api/guides/
619
+ # auth/service-accounts) and [user authentication](https://developers.google.com/
620
+ # chat/api/guides/auth/users).
622
621
  # @param [String] parent
623
622
  # Required. The resource name of the space for which to fetch a membership list.
624
623
  # Format: spaces/`space`
@@ -755,11 +754,11 @@ module Google
755
754
 
756
755
  # Deletes a message. For an example, see [Delete a message](https://developers.
757
756
  # google.com/chat/api/guides/v1/messages/delete). Requires [authentication](
758
- # https://developers.google.com/chat/api/guides/auth). Fully supports [service
759
- # account authentication](https://developers.google.com/chat/api/guides/auth/
760
- # service-accounts) and [user authentication](https://developers.google.com/chat/
761
- # api/guides/auth/users). Requests authenticated with service accounts can only
762
- # delete messages created by the calling Chat app.
757
+ # https://developers.google.com/chat/api/guides/auth). Supports [app
758
+ # authentication](https://developers.google.com/chat/api/guides/auth/service-
759
+ # accounts) and [user authentication](https://developers.google.com/chat/api/
760
+ # guides/auth/users). When using app authentication, requests can only delete
761
+ # messages created by the calling Chat app.
763
762
  # @param [String] name
764
763
  # Required. Resource name of the message that you want to delete, in the form `
765
764
  # spaces/*/messages/*` Example: `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.
@@ -768,8 +767,8 @@ module Google
768
767
  # When `true`, deleting a message also deletes its threaded replies. When `false`
769
768
  # , if a message has threaded replies, deletion fails. Only applies when [
770
769
  # authenticating as a user](https://developers.google.com/chat/api/guides/auth/
771
- # users). Has no effect when [authenticating with a service account] (https://
772
- # developers.google.com/chat/api/guides/auth/service-accounts).
770
+ # users). Has no effect when [authenticating as a Chat app] (https://developers.
771
+ # google.com/chat/api/guides/auth/service-accounts).
773
772
  # @param [String] fields
774
773
  # Selector specifying which fields to include in a partial response.
775
774
  # @param [String] quota_user
@@ -800,11 +799,11 @@ module Google
800
799
 
801
800
  # Returns details about a message. For an example, see [Read a message](https://
802
801
  # developers.google.com/chat/api/guides/v1/messages/get). Requires [
803
- # authentication](https://developers.google.com/chat/api/guides/auth). Fully
804
- # supports [service account authentication](https://developers.google.com/chat/
805
- # api/guides/auth/service-accounts) and [user authentication](https://developers.
806
- # google.com/chat/api/guides/auth/users). Note: Might return a message from a
807
- # blocked member or space.
802
+ # authentication](https://developers.google.com/chat/api/guides/auth). Supports [
803
+ # app authentication](https://developers.google.com/chat/api/guides/auth/service-
804
+ # accounts) and [user authentication](https://developers.google.com/chat/api/
805
+ # guides/auth/users). Note: Might return a message from a blocked member or
806
+ # space.
808
807
  # @param [String] name
809
808
  # Required. Resource name of the message to retrieve. Format: `spaces/`space`/
810
809
  # messages/`message`` If the message begins with `client-`, then it has a custom
@@ -920,11 +919,11 @@ module Google
920
919
  # uses a `put` request. We recommend using the `patch` method. For an example,
921
920
  # see [Update a message](https://developers.google.com/chat/api/guides/v1/
922
921
  # messages/update). Requires [authentication](https://developers.google.com/chat/
923
- # api/guides/auth). Fully supports [service account authentication](https://
924
- # developers.google.com/chat/api/guides/auth/service-accounts) and [user
925
- # authentication](https://developers.google.com/chat/api/guides/auth/users).
926
- # Requests authenticated with service accounts can only update messages created
927
- # by the calling Chat app.
922
+ # api/guides/auth). Supports [app authentication](https://developers.google.com/
923
+ # chat/api/guides/auth/service-accounts) and [user authentication](https://
924
+ # developers.google.com/chat/api/guides/auth/users). When using app
925
+ # authentication, requests can only update messages created by the calling Chat
926
+ # app.
928
927
  # @param [String] name
929
928
  # Resource name in the form `spaces/*/messages/*`. Example: `spaces/AAAAAAAAAAA/
930
929
  # messages/BBBBBBBBBBB.BBBBBBBBBBB`
@@ -937,9 +936,8 @@ module Google
937
936
  # @param [String] update_mask
938
937
  # Required. The field paths to update. Separate multiple values with commas.
939
938
  # Currently supported field paths: - `text` - `attachment` - `cards` (Requires [
940
- # service account authentication](/chat/api/guides/auth/service-accounts).) - `
941
- # cards_v2` (Requires [service account authentication](/chat/api/guides/auth/
942
- # service-accounts).)
939
+ # app authentication](/chat/api/guides/auth/service-accounts).) - `cards_v2` (
940
+ # Requires [app authentication](/chat/api/guides/auth/service-accounts).)
943
941
  # @param [String] fields
944
942
  # Selector specifying which fields to include in a partial response.
945
943
  # @param [String] quota_user
@@ -976,11 +974,11 @@ module Google
976
974
  # uses a `put` request. We recommend using the `patch` method. For an example,
977
975
  # see [Update a message](https://developers.google.com/chat/api/guides/v1/
978
976
  # messages/update). Requires [authentication](https://developers.google.com/chat/
979
- # api/guides/auth). Fully supports [service account authentication](https://
980
- # developers.google.com/chat/api/guides/auth/service-accounts) and [user
981
- # authentication](https://developers.google.com/chat/api/guides/auth/users).
982
- # Requests authenticated with service accounts can only update messages created
983
- # by the calling Chat app.
977
+ # api/guides/auth). Supports [app authentication](https://developers.google.com/
978
+ # chat/api/guides/auth/service-accounts) and [user authentication](https://
979
+ # developers.google.com/chat/api/guides/auth/users). When using app
980
+ # authentication, requests can only update messages created by the calling Chat
981
+ # app.
984
982
  # @param [String] name
985
983
  # Resource name in the form `spaces/*/messages/*`. Example: `spaces/AAAAAAAAAAA/
986
984
  # messages/BBBBBBBBBBB.BBBBBBBBBBB`
@@ -993,9 +991,8 @@ module Google
993
991
  # @param [String] update_mask
994
992
  # Required. The field paths to update. Separate multiple values with commas.
995
993
  # Currently supported field paths: - `text` - `attachment` - `cards` (Requires [
996
- # service account authentication](/chat/api/guides/auth/service-accounts).) - `
997
- # cards_v2` (Requires [service account authentication](/chat/api/guides/auth/
998
- # service-accounts).)
994
+ # app authentication](/chat/api/guides/auth/service-accounts).) - `cards_v2` (
995
+ # Requires [app authentication](/chat/api/guides/auth/service-accounts).)
999
996
  # @param [String] fields
1000
997
  # Selector specifying which fields to include in a partial response.
1001
998
  # @param [String] quota_user
@@ -1031,8 +1028,8 @@ module Google
1031
1028
  # using the [media API](https://developers.google.com/chat/api/reference/rest/v1/
1032
1029
  # media/download). For an example, see [Get a message attachment](https://
1033
1030
  # developers.google.com/chat/api/guides/v1/media-and-attachments/get). Requires [
1034
- # service account authentication](https://developers.google.com/chat/api/guides/
1035
- # auth/service-accounts).
1031
+ # app authentication](https://developers.google.com/chat/api/guides/auth/service-
1032
+ # accounts).
1036
1033
  # @param [String] name
1037
1034
  # Required. Resource name of the attachment, in the form `spaces/*/messages/*/
1038
1035
  # attachments/*`.
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.76.0
4
+ version: 0.77.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-11-19 00:00:00.000000000 Z
11
+ date: 2023-11-26 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.76.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.77.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: []