Google Cloud AlloyDB for PostgreSQL V1 Client - Class RestoreFromCloudSQLRequest (1.6.2)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1 Client class RestoreFromCloudSQLRequest.
Message for registering Restoring from CloudSQL resource.
Generated from protobuf message google.cloud.alloydb.v1.RestoreFromCloudSQLRequest
Namespace
Google \ Cloud \ AlloyDb \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ cloudsql_backup_run_source |
CloudSQLBackupRunSource
Cluster created from CloudSQL backup run. |
↳ parent |
string
Required. The location of the new cluster. For the required format, see the comment on Cluster.name field. |
↳ cluster_id |
string
Required. ID of the requesting object. |
↳ cluster |
Cluster
Required. The resource being created |
getCloudsqlBackupRunSource
Cluster created from CloudSQL backup run.
| Returns | |
|---|---|
| Type | Description |
CloudSQLBackupRunSource|null |
|
hasCloudsqlBackupRunSource
setCloudsqlBackupRunSource
Cluster created from CloudSQL backup run.
| Parameter | |
|---|---|
| Name | Description |
var |
CloudSQLBackupRunSource
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getParent
Required. The location of the new cluster. For the required format, see the comment on Cluster.name field.
| Returns | |
|---|---|
| Type | Description |
string |
|
setParent
Required. The location of the new cluster. For the required format, see the comment on Cluster.name field.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getClusterId
Required. ID of the requesting object.
| Returns | |
|---|---|
| Type | Description |
string |
|
setClusterId
Required. ID of the requesting object.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCluster
Required. The resource being created
| Returns | |
|---|---|
| Type | Description |
Cluster|null |
|
hasCluster
clearCluster
setCluster
Required. The resource being created
| Parameter | |
|---|---|
| Name | Description |
var |
Cluster
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSource
| Returns | |
|---|---|
| Type | Description |
string |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
parent |
string
Required. The location of the new cluster. For the required format, see the comment on Cluster.name field. Please see AlloyDBCSQLAdminClient::locationName() for help formatting this field. |
clusterId |
string
Required. ID of the requesting object. |
| Returns | |
|---|---|
| Type | Description |
RestoreFromCloudSQLRequest |
|