Method: parsers.patch

Full name: projects.locations.instances.logTypes.parsers.patch

Update a parser.

HTTP request


Path parameters

Parameters
parser.name

string

Output only. name of the parser resource.

Query parameters

Parameters
updateMask

string (FieldMask format)

Optional. The list of fields to update. 1. If updateMask is not included in the request, error will be returned. 2. If updateMask is present and paths includes only "*" then all fields which are supported by UpdateParserRequest will be updated irrespective of whether they are present in the request or not. Fields which are not present in the request will be set to nil/false value. 3. To update partial attributes in Parser, the relevant attributes should be provided like Parser. for each attribute. For eg to update auto_upgrade_off, parser.version_info.auto_upgrade_off should be provided in the paths of the updateMask. If attribute is present in paths but not present in the request, it will be set to false. 4. If only parser is provided in the paths, all the attributes in parser will be updated. Supported paths are - versionInfo.auto_upgrade_off state

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 Parser.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.