Google Cloud Oracle Database V1 Client - Class CreateAutonomousDatabaseRequest (0.1.0)

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

The request for AutonomousDatabase.Create.

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

Namespace

Google \ Cloud \ OracleDatabase \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

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

↳ autonomous_database_id string

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

↳ autonomous_database Google\Cloud\OracleDatabase\V1\AutonomousDatabase

Required. The Autonomous Database being created.

↳ 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 name of the parent in the following format: projects/{project}/locations/{location}.

Returns
Type Description
string

setParent

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

Parameter
Name Description
var string
Returns
Type Description
$this

getAutonomousDatabaseId

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

setAutonomousDatabaseId

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

getAutonomousDatabase

Required. The Autonomous Database being created.

Returns
Type Description
Google\Cloud\OracleDatabase\V1\AutonomousDatabase|null

hasAutonomousDatabase

clearAutonomousDatabase

setAutonomousDatabase

Required. The Autonomous Database being created.

Parameter
Name Description
var Google\Cloud\OracleDatabase\V1\AutonomousDatabase
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 name of the parent in the following format: projects/{project}/locations/{location}. Please see Google\Cloud\OracleDatabase\V1\OracleDatabaseClient::locationName() for help formatting this field.

autonomousDatabase Google\Cloud\OracleDatabase\V1\AutonomousDatabase

Required. The Autonomous Database being created.

autonomousDatabaseId string

Required. The ID of the Autonomous Database 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
Google\Cloud\OracleDatabase\V1\CreateAutonomousDatabaseRequest