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

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

Represents OdbNetwork resource.

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

Namespace

Google \ Cloud \ OracleDatabase \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Identifier. The name of the OdbNetwork resource in the following format: projects/{project}/locations/{region}/odbNetworks/{odb_network}

↳ network string

Required. The name of the VPC network in the following format: projects/{project}/global/networks/{network}

↳ labels array|Google\Protobuf\Internal\MapField

Optional. Labels or tags associated with the resource.

↳ create_time Google\Protobuf\Timestamp

Output only. The date and time that the OdbNetwork was created.

↳ state int

Output only. State of the ODB Network.

↳ entitlement_id string

Output only. The ID of the subscription entitlement associated with the OdbNetwork.

↳ gcp_oracle_zone string

Optional. The GCP Oracle zone where OdbNetwork is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.

getName

Identifier. The name of the OdbNetwork resource in the following format: projects/{project}/locations/{region}/odbNetworks/{odb_network}

Returns
Type Description
string

setName

Identifier. The name of the OdbNetwork resource in the following format: projects/{project}/locations/{region}/odbNetworks/{odb_network}

Parameter
Name Description
var string
Returns
Type Description
$this

getNetwork

Required. The name of the VPC network in the following format: projects/{project}/global/networks/{network}

Returns
Type Description
string

setNetwork

Required. The name of the VPC network in the following format: projects/{project}/global/networks/{network}

Parameter
Name Description
var string
Returns
Type Description
$this

getLabels

Optional. Labels or tags associated with the resource.

Returns
Type Description
Google\Protobuf\Internal\MapField

setLabels

Optional. Labels or tags associated with the resource.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this

getCreateTime

Output only. The date and time that the OdbNetwork was created.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The date and time that the OdbNetwork was created.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getState

Output only. State of the ODB Network.

Returns
Type Description
int Enum of type State.

setState

Output only. State of the ODB Network.

Parameter
Name Description
var int

Enum of type State.

Returns
Type Description
$this

getEntitlementId

Output only. The ID of the subscription entitlement associated with the OdbNetwork.

Returns
Type Description
string

setEntitlementId

Output only. The ID of the subscription entitlement associated with the OdbNetwork.

Parameter
Name Description
var string
Returns
Type Description
$this

getGcpOracleZone

Optional. The GCP Oracle zone where OdbNetwork is hosted.

Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.

Returns
Type Description
string

setGcpOracleZone

Optional. The GCP Oracle zone where OdbNetwork is hosted.

Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.

Parameter
Name Description
var string
Returns
Type Description
$this