google-apis-chat_v1 0.119.0 → 0.121.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: 8ec78870b6ef5184bf4252e0e2d4b5c90bcb0453751db0f42b4561120c8d8951
4
- data.tar.gz: 92c3587ddb3926e1816cc41bb418655badd7f01305013fef151e755dedebf46f
3
+ metadata.gz: f7e52ed2381cbb63443971e80480fef60d7642c21cbf00596608376578380d4d
4
+ data.tar.gz: dbeb8e43101ad6030f1d6e54ec00660e57331accc5172bafee3df70520d0fc7c
5
5
  SHA512:
6
- metadata.gz: 5388ffe08dd582643bc1306c3a59abcf2f53631cbba600a7edb34c07caf6e67ab320fd2d2aa64cdd51bda9b68a973aaa2249a865df3ea9f5c3570b92d3db04f4
7
- data.tar.gz: e2ace69099c0478403edb1a99a1441f2e25cf79d25a3fef87b01d7d26441c3de408a2dd0544d3c6188597b0063cd09adec008563e07f4c0df76f71fe69493489
6
+ metadata.gz: 94ff742c1fdb30e39b55ccb5818a8b8b253838a1efff04f540b80a6cf8b4d56db677e873b8c5a6488ede183c56ab510b86cb9dae558854b687b7098f45347f23
7
+ data.tar.gz: 2337ebf8a326e69573f8d4871af1f7838ad15a360fdb831f87691e6bc034bcc4514d93874af2b120c8fb42be4c6d44a8996a11207dffeb8e3960df9db81de0cf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-chat_v1
2
2
 
3
+ ### v0.121.0 (2025-05-18)
4
+
5
+ * Regenerated from discovery document revision 20250508
6
+ * Regenerated using generator version 0.17.0
7
+
8
+ ### v0.120.0 (2025-04-13)
9
+
10
+ * Regenerated from discovery document revision 20250406
11
+
3
12
  ### v0.119.0 (2025-03-23)
4
13
 
5
14
  * Regenerated from discovery document revision 20250316
data/OVERVIEW.md CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://developers.google.com/hangouts/chat) may pro
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.7+.
86
+ This library is supported on Ruby 3.1+.
87
87
 
88
88
  Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
@@ -859,10 +859,38 @@ module Google
859
859
  end
860
860
  end
861
861
 
862
- # Represents a custom emoji.
862
+ # Represents a [custom emoji](https://support.google.com/chat/answer/12800149).
863
863
  class CustomEmoji
864
864
  include Google::Apis::Core::Hashable
865
865
 
866
+ # Optional. Immutable. User-provided name for the custom emoji, which is unique
867
+ # within the organization. Required when the custom emoji is created, output
868
+ # only otherwise. Emoji names must start and end with colons, must be lowercase
869
+ # and can only contain alphanumeric characters, hyphens, and underscores.
870
+ # Hyphens and underscores should be used to separate words and cannot be used
871
+ # consecutively. Example: `:valid-emoji-name:`
872
+ # Corresponds to the JSON property `emojiName`
873
+ # @return [String]
874
+ attr_accessor :emoji_name
875
+
876
+ # Identifier. The resource name of the custom emoji, assigned by the server.
877
+ # Format: `customEmojis/`customEmoji``
878
+ # Corresponds to the JSON property `name`
879
+ # @return [String]
880
+ attr_accessor :name
881
+
882
+ # Payload data for the custom emoji.
883
+ # Corresponds to the JSON property `payload`
884
+ # @return [Google::Apis::ChatV1::CustomEmojiPayload]
885
+ attr_accessor :payload
886
+
887
+ # Output only. A temporary image URL for the custom emoji, valid for at least 10
888
+ # minutes. Note that this is not populated in the response when the custom emoji
889
+ # is created.
890
+ # Corresponds to the JSON property `temporaryImageUri`
891
+ # @return [String]
892
+ attr_accessor :temporary_image_uri
893
+
866
894
  # Output only. Unique key for the custom emoji resource.
867
895
  # Corresponds to the JSON property `uid`
868
896
  # @return [String]
@@ -874,6 +902,10 @@ module Google
874
902
 
875
903
  # Update properties of this object
876
904
  def update!(**args)
905
+ @emoji_name = args[:emoji_name] if args.key?(:emoji_name)
906
+ @name = args[:name] if args.key?(:name)
907
+ @payload = args[:payload] if args.key?(:payload)
908
+ @temporary_image_uri = args[:temporary_image_uri] if args.key?(:temporary_image_uri)
877
909
  @uid = args[:uid] if args.key?(:uid)
878
910
  end
879
911
  end
@@ -882,7 +914,7 @@ module Google
882
914
  class CustomEmojiMetadata
883
915
  include Google::Apis::Core::Hashable
884
916
 
885
- # Represents a custom emoji.
917
+ # Represents a [custom emoji](https://support.google.com/chat/answer/12800149).
886
918
  # Corresponds to the JSON property `customEmoji`
887
919
  # @return [Google::Apis::ChatV1::CustomEmoji]
888
920
  attr_accessor :custom_emoji
@@ -897,6 +929,35 @@ module Google
897
929
  end
898
930
  end
899
931
 
932
+ # Payload data for the custom emoji.
933
+ class CustomEmojiPayload
934
+ include Google::Apis::Core::Hashable
935
+
936
+ # Required. Input only. The image used for the custom emoji. The payload must be
937
+ # under 256 KB and the dimension of the image must be square and between 64 and
938
+ # 500 pixels. The restrictions are subject to change.
939
+ # Corresponds to the JSON property `fileContent`
940
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
941
+ # @return [String]
942
+ attr_accessor :file_content
943
+
944
+ # Required. Input only. The image file name. Supported file extensions: `.png`, `
945
+ # .jpg`, `.gif`.
946
+ # Corresponds to the JSON property `filename`
947
+ # @return [String]
948
+ attr_accessor :filename
949
+
950
+ def initialize(**args)
951
+ update!(**args)
952
+ end
953
+
954
+ # Update properties of this object
955
+ def update!(**args)
956
+ @file_content = args[:file_content] if args.key?(:file_content)
957
+ @filename = args[:filename] if args.key?(:filename)
958
+ end
959
+ end
960
+
900
961
  # Date input values.
901
962
  class DateInput
902
963
  include Google::Apis::Core::Hashable
@@ -1225,7 +1286,7 @@ module Google
1225
1286
  class Emoji
1226
1287
  include Google::Apis::Core::Hashable
1227
1288
 
1228
- # Represents a custom emoji.
1289
+ # Represents a [custom emoji](https://support.google.com/chat/answer/12800149).
1229
1290
  # Corresponds to the JSON property `customEmoji`
1230
1291
  # @return [Google::Apis::ChatV1::CustomEmoji]
1231
1292
  attr_accessor :custom_emoji
@@ -3151,6 +3212,16 @@ module Google
3151
3212
  # @return [String]
3152
3213
  attr_accessor :bottom_text
3153
3214
 
3215
+ # A [Google Material Icon](https://fonts.google.com/icons), which includes over
3216
+ # 2500+ options. For example, to display a [checkbox icon](https://fonts.google.
3217
+ # com/icons?selected=Material%20Symbols%20Outlined%3Acheck_box%3AFILL%400%3Bwght%
3218
+ # 40400%3BGRAD%400%3Bopsz%4048) with customized weight and grade, write the
3219
+ # following: ``` ` "name": "check_box", "fill": true, "weight": 300, "grade": -
3220
+ # 25 ` ``` [Google Chat apps](https://developers.google.com/workspace/chat):
3221
+ # Corresponds to the JSON property `materialIcon`
3222
+ # @return [Google::Apis::ChatV1::GoogleAppsCardV1MaterialIcon]
3223
+ attr_accessor :material_icon
3224
+
3154
3225
  # Whether the item is selected by default. If the selection input only accepts
3155
3226
  # one value (such as for radio buttons or a dropdown menu), only set this field
3156
3227
  # for one item.
@@ -3159,9 +3230,7 @@ module Google
3159
3230
  attr_accessor :selected
3160
3231
  alias_method :selected?, :selected
3161
3232
 
3162
- # For multiselect menus, the URL for the icon displayed next to the item's `text`
3163
- # field. Supports PNG and JPEG files. Must be an `HTTPS` URL. For example, `
3164
- # https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png`.
3233
+ #
3165
3234
  # Corresponds to the JSON property `startIconUri`
3166
3235
  # @return [String]
3167
3236
  attr_accessor :start_icon_uri
@@ -3185,6 +3254,7 @@ module Google
3185
3254
  # Update properties of this object
3186
3255
  def update!(**args)
3187
3256
  @bottom_text = args[:bottom_text] if args.key?(:bottom_text)
3257
+ @material_icon = args[:material_icon] if args.key?(:material_icon)
3188
3258
  @selected = args[:selected] if args.key?(:selected)
3189
3259
  @start_icon_uri = args[:start_icon_uri] if args.key?(:start_icon_uri)
3190
3260
  @text = args[:text] if args.key?(:text)
@@ -4026,6 +4096,32 @@ module Google
4026
4096
  end
4027
4097
  end
4028
4098
 
4099
+ # A response to list custom emojis.
4100
+ class ListCustomEmojisResponse
4101
+ include Google::Apis::Core::Hashable
4102
+
4103
+ # Unordered list. List of custom emojis.
4104
+ # Corresponds to the JSON property `customEmojis`
4105
+ # @return [Array<Google::Apis::ChatV1::CustomEmoji>]
4106
+ attr_accessor :custom_emojis
4107
+
4108
+ # A token that you can send as `pageToken` to retrieve the next page of results.
4109
+ # If empty, there are no subsequent pages.
4110
+ # Corresponds to the JSON property `nextPageToken`
4111
+ # @return [String]
4112
+ attr_accessor :next_page_token
4113
+
4114
+ def initialize(**args)
4115
+ update!(**args)
4116
+ end
4117
+
4118
+ # Update properties of this object
4119
+ def update!(**args)
4120
+ @custom_emojis = args[:custom_emojis] if args.key?(:custom_emojis)
4121
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
4122
+ end
4123
+ end
4124
+
4029
4125
  # Response to list memberships of the space.
4030
4126
  class ListMembershipsResponse
4031
4127
  include Google::Apis::Core::Hashable
@@ -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.119.0"
19
+ GEM_VERSION = "0.121.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.16.0"
22
+ GENERATOR_VERSION = "0.17.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250316"
25
+ REVISION = "20250508"
26
26
  end
27
27
  end
28
28
  end
@@ -166,6 +166,12 @@ module Google
166
166
  include Google::Apis::Core::JsonObjectSupport
167
167
  end
168
168
 
169
+ class CustomEmojiPayload
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
169
175
  class DateInput
170
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
177
 
@@ -532,6 +538,12 @@ module Google
532
538
  include Google::Apis::Core::JsonObjectSupport
533
539
  end
534
540
 
541
+ class ListCustomEmojisResponse
542
+ class Representation < Google::Apis::Core::JsonRepresentation; end
543
+
544
+ include Google::Apis::Core::JsonObjectSupport
545
+ end
546
+
535
547
  class ListMembershipsResponse
536
548
  class Representation < Google::Apis::Core::JsonRepresentation; end
537
549
 
@@ -1118,6 +1130,11 @@ module Google
1118
1130
  class CustomEmoji
1119
1131
  # @private
1120
1132
  class Representation < Google::Apis::Core::JsonRepresentation
1133
+ property :emoji_name, as: 'emojiName'
1134
+ property :name, as: 'name'
1135
+ property :payload, as: 'payload', class: Google::Apis::ChatV1::CustomEmojiPayload, decorator: Google::Apis::ChatV1::CustomEmojiPayload::Representation
1136
+
1137
+ property :temporary_image_uri, as: 'temporaryImageUri'
1121
1138
  property :uid, as: 'uid'
1122
1139
  end
1123
1140
  end
@@ -1130,6 +1147,14 @@ module Google
1130
1147
  end
1131
1148
  end
1132
1149
 
1150
+ class CustomEmojiPayload
1151
+ # @private
1152
+ class Representation < Google::Apis::Core::JsonRepresentation
1153
+ property :file_content, :base64 => true, as: 'fileContent'
1154
+ property :filename, as: 'filename'
1155
+ end
1156
+ end
1157
+
1133
1158
  class DateInput
1134
1159
  # @private
1135
1160
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1644,6 +1669,8 @@ module Google
1644
1669
  # @private
1645
1670
  class Representation < Google::Apis::Core::JsonRepresentation
1646
1671
  property :bottom_text, as: 'bottomText'
1672
+ property :material_icon, as: 'materialIcon', class: Google::Apis::ChatV1::GoogleAppsCardV1MaterialIcon, decorator: Google::Apis::ChatV1::GoogleAppsCardV1MaterialIcon::Representation
1673
+
1647
1674
  property :selected, as: 'selected'
1648
1675
  property :start_icon_uri, as: 'startIconUri'
1649
1676
  property :text, as: 'text'
@@ -1833,6 +1860,15 @@ module Google
1833
1860
  end
1834
1861
  end
1835
1862
 
1863
+ class ListCustomEmojisResponse
1864
+ # @private
1865
+ class Representation < Google::Apis::Core::JsonRepresentation
1866
+ collection :custom_emojis, as: 'customEmojis', class: Google::Apis::ChatV1::CustomEmoji, decorator: Google::Apis::ChatV1::CustomEmoji::Representation
1867
+
1868
+ property :next_page_token, as: 'nextPageToken'
1869
+ end
1870
+ end
1871
+
1836
1872
  class ListMembershipsResponse
1837
1873
  # @private
1838
1874
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -52,6 +52,187 @@ module Google
52
52
  @batch_path = 'batch'
53
53
  end
54
54
 
