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

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

#bonding_type

def bonding_type() -> ::Google::Cloud::EdgeNetwork::V1::Subnet::BondingType
Returns
  • (::Google::Cloud::EdgeNetwork::V1::Subnet::BondingType) — Optional. A bonding type in the subnet creation specifies whether a VLAN being created will be present on Bonded or Non-Bonded or Both port types. In addition, this flag is to be used to set the specific network configuration which clusters can then use for their workloads based on the bonding choice.

#bonding_type=

def bonding_type=(value) -> ::Google::Cloud::EdgeNetwork::V1::Subnet::BondingType
Parameter
  • value (::Google::Cloud::EdgeNetwork::V1::Subnet::BondingType) — Optional. A bonding type in the subnet creation specifies whether a VLAN being created will be present on Bonded or Non-Bonded or Both port types. In addition, this flag is to be used to set the specific network configuration which clusters can then use for their workloads based on the bonding choice.
Returns
  • (::Google::Cloud::EdgeNetwork::V1::Subnet::BondingType) — Optional. A bonding type in the subnet creation specifies whether a VLAN being created will be present on Bonded or Non-Bonded or Both port types. In addition, this flag is to be used to set the specific network configuration which clusters can then use for their workloads based on the bonding choice.

#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.