Google Cloud Sql Admin V1 Client - Class SqlDatabasesUpdateRequest (1.6.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 SqlDatabasesUpdateRequest.
Database update request.
Generated from protobuf messagegoogle.cloud.sql.v1.SqlDatabasesUpdateRequest
Namespace
Google \ Cloud \ Sql \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data | arrayOptional. Data for populating the Message object. |
↳ database | stringName of the database to be updated in the instance. |
↳ instance | stringDatabase instance ID. This does not include the project ID. |
↳ project | stringProject ID of the project that contains the instance. |
↳ body | Database |
getDatabase
Name of the database to be updated in the instance.
| Returns | |
|---|---|
| Type | Description |
string | |
setDatabase
Name of the database to be updated in the instance.
| Parameter | |
|---|---|
| Name | Description |
var | string |
| Returns | |
|---|---|
| Type | Description |
$this | |
getInstance
Database instance ID. This does not include the project ID.
| Returns | |
|---|---|
| Type | Description |
string | |
setInstance
Database instance ID. This does not include the project ID.
| Parameter | |
|---|---|
| Name | Description |
var | string |
| Returns | |
|---|---|
| Type | Description |
$this | |
getProject
Project ID of the project that contains the instance.
| Returns | |
|---|---|
| Type | Description |
string | |
setProject
Project ID of the project that contains the instance.
| Parameter | |
|---|---|
| Name | Description |
var | string |
| Returns | |
|---|---|
| Type | Description |
$this | |
getBody
Generated from protobuf field.google.cloud.sql.v1.Database body = 100;
| Returns | |
|---|---|
| Type | Description |
Database|null | |
hasBody
clearBody
setBody
Generated from protobuf field.google.cloud.sql.v1.Database body = 100;
| Parameter | |
|---|---|
| Name | Description |
var | Database |
| Returns | |
|---|---|
| Type | Description |
$this | |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-01-09 UTC.