Method: projects.locations.apps.assistantSessions.patch

Updates the specified assistant session.

HTTP request

PATCH https://ces.googleapis.com/v1beta/{assistantSession.name=projects/*/locations/*/apps/*/assistantSessions/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
assistantSession.name

string

Required. Identifier. The unique identifier of the session. Format: projects/{project}/locations/{location}/apps/{app}/assistantSessions/{session}

Query parameters

Parameters
updateMask

string (FieldMask format)

Optional. Field mask is used to control which fields get updated. If the mask is not present, all mutable fields (displayName, pinned) will be updated.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of AssistantSession.

Response body

If successful, the response body contains an instance of AssistantSession.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/ces

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • ces.assistantSessions.get

For more information, see the IAM documentation.