Google Cloud Api Hub V1 Client - Class LintResponse (0.2.1)

Reference documentation and code samples for the Google Cloud Api Hub V1 Client class LintResponse.

LintResponse contains the response from the linter.

Generated from protobuf message google.cloud.apihub.v1.LintResponse

Namespace

Google \ Cloud \ ApiHub \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ issues
array< Issue >

Optional. Array of issues found in the analyzed document.

↳ summary
array< LintResponse\SummaryEntry >

Optional. Summary of all issue types and counts for each severity level.

↳ state
int

Required. Lint state represents success or failure for linting.

↳ source
string

Required. Name of the linting application.

↳ linter
int

Required. Name of the linter used.

↳ create_time
Google\Protobuf\Timestamp

Required. Timestamp when the linting response was generated.

getIssues

Optional. Array of issues found in the analyzed document.

Returns
Type
Description

setIssues

Optional. Array of issues found in the analyzed document.

Parameter
Name
Description
var
array< Issue >
Returns
Type
Description
$this

getSummary

Optional. Summary of all issue types and counts for each severity level.

Returns
Type
Description

setSummary

Optional. Summary of all issue types and counts for each severity level.

Parameter
Name
Description
Returns
Type
Description
$this

getState

Required. Lint state represents success or failure for linting.

Returns
Type
Description
int
Enum of type LintState .

setState

Required. Lint state represents success or failure for linting.

Parameter
Name
Description
var
int

Enum of type LintState .

Returns
Type
Description
$this

getSource

Required. Name of the linting application.

Returns
Type
Description
string

setSource

Required. Name of the linting application.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getLinter

Required. Name of the linter used.

Returns
Type
Description
int
Enum of type Linter .

setLinter

Required. Name of the linter used.

Parameter
Name
Description
var
int

Enum of type Linter .

Returns
Type
Description
$this

getCreateTime

Required. Timestamp when the linting response was generated.

Returns
Type
Description

hasCreateTime

clearCreateTime

setCreateTime

Required. Timestamp when the linting response was generated.

Parameter
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: