Reference documentation and code samples for the Google Cloud Oracle Database V1 Client class CreateDatabaseConnectionRequest.
The request for DatabaseConnection.Create.
Generated from protobuf message google.cloud.oracledatabase.v1.CreateDatabaseConnectionRequest
Namespace
Google \ Cloud \ OracleDatabase \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The parent value for the DatabaseConnection in the following format: projects/{project}/locations/{location}. |
↳ database_connection_id |
string
Required. The ID of the DatabaseConnection to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number. |
↳ database_connection |
DatabaseConnection
Required. Details of the DatabaseConnection instance to create. |
↳ request_id |
string
Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |
getParent
Required. The parent value for the DatabaseConnection in the following format: projects/{project}/locations/{location}.
| Returns | |
|---|---|
| Type | Description |
string |
|
setParent
Required. The parent value for the DatabaseConnection in the following format: projects/{project}/locations/{location}.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDatabaseConnectionId
Required. The ID of the DatabaseConnection to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDatabaseConnectionId
Required. The ID of the DatabaseConnection to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDatabaseConnection
Required. Details of the DatabaseConnection instance to create.
| Returns | |
|---|---|
| Type | Description |
DatabaseConnection|null |
|
hasDatabaseConnection
clearDatabaseConnection
setDatabaseConnection
Required. Details of the DatabaseConnection instance to create.
| Parameter | |
|---|---|
| Name | Description |
var |
DatabaseConnection
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRequestId
Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
| Returns | |
|---|---|
| Type | Description |
string |
|
setRequestId
Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
parent |
string
Required. The parent value for the DatabaseConnection in the following format: projects/{project}/locations/{location}. Please see OracleDatabaseClient::locationName() for help formatting this field. |
databaseConnection |
DatabaseConnection
Required. Details of the DatabaseConnection instance to create. |
databaseConnectionId |
string
Required. The ID of the DatabaseConnection to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number. |
| Returns | |
|---|---|
| Type | Description |
CreateDatabaseConnectionRequest |
|