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

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

The request for OdbSubnet.Create.

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

Namespace

Google \ Cloud \ OracleDatabase \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent value for the OdbSubnet in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}.

↳ odb_subnet_id string

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

↳ odb_subnet OdbSubnet

Required. Details of the OdbSubnet 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 OdbSubnet in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}.

Returns
Type Description
string

setParent

Required. The parent value for the OdbSubnet in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}.

Parameter
Name Description
var string
Returns
Type Description
$this

getOdbSubnetId

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

setOdbSubnetId

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

getOdbSubnet

Required. Details of the OdbSubnet instance to create.

Returns
Type Description
OdbSubnet|null

hasOdbSubnet

clearOdbSubnet

setOdbSubnet

Required. Details of the OdbSubnet instance to create.

Parameter
Name Description
var OdbSubnet
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 OdbSubnet in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}. Please see OracleDatabaseClient::odbNetworkName() for help formatting this field.

odbSubnet OdbSubnet

Required. Details of the OdbSubnet instance to create.

odbSubnetId string

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