Google Cloud Sql Admin V1 Client - Class SqlInstancesPromoteReplicaRequest (0.8.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class SqlInstancesPromoteReplicaRequest.
Instance promote replica request.
Generated from protobuf message google.cloud.sql.v1.SqlInstancesPromoteReplicaRequest
Namespace
Google \ Cloud \ Sql \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ instance |
string
Cloud SQL read replica instance name. |
↳ project |
string
ID of the project that contains the read replica. |
getInstance
Cloud SQL read replica instance name.
| Returns | |
|---|---|
| Type | Description |
string |
|
setInstance
Cloud SQL read replica instance name.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getProject
ID of the project that contains the read replica.
| Returns | |
|---|---|
| Type | Description |
string |
|
setProject
ID of the project that contains the read replica.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|