- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
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 |
Identifier. The name of the style guide. Format: |
Query parameters
| Parameters | |
|---|---|
updateMask |
Optional. The list of fields to update. This is a comma-separated list of fully qualified names of fields. Example: |
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 one of the following OAuth scopes:
https://www.googleapis.com/auth/apihub.readwritehttps://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.