1.3.0 (latest) 1.2.0 1.1.0 1.0.0

    public sealed class StyleGuide : IMessage<StyleGuide>, IEquatable<StyleGuide>, IDeepCloneable<StyleGuide>, IBufferMessage, IMessage

Reference documentation and code samples for the API hub v1 API class StyleGuide.

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

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> StyleGuide

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[StyleGuide](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.StyleGuide.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[StyleGuide](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.StyleGuide.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[StyleGuide](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.StyleGuide.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.ApiHub.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.md.txt)

## Assembly

Google.Cloud.ApiHub.V1.dll

## Constructors

### StyleGuide()

    public StyleGuide()

### StyleGuide(StyleGuide)

    public StyleGuide(StyleGuide other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `StyleGuide` |

## Properties

### Contents

    public StyleGuideContents Contents { get; set; }

Required. Input only. The contents of the uploaded style guide.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `StyleGuideContents` |   |

### Linter

    public Linter Linter { get; set; }

Required. Target linter for the style guide.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Linter` |   |

### Name

    public string Name { get; set; }

Identifier. The name of the style guide.

Format:
`projects/{project}/locations/{location}/plugins/{plugin}/styleGuide`

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### StyleGuideName

    public StyleGuideName StyleGuideName { get; set; }

[StyleGuideName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.StyleGuideName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.StyleGuide.md.txt#Google_Cloud_ApiHub_V1_StyleGuide_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `StyleGuideName` |   |