Method: projects.locations.plugins.updateStyleGuide

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

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



Identifier. The name of the style guide.

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

Query parameters


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:


IAM Permissions

Requires the following IAM permission on the name resource:

  • apihub.styleGuides.update

For more information, see the IAM documentation.