Reference documentation and code samples for the Google Cloud Api Hub V1 Client class StyleGuide.
Represents a singleton style guide resource to be used for linting Open API specs.
Generated from protobuf message google.cloud.apihub.v1.StyleGuide
Namespace
Google \ Cloud \ ApiHub \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. The name of the style guide. Format: projects/{project}/locations/{location}/plugins/{plugin}/styleGuide
↳ linter
int
Required. Target linter for the style guide.
↳ contents
getName
Identifier. The name of the style guide.
Format: projects/{project}/locations/{location}/plugins/{plugin}/styleGuide
string
setName
Identifier. The name of the style guide.
Format: projects/{project}/locations/{location}/plugins/{plugin}/styleGuide
var
string
$this
getLinter
Required. Target linter for the style guide.
int
setLinter
Required. Target linter for the style guide.
var
int
$this
getContents
Required. Input only. The contents of the uploaded style guide.
hasContents
clearContents
setContents
Required. Input only. The contents of the uploaded style guide.
$this

