Skip to content

Commit

Permalink
feat(chat): update the api
Browse files Browse the repository at this point in the history
#### chat:v1

The following keys were added:
- resources.dms.methods.messages.parameters.messageId (Total Keys: 2)
- resources.dms.methods.webhooks.parameters.messageId (Total Keys: 2)
- resources.dms.resources.conversations.methods.messages.parameters.messageId (Total Keys: 2)
- resources.rooms.methods.messages.parameters.messageId (Total Keys: 2)
- resources.rooms.methods.webhooks.parameters.messageId (Total Keys: 2)
- resources.rooms.resources.conversations.methods.messages.parameters.messageId (Total Keys: 2)
- resources.spaces.methods.webhooks.parameters.messageId (Total Keys: 2)
- resources.spaces.resources.members.methods.get.scopes (Total Keys: 1)
- resources.spaces.resources.members.methods.list.scopes (Total Keys: 1)
- resources.spaces.resources.messages.methods.create.parameters.messageId (Total Keys: 2)
- resources.spaces.resources.messages.methods.update.parameters.allowMissing (Total Keys: 2)
- schemas.Message.properties.clientAssignedMessageId.type (Total Keys: 1)
  • Loading branch information
yoshi-automation committed Oct 18, 2022
1 parent 41818c6 commit 6dce01b
Show file tree
Hide file tree
Showing 8 changed files with 127 additions and 35 deletions.
7 changes: 5 additions & 2 deletions docs/dyn/chat_v1.dms.conversations.html
Expand Up @@ -78,7 +78,7 @@ <h2>Instance Methods</h2>
<code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
<code><a href="#messages">messages(parent, body=None, requestId=None, threadKey=None, x__xgafv=None)</a></code></p>
<code><a href="#messages">messages(parent, body=None, messageId=None, requestId=None, threadKey=None, x__xgafv=None)</a></code></p>
<p class="firstline">Legacy path for creating message. Calling these will result in a BadRequest response.</p>
<h3>Method Details</h3>
<div class="method">
Expand All @@ -87,7 +87,7 @@ <h3>Method Details</h3>
</div>

<div class="method">
<code class="details" id="messages">messages(parent, body=None, requestId=None, threadKey=None, x__xgafv=None)</code>
<code class="details" id="messages">messages(parent, body=None, messageId=None, requestId=None, threadKey=None, x__xgafv=None)</code>
<pre>Legacy path for creating message. Calling these will result in a BadRequest response.

Args:
Expand Down Expand Up @@ -1354,6 +1354,7 @@ <h3>Method Details</h3>
&quot;cardId&quot;: &quot;A String&quot;, # Required for `cardsV2` messages. Chat app-specified identifier for this widget. Scoped within a message.
},
],
&quot;clientAssignedMessageId&quot;: &quot;A String&quot;, # A custom name for a Chat message assigned at creation. Must start with `client-` and contain only lowercase letters, numbers, and hyphens up to 63 characters in length. Specify this field to get, update, or delete the message with the specified value. For example usage, see [Name a created message](https://developers.google.com/chat/api/guides/crudl/messages#name_a_created_message).
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the message was created in Google Chat server.
&quot;fallbackText&quot;: &quot;A String&quot;, # A plain-text description of the message&#x27;s cards, used when the actual cards cannot be displayed (e.g. mobile notifications).
&quot;lastUpdateTime&quot;: &quot;A String&quot;, # Output only. The time at which the message was last edited by a user. If the message has never been edited, this field is empty.
Expand Down Expand Up @@ -1388,6 +1389,7 @@ <h3>Method Details</h3>
},
}

