Method: domains.patch

Full name: projects.locations.global.domains.patch

Updates the metadata and configuration of a domain.

HTTP request

PATCH https://managedidentities.googleapis.com/v1beta1/{domain.name=projects/*/locations/global/domains/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
domain.name

string

Output only. The unique name of the domain using the form: projects/{projectId}/locations/global/domains/{domainName}.

Query parameters

Parameters
updateMask

string (FieldMask format)

Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include fields from Domain: * labels * locations * authorizedNetworks * auditLogsEnabled

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

Authorization requires the following IAM permission on the specified resource updateMask:

  • managedidentities.domains.update

Request body

The request body contains an instance of Domain.

Response body

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

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.