Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class PreCheckMajorVersionUpgradeContext.
Pre-check major version upgrade context.
Generated from protobuf message google.cloud.sql.v1.PreCheckMajorVersionUpgradeContext
Namespace
Google \ Cloud \ Sql \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ target_database_version |
int
Required. The target database version to upgrade to. |
↳ pre_check_response |
array<PreCheckResponse>
Output only. The responses from the precheck operation. |
↳ kind |
string
Optional. This is always |
getTargetDatabaseVersion
Required. The target database version to upgrade to.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type SqlDatabaseVersion. |
setTargetDatabaseVersion
Required. The target database version to upgrade to.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type SqlDatabaseVersion. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPreCheckResponse
Output only. The responses from the precheck operation.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setPreCheckResponse
Output only. The responses from the precheck operation.
| Parameter | |
|---|---|
| Name | Description |
var |
array<PreCheckResponse>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getKind
Optional. This is always sql#preCheckMajorVersionUpgradeContext.
| Returns | |
|---|---|
| Type | Description |
string |
|
setKind
Optional. This is always sql#preCheckMajorVersionUpgradeContext.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|