Google Cloud Oracle Database V1 Client - Class CreateDbSystemRequest (0.8.0)

Reference documentation and code samples for the Google Cloud Oracle Database V1 Client class CreateDbSystemRequest.

The request for DbSystem.Create.

Generated from protobuf message google.cloud.oracledatabase.v1.CreateDbSystemRequest

Namespace

Google \ Cloud \ OracleDatabase \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The value for parent of the DbSystem in the following format: projects/{project}/locations/{location}.

↳ db_system_id string

Required. The ID of the DbSystem 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.

↳ db_system DbSystem

Required. The resource being created.

↳ request_id string

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore 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 value for parent of the DbSystem in the following format: projects/{project}/locations/{location}.

Returns
Type Description
string

setParent

Required. The value for parent of the DbSystem in the following format: projects/{project}/locations/{location}.

Parameter
Name Description
var string
Returns
Type Description
$this

getDbSystemId

Required. The ID of the DbSystem 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

setDbSystemId

Required. The ID of the DbSystem 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

getDbSystem

Required. The resource being created.

Returns
Type Description
DbSystem|null

hasDbSystem

clearDbSystem

setDbSystem

Required. The resource being created.

Parameter
Name Description
var DbSystem
Returns
Type Description
$this

getRequestId

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore 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 request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore 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 value for parent of the DbSystem in the following format: projects/{project}/locations/{location}. Please see OracleDatabaseClient::locationName() for help formatting this field.

dbSystem DbSystem

Required. The resource being created.

dbSystemId string

Required. The ID of the DbSystem 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
CreateDbSystemRequest