Reference documentation and code samples for the Google Cloud Database Center V1beta Client class Product.
Product specification for databasecenter resources.
Generated from protobuf message google.cloud.databasecenter.v1beta.Product
Namespace
Google \ Cloud \ DatabaseCenter \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ type |
int
Optional. Type of specific database product. It could be CloudSQL, AlloyDB etc.. |
↳ engine |
int
Optional. The specific engine that the underlying database is running. |
↳ version |
string
Optional. Version of the underlying database engine. Example values: For MySQL, it could be "8.0", "5.7" etc. For Postgres, it could be "14", "15" etc. |
↳ minor_version |
string
Optional. Minor version of the underlying database engine. Example values: For MySQL, it could be "8.0.35", "5.7.25" etc. For PostgreSQL, it could be "14.4", "15.5" etc. |
getType
Optional. Type of specific database product. It could be CloudSQL, AlloyDB etc..
Generated from protobuf field .google.cloud.databasecenter.v1beta.ProductType type = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
setType
Optional. Type of specific database product. It could be CloudSQL, AlloyDB etc..
Generated from protobuf field .google.cloud.databasecenter.v1beta.ProductType type = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEngine
Optional. The specific engine that the underlying database is running.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type Engine. |
setEngine
Optional. The specific engine that the underlying database is running.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type Engine. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getVersion
Optional. Version of the underlying database engine. Example values: For MySQL, it could be "8.0", "5.7" etc. For Postgres, it could be "14", "15" etc.
| Returns | |
|---|---|
| Type | Description |
string |
|
setVersion
Optional. Version of the underlying database engine. Example values: For MySQL, it could be "8.0", "5.7" etc. For Postgres, it could be "14", "15" etc.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMinorVersion
Optional. Minor version of the underlying database engine. Example values: For MySQL, it could be "8.0.35", "5.7.25" etc. For PostgreSQL, it could be "14.4", "15.5" etc.
| Returns | |
|---|---|
| Type | Description |
string |
|
setMinorVersion
Optional. Minor version of the underlying database engine. Example values: For MySQL, it could be "8.0.35", "5.7.25" etc. For PostgreSQL, it could be "14.4", "15.5" etc.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|