v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1380629577.7 KB
projects

Create AuthorizedView

post/v1/{+parent}/authorizedViews

Path parameters

parentstring required

Required. The parent resource of the AuthorizedView.

Query parameters

authorizedViewIdstring

Optional. A unique ID for the new AuthorizedView. This ID will become the final component of the AuthorizedView's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$. See https://google.aip.dev/122#resource-id-segments

Request body

namestring

Identifier. The resource name of the AuthorizedView. Format: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}

createTimestring google-datetime

Output only. The time at which the authorized view was created.

conversationFilterstring

A filter to reduce conversation results to a specific subset. The AuthorizedView's assigned permission (read/write) could be applied to the subset of conversations. If conversation_filter is empty, there is no restriction on the conversations that the AuthorizedView can access. Having authorizedViews.get access to the AuthorizedView means having the same read/write access to the Conversations (as well as metadata/annotations linked to the conversation) that this AuthorizedView has.

updateTimestring google-datetime

Output only. The most recent time at which the authorized view was updated.

displayNamestring

Display Name. Limit 64 characters.

Response

Successful response