Method: projects.locations.plugins.updateStyleGuide

Update the styleGuide to be used for liniting in by API hub.

HTTP request

PATCH https://apihub.googleapis.com/v1/{styleGuide.name=projects/*/locations/*/plugins/*/styleGuide}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
styleGuide.name

string

Identifier. The name of the style guide.

Format: projects/{project}/locations/{location}/plugins/{plugin}/styleGuide

Query parameters

Parameters
updateMask

string (FieldMask format)

Optional. The list of fields to update.

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

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

IAM Permissions

Requires the following IAM permission on the name resource:

  • apihub.styleGuides.update

For more information, see the IAM documentation.