Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class SqlInstancesPreCheckMajorVersionUpgradeRequest.
Request for Pre-checks for MVU
Generated from protobuf message google.cloud.sql.v1.SqlInstancesPreCheckMajorVersionUpgradeRequest
Namespace
Google \ Cloud \ Sql \ V1Methods
__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. |
↳ body |
InstancesPreCheckMajorVersionUpgradeRequest
Required. The context for request to perform the pre-check major version upgrade operation. |
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.
| Returns | |
|---|---|
| Type | Description |
string |
|
setProject
Required. Project ID of the project that contains the instance.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getBody
Required. The context for request to perform the pre-check major version upgrade operation.
| Returns | |
|---|---|
| Type | Description |
InstancesPreCheckMajorVersionUpgradeRequest|null |
|
hasBody
clearBody
setBody
Required. The context for request to perform the pre-check major version upgrade operation.
| Parameter | |
|---|---|
| Name | Description |
var |
InstancesPreCheckMajorVersionUpgradeRequest
|
| Returns | |
|---|---|
| Type | Description |
$this |
|