Reference documentation and code samples for the Oracle Database@Google Cloud V1 API class Google::Cloud::OracleDatabase::V1::OdbSubnet.
Represents OdbSubnet resource.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#cidr_range
def cidr_range() -> ::String
Returns
- (::String) — Required. The CIDR range of the subnet.
#cidr_range=
def cidr_range=(value) -> ::String
Parameter
- value (::String) — Required. The CIDR range of the subnet.
Returns
- (::String) — Required. The CIDR range of the subnet.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The date and time that the OdbNetwork was created.
#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 OdbSubnet resource in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Identifier. The name of the OdbSubnet resource in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
Returns
- (::String) — Identifier. The name of the OdbSubnet resource in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
#purpose
def purpose() -> ::Google::Cloud::OracleDatabase::V1::OdbSubnet::Purpose
Returns
- (::Google::Cloud::OracleDatabase::V1::OdbSubnet::Purpose) — Required. Purpose of the subnet.
#purpose=
def purpose=(value) -> ::Google::Cloud::OracleDatabase::V1::OdbSubnet::Purpose
Parameter
- value (::Google::Cloud::OracleDatabase::V1::OdbSubnet::Purpose) — Required. Purpose of the subnet.
Returns
- (::Google::Cloud::OracleDatabase::V1::OdbSubnet::Purpose) — Required. Purpose of the subnet.
#state
def state() -> ::Google::Cloud::OracleDatabase::V1::OdbSubnet::State
Returns
- (::Google::Cloud::OracleDatabase::V1::OdbSubnet::State) — Output only. State of the ODB Subnet.