Google Cloud Sql Admin V1 Client - Class SqlInstancesStopRequest (1.17.0)

Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class SqlInstancesStopRequest.

Instance stop request.

Generated from protobuf message google.cloud.sql.v1.SqlInstancesStopRequest

Namespace

Google \ Cloud \ Sql \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ instance string

Required. Cloud SQL instance ID. This does not include the project ID.

↳ project string

Required. Project ID of the project that contains the instance to be stopped.

↳ location string

Optional. The region of the Cloud SQL instance, for example us-central1. If omitted, the region is determined from the instance.

getInstance

Required. Cloud SQL instance ID. This does not include the project ID.

Returns
Type Description
string

setInstance

Required. Cloud SQL instance ID. This does not include the project ID.

Parameter
Name Description
var string
Returns
Type Description
$this

getProject

Required. Project ID of the project that contains the instance to be stopped.

Returns
Type Description
string

setProject

Required. Project ID of the project that contains the instance to be stopped.

Parameter
Name Description
var string
Returns
Type Description
$this

getLocation

Optional. The region of the Cloud SQL instance, for example us-central1.

If omitted, the region is determined from the instance.

Returns
Type Description
string

setLocation

Optional. The region of the Cloud SQL instance, for example us-central1.

If omitted, the region is determined from the instance.

Parameter
Name Description
var string
Returns
Type Description
$this