Skip to content

Commit f7ba913

Browse files
feat(chat): update the api
#### chat:v1 The following keys were added: - schemas.EmojiReactionSummary.properties.emoji.readOnly (Total Keys: 1) - schemas.EmojiReactionSummary.properties.reactionCount.readOnly (Total Keys: 1) - schemas.MembershipCount.properties.joinedDirectHumanUserCount.readOnly (Total Keys: 1) - schemas.MembershipCount.properties.joinedGroupCount.readOnly (Total Keys: 1) - schemas.Message.properties.space.readOnly (Total Keys: 1)
1 parent 2d88d4f commit f7ba913

File tree

7 files changed

+1940
-1935
lines changed

7 files changed

+1940
-1935
lines changed

docs/dyn/chat_v1.media.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,8 @@ <h3>Method Details</h3>
153153

154154
{ # Response of uploading an attachment.
155155
&quot;attachmentDataRef&quot;: { # A reference to the attachment data. # Reference to the uploaded attachment.
156-
&quot;attachmentUploadToken&quot;: &quot;A String&quot;, # Opaque token containing a reference to an uploaded attachment. Treated by clients as an opaque string and used to create or update Chat messages with attachments.
157-
&quot;resourceName&quot;: &quot;A String&quot;, # The resource name of the attachment data. This field is used with the media API to download the attachment data.
156+
&quot;attachmentUploadToken&quot;: &quot;A String&quot;, # Optional. Opaque token containing a reference to an uploaded attachment. Treated by clients as an opaque string and used to create or update Chat messages with attachments.
157+
&quot;resourceName&quot;: &quot;A String&quot;, # Optional. The resource name of the attachment data. This field is used with the media API to download the attachment data.
158158
},
159159
}</pre>
160160
</div>

docs/dyn/chat_v1.spaces.html

Lines changed: 345 additions & 345 deletions
Large diffs are not rendered by default.

docs/dyn/chat_v1.spaces.messages.attachments.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,17 +101,17 @@ <h3>Method Details</h3>
101101
An object of the form:
102102

103103
{ # An attachment in Google Chat.
104-
&quot;attachmentDataRef&quot;: { # A reference to the attachment data. # A reference to the attachment data. This field is used with the media API to download the attachment data.
105-
&quot;attachmentUploadToken&quot;: &quot;A String&quot;, # Opaque token containing a reference to an uploaded attachment. Treated by clients as an opaque string and used to create or update Chat messages with attachments.
106-
&quot;resourceName&quot;: &quot;A String&quot;, # The resource name of the attachment data. This field is used with the media API to download the attachment data.
104+
&quot;attachmentDataRef&quot;: { # A reference to the attachment data. # Optional. A reference to the attachment data. This field is used to create or update messages with attachments, or with the media API to download the attachment data.
105+
&quot;attachmentUploadToken&quot;: &quot;A String&quot;, # Optional. Opaque token containing a reference to an uploaded attachment. Treated by clients as an opaque string and used to create or update Chat messages with attachments.
106+
&quot;resourceName&quot;: &quot;A String&quot;, # Optional. The resource name of the attachment data. This field is used with the media API to download the attachment data.
107107
},
108108
&quot;contentName&quot;: &quot;A String&quot;, # Output only. The original file name for the content, not the full path.
109109
&quot;contentType&quot;: &quot;A String&quot;, # Output only. The content type (MIME type) of the file.
110110
&quot;downloadUri&quot;: &quot;A String&quot;, # Output only. The download URL which should be used to allow a human user to download the attachment. Chat apps shouldn&#x27;t use this URL to download attachment content.
111111
&quot;driveDataRef&quot;: { # A reference to the data of a drive attachment. # Output only. A reference to the Google Drive attachment. This field is used with the Google Drive API.
112112
&quot;driveFileId&quot;: &quot;A String&quot;, # The ID for the drive file. Use with the Drive API.
113113
},
114-
&quot;name&quot;: &quot;A String&quot;, # Resource name of the attachment, in the form `spaces/{space}/messages/{message}/attachments/{attachment}`.
114+
&quot;name&quot;: &quot;A String&quot;, # Optional. Resource name of the attachment, in the form `spaces/{space}/messages/{message}/attachments/{attachment}`.
115115
&quot;source&quot;: &quot;A String&quot;, # Output only. The source of the attachment.
116116
&quot;thumbnailUri&quot;: &quot;A String&quot;, # Output only. The thumbnail URL which should be used to preview the attachment to a human user. Chat apps shouldn&#x27;t use this URL to download attachment content.
117117
}</pre>

docs/dyn/chat_v1.spaces.messages.html

Lines changed: 555 additions & 555 deletions
Large diffs are not rendered by default.

docs/dyn/chat_v1.spaces.messages.reactions.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -105,13 +105,13 @@ <h3>Method Details</h3>
105105
The object takes the form of:
106106

107107
{ # A reaction to a message.
108-
&quot;emoji&quot;: { # An emoji that is used as a reaction to a message. # The emoji used in the reaction.
108+
&quot;emoji&quot;: { # An emoji that is used as a reaction to a message. # Required. The emoji used in the reaction.
109109
&quot;customEmoji&quot;: { # Represents a custom emoji. # Output only. A custom emoji.
110110
&quot;uid&quot;: &quot;A String&quot;, # Output only. Unique key for the custom emoji resource.
111111
},
112-
&quot;unicode&quot;: &quot;A String&quot;, # A basic emoji represented by a unicode string.
112+
&quot;unicode&quot;: &quot;A String&quot;, # Optional. A basic emoji represented by a unicode string.
113113
},
114-
&quot;name&quot;: &quot;A String&quot;, # The resource name of the reaction. Format: `spaces/{space}/messages/{message}/reactions/{reaction}`
114+
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the reaction. Format: `spaces/{space}/messages/{message}/reactions/{reaction}`
115115
&quot;user&quot;: { # A user in Google Chat. When returned as an output from a request, if your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), the output for a `User` resource only populates the user&#x27;s `name` and `type`. # Output only. The user who created the reaction.
116116
&quot;displayName&quot;: &quot;A String&quot;, # Output only. The user&#x27;s display name.
117117
&quot;domainId&quot;: &quot;A String&quot;, # Unique identifier of the user&#x27;s Google Workspace domain.
@@ -130,13 +130,13 @@ <h3>Method Details</h3>
130130
An object of the form:
131131

132132
{ # A reaction to a message.
133-
&quot;emoji&quot;: { # An emoji that is used as a reaction to a message. # The emoji used in the reaction.
133+
&quot;emoji&quot;: { # An emoji that is used as a reaction to a message. # Required. The emoji used in the reaction.
134134
&quot;customEmoji&quot;: { # Represents a custom emoji. # Output only. A custom emoji.
135135
&quot;uid&quot;: &quot;A String&quot;, # Output only. Unique key for the custom emoji resource.
136136
},
137-
&quot;unicode&quot;: &quot;A String&quot;, # A basic emoji represented by a unicode string.
137+
&quot;unicode&quot;: &quot;A String&quot;, # Optional. A basic emoji represented by a unicode string.
138138
},
139-
&quot;name&quot;: &quot;A String&quot;, # The resource name of the reaction. Format: `spaces/{space}/messages/{message}/reactions/{reaction}`
139+
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the reaction. Format: `spaces/{space}/messages/{message}/reactions/{reaction}`
140140
&quot;user&quot;: { # A user in Google Chat. When returned as an output from a request, if your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), the output for a `User` resource only populates the user&#x27;s `name` and `type`. # Output only. The user who created the reaction.
141141
&quot;displayName&quot;: &quot;A String&quot;, # Output only. The user&#x27;s display name.
142142
&quot;domainId&quot;: &quot;A String&quot;, # Unique identifier of the user&#x27;s Google Workspace domain.
@@ -186,13 +186,13 @@ <h3>Method Details</h3>
186186
&quot;nextPageToken&quot;: &quot;A String&quot;, # Continuation token to retrieve the next page of results. It&#x27;s empty for the last page of results.
187187
&quot;reactions&quot;: [ # List of reactions in the requested (or first) page.
188188
{ # A reaction to a message.
189-
&quot;emoji&quot;: { # An emoji that is used as a reaction to a message. # The emoji used in the reaction.
189+
&quot;emoji&quot;: { # An emoji that is used as a reaction to a message. # Required. The emoji used in the reaction.
190190
&quot;customEmoji&quot;: { # Represents a custom emoji. # Output only. A custom emoji.
191191
&quot;uid&quot;: &quot;A String&quot;, # Output only. Unique key for the custom emoji resource.
192192
},
193-
&quot;unicode&quot;: &quot;A String&quot;, # A basic emoji represented by a unicode string.
193+
&quot;unicode&quot;: &quot;A String&quot;, # Optional. A basic emoji represented by a unicode string.
194194
},
195-
&quot;name&quot;: &quot;A String&quot;, # The resource name of the reaction. Format: `spaces/{space}/messages/{message}/reactions/{reaction}`
195+
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the reaction. Format: `spaces/{space}/messages/{message}/reactions/{reaction}`
196196
&quot;user&quot;: { # A user in Google Chat. When returned as an output from a request, if your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), the output for a `User` resource only populates the user&#x27;s `name` and `type`. # Output only. The user who created the reaction.
197197
&quot;displayName&quot;: &quot;A String&quot;, # Output only. The user&#x27;s display name.
198198
&quot;domainId&quot;: &quot;A String&quot;, # Unique identifier of the user&#x27;s Google Workspace domain.

0 commit comments

Comments
 (0)