Google Cloud Sql Admin V1beta4 Client - Class SqlInstancesDemoteRequest (0.16.1)

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

Instance demote request.

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

Namespace

Google \ Cloud \ Sql \ V1beta4

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ instance string

Required. The name of the Cloud SQL instance.

↳ project string

Required. The project ID of the project that contains the instance.

↳ body Google\Cloud\Sql\V1beta4\InstancesDemoteRequest

The request body.

getInstance

Required. The name of the Cloud SQL instance.

Returns
Type Description
string

setInstance

Required. The name of the Cloud SQL instance.

Parameter
Name Description
var string
Returns
Type Description
$this

getProject

Required. The project ID of the project that contains the instance.

Returns
Type Description
string

setProject

Required. The project ID of the project that contains the instance.

Parameter
Name Description
var string
Returns
Type Description
$this

getBody

The request body.

Returns
Type Description
Google\Cloud\Sql\V1beta4\InstancesDemoteRequest|null

hasBody

clearBody

setBody

The request body.

Parameter
Name Description
var Google\Cloud\Sql\V1beta4\InstancesDemoteRequest
Returns
Type Description
$this