Skip to content

Commit f5a2e18

Browse files
feat(chat): update the api
#### chat:v1 The following keys were added: - schemas.Membership.properties.createTime.readOnly (Total Keys: 1) - schemas.Space.properties.singleUserBotDm.readOnly (Total Keys: 1) - schemas.Space.properties.threaded.readOnly (Total Keys: 1)
1 parent 6cbce20 commit f5a2e18

File tree

8 files changed

+160
-157
lines changed

8 files changed

+160
-157
lines changed

docs/dyn/chat_v1.dms.conversations.html

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ <h3>Method Details</h3>
9191
<pre>Legacy path for creating message. Calling these will result in a BadRequest response.
9292

9393
Args:
94-
parent: string, Required. Space resource name, in the form &quot;spaces/*&quot;. Example: spaces/AAAAMpdlehY (required)
94+
parent: string, Required. Space resource name, in the form &quot;spaces/*&quot;. Example: spaces/AAAAAAAAAAA (required)
9595
body: object, The request body.
9696
The object takes the form of:
9797

@@ -835,7 +835,7 @@ <h3>Method Details</h3>
835835
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the message was created in Google Chat server.
836836
&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).
837837
&quot;lastUpdateTime&quot;: &quot;A String&quot;, # Output only. The time at which the message was last updated in Google Chat server. If the message was never updated, this field will be same as create_time.
838-
&quot;name&quot;: &quot;A String&quot;, # Resource name in the form `spaces/*/messages/*`. Example: `spaces/AAAAMpdlehY/messages/UMxbHmzDlr4.UMxbHmzDlr4`
838+
&quot;name&quot;: &quot;A String&quot;, # Resource name in the form `spaces/*/messages/*`. Example: `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`
839839
&quot;previewText&quot;: &quot;A String&quot;, # Text for generating preview chips. This text will not be displayed to the user, but any links to images, web pages, videos, etc. included here will generate preview chips.
840840
&quot;sender&quot;: { # A user in Google Chat. # The user who created the message.
841841
&quot;displayName&quot;: &quot;A String&quot;, # The user&#x27;s display name.
@@ -848,15 +848,15 @@ <h3>Method Details</h3>
848848
&quot;commandId&quot;: &quot;A String&quot;, # The id of the slash command invoked.
849849
},
850850
&quot;space&quot;: { # A space in Google Chat. Spaces are conversations between two or more users or 1:1 messages between a user and a Chat bot. # The space the message belongs to.
851-
&quot;displayName&quot;: &quot;A String&quot;, # The display name (only if the space is of type `ROOM`). Please note that this field might not be populated in direct messages between humans.
851+
&quot;displayName&quot;: &quot;A String&quot;, # The space&#x27;s display name. For direct messages between humans, this field might be empty.
852852
&quot;name&quot;: &quot;A String&quot;, # Resource name of the space, in the form &quot;spaces/*&quot;. Example: spaces/AAAAAAAAAAAA
853-
&quot;singleUserBotDm&quot;: True or False, # Whether the space is a DM between a bot and a single human.
854-
&quot;threaded&quot;: True or False, # Whether the messages are threaded in this space.
855-
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of a space. This is deprecated. Use `single_user_bot_dm` instead.
853+
&quot;singleUserBotDm&quot;: True or False, # Output only. Whether the space is a DM between a bot and a single human.
854+
&quot;threaded&quot;: True or False, # Output only. Whether the messages are threaded in this space.
855+
&quot;type&quot;: &quot;A String&quot;, # Deprecated. Use `single_user_bot_dm` instead. Output only. The type of a space.
856856
},
857857
&quot;text&quot;: &quot;A String&quot;, # Plain-text body of the message.
858858
&quot;thread&quot;: { # A thread in Google Chat. # The thread the message belongs to.
859-
&quot;name&quot;: &quot;A String&quot;, # Resource name, in the form &quot;spaces/*/threads/*&quot;. Example: spaces/AAAAMpdlehY/threads/UMxbHmzDlr4
859+
&quot;name&quot;: &quot;A String&quot;, # Resource name, in the form &quot;spaces/*/threads/*&quot;. Example: spaces/AAAAAAAAAAA/threads/TTTTTTTTTTT
860860
},
861861
}
862862

@@ -1610,7 +1610,7 @@ <h3>Method Details</h3>
16101610
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the message was created in Google Chat server.
16111611
&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).
16121612
&quot;lastUpdateTime&quot;: &quot;A String&quot;, # Output only. The time at which the message was last updated in Google Chat server. If the message was never updated, this field will be same as create_time.
1613-
&quot;name&quot;: &quot;A String&quot;, # Resource name in the form `spaces/*/messages/*`. Example: `spaces/AAAAMpdlehY/messages/UMxbHmzDlr4.UMxbHmzDlr4`
1613+
&quot;name&quot;: &quot;A String&quot;, # Resource name in the form `spaces/*/messages/*`. Example: `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`
16141614
&quot;previewText&quot;: &quot;A String&quot;, # Text for generating preview chips. This text will not be displayed to the user, but any links to images, web pages, videos, etc. included here will generate preview chips.
16151615
&quot;sender&quot;: { # A user in Google Chat. # The user who created the message.
16161616
&quot;displayName&quot;: &quot;A String&quot;, # The user&#x27;s display name.
@@ -1623,15 +1623,15 @@ <h3>Method Details</h3>
16231623
&quot;commandId&quot;: &quot;A String&quot;, # The id of the slash command invoked.
16241624
},
16251625
&quot;space&quot;: { # A space in Google Chat. Spaces are conversations between two or more users or 1:1 messages between a user and a Chat bot. # The space the message belongs to.
1626-
&quot;displayName&quot;: &quot;A String&quot;, # The display name (only if the space is of type `ROOM`). Please note that this field might not be populated in direct messages between humans.
1626+
&quot;displayName&quot;: &quot;A String&quot;, # The space&#x27;s display name. For direct messages between humans, this field might be empty.
16271627
&quot;name&quot;: &quot;A String&quot;, # Resource name of the space, in the form &quot;spaces/*&quot;. Example: spaces/AAAAAAAAAAAA
1628-
&quot;singleUserBotDm&quot;: True or False, # Whether the space is a DM between a bot and a single human.
1629-
&quot;threaded&quot;: True or False, # Whether the messages are threaded in this space.
1630-
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of a space. This is deprecated. Use `single_user_bot_dm` instead.
1628+
&quot;singleUserBotDm&quot;: True or False, # Output only. Whether the space is a DM between a bot and a single human.
1629+
&quot;threaded&quot;: True or False, # Output only. Whether the messages are threaded in this space.
1630+
&quot;type&quot;: &quot;A String&quot;, # Deprecated. Use `single_user_bot_dm` instead. Output only. The type of a space.
16311631
},
16321632
&quot;text&quot;: &quot;A String&quot;, # Plain-text body of the message.
16331633
&quot;thread&quot;: { # A thread in Google Chat. # The thread the message belongs to.
1634-
&quot;name&quot;: &quot;A String&quot;, # Resource name, in the form &quot;spaces/*/threads/*&quot;. Example: spaces/AAAAMpdlehY/threads/UMxbHmzDlr4
1634+
&quot;name&quot;: &quot;A String&quot;, # Resource name, in the form &quot;spaces/*/threads/*&quot;. Example: spaces/AAAAAAAAAAA/threads/TTTTTTTTTTT
16351635
},
16361636
}</pre>
16371637
</div>

0 commit comments

Comments
 (0)