Reference documentation and code samples for the Google Cloud Gemini Data Analytics V1beta Client class CloudSqlDatabaseReference.
Message representing a reference to a single CloudSQL database.
Generated from protobuf message google.cloud.geminidataanalytics.v1beta.CloudSqlDatabaseReference
Namespace
Google \ Cloud \ GeminiDataAnalytics \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ engine |
int
Required. The engine of the Cloud SQL instance. |
↳ project_id |
string
Required. The project the instance belongs to. |
↳ region |
string
Required. The region of the instance. |
↳ instance_id |
string
Required. The instance id. |
↳ database_id |
string
Required. The database id. |
↳ table_ids |
array
Optional. The table ids. Denotes all tables if unset. |
getEngine
Required. The engine of the Cloud SQL instance.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type Engine. |
setEngine
Required. The engine of the Cloud SQL instance.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type Engine. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getProjectId
Required. The project the instance belongs to.
| Returns | |
|---|---|
| Type | Description |
string |
|
setProjectId
Required. The project the instance belongs to.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRegion
Required. The region of the instance.
| Returns | |
|---|---|
| Type | Description |
string |
|
setRegion
Required. The region of the instance.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getInstanceId
Required. The instance id.
| Returns | |
|---|---|
| Type | Description |
string |
|
setInstanceId
Required. The instance id.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDatabaseId
Required. The database id.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDatabaseId
Required. The database id.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTableIds
Optional. The table ids. Denotes all tables if unset.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setTableIds
Optional. The table ids. Denotes all tables if unset.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|