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

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
Name Description
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
Type Description
int

setCode

Code to uniquely identify the warning type.

Parameter
Name Description
var int
Returns
Type Description
$this

getMessage

The warning message.

Returns
Type Description
string

setMessage

The warning message.

Parameter
Name Description
var string
Returns
Type Description
$this

getRegion

The region name for REGION_UNREACHABLE warning.

Returns
Type Description
string

setRegion

The region name for REGION_UNREACHABLE warning.

Parameter
Name Description
var string
Returns
Type Description
$this