# Oracle Database@Google Cloud V1 API - Class Google::Cloud::OracleDatabase::V1::OdbNetwork (v0.15.0)

0.15.0 (latest) 0.14.0 0.13.0 0.12.0 0.11.1 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.1 0.4.0 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the Oracle Database@Google Cloud V1 API class Google::Cloud::OracleDatabase::V1::OdbNetwork.

Represents OdbNetwork resource.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #create_time

    def create_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The date and time that the OdbNetwork was created.

### #entitlement_id

    def entitlement_id() -> ::String

**Returns**

- (::String) --- Output only. The ID of the subscription entitlement associated with the OdbNetwork.

### #gcp_oracle_zone

    def gcp_oracle_zone() -> ::String

**Returns**

- (::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.

### #gcp_oracle_zone=

    def gcp_oracle_zone=(value) -> ::String

**Parameter**

- **value** (::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.
**Returns**

- (::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.

### #labels

    def labels() -> ::Google::Protobuf::Map{::String => ::String}

**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. Labels or tags associated with the resource.

### #labels=

    def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}

**Parameter**

- **value** (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. Labels or tags associated with the resource.
**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. Labels or tags associated with the resource.

### #name

    def name() -> ::String

**Returns**

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

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Identifier. The name of the OdbNetwork resource in the following format: projects/{project}/locations/{region}/odbNetworks/{odb_network}
**Returns**

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

### #network

    def network() -> ::String

**Returns**

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

### #network=

    def network=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The name of the VPC network in the following format: projects/{project}/global/networks/{network}
**Returns**

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

### #state

    def state() -> ::Google::Cloud::OracleDatabase::V1::OdbNetwork::State

**Returns**

- ([::Google::Cloud::OracleDatabase::V1::OdbNetwork::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Cloud-OracleDatabase-V1-OdbNetwork-State)) --- Output only. State of the ODB Network.