Method: projects.updateLoggingConfig

Updates the LoggingConfig of the requested project.

HTTP request

PATCH https://retail.googleapis.com/v2alpha/{loggingConfig.name=projects/*/loggingConfig}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
loggingConfig.name

string

Required. Immutable. The name of the LoggingConfig singleton resource. Format: projects/*/loggingConfig

Query parameters

Parameters
updateMask

string (FieldMask format)

Indicates which fields in the provided LoggingConfig to update. The following are the only supported fields:

If not set, all supported fields are 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 LoggingConfig.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.