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.
Implements
IMessageStyleGuide, IEquatableStyleGuide, IDeepCloneableStyleGuide, IBufferMessage, IMessageInherited Members
Namespace
Google.Cloud.ApiHub.V1Assembly
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-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
StyleGuideName |