55
+ # Creates a custom emoji. Custom emojis are only available for Google Workspace
56
+ # accounts, and the administrator must turn custom emojis on for the
57
+ # organization. For more information, see [Learn about custom emojis in Google
58
+ # Chat](https://support.google.com/chat/answer/12800149) and [Manage custom
59
+ # emoji permissions](https://support.google.com/a/answer/12850085). Requires [
60
+ # user authentication](https://developers.google.com/workspace/chat/authenticate-
61
+ # authorize-chat-user) with the [authorization scope](https://developers.google.
62
+ # com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.
63
+ # googleapis.com/auth/chat.customemojis`
64
+ # @param [Google::Apis::ChatV1::CustomEmoji] custom_emoji_object
65
+ # @param [String] fields
66
+ # Selector specifying which fields to include in a partial response.
67
+ # @param [String] quota_user
68
+ # Available to use for quota purposes for server-side applications. Can be any
69
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
70
+ # @param [Google::Apis::RequestOptions] options
71
+ # Request-specific options
72
+ #
73
+ # @yield [result, err] Result & error if block supplied
74
+ # @yieldparam result [Google::Apis::ChatV1::CustomEmoji] parsed result object
75
+ # @yieldparam err [StandardError] error object if request failed
76
+ #
77
+ # @return [Google::Apis::ChatV1::CustomEmoji]
78
+ #
79
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
80
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
81
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
82
+ def create_custom_emoji(custom_emoji_object = nil, fields: nil, quota_user: nil, options: nil, &block)
83
+ command = make_simple_command(:post, 'v1/customEmojis', options)
84
+ command.request_representation = Google::Apis::ChatV1::CustomEmoji::Representation
85
+ command.request_object = custom_emoji_object
86
+ command.response_representation = Google::Apis::ChatV1::CustomEmoji::Representation
87
+ command.response_class = Google::Apis::ChatV1::CustomEmoji
88
+ command.query['fields'] = fields unless fields.nil?
89
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
90
+ execute_or_queue_command(command, &block)
91
+ end
92
+
93
+ # Deletes a custom emoji. By default, users can only delete custom emoji they
94
+ # created. [Emoji managers](https://support.google.com/a/answer/12850085)
95
+ # assigned by the administrator can delete any custom emoji in the organization.
96
+ # See [Learn about custom emojis in Google Chat](https://support.google.com/chat/
97
+ # answer/12800149). Custom emojis are only available for Google Workspace
98
+ # accounts, and the administrator must turn custom emojis on for the
99
+ # organization. For more information, see [Learn about custom emojis in Google
100
+ # Chat](https://support.google.com/chat/answer/12800149) and [Manage custom
101
+ # emoji permissions](https://support.google.com/a/answer/12850085). Requires [
102
+ # user authentication](https://developers.google.com/workspace/chat/authenticate-
103
+ # authorize-chat-user) with the [authorization scope](https://developers.google.
104
+ # com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.
105
+ # googleapis.com/auth/chat.customemojis`
106
+ # @param [String] name
107
+ # Required. Resource name of the custom emoji to delete. Format: `customEmojis/`
108
+ # customEmoji`` You can use the emoji name as an alias for ``customEmoji``. For
109
+ # example, `customEmojis/:example-emoji:` where `:example-emoji:` is the emoji
110
+ # name for a custom emoji.
111
+ # @param [String] fields
112
+ # Selector specifying which fields to include in a partial response.
113
+ # @param [String] quota_user
114
+ # Available to use for quota purposes for server-side applications. Can be any
115
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
116
+ # @param [Google::Apis::RequestOptions] options
117
+ # Request-specific options
118
+ #
119
+ # @yield [result, err] Result & error if block supplied
120
+ # @yieldparam result [Google::Apis::ChatV1::Empty] parsed result object
121
+ # @yieldparam err [StandardError] error object if request failed
122
+ #
123
+ # @return [Google::Apis::ChatV1::Empty]
124
+ #
125
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
126
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
127
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
128
+ def delete_custom_emoji(name, fields: nil, quota_user: nil, options: nil, &block)
129
+ command = make_simple_command(:delete, 'v1/{+name}', options)
130
+ command.response_representation = Google::Apis::ChatV1::Empty::Representation
131
+ command.response_class = Google::Apis::ChatV1::Empty
132
+ command.params['name'] = name unless name.nil?
133
+ command.query['fields'] = fields unless fields.nil?
134
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
135
+ execute_or_queue_command(command, &block)
136
+ end
137
+
138
+ # Returns details about a custom emoji. Custom emojis are only available for
139
+ # Google Workspace accounts, and the administrator must turn custom emojis on
140
+ # for the organization. For more information, see [Learn about custom emojis in
141
+ # Google Chat](https://support.google.com/chat/answer/12800149) and [Manage
142
+ # custom emoji permissions](https://support.google.com/a/answer/12850085).
143
+ # Requires [user authentication](https://developers.google.com/workspace/chat/
144
+ # authenticate-authorize-chat-user) with one of the following [authorization
145
+ # scopes](https://developers.google.com/workspace/chat/authenticate-authorize#
146
+ # chat-api-scopes): - `https://www.googleapis.com/auth/chat.customemojis.
147
+ # readonly` - `https://www.googleapis.com/auth/chat.customemojis`
148
+ # @param [String] name
149
+ # Required. Resource name of the custom emoji. Format: `customEmojis/`
150
+ # customEmoji`` You can use the emoji name as an alias for ``customEmoji``. For
151
+ # example, `customEmojis/:example-emoji:` where `:example-emoji:` is the emoji
152
+ # name for a custom emoji.
153
+ # @param [String] fields
154
+ # Selector specifying which fields to include in a partial response.
155
+ # @param [String] quota_user
156
+ # Available to use for quota purposes for server-side applications. Can be any
157
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
158
+ # @param [Google::Apis::RequestOptions] options
159
+ # Request-specific options
160
+ #
161
+ # @yield [result, err] Result & error if block supplied
162
+ # @yieldparam result [Google::Apis::ChatV1::CustomEmoji] parsed result object
163
+ # @yieldparam err [StandardError] error object if request failed
164
+ #
165
+ # @return [Google::Apis::ChatV1::CustomEmoji]
166
+ #
167
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
168
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
169
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
170
+ def get_custom_emoji(name, fields: nil, quota_user: nil, options: nil, &block)
171
+ command = make_simple_command(:get, 'v1/{+name}', options)
172
+ command.response_representation = Google::Apis::ChatV1::CustomEmoji::Representation
173
+ command.response_class = Google::Apis::ChatV1::CustomEmoji
174
+ command.params['name'] = name unless name.nil?
175
+ command.query['fields'] = fields unless fields.nil?
176
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
177
+ execute_or_queue_command(command, &block)
178
+ end
179
+
180
+ # Lists custom emojis visible to the authenticated user. Custom emojis are only
181
+ # available for Google Workspace accounts, and the administrator must turn
182
+ # custom emojis on for the organization. For more information, see [Learn about
183
+ # custom emojis in Google Chat](https://support.google.com/chat/answer/12800149)
184
+ # and [Manage custom emoji permissions](https://support.google.com/a/answer/
185
+ # 12850085). Requires [user authentication](https://developers.google.com/
186
+ # workspace/chat/authenticate-authorize-chat-user) with one of the following [
187
+ # authorization scopes](https://developers.google.com/workspace/chat/
188
+ # authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/
189
+ # chat.customemojis.readonly` - `https://www.googleapis.com/auth/chat.
190
+ # customemojis`
191
+ # @param [String] filter
192
+ # Optional. A query filter. Supports filtering by creator. To filter by creator,
193
+ # you must specify a valid value. Currently only `creator("users/me")` and `NOT
194
+ # creator("users/me")` are accepted to filter custom emojis by whether they were
195
+ # created by the calling user or not. For example, the following query returns
196
+ # custom emojis created by the caller: ``` creator("users/me") ``` Invalid
197
+ # queries are rejected with an `INVALID_ARGUMENT` error.
198
+ # @param [Fixnum] page_size
199
+ # Optional. The maximum number of custom emojis returned. The service can return
200
+ # fewer custom emojis than this value. If unspecified, the default value is 25.
201
+ # The maximum value is 200; values above 200 are changed to 200.
202
+ # @param [String] page_token
203
+ # Optional. (If resuming from a previous query.) A page token received from a
204
+ # previous list custom emoji call. Provide this to retrieve the subsequent page.
205
+ # When paginating, the filter value should match the call that provided the page
206
+ # token. Passing a different value might lead to unexpected results.
207
+ # @param [String] fields
208
+ # Selector specifying which fields to include in a partial response.
209
+ # @param [String] quota_user
210
+ # Available to use for quota purposes for server-side applications. Can be any
211
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
212
+ # @param [Google::Apis::RequestOptions] options
213
+ # Request-specific options
214
+ #
215
+ # @yield [result, err] Result & error if block supplied
216
+ # @yieldparam result [Google::Apis::ChatV1::ListCustomEmojisResponse] parsed result object
217
+ # @yieldparam err [StandardError] error object if request failed
218
+ #
219
+ # @return [Google::Apis::ChatV1::ListCustomEmojisResponse]
220
+ #
221
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
222
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
223
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
224
+ def list_custom_emojis(filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
225
+ command = make_simple_command(:get, 'v1/customEmojis', options)
226
+ command.response_representation = Google::Apis::ChatV1::ListCustomEmojisResponse::Representation
227
+ command.response_class = Google::Apis::ChatV1::ListCustomEmojisResponse
228
+ command.query['filter'] = filter unless filter.nil?
229
+ command.query['pageSize'] = page_size unless page_size.nil?
230
+ command.query['pageToken'] = page_token unless page_token.nil?
231
+ command.query['fields'] = fields unless fields.nil?
232
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
233
+ execute_or_queue_command(command, &block)
234
+ end
235
+
55
236
  # Downloads media. Download is supported on the URI `/v1/media/`+name`?alt=media`
56
237
  # .
57
238
  # @param [String] resource_name
@@ -93,10 +274,14 @@ module Google
93
274
  # Uploads an attachment. For an example, see [Upload media as a file attachment](
94
275
  # https://developers.google.com/workspace/chat/upload-media-attachments).
95
276
  # Requires user [authentication](https://developers.google.com/workspace/chat/
96
- # authenticate-authorize-chat-user). You can upload attachments up to 200 MB.
97
- # Certain file types aren't supported. For details, see [File types blocked by
98
- # Google Chat](https://support.google.com/chat/answer/7651457?&co=GENIE.Platform%
99
- # 3DDesktop#File%20types%20blocked%20in%20Google%20Chat).
277
+ # authenticate-authorize-chat-user) with one of the following [authorization
278
+ # scopes](https://developers.google.com/workspace/chat/authenticate-authorize#
279
+ # chat-api-scopes): - `https://www.googleapis.com/auth/chat.messages.create` - `
280
+ # https://www.googleapis.com/auth/chat.messages` - `https://www.googleapis.com/
281
+ # auth/chat.import` (import mode spaces only) You can upload attachments up to
282
+ # 200 MB. Certain file types aren't supported. For details, see [File types
283
+ # blocked by Google Chat](https://support.google.com/chat/answer/7651457?&co=
284
+ # GENIE.Platform%3DDesktop#File%20types%20blocked%20in%20Google%20Chat).
100
285
  # @param [String] parent
101
286
  # Required. Resource name of the Chat space in which the attachment is uploaded.
102
287
  # Format "spaces/`space`".
@@ -142,9 +327,11 @@ module Google
142
327
 
143
328
  # Completes the [import process](https://developers.google.com/workspace/chat/
144
329
  # import-data) for the specified space and makes it visible to users. Requires [
145
- # app authentication](https://developers.google.com/workspace/chat/authenticate-
146
- # authorize-chat-app) and domain-wide delegation. For more information, see [
147
- # Authorize Google Chat apps to import data](https://developers.google.com/
330
+ # user authentication](https://developers.google.com/workspace/chat/authenticate-
331
+ # authorize-chat-user) and domain-wide delegation with the [authorization scope](
332
+ # https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-
333
+ # scopes): - `https://www.googleapis.com/auth/chat.import` For more information,
334
+ # see [Authorize Google Chat apps to import data](https://developers.google.com/
148
335
  # workspace/chat/authorize-import).
149
336
  # @param [String] name
150
337
  # Required. Resource name of the import mode space. Format: `spaces/`space``
@@ -185,13 +372,18 @@ module Google
185
372
  # authorize): - [App authentication](https://developers.google.com/workspace/
186
373
  # chat/authenticate-authorize-chat-app) with [administrator approval](https://
187
374
  # support.google.com/a?p=chat-app-auth) in [Developer Preview](https://
188
- # developers.google.com/workspace/preview) - [User authentication](https://
189
- # developers.google.com/workspace/chat/authenticate-authorize-chat-user) When
190
- # authenticating as an app, the `space.customer` field must be set in the
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
375
+ # developers.google.com/workspace/preview) and one of the following
376
+ # authorization scopes: - `https://www.googleapis.com/auth/chat.app.spaces.
377
+ # create` - `https://www.googleapis.com/auth/chat.app.spaces` - [User
378
+ # authentication](https://developers.google.com/workspace/chat/authenticate-
379
+ # authorize-chat-user) with one of the following authorization scopes: - `https:/
380
+ # /www.googleapis.com/auth/chat.spaces.create` - `https://www.googleapis.com/
381
+ # auth/chat.spaces` - `https://www.googleapis.com/auth/chat.import` (import mode
382
+ # spaces only) When authenticating as an app, the `space.customer` field must be
383
+ # set in the request. Space membership upon creation depends on whether the
384
+ # space is created in `Import mode`: * **Import mode:** No members are created. *
385
+ # **All other modes:** The calling user is added as a member. This is: * The
386
+ # app itself when using app authentication. * The human user when using user
195
387
  # authentication. If you receive the error message `ALREADY_EXISTS` when
196
388
  # creating a space, try a different `displayName`. An existing space within the
197
389
  # Google Workspace organization might already use this display name.
@@ -235,14 +427,18 @@ module Google
235
427
  # in the space—are also deleted. For an example, see [Delete a space](https://
236
428
  # developers.google.com/workspace/chat/delete-spaces). Supports the following
237
429
  # types of [authentication](https://developers.google.com/workspace/chat/
238
- # authenticate-authorize): - Developer Preview: [App authentication](https://
239
- # developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [
240
- # administrator approval](https://support.google.com/a?p=chat-app-auth).
241
- # Requires that the Chat app created the space using app authentication. - [User
242
- # authentication](https://developers.google.com/workspace/chat/authenticate-
243
- # authorize-chat-user) You can authenticate and authorize this method with
244
- # administrator privileges by setting the `use_admin_access` field in the
245
- # request.
430
+ # authenticate-authorize): - [App authentication](https://developers.google.com/
431
+ # workspace/chat/authenticate-authorize-chat-app) with [administrator approval](
432
+ # https://support.google.com/a?p=chat-app-auth) in [Developer Preview](https://
433
+ # developers.google.com/workspace/preview) and the authorization scope: - `https:
434
+ # //www.googleapis.com/auth/chat.app.delete` (only in spaces the app created) - [
435
+ # User authentication](https://developers.google.com/workspace/chat/authenticate-
436
+ # authorize-chat-user) with one of the following authorization scopes: - `https:/
437
+ # /www.googleapis.com/auth/chat.delete` - `https://www.googleapis.com/auth/chat.
438
+ # import` (import mode spaces only) - User authentication grants administrator
439
+ # privileges when an administrator account authenticates, `use_admin_access` is `
440
+ # true`, and the following authorization scope is used: - `https://www.
441
+ # googleapis.com/auth/chat.admin.delete`
246
442
  # @param [String] name
247
443
  # Required. Resource name of the space to delete. Format: `spaces/`space``
248
444
  # @param [Boolean] use_admin_access
@@ -287,12 +483,15 @@ module Google
287
483
  # authorize-chat-app), returns the direct message space between the specified
288
484
  # user and the calling Chat app. With [user authentication](https://developers.
289
485
  # google.com/workspace/chat/authenticate-authorize-chat-user), returns the
290
- # direct message space between the specified user and the authenticated user. //
486
+ # direct message space between the specified user and the authenticated user.
291
487
  # Supports the following types of [authentication](https://developers.google.com/
292
488
  # workspace/chat/authenticate-authorize): - [App authentication](https://
293
- # developers.google.com/workspace/chat/authenticate-authorize-chat-app) - [User
489
+ # developers.google.com/workspace/chat/authenticate-authorize-chat-app) with the
490
+ # authorization scope: - `https://www.googleapis.com/auth/chat.bot` - [User
294
491
  # authentication](https://developers.google.com/workspace/chat/authenticate-
295
- # authorize-chat-user)
492
+ # authorize-chat-user) with one of the following authorization scopes: - `https:/
493
+ # /www.googleapis.com/auth/chat.spaces.readonly` - `https://www.googleapis.com/
494
+ # auth/chat.spaces`
296
495
  # @param [String] name
297
496
  # Required. Resource name of the user to find direct message with. Format: `
298
497
  # users/`user``, where ``user`` is either the `id` for the [person](https://
@@ -335,10 +534,17 @@ module Google
335
534
  # https://developers.google.com/workspace/chat/get-spaces). Supports the
336
535
  # following types of [authentication](https://developers.google.com/workspace/
337
536
  # chat/authenticate-authorize): - [App authentication](https://developers.google.
338
- # com/workspace/chat/authenticate-authorize-chat-app) - [User authentication](
339
- # https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
340
- # You can authenticate and authorize this method with administrator privileges
341
- # by setting the `use_admin_access` field in the request.
537
+ # com/workspace/chat/authenticate-authorize-chat-app) with one of the following
538
+ # authorization scopes: - `https://www.googleapis.com/auth/chat.bot` - `https://
539
+ # www.googleapis.com/auth/chat.app.spaces` with [administrator approval](https://
540
+ # support.google.com/a?p=chat-app-auth) - [User authentication](https://
541
+ # developers.google.com/workspace/chat/authenticate-authorize-chat-user) with
542
+ # one of the following authorization scopes: - `https://www.googleapis.com/auth/
543
+ # chat.spaces.readonly` - `https://www.googleapis.com/auth/chat.spaces` - User
544
+ # authentication grants administrator privileges when an administrator account
545
+ # authenticates, `use_admin_access` is `true`, and one of the following
546
+ # authorization scopes is used: - `https://www.googleapis.com/auth/chat.admin.
547
+ # spaces.readonly` - `https://www.googleapis.com/auth/chat.admin.spaces`
342
548
  # @param [String] name
343
549
  # Required. Resource name of the space, in the form `spaces/`space``. Format: `
344
550
  # spaces/`space``
@@ -382,11 +588,14 @@ module Google
382
588
  # developers.google.com/workspace/chat/list-spaces). Supports the following
383
589
  # types of [authentication](https://developers.google.com/workspace/chat/
384
590
  # authenticate-authorize): - [App authentication](https://developers.google.com/
385
- # workspace/chat/authenticate-authorize-chat-app) - [User authentication](https:/
386
- # /developers.google.com/workspace/chat/authenticate-authorize-chat-user) To
387
- # list all named spaces by Google Workspace organization, use the [`spaces.
388
- # search()`](https://developers.google.com/workspace/chat/api/reference/rest/v1/
389
- # spaces/search) method using Workspace administrator privileges instead.
591
+ # workspace/chat/authenticate-authorize-chat-app) with the authorization scope: -
592
+ # `https://www.googleapis.com/auth/chat.bot` - [User authentication](https://
593
+ # developers.google.com/workspace/chat/authenticate-authorize-chat-user) with
594
+ # one of the following authorization scopes: - `https://www.googleapis.com/auth/
595
+ # chat.spaces.readonly` - `https://www.googleapis.com/auth/chat.spaces` To list
596
+ # all named spaces by Google Workspace organization, use the [`spaces.search()`](
597
+ # https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/
598
+ # search) method using Workspace administrator privileges instead.
390
599
  # @param [String] filter
391
600
  # Optional. A query filter. You can filter spaces by the space type ([`
392
601
  # space_type`](https://developers.google.com/workspace/chat/api/reference/rest/
@@ -444,10 +653,15 @@ module Google
444
653
  # authentication](https://developers.google.com/workspace/chat/authenticate-
445
654
  # authorize-chat-app) with [administrator approval](https://support.google.com/a?
446
655
  # p=chat-app-auth) in [Developer Preview](https://developers.google.com/
447
- # workspace/preview) - [User authentication](https://developers.google.com/
448
- # workspace/chat/authenticate-authorize-chat-user) You can authenticate and
449
- # authorize this method with administrator privileges by setting the `
450
- # use_admin_access` field in the request.
656
+ # workspace/preview) and one of the following authorization scopes: - `https://
657
+ # www.googleapis.com/auth/chat.app.spaces` - [User authentication](https://
658
+ # developers.google.com/workspace/chat/authenticate-authorize-chat-user) with
659
+ # one of the following authorization scopes: - `https://www.googleapis.com/auth/
660
+ # chat.spaces` - `https://www.googleapis.com/auth/chat.import` (import mode
661
+ # spaces only) - User authentication grants administrator privileges when an
662
+ # administrator account authenticates, `use_admin_access` is `true`, and the
663
+ # following authorization scopes is used: - `https://www.googleapis.com/auth/
664
+ # chat.admin.spaces`
451
665
  # @param [String] name
452
666
  # Identifier. Resource name of the space. Format: `spaces/`space`` Where ``space`
453
667
  # ` represents the system-assigned ID for the space. You can obtain the space ID
@@ -538,8 +752,11 @@ module Google
538
752
  # Returns a list of spaces in a Google Workspace organization based on an
539
753
  # administrator's search. Requires [user authentication with administrator
540
754
  # privileges](https://developers.google.com/workspace/chat/authenticate-
541
- # authorize-chat-user#admin-privileges). In the request, set `use_admin_access`
542
- # to `true`.
755
+ # authorize-chat-user#admin-privileges) and one of the following [authorization
756
+ # scopes](https://developers.google.com/workspace/chat/authenticate-authorize#
757
+ # chat-api-scopes): - `https://www.googleapis.com/auth/chat.admin.spaces.
758
+ # readonly` - `https://www.googleapis.com/auth/chat.admin.spaces` In the request,
759
+ # set `use_admin_access` to `true`.
543
760
  # @param [String] order_by
544
761
  # Optional. How the list of spaces is ordered. Supported attributes to order by
545
762
  # are: - `membership_count.joined_direct_human_user_count` — Denotes the count
@@ -672,7 +889,11 @@ module Google
672
889
  # error message `ALREADY_EXISTS` when setting up a space, try a different `
673
890
  # displayName`. An existing space within the Google Workspace organization might
674
891
  # already use this display name. Requires [user authentication](https://
675
- # developers.google.com/workspace/chat/authenticate-authorize-chat-user).
892
+ # developers.google.com/workspace/chat/authenticate-authorize-chat-user) with
893
+ # one of the following [authorization scopes](https://developers.google.com/
894
+ # workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.
895
+ # googleapis.com/auth/chat.spaces.create` - `https://www.googleapis.com/auth/
896
+ # chat.spaces`
676
897
  # @param [Google::Apis::ChatV1::SetUpSpaceRequest] set_up_space_request_object
677
898
  # @param [String] fields
678
899
  # Selector specifying which fields to include in a partial response.
@@ -711,13 +932,19 @@ module Google
711
932
  # google.com/workspace/chat/authenticate-authorize): - [App authentication](
712
933
  # https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
713
934
  # with [administrator approval](https://support.google.com/a?p=chat-app-auth) in
714
- # [Developer Preview](https://developers.google.com/workspace/preview) - [User
715
- # authentication](https://developers.google.com/workspace/chat/authenticate-
716
- # authorize-chat-user) You can authenticate and authorize this method with
717
- # administrator privileges by setting the `use_admin_access` field in the
718
- # request. For example usage, see: - [Invite or add a user to a space](https://
719
- # developers.google.com/workspace/chat/create-members#create-user-membership). -
720
- # [Invite or add a Google Group to a space](https://developers.google.com/
935
+ # [Developer Preview](https://developers.google.com/workspace/preview) and the
936
+ # authorization scope: - `https://www.googleapis.com/auth/chat.app.memberships` -
937
+ # [User authentication](https://developers.google.com/workspace/chat/
938
+ # authenticate-authorize-chat-user) with one of the following authorization
939
+ # scopes: - `https://www.googleapis.com/auth/chat.memberships` - `https://www.
940
+ # googleapis.com/auth/chat.memberships.app` (to add the calling app to the space)
941
+ # - `https://www.googleapis.com/auth/chat.import` (import mode spaces only) -
942
+ # User authentication grants administrator privileges when an administrator
943
+ # account authenticates, `use_admin_access` is `true`, and the following
944
+ # authorization scope is used: - `https://www.googleapis.com/auth/chat.admin.
945
+ # memberships` For example usage, see: - [Invite or add a user to a space](https:
946
+ # //developers.google.com/workspace/chat/create-members#create-user-membership).
947
+ # - [Invite or add a Google Group to a space](https://developers.google.com/
721
948
  # workspace/chat/create-members#create-group-membership). - [Add the Chat app to
722
949
  # a space](https://developers.google.com/workspace/chat/create-members#create-
723
950
  # membership-calling-api).
@@ -770,21 +997,33 @@ module Google
770
997
  # workspace/chat/authenticate-authorize): - [App authentication](https://
771
998
  # developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [
772
999
  # administrator approval](https://support.google.com/a?p=chat-app-auth) in [
773
- # Developer Preview](https://developers.google.com/workspace/preview) - [User
774
- # authentication](https://developers.google.com/workspace/chat/authenticate-
775
- # authorize-chat-user) You can authenticate and authorize this method with
776
- # administrator privileges by setting the `use_admin_access` field in the
777
- # request.
1000
+ # Developer Preview](https://developers.google.com/workspace/preview) and the
1001
+ # authorization scope: - `https://www.googleapis.com/auth/chat.app.memberships` -
1002
+ # [User authentication](https://developers.google.com/workspace/chat/
1003
+ # authenticate-authorize-chat-user) with one of the following authorization
1004
+ # scopes: - `https://www.googleapis.com/auth/chat.memberships` - `https://www.
1005
+ # googleapis.com/auth/chat.memberships.app` (to remove the calling app from the
1006
+ # space) - `https://www.googleapis.com/auth/chat.import` (import mode spaces
1007
+ # only) - User authentication grants administrator privileges when an
1008
+ # administrator account authenticates, `use_admin_access` is `true`, and the
1009
+ # following authorization scope is used: - `https://www.googleapis.com/auth/chat.
1010
+ # admin.memberships` To delete memberships for space managers, the requester
1011
+ # must be a space manager. If you're using [app authentication](https://
1012
+ # developers.google.com/workspace/chat/authenticate-authorize-chat-app) the
1013
+ # application must be the space creator.
778
1014
  # @param [String] name
779
1015
  # Required. Resource name of the membership to delete. Chat apps can delete
780
1016
  # human users' or their own memberships. Chat apps can't delete other apps'
781
1017
  # memberships. When deleting a human membership, requires the `chat.memberships`
782
- # scope and `spaces/`space`/members/`member`` format. You can use the email as
783
- # an alias for ``member``. For example, `spaces/`space`/members/example@gmail.
784
- # com` where `example@gmail.com` is the email of the Google Chat user. When
785
- # deleting an app membership, requires the `chat.memberships.app` scope and `
786
- # spaces/`space`/members/app` format. Format: `spaces/`space`/members/`member``
787
- # or `spaces/`space`/members/app`.
1018
+ # scope with [user authentication](https://developers.google.com/workspace/chat/
1019
+ # authenticate-authorize-chat-user) or the `chat.memberships.app` scope with [
1020
+ # app authentication](https://developers.google.com/workspace/chat/authenticate-
1021
+ # authorize-chat-app) and the `spaces/`space`/members/`member`` format. You can
1022
+ # use the email as an alias for ``member``. For example, `spaces/`space`/members/
1023
+ # example@gmail.com` where `example@gmail.com` is the email of the Google Chat
1024
+ # user. When deleting an app membership, requires the `chat.memberships.app`
1025
+ # scope and `spaces/`space`/members/app` format. Format: `spaces/`space`/members/
1026
+ # `member`` or `spaces/`space`/members/app`.
788
1027
  # @param [Boolean] use_admin_access
789
1028
  # Optional. When `true`, the method runs using the user's Google Workspace
790
1029
  # administrator privileges. The calling user must be a Google Workspace
@@ -826,10 +1065,16 @@ module Google
826
1065
  # workspace/chat/get-members). Supports the following types of [authentication](
827
1066
  # https://developers.google.com/workspace/chat/authenticate-authorize): - [App
828
1067
  # authentication](https://developers.google.com/workspace/chat/authenticate-
829
- # authorize-chat-app) - [User authentication](https://developers.google.com/
830
- # workspace/chat/authenticate-authorize-chat-user) You can authenticate and
831
- # authorize this method with administrator privileges by setting the `
832
- # use_admin_access` field in the request.
1068
+ # authorize-chat-app) with the authorization scope: - `https://www.googleapis.
1069
+ # com/auth/chat.bot` - [User authentication](https://developers.google.com/
1070
+ # workspace/chat/authenticate-authorize-chat-user) with one of the following
1071
+ # authorization scopes: - `https://www.googleapis.com/auth/chat.memberships.
1072
+ # readonly` - `https://www.googleapis.com/auth/chat.memberships` - User
1073
+ # authentication grants administrator privileges when an administrator account
1074
+ # authenticates, `use_admin_access` is `true`, and one of the following
1075
+ # authorization scopes is used: - `https://www.googleapis.com/auth/chat.admin.
1076
+ # memberships.readonly` - `https://www.googleapis.com/auth/chat.admin.
1077
+ # memberships`
833
1078
  # @param [String] name
834
1079
  # Required. Resource name of the membership to retrieve. To get the app's own
835
1080
  # membership [by using user authentication](https://developers.google.com/
@@ -884,10 +1129,17 @@ module Google
884
1129
  # in spaces that the authenticated user has access to. Supports the following
885
1130
  # types of [authentication](https://developers.google.com/workspace/chat/
886
1131
  # authenticate-authorize): - [App authentication](https://developers.google.com/
887
- # workspace/chat/authenticate-authorize-chat-app) - [User authentication](https:/
888
- # /developers.google.com/workspace/chat/authenticate-authorize-chat-user) You
889
- # can authenticate and authorize this method with administrator privileges by
890
- # setting the `use_admin_access` field in the request.
1132
+ # workspace/chat/authenticate-authorize-chat-app) with the authorization scope: -
1133
+ # `https://www.googleapis.com/auth/chat.bot` - [User authentication](https://
1134
+ # developers.google.com/workspace/chat/authenticate-authorize-chat-user) with
1135
+ # one of the following authorization scopes: - `https://www.googleapis.com/auth/
1136
+ # chat.memberships.readonly` - `https://www.googleapis.com/auth/chat.memberships`
1137
+ # - `https://www.googleapis.com/auth/chat.import` (import mode spaces only) -
1138
+ # User authentication grants administrator privileges when an administrator
1139
+ # account authenticates, `use_admin_access` is `true`, and one of the following
1140
+ # authorization scopes is used: - `https://www.googleapis.com/auth/chat.admin.
1141
+ # memberships.readonly` - `https://www.googleapis.com/auth/chat.admin.
1142
+ # memberships`
891
1143
  # @param [String] parent
892
1144
  # Required. The resource name of the space for which to fetch a membership list.
893
1145
  # Format: spaces/`space`
@@ -973,14 +1225,19 @@ module Google
973
1225
  # Updates a membership. For an example, see [Update a user's membership in a
974
1226
  # space](https://developers.google.com/workspace/chat/update-members). Supports
975
1227
  # the following types of [authentication](https://developers.google.com/
976
- # workspace/chat/authenticate-authorize): - Developer Preview: [App
977
- # authentication](https://developers.google.com/workspace/chat/authenticate-
978
- # authorize-chat-app) with [administrator approval](https://support.google.com/a?
979
- # p=chat-app-auth). Requires that the Chat app created the space using app
980
- # authentication. - [User authentication](https://developers.google.com/
981
- # workspace/chat/authenticate-authorize-chat-user) You can authenticate and
982
- # authorize this method with administrator privileges by setting the `
983
- # use_admin_access` field in the request.
1228
+ # workspace/chat/authenticate-authorize): - [App authentication](https://
1229
+ # developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [
1230
+ # administrator approval](https://support.google.com/a?p=chat-app-auth) in [
1231
+ # Developer Preview](https://developers.google.com/workspace/preview) and the
1232
+ # authorization scope: - `https://www.googleapis.com/auth/chat.app.memberships` (
1233
+ # only in spaces the app created) - [User authentication](https://developers.
1234
+ # google.com/workspace/chat/authenticate-authorize-chat-user) with one of the
1235
+ # following authorization scopes: - `https://www.googleapis.com/auth/chat.
1236
+ # memberships` - `https://www.googleapis.com/auth/chat.import` (import mode
1237
+ # spaces only) - User authentication grants administrator privileges when an
1238
+ # administrator account authenticates, `use_admin_access` is `true`, and the
1239
+ # following authorization scope is used: - `https://www.googleapis.com/auth/chat.
1240
+ # admin.memberships`
984
1241
  # @param [String] name
985
1242
  # Identifier. Resource name of the membership, assigned by the server. Format: `
986
1243
  # spaces/`space`/members/`member``
@@ -1027,26 +1284,31 @@ module Google
1027
1284
  end
1028
1285
 
1029
1286
  # Creates a message in a Google Chat space. For an example, see [Send a message](
1030
- # https://developers.google.com/workspace/chat/create-messages). The `create()`
1031
- # method requires either [user authentication](https://developers.google.com/
1032
- # workspace/chat/authenticate-authorize-chat-user) or [app authentication](https:
1033
- # //developers.google.com/workspace/chat/authorize-import). Chat attributes the
1034
- # message sender differently depending on the type of authentication that you
1035
- # use in your request. The following image shows how Chat attributes a message
1036
- # when you use app authentication. Chat displays the Chat app as the message
1037
- # sender. The content of the message can contain text (`text`), cards (`cardsV2`)
1038
- # , and accessory widgets (`accessoryWidgets`). ![Message sent with app
1039
- # authentication](https://developers.google.com/workspace/chat/images/message-
1040
- # app-auth.svg) The following image shows how Chat attributes a message when you
1041
- # use user authentication. Chat displays the user as the message sender and
1042
- # attributes the Chat app to the message by displaying its name. The content of
1043
- # message can only contain text (`text`). ![Message sent with user
1044
- # authentication](https://developers.google.com/workspace/chat/images/message-
1045
- # user-auth.svg) The maximum message size, including the message contents, is 32,
1046
- # 000 bytes. For [webhook](https://developers.google.com/workspace/chat/
1047
- # quickstart/webhooks) requests, the response doesn't contain the full message.
1048
- # The response only populates the `name` and `thread.name` fields in addition to
1049
- # the information that was in the request.
1287
+ # https://developers.google.com/workspace/chat/create-messages). Supports the
1288
+ # following types of [authentication](https://developers.google.com/workspace/
1289
+ # chat/authenticate-authorize): - [App authentication](https://developers.google.
1290
+ # com/workspace/chat/authenticate-authorize-chat-app) with the authorization
1291
+ # scope: - `https://www.googleapis.com/auth/chat.bot` - [User authentication](
1292
+ # https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
1293
+ # with one of the following authorization scopes: - `https://www.googleapis.com/
1294
+ # auth/chat.messages.create` - `https://www.googleapis.com/auth/chat.messages` -
1295
+ # `https://www.googleapis.com/auth/chat.import` (import mode spaces only) Chat
1296
+ # attributes the message sender differently depending on the type of
1297
+ # authentication that you use in your request. The following image shows how
1298
+ # Chat attributes a message when you use app authentication. Chat displays the
1299
+ # Chat app as the message sender. The content of the message can contain text (`
1300
+ # text`), cards (`cardsV2`), and accessory widgets (`accessoryWidgets`). ![
1301
+ # Message sent with app authentication](https://developers.google.com/workspace/
1302
+ # chat/images/message-app-auth.svg) The following image shows how Chat
1303
+ # attributes a message when you use user authentication. Chat displays the user
1304
+ # as the message sender and attributes the Chat app to the message by displaying
1305
+ # its name. The content of message can only contain text (`text`). ![Message
1306
+ # sent with user authentication](https://developers.google.com/workspace/chat/
1307
+ # images/message-user-auth.svg) The maximum message size, including the message
1308
+ # contents, is 32,000 bytes. For [webhook](https://developers.google.com/
1309
+ # workspace/chat/quickstart/webhooks) requests, the response doesn't contain the
1310
+ # full message. The response only populates the `name` and `thread.name` fields
1311
+ # in addition to the information that was in the request.
1050
1312
  # @param [String] parent
1051
1313
  # Required. The resource name of the space in which to create a message. Format:
1052
1314
  # `spaces/`space``
@@ -1113,10 +1375,13 @@ module Google
1113
1375
  # google.com/workspace/chat/delete-messages). Supports the following types of [
1114
1376
  # authentication](https://developers.google.com/workspace/chat/authenticate-
1115
1377
  # authorize): - [App authentication](https://developers.google.com/workspace/
1116
- # chat/authenticate-authorize-chat-app) - [User authentication](https://
1117
- # developers.google.com/workspace/chat/authenticate-authorize-chat-user) When
1118
- # using app authentication, requests can only delete messages created by the
1119
- # calling Chat app.
1378
+ # chat/authenticate-authorize-chat-app) with the authorization scope: - `https://
1379
+ # www.googleapis.com/auth/chat.bot` - [User authentication](https://developers.
1380
+ # google.com/workspace/chat/authenticate-authorize-chat-user) with one of the
1381
+ # following authorization scopes: - `https://www.googleapis.com/auth/chat.
1382
+ # messages` - `https://www.googleapis.com/auth/chat.import` (import mode spaces
1383
+ # only) When using app authentication, requests can only delete messages created
1384
+ # by the calling Chat app.
1120
1385
  # @param [String] name
1121
1386
  # Required. Resource name of the message. Format: `spaces/`space`/messages/`
1122
1387
  # message`` If you've set a custom ID for your message, you can use the value
@@ -1162,9 +1427,12 @@ module Google
1162
1427
  # message](https://developers.google.com/workspace/chat/get-messages). Supports
1163
1428
  # the following types of [authentication](https://developers.google.com/
1164
1429
  # workspace/chat/authenticate-authorize): - [App authentication](https://
1165
- # developers.google.com/workspace/chat/authenticate-authorize-chat-app) - [User
1430
+ # developers.google.com/workspace/chat/authenticate-authorize-chat-app) with the
1431
+ # authorization scope: - `https://www.googleapis.com/auth/chat.bot` - [User
1166
1432
  # authentication](https://developers.google.com/workspace/chat/authenticate-
1167
- # authorize-chat-user) Note: Might return a message from a blocked member or
1433
+ # authorize-chat-user) with one of the following authorization scopes: - `https:/
1434
+ # /www.googleapis.com/auth/chat.messages.readonly` - `https://www.googleapis.com/
1435
+ # auth/chat.messages` Note: Might return a message from a blocked member or
1168
1436
  # space.
1169
1437
  # @param [String] name
1170
1438
  # Required. Resource name of the message. Format: `spaces/`space`/messages/`
@@ -1205,7 +1473,11 @@ module Google
1205
1473
  # the response contains an empty JSON object, ````. For an example, see [List
1206
1474
  # messages](https://developers.google.com/workspace/chat/api/guides/v1/messages/
1207
1475
  # list). Requires [user authentication](https://developers.google.com/workspace/
1208
- # chat/authenticate-authorize-chat-user).
1476
+ # chat/authenticate-authorize-chat-user) with one of the following [
1477
+ # authorization scopes](https://developers.google.com/workspace/chat/
1478
+ # authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/
1479
+ # chat.messages.readonly` - `https://www.googleapis.com/auth/chat.messages` - `
1480
+ # https://www.googleapis.com/auth/chat.import` (import mode spaces only)
1209
1481
  # @param [String] parent
1210
1482
  # Required. The resource name of the space to list messages from. Format: `
1211
1483
  # spaces/`space``
@@ -1285,10 +1557,13 @@ module Google
1285
1557
  # see [Update a message](https://developers.google.com/workspace/chat/update-
1286
1558
  # messages). Supports the following types of [authentication](https://developers.
1287
1559
  # google.com/workspace/chat/authenticate-authorize): - [App authentication](
1288
- # https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) -
1289
- # [User authentication](https://developers.google.com/workspace/chat/
1290
- # authenticate-authorize-chat-user) When using app authentication, requests can
1291
- # only update messages created by the calling Chat app.
1560
+ # https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
1561
+ # with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - [
1562
+ # User authentication](https://developers.google.com/workspace/chat/authenticate-
1563
+ # authorize-chat-user) with one of the following authorization scopes: - `https:/
1564
+ # /www.googleapis.com/auth/chat.messages` - `https://www.googleapis.com/auth/
1565
+ # chat.import` (import mode spaces only) When using app authentication, requests
1566
+ # can only update messages created by the calling Chat app.
1292
1567
  # @param [String] name
1293
1568
  # Identifier. Resource name of the message. Format: `spaces/`space`/messages/`
1294
1569
  # message`` Where ``space`` is the ID of the space where the message is posted
@@ -1349,10 +1624,13 @@ module Google
1349
1624
  # see [Update a message](https://developers.google.com/workspace/chat/update-
1350
1625
  # messages). Supports the following types of [authentication](https://developers.
1351
1626
  # google.com/workspace/chat/authenticate-authorize): - [App authentication](
1352
- # https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) -
1353
- # [User authentication](https://developers.google.com/workspace/chat/
1354
- # authenticate-authorize-chat-user) When using app authentication, requests can
1355
- # only update messages created by the calling Chat app.
1627
+ # https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
1628
+ # with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - [
1629
+ # User authentication](https://developers.google.com/workspace/chat/authenticate-
1630
+ # authorize-chat-user) with one of the following authorization scopes: - `https:/
1631
+ # /www.googleapis.com/auth/chat.messages` - `https://www.googleapis.com/auth/
1632
+ # chat.import` (import mode spaces only) When using app authentication, requests
1633
+ # can only update messages created by the calling Chat app.
1356
1634
  # @param [String] name
1357
1635
  # Identifier. Resource name of the message. Format: `spaces/`space`/messages/`
1358
1636
  # message`` Where ``space`` is the ID of the space where the message is posted
@@ -1412,7 +1690,9 @@ module Google
1412
1690
  # reference/rest/v1/media/download). For an example, see [Get metadata about a
1413
1691
  # message attachment](https://developers.google.com/workspace/chat/get-media-
1414
1692
  # attachments). Requires [app authentication](https://developers.google.com/
1415
- # workspace/chat/authenticate-authorize-chat-app).
1693
+ # workspace/chat/authenticate-authorize-chat-app) with the [authorization scope](
1694
+ # https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-
1695
+ # scopes): - `https://www.googleapis.com/auth/chat.bot`
1416
1696
  # @param [String] name
1417
1697
  # Required. Resource name of the attachment, in the form `spaces/`space`/
1418
1698
  # messages/`message`/attachments/`attachment``.
@@ -1446,7 +1726,12 @@ module Google
1446
1726
  # Creates a reaction and adds it to a message. For an example, see [Add a
1447
1727
  # reaction to a message](https://developers.google.com/workspace/chat/create-
1448
1728
  # reactions). Requires [user authentication](https://developers.google.com/
1449
- # workspace/chat/authenticate-authorize-chat-user).
1729
+ # workspace/chat/authenticate-authorize-chat-user) with one of the following [
1730
+ # authorization scopes](https://developers.google.com/workspace/chat/
1731
+ # authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/
1732
+ # chat.messages.reactions.create` - `https://www.googleapis.com/auth/chat.
1733
+ # messages.reactions` - `https://www.googleapis.com/auth/chat.messages` - `https:
1734
+ # //www.googleapis.com/auth/chat.import` (import mode spaces only)
1450
1735
  # @param [String] parent
1451
1736
  # Required. The message where the reaction is created. Format: `spaces/`space`/
1452
1737
  # messages/`message``
@@ -1483,7 +1768,11 @@ module Google
1483
1768
  # Deletes a reaction to a message. For an example, see [Delete a reaction](https:
1484
1769
  # //developers.google.com/workspace/chat/delete-reactions). Requires [user
1485
1770
  # authentication](https://developers.google.com/workspace/chat/authenticate-
1486
- # authorize-chat-user).
1771
+ # authorize-chat-user) with one of the following [authorization scopes](https://
1772
+ # developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): -
1773
+ # `https://www.googleapis.com/auth/chat.messages.reactions` - `https://www.
1774
+ # googleapis.com/auth/chat.messages` - `https://www.googleapis.com/auth/chat.
1775
+ # import` (import mode spaces only)
1487
1776
  # @param [String] name
1488
1777
  # Required. Name of the reaction to delete. Format: `spaces/`space`/messages/`
1489
1778
  # message`/reactions/`reaction``
@@ -1517,7 +1806,12 @@ module Google
1517
1806
  # Lists reactions to a message. For an example, see [List reactions for a
1518
1807
  # message](https://developers.google.com/workspace/chat/list-reactions).
1519
1808
  # Requires [user authentication](https://developers.google.com/workspace/chat/
1520
- # authenticate-authorize-chat-user).
1809
+ # authenticate-authorize-chat-user) with one of the following [authorization
1810
+ # scopes](https://developers.google.com/workspace/chat/authenticate-authorize#
1811
+ # chat-api-scopes): - `https://www.googleapis.com/auth/chat.messages.reactions.
1812
+ # readonly` - `https://www.googleapis.com/auth/chat.messages.reactions` - `https:
1813
+ # //www.googleapis.com/auth/chat.messages.readonly` - `https://www.googleapis.
1814
+ # com/auth/chat.messages`
1521
1815
  # @param [String] parent
1522
1816
  # Required. The message users reacted to. Format: `spaces/`space`/messages/`
1523
1817
  # message``
@@ -1541,7 +1835,7 @@ module Google
1541
1835
  # emoji.unicode = "🙂" OR user.name = "users/`user`" emoji.unicode = "🙂" OR emoji.
1542
1836
  # custom_emoji.uid = "`uid`" OR user.name = "users/`user`" emoji.unicode = "🙂"
1543
1837
  # OR emoji.custom_emoji.uid = "`uid`" AND user.name = "users/`user`" ``` Invalid
1544
- # queries are rejected by the server with an `INVALID_ARGUMENT` error.
1838
+ # queries are rejected with an `INVALID_ARGUMENT` error.
1545
1839
  # @param [Fixnum] page_size
1546
1840
  # Optional. The maximum number of reactions returned. The service can return
1547
1841
  # fewer reactions than this value. If unspecified, the default value is 25. The
@@ -1589,7 +1883,15 @@ module Google
1589
1883
  # Message` resource in the event payload. Note: The `permissionSettings` field
1590
1884
  # is not returned in the Space object of the Space event data for this request.
1591
1885
  # Requires [user authentication](https://developers.google.com/workspace/chat/
1592
- # authenticate-authorize-chat-user). To get an event, the authenticated user
1886
+ # authenticate-authorize-chat-user) with an [authorization scope](https://
1887
+ # developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes)
1888
+ # appropriate for reading the requested data: - `https://www.googleapis.com/auth/
1889
+ # chat.spaces.readonly` - `https://www.googleapis.com/auth/chat.spaces` - `https:
1890
+ # //www.googleapis.com/auth/chat.messages.readonly` - `https://www.googleapis.
1891
+ # com/auth/chat.messages` - `https://www.googleapis.com/auth/chat.messages.
1892
+ # reactions.readonly` - `https://www.googleapis.com/auth/chat.messages.reactions`
1893
+ # - `https://www.googleapis.com/auth/chat.memberships.readonly` - `https://www.
1894
+ # googleapis.com/auth/chat.memberships` To get an event, the authenticated user
1593
1895
  # must be a member of the space. For an example, see [Get details about an event
1594
1896
  # from a Google Chat space](https://developers.google.com/workspace/chat/get-
1595
1897
  # space-event).
@@ -1630,10 +1932,18 @@ module Google
1630
1932
  # returns `Membership` resources that contain the latest membership details. If
1631
1933
  # new members were removed during the requested period, the event payload
1632
1934
  # contains an empty `Membership` resource. Requires [user authentication](https:/
1633
- # /developers.google.com/workspace/chat/authenticate-authorize-chat-user). To
1634
- # list events, the authenticated user must be a member of the space. For an
1635
- # example, see [List events from a Google Chat space](https://developers.google.
1636
- # com/workspace/chat/list-space-events).
1935
+ # /developers.google.com/workspace/chat/authenticate-authorize-chat-user) with
1936
+ # an [authorization scope](https://developers.google.com/workspace/chat/
1937
+ # authenticate-authorize#chat-api-scopes) appropriate for reading the requested
1938
+ # data: - `https://www.googleapis.com/auth/chat.spaces.readonly` - `https://www.
1939
+ # googleapis.com/auth/chat.spaces` - `https://www.googleapis.com/auth/chat.
1940
+ # messages.readonly` - `https://www.googleapis.com/auth/chat.messages` - `https:/
1941
+ # /www.googleapis.com/auth/chat.messages.reactions.readonly` - `https://www.
1942
+ # googleapis.com/auth/chat.messages.reactions` - `https://www.googleapis.com/
1943
+ # auth/chat.memberships.readonly` - `https://www.googleapis.com/auth/chat.
1944
+ # memberships` To list events, the authenticated user must be a member of the
1945
+ # space. For an example, see [List events from a Google Chat space](https://
1946
+ # developers.google.com/workspace/chat/list-space-events).
1637
1947
  # @param [String] parent
1638
1948
  # Required. Resource name of the [Google Chat space](https://developers.google.
1639
1949
  # com/workspace/chat/api/reference/rest/v1/spaces) where the events occurred.
@@ -1708,7 +2018,11 @@ module Google
1708
2018
  # read and unread messages. For an example, see [Get details about a user's
1709
2019
  # space read state](https://developers.google.com/workspace/chat/get-space-read-
1710
2020
  # state). Requires [user authentication](https://developers.google.com/workspace/
1711
- # chat/authenticate-authorize-chat-user).
2021
+ # chat/authenticate-authorize-chat-user) with one of the following [
2022
+ # authorization scopes](https://developers.google.com/workspace/chat/
2023
+ # authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/
2024
+ # chat.users.readstate.readonly` - `https://www.googleapis.com/auth/chat.users.
2025
+ # readstate`
1712
2026
  # @param [String] name
1713
2027
  # Required. Resource name of the space read state to retrieve. Only supports
1714
2028
  # getting read state for the calling user. To refer to the calling user, set one
@@ -1748,7 +2062,9 @@ module Google
1748
2062
  # messages. For an example, see [Update a user's space read state](https://
1749
2063
  # developers.google.com/workspace/chat/update-space-read-state). Requires [user
1750
2064
  # authentication](https://developers.google.com/workspace/chat/authenticate-
1751
- # authorize-chat-user).
2065
+ # authorize-chat-user) with the [authorization scope](https://developers.google.
2066
+ # com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.
2067
+ # googleapis.com/auth/chat.users.readstate`
1752
2068
  # @param [String] name
1753
2069
  # Resource name of the space read state. Format: `users/`user`/spaces/`space`/
1754
2070
  # spaceReadState`
@@ -1795,7 +2111,10 @@ module Google
1795
2111
  # Gets the space notification setting. For an example, see [Get the caller's
1796
2112
  # space notification setting](https://developers.google.com/workspace/chat/get-
1797
2113
  # space-notification-setting). Requires [user authentication](https://developers.
1798
- # google.com/workspace/chat/authenticate-authorize-chat-user).
2114
+ # google.com/workspace/chat/authenticate-authorize-chat-user) with the [
2115
+ # authorization scope](https://developers.google.com/workspace/chat/authenticate-
2116
+ # authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.users.
2117
+ # spacesettings`
1799
2118
  # @param [String] name
1800
2119
  # Required. Format: users/`user`/spaces/`space`/spaceNotificationSetting - `
1801
2120
  # users/me/spaces/`space`/spaceNotificationSetting`, OR - `users/user@example.
@@ -1832,7 +2151,10 @@ module Google
1832
2151
  # Updates the space notification setting. For an example, see [Update the caller'
1833
2152
  # s space notification setting](https://developers.google.com/workspace/chat/
1834
2153
  # update-space-notification-setting). Requires [user authentication](https://
1835
- # developers.google.com/workspace/chat/authenticate-authorize-chat-user).
2154
+ # developers.google.com/workspace/chat/authenticate-authorize-chat-user) with
2155
+ # the [authorization scope](https://developers.google.com/workspace/chat/
2156
+ # authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/
2157
+ # chat.users.spacesettings`
1836
2158
  # @param [String] name
1837
2159
  # Identifier. The resource name of the space notification setting. Format: `
1838
2160
  # users/`user`/spaces/`space`/spaceNotificationSetting`.
@@ -1873,7 +2195,11 @@ module Google
1873
2195
  # read and unread messages. For an example, see [Get details about a user's
1874
2196
  # thread read state](https://developers.google.com/workspace/chat/get-thread-
1875
2197
  # read-state). Requires [user authentication](https://developers.google.com/
1876
- # workspace/chat/authenticate-authorize-chat-user).
2198
+ # workspace/chat/authenticate-authorize-chat-user) with one of the following [
2199
+ # authorization scopes](https://developers.google.com/workspace/chat/
2200
+ # authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/
2201
+ # chat.users.readstate.readonly` - `https://www.googleapis.com/auth/chat.users.
2202
+ # readstate`
1877
2203
  # @param [String] name
1878
2204
  # Required. Resource name of the thread read state to retrieve. Only supports
1879
2205
  # getting read state for the calling user. To refer to the calling user, set one
@@ -60,6 +60,12 @@ module Google
60
60
  # Private Service: https://www.googleapis.com/auth/chat.bot
61
61
  AUTH_CHAT_BOT = 'https://www.googleapis.com/auth/chat.bot'
62
62
 
63
+ # View, create, and delete custom emoji in Google Chat
64
+ AUTH_CHAT_CUSTOMEMOJIS = 'https://www.googleapis.com/auth/chat.customemojis'
65
+
66
+ # View custom emoji in Google Chat
67
+ AUTH_CHAT_CUSTOMEMOJIS_READONLY = 'https://www.googleapis.com/auth/chat.customemojis.readonly'
68
+
63
69
  # Delete conversations and spaces and remove access to associated files in Google Chat
64
70
  AUTH_CHAT_DELETE = 'https://www.googleapis.com/auth/chat.delete'
65
71
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-chat_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.119.0
4
+ version: 0.121.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-23 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chat_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.119.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.121.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chat_v1
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -66,14 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: '2.7'
69
+ version: '3.1'
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ">="
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.5
76
+ rubygems_version: 3.6.8
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Google Chat API V1
79
79
  test_files: []