messageId: string, Optional. A custom name for a Chat message assigned at creation. Must start with `client-` and contain only lowercase letters, numbers, and hyphens up to 63 characters in length. Specify this field to get, update, or delete the message with the specified value. For example usage, see [Name a created message](https://developers.google.com/chat/api/guides/crudl/messages#name_a_created_message).
requestId: string, Optional. A unique request ID for this message. Specifying an existing request ID returns the message created with that ID instead of creating a new message.
threadKey: string, Optional. Opaque thread identifier. To start or add to a thread, create a message and specify a `threadKey` instead of thread.name. (Setting thread.name has no effect.) The first message with a given `threadKey` starts a new thread. Subsequent messages with the same `threadKey` post into the same thread.
x__xgafv: string, V1 error format.
Expand Down Expand Up @@ -2657,6 +2659,7 @@ <h3>Method Details</h3>
&quot;cardId&quot;: &quot;A String&quot;, # Required for `cardsV2` messages. Chat app-specified identifier for this widget. Scoped within a message.
},
],
&quot;clientAssignedMessageId&quot;: &quot;A String&quot;, # A custom name for a Chat message assigned at creation. Must start with `client-` and contain only lowercase letters, numbers, and hyphens up to 63 characters in length. Specify this field to get, update, or delete the message with the specified value. For example usage, see [Name a created message](https://developers.google.com/chat/api/guides/crudl/messages#name_a_created_message).
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the message was created in Google Chat server.
&quot;fallbackText&quot;: &quot;A String&quot;, # A plain-text description of the message&#x27;s cards, used when the actual cards cannot be displayed (e.g. mobile notifications).
&quot;lastUpdateTime&quot;: &quot;A String&quot;, # Output only. The time at which the message was last edited by a user. If the message has never been edited, this field is empty.
Expand Down
14 changes: 10 additions & 4 deletions docs/dyn/chat_v1.dms.html
Expand Up @@ -83,10 +83,10 @@ <h2>Instance Methods</h2>
<code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
<code><a href="#messages">messages(parent, body=None, requestId=None, threadKey=None, x__xgafv=None)</a></code></p>
<code><a href="#messages">messages(parent, body=None, messageId=None, requestId=None, threadKey=None, x__xgafv=None)</a></code></p>
<p class="firstline">Legacy path for creating message. Calling these will result in a BadRequest response.</p>
<p class="toc_element">
<code><a href="#webhooks">webhooks(parent, body=None, requestId=None, threadKey=None, x__xgafv=None)</a></code></p>
<code><a href="#webhooks">webhooks(parent, body=None, messageId=None, requestId=None, threadKey=None, x__xgafv=None)</a></code></p>
<p class="firstline">Legacy path for creating message. Calling these will result in a BadRequest response.</p>
<h3>Method Details</h3>
<div class="method">
Expand All @@ -95,7 +95,7 @@ <h3>Method Details</h3>
</div>

<div class="method">
<code class="details" id="messages">messages(parent, body=None, requestId=None, threadKey=None, x__xgafv=None)</code>
<code class="details" id="messages">messages(parent, body=None, messageId=None, requestId=None, threadKey=None, x__xgafv=None)</code>
<pre>Legacy path for creating message. Calling these will result in a BadRequest response.

Args:
Expand Down Expand Up @@ -1362,6 +1362,7 @@ <h3>Method Details</h3>
&quot;cardId&quot;: &quot;A String&quot;, # Required for `cardsV2` messages. Chat app-specified identifier for this widget. Scoped within a message.
},
],
&quot;clientAssignedMessageId&quot;: &quot;A String&quot;, # A custom name for a Chat message assigned at creation. Must start with `client-` and contain only lowercase letters, numbers, and hyphens up to 63 characters in length. Specify this field to get, update, or delete the message with the specified value. For example usage, see [Name a created message](https://developers.google.com/chat/api/guides/crudl/messages#name_a_created_message).
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the message was created in Google Chat server.
&quot;fallbackText&quot;: &quot;A String&quot;, # A plain-text description of the message&#x27;s cards, used when the actual cards cannot be displayed (e.g. mobile notifications).
&quot;lastUpdateTime&quot;: &quot;A String&quot;, # Output only. The time at which the message was last edited by a user. If the message has never been edited, this field is empty.
Expand Down Expand Up @@ -1396,6 +1397,7 @@ <h3>Method Details</h3>
},
}

