Method: projects.locations.plugins.styleGuide.getContents

Get the contents of the style guide.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



Required. The name of the StyleGuide whose contents need to be retrieved. There is exactly one style guide resource per project per location. The expected format is 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 StyleGuideContents.

Authorization scopes

Requires the following OAuth scope:


IAM Permissions

Requires the following IAM permission on the name resource:

  • apihub.styleGuides.get

For more information, see the IAM documentation.