Class StyleGuide (0.2.0)

StyleGuide(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents a singleton style guide resource to be used for linting Open API specs.

Attributes

Name Description
name str
Identifier. The name of the style guide. Format: projects/{project}/locations/{location}/plugins/{plugin}/styleGuide
linter google.cloud.apihub_v1.types.Linter
Required. Target linter for the style guide.
contents google.cloud.apihub_v1.types.StyleGuideContents
Required. Input only. The contents of the uploaded style guide.