Google Cloud Service Management V1 Client - Class Diagnostic (1.0.6)

Reference documentation and code samples for the Google Cloud Service Management V1 Client class Diagnostic.

Represents a diagnostic message (error or warning)

Generated from protobuf message google.api.servicemanagement.v1.Diagnostic

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ location string

File name and line number of the error or warning.

↳ kind int

The kind of diagnostic information provided.

↳ message string

Message describing the error or warning.

getLocation

File name and line number of the error or warning.

Returns
TypeDescription
string

setLocation

File name and line number of the error or warning.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getKind

The kind of diagnostic information provided.

Returns
TypeDescription
int

setKind

The kind of diagnostic information provided.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getMessage

Message describing the error or warning.

Returns
TypeDescription
string

setMessage

Message describing the error or warning.

Parameter
NameDescription
var string
Returns
TypeDescription
$this