Distributed Cloud Edge Network V1 API - Class Google::Cloud::EdgeNetwork::V1::Subnet (v0.3.1)

Reference documentation and code samples for the Distributed Cloud Edge Network V1 API class Google::Cloud::EdgeNetwork::V1::Subnet.

Message describing Subnet object

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#create_time

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

#description

def description() -> ::String
Returns
  • (::String) — Optional. A free-text description of the resource. Max length 1024 characters.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Optional. A free-text description of the resource. Max length 1024 characters.
Returns
  • (::String) — Optional. A free-text description of the resource. Max length 1024 characters.

#ipv4_cidr

def ipv4_cidr() -> ::Array<::String>
Returns
  • (::Array<::String>) — The ranges of ipv4 addresses that are owned by this subnetwork.

#ipv4_cidr=

def ipv4_cidr=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — The ranges of ipv4 addresses that are owned by this subnetwork.
Returns
  • (::Array<::String>) — The ranges of ipv4 addresses that are owned by this subnetwork.

#ipv6_cidr

def ipv6_cidr() -> ::Array<::String>
Returns
  • (::Array<::String>) — The ranges of ipv6 addresses that are owned by this subnetwork.

#ipv6_cidr=

def ipv6_cidr=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — The ranges of ipv6 addresses that are owned by this subnetwork.
Returns
  • (::Array<::String>) — The ranges of ipv6 addresses that are owned by this subnetwork.

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Labels associated with this resource.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Labels associated with this resource.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Labels associated with this resource.

#name

def name() -> ::String
Returns
  • (::String) — Required. The canonical resource name of the subnet.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. The canonical resource name of the subnet.
Returns
  • (::String) — Required. The canonical resource name of the subnet.

#network

def network() -> ::String
Returns
  • (::String) — Required. The network that this subnetwork belongs to.

#network=

def network=(value) -> ::String
Parameter
  • value (::String) — Required. The network that this subnetwork belongs to.
Returns
  • (::String) — Required. The network that this subnetwork belongs to.

#state

def state() -> ::Google::Cloud::EdgeNetwork::V1::ResourceState
Returns

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns

#vlan_id

def vlan_id() -> ::Integer
Returns
  • (::Integer) — Optional. VLAN id provided by user. If not specified we assign one automatically.

#vlan_id=

def vlan_id=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. VLAN id provided by user. If not specified we assign one automatically.
Returns
  • (::Integer) — Optional. VLAN id provided by user. If not specified we assign one automatically.