Bare Metal Solution V2 API - Class Google::Cloud::BareMetalSolution::V2::Network (v0.8.0)

Reference documentation and code samples for the Bare Metal Solution V2 API class Google::Cloud::BareMetalSolution::V2::Network.

A Network.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#cidr

def cidr() -> ::String
Returns
  • (::String) — The cidr of the Network.

#cidr=

def cidr=(value) -> ::String
Parameter
  • value (::String) — The cidr of the Network.
Returns
  • (::String) — The cidr of the Network.

#gateway_ip

def gateway_ip() -> ::String
Returns
  • (::String) — Output only. Gateway ip address.

#id

def id() -> ::String
Returns
  • (::String) — An identifier for the Network, generated by the backend.

#id=

def id=(value) -> ::String
Parameter
  • value (::String) — An identifier for the Network, generated by the backend.
Returns
  • (::String) — An identifier for the Network, generated by the backend.

#ip_address

def ip_address() -> ::String
Returns
  • (::String) — IP address configured.

#ip_address=

def ip_address=(value) -> ::String
Parameter
  • value (::String) — IP address configured.
Returns
  • (::String) — IP address configured.

#jumbo_frames_enabled

def jumbo_frames_enabled() -> ::Boolean
Returns
  • (::Boolean) — Whether network uses standard frames or jumbo ones.

#jumbo_frames_enabled=

def jumbo_frames_enabled=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Whether network uses standard frames or jumbo ones.
Returns
  • (::Boolean) — Whether network uses standard frames or jumbo ones.

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Labels as key value pairs.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Labels as key value pairs.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Labels as key value pairs.

#mac_address

def mac_address() -> ::Array<::String>
Returns
  • (::Array<::String>) — List of physical interfaces.

#mac_address=

def mac_address=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — List of physical interfaces.
Returns
  • (::Array<::String>) — List of physical interfaces.

#mount_points

def mount_points() -> ::Array<::Google::Cloud::BareMetalSolution::V2::NetworkMountPoint>
Returns

#mount_points=

def mount_points=(value) -> ::Array<::Google::Cloud::BareMetalSolution::V2::NetworkMountPoint>
Parameter
Returns

#name

def name() -> ::String
Returns
  • (::String) — Output only. The resource name of this Network. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. Format: projects/{project}/locations/{location}/networks/{network}

#pod

def pod() -> ::String
Returns
  • (::String) — Output only. Pod name.

#reservations

def reservations() -> ::Array<::Google::Cloud::BareMetalSolution::V2::NetworkAddressReservation>
Returns

#reservations=

def reservations=(value) -> ::Array<::Google::Cloud::BareMetalSolution::V2::NetworkAddressReservation>
Parameter
Returns

#services_cidr

def services_cidr() -> ::String
Returns
  • (::String) — IP range for reserved for services (e.g. NFS).

#services_cidr=

def services_cidr=(value) -> ::String
Parameter
  • value (::String) — IP range for reserved for services (e.g. NFS).
Returns
  • (::String) — IP range for reserved for services (e.g. NFS).

#state

def state() -> ::Google::Cloud::BareMetalSolution::V2::Network::State

#state=

def state=(value) -> ::Google::Cloud::BareMetalSolution::V2::Network::State
Parameter

#type

def type() -> ::Google::Cloud::BareMetalSolution::V2::Network::Type
Returns

#type=

def type=(value) -> ::Google::Cloud::BareMetalSolution::V2::Network::Type
Parameter
Returns

#vlan_id

def vlan_id() -> ::String
Returns
  • (::String) — The vlan id of the Network.

#vlan_id=

def vlan_id=(value) -> ::String
Parameter
  • value (::String) — The vlan id of the Network.
Returns
  • (::String) — The vlan id of the Network.

#vrf

def vrf() -> ::Google::Cloud::BareMetalSolution::V2::VRF
Returns

#vrf=

def vrf=(value) -> ::Google::Cloud::BareMetalSolution::V2::VRF
Parameter
Returns