messageId: string, Optional. A custom name for a Chat message assigned at creation. Must start with `client-` and contain only lowercase letters, numbers, and hyphens up to 63 characters in length. Specify this field to get, update, or delete the message with the specified value. For example usage, see [Name a created message](https://developers.google.com/chat/api/guides/crudl/messages#name_a_created_message).
requestId: string, Optional. A unique request ID for this message. Specifying an existing request ID returns the message created with that ID instead of creating a new message.
threadKey: string, Optional. Opaque thread identifier. To start or add to a thread, create a message and specify a `threadKey` instead of thread.name. (Setting thread.name has no effect.) The first message with a given `threadKey` starts a new thread. Subsequent messages with the same `threadKey` post into the same thread.
x__xgafv: string, V1 error format.
Expand Down Expand Up @@ -2665,6 +2667,7 @@ <h3>Method Details</h3>
&quot;cardId&quot;: &quot;A String&quot;, # Required for `cardsV2` messages. Chat app-specified identifier for this widget. Scoped within a message.
},
],
&quot;clientAssignedMessageId&quot;: &quot;A String&quot;, # A custom name for a Chat message assigned at creation. Must start with `client-` and contain only lowercase letters, numbers, and hyphens up to 63 characters in length. Specify this field to get, update, or delete the message with the specified value. For example usage, see [Name a created message](https://developers.google.com/chat/api/guides/crudl/messages#name_a_created_message).
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the message was created in Google Chat server.
&quot;fallbackText&quot;: &quot;A String&quot;, # A plain-text description of the message&#x27;s cards, used when the actual cards cannot be displayed (e.g. mobile notifications).
&quot;lastUpdateTime&quot;: &quot;A String&quot;, # Output only. The time at which the message was last edited by a user. If the message has never been edited, this field is empty.
Expand Down Expand Up @@ -2701,7 +2704,7 @@ <h3>Method Details</h3>
</div>

<div class="method">
<code class="details" id="webhooks">webhooks(parent, body=None, requestId=None, threadKey=None, x__xgafv=None)</code>
<code class="details" id="webhooks">webhooks(parent, body=None, messageId=None, requestId=None, threadKey=None, x__xgafv=None)</code>
<pre>Legacy path for creating message. Calling these will result in a BadRequest response.

Args:
Expand Down Expand Up @@ -3968,6 +3971,7 @@ <h3>Method Details</h3>
&quot;cardId&quot;: &quot;A String&quot;, # Required for `cardsV2` messages. Chat app-specified identifier for this widget. Scoped within a message.
},
],
&quot;clientAssignedMessageId&quot;: &quot;A String&quot;, # A custom name for a Chat message assigned at creation. Must start with `client-` and contain only lowercase letters, numbers, and hyphens up to 63 characters in length. Specify this field to get, update, or delete the message with the specified value. For example usage, see [Name a created message](https://developers.google.com/chat/api/guides/crudl/messages#name_a_created_message).
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the message was created in Google Chat server.
&quot;fallbackText&quot;: &quot;A String&quot;, # A plain-text description of the message&#x27;s cards, used when the actual cards cannot be displayed (e.g. mobile notifications).
&quot;lastUpdateTime&quot;: &quot;A String&quot;, # Output only. The time at which the message was last edited by a user. If the message has never been edited, this field is empty.
Expand Down Expand Up @@ -4002,6 +4006,7 @@ <h3>Method Details</h3>
},
}

messageId: string, Optional. A custom name for a Chat message assigned at creation. Must start with `client-` and contain only lowercase letters, numbers, and hyphens up to 63 characters in length. Specify this field to get, update, or delete the message with the specified value. For example usage, see [Name a created message](https://developers.google.com/chat/api/guides/crudl/messages#name_a_created_message).
requestId: string, Optional. A unique request ID for this message. Specifying an existing request ID returns the message created with that ID instead of creating a new message.
threadKey: string, Optional. Opaque thread identifier. To start or add to a thread, create a message and specify a `threadKey` instead of thread.name. (Setting thread.name has no effect.) The first message with a given `threadKey` starts a new thread. Subsequent messages with the same `threadKey` post into the same thread.
x__xgafv: string, V1 error format.
Expand Down Expand Up @@ -5271,6 +5276,7 @@ <h3>Method Details</h3>
&quot;cardId&quot;: &quot;A String&quot;, # Required for `cardsV2` messages. Chat app-specified identifier for this widget. Scoped within a message.
},
],
&quot;clientAssignedMessageId&quot;: &quot;A String&quot;, # A custom name for a Chat message assigned at creation. Must start with `client-` and contain only lowercase letters, numbers, and hyphens up to 63 characters in length. Specify this field to get, update, or delete the message with the specified value. For example usage, see [Name a created message](https://developers.google.com/chat/api/guides/crudl/messages#name_a_created_message).
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the message was created in Google Chat server.
&quot;fallbackText&quot;: &quot;A String&quot;, # A plain-text description of the message&#x27;s cards, used when the actual cards cannot be displayed (e.g. mobile notifications).
&quot;lastUpdateTime&quot;: &quot;A String&quot;, # Output only. The time at which the message was last edited by a user. If the message has never been edited, this field is empty.
Expand Down
7 changes: 5 additions & 2 deletions docs/dyn/chat_v1.rooms.conversations.html
Expand Up @@ -78,7 +78,7 @@ <h2>Instance Methods</h2>
<code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
<code><a href="#messages">messages(parent, body=None, requestId=None, threadKey=None, x__xgafv=None)</a></code></p>
<code><a href="#messages">messages(parent, body=None, messageId=None, requestId=None, threadKey=None, x__xgafv=None)</a></code></p>
<p class="firstline">Legacy path for creating message. Calling these will result in a BadRequest response.</p>
<h3>Method Details</h3>
<div class="method">
Expand All @@ -87,7 +87,7 @@ <h3>Method Details</h3>
</div>

