Method: projects.locations.sites.patch

Updates the parameters of a site.

HTTP request

PATCH https://gdchardwaremanagement.googleapis.com/v1alpha/{site.name=projects/*/locations/*/sites/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
site.name

string

Identifier. Name of the site. Format: projects/{project}/locations/{location}/sites/{site}

Query parameters

Parameters
updateMask

string (FieldMask format)

Required. A mask to specify the fields in the Site to overwrite with this update. The fields specified in the updateMask are relative to the site, not the full request. A field will be overwritten if it is in the mask. If you don't provide a mask then all fields will be overwritten.

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

requestId

string

Optional. An optional unique identifier for this request. See AIP-155.

Request body

The request body contains an instance of Site.

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.

IAM Permissions

Requires the following IAM permission on the name resource:

  • gdchardwaremanagement.sites.update

For more information, see the IAM documentation.