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

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

Namespace

Google \ Cloud \ ServiceManagement \ V1

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