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

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
NameDescription
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
TypeDescription
string

setInstance

Required. The name of the Cloud SQL instance.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getProject

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

Returns
TypeDescription
string

setProject

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getBody

The request body.

Returns
TypeDescription
Google\Cloud\Sql\V1beta4\InstancesDemoteRequest|null

hasBody

clearBody

setBody

The request body.

Parameter
NameDescription
var Google\Cloud\Sql\V1beta4\InstancesDemoteRequest
Returns
TypeDescription
$this