Google Cloud Sql Admin V1beta4 Client - Class SqlInstancesDemoteRequest (0.19.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
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.

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

hasBody

clearBody

setBody

The request body.

Parameter
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: