# Class StyleGuide (0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.0 0.3.0 0.2.7

    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` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-apihub/latest/google.cloud.apihub_v1.types.Linter` Required. Target linter for the style guide. |
| `contents` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-apihub/latest/google.cloud.apihub_v1.types.StyleGuideContents` Required. Input only. The contents of the uploaded style guide. |