<div class="method">
<code class="details" id="messages">messages(parent, body=None, requestId=None, threadKey=None, x__xgafv=None)</code>
<code class="details" id="messages">messages(parent, body=None, messageId=None, requestId=None, threadKey=None, x__xgafv=None)</code>
<pre>Legacy path for creating message. Calling these will result in a BadRequest response.

Args:
Expand Down Expand Up @@ -1354,6 +1354,7 @@ <h3>Method Details</h3>
&quot;cardId&quot;: &quot;A String&quot;, # Required for `cardsV2` messages. Chat app-specified identifier for this widget. Scoped within a message.
},
],
&quot;clientAssignedMessageId&quot;: &quot;A String&quot;, # A custom name for a Chat message assigned at creation. Must start with `client-` and contain only lowercase letters, numbers, and hyphens up to 63 characters in length. Specify this field to get, update, or delete the message with the specified value. For example usage, see [Name a created message](https://developers.google.com/chat/api/guides/crudl/messages#name_a_created_message).
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the message was created in Google Chat server.
&quot;fallbackText&quot;: &quot;A String&quot;, # A plain-text description of the message&#x27;s cards, used when the actual cards cannot be displayed (e.g. mobile notifications).
&quot;lastUpdateTime&quot;: &quot;A String&quot;, # Output only. The time at which the message was last edited by a user. If the message has never been edited, this field is empty.
Expand Down Expand Up @@ -1388,6 +1389,7 @@ <h3>Method Details</h3>
},
}

messageId: string, Optional. A custom name for a Chat message assigned at creation. Must start with `client-` and contain only lowercase letters, numbers, and hyphens up to 63 characters in length. Specify this field to get, update, or delete the message with the specified value. For example usage, see [Name a created message](https://developers.google.com/chat/api/guides/crudl/messages#name_a_created_message).
requestId: string, Optional. A unique request ID for this message. Specifying an existing request ID returns the message created with that ID instead of creating a new message.
threadKey: string, Optional. Opaque thread identifier. To start or add to a thread, create a message and specify a `threadKey` instead of thread.name. (Setting thread.name has no effect.) The first message with a given `threadKey` starts a new thread. Subsequent messages with the same `threadKey` post into the same thread.
x__xgafv: string, V1 error format.
Expand Down Expand Up @@ -2657,6 +2659,7 @@ <h3>Method Details</h3>
&quot;cardId&quot;: &quot;A String&quot;, # Required for `cardsV2` messages. Chat app-specified identifier for this widget. Scoped within a message.
},
],
&quot;clientAssignedMessageId&quot;: &quot;A String&quot;, # A custom name for a Chat message assigned at creation. Must start with `client-` and contain only lowercase letters, numbers, and hyphens up to 63 characters in length. Specify this field to get, update, or delete the message with the specified value. For example usage, see [Name a created message](https://developers.google.com/chat/api/guides/crudl/messages#name_a_created_message).
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the message was created in Google Chat server.
&quot;fallbackText&quot;: &quot;A String&quot;, # A plain-text description of the message&#x27;s cards, used when the actual cards cannot be displayed (e.g. mobile notifications).
&quot;lastUpdateTime&quot;: &quot;A String&quot;, # Output only. The time at which the message was last edited by a user. If the message has never been edited, this field is empty.
Expand Down

0 comments on commit 6dce01b

Please sign in to comment.