Method: projects.locations.plugins.getStyleGuide

Get the style guide being used for linting.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the spec to retrieve. Format: projects/{project}/locations/{location}/plugins/{plugin}/styleGuide.

Request body

The request body must be empty.

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

For more information, see the IAM documentation.