Google Cloud Sql Admin V1beta4 Client - Class ApiWarning (0.7.0)

Reference documentation and code samples for the Google Cloud Sql Admin V1beta4 Client class ApiWarning.

An Admin API warning message.

Generated from protobuf message google.cloud.sql.v1beta4.ApiWarning

Namespace

Google \ Cloud \ Sql \ V1beta4

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ code int

Code to uniquely identify the warning type.

↳ message string

The warning message.

↳ region string

The region name for REGION_UNREACHABLE warning.

getCode

Code to uniquely identify the warning type.

Returns
TypeDescription
int

setCode

Code to uniquely identify the warning type.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getMessage

The warning message.

Returns
TypeDescription
string

setMessage

The warning message.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRegion

The region name for REGION_UNREACHABLE warning.

Returns
TypeDescription
string

setRegion

The region name for REGION_UNREACHABLE warning.

Parameter
NameDescription
var string
Returns
TypeDescription
$this