Reference documentation and code samples for the Bare Metal Solution V2 API class Google::Cloud::BareMetalSolution::V2::NetworkConfig.
Configuration parameters for a new network.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#bandwidth
def bandwidth() -> ::Google::Cloud::BareMetalSolution::V2::NetworkConfig::Bandwidth
Returns
- (::Google::Cloud::BareMetalSolution::V2::NetworkConfig::Bandwidth) — Interconnect bandwidth. Set only when type is CLIENT.
#bandwidth=
def bandwidth=(value) -> ::Google::Cloud::BareMetalSolution::V2::NetworkConfig::Bandwidth
Parameter
- value (::Google::Cloud::BareMetalSolution::V2::NetworkConfig::Bandwidth) — Interconnect bandwidth. Set only when type is CLIENT.
Returns
- (::Google::Cloud::BareMetalSolution::V2::NetworkConfig::Bandwidth) — Interconnect bandwidth. Set only when type is CLIENT.
#cidr
def cidr() -> ::String
Returns
- (::String) — CIDR range of the network.
#cidr=
def cidr=(value) -> ::String
Parameter
- value (::String) — CIDR range of the network.
Returns
- (::String) — CIDR range of the network.
#gcp_service
def gcp_service() -> ::String
Returns
- (::String) — The GCP service of the network. Available gcp_service are in https://cloud.google.com/bare-metal/docs/bms-planning.
#gcp_service=
def gcp_service=(value) -> ::String
Parameter
- value (::String) — The GCP service of the network. Available gcp_service are in https://cloud.google.com/bare-metal/docs/bms-planning.
Returns
- (::String) — The GCP service of the network. Available gcp_service are in https://cloud.google.com/bare-metal/docs/bms-planning.
#id
def id() -> ::String
Returns
- (::String) — A transient unique identifier to identify a volume within an ProvisioningConfig request.
#id=
def id=(value) -> ::String
Parameter
- value (::String) — A transient unique identifier to identify a volume within an ProvisioningConfig request.
Returns
- (::String) — A transient unique identifier to identify a volume within an ProvisioningConfig request.
#jumbo_frames_enabled
def jumbo_frames_enabled() -> ::Boolean
Returns
- (::Boolean) — The JumboFramesEnabled option for customer to set.
#jumbo_frames_enabled=
def jumbo_frames_enabled=(value) -> ::Boolean
Parameter
- value (::Boolean) — The JumboFramesEnabled option for customer to set.
Returns
- (::Boolean) — The JumboFramesEnabled option for customer to set.
#name
def name() -> ::String
Returns
- (::String) — Output only. The name of the network config.
#service_cidr
def service_cidr() -> ::Google::Cloud::BareMetalSolution::V2::NetworkConfig::ServiceCidr
Returns
- (::Google::Cloud::BareMetalSolution::V2::NetworkConfig::ServiceCidr) — Service CIDR, if any.
#service_cidr=
def service_cidr=(value) -> ::Google::Cloud::BareMetalSolution::V2::NetworkConfig::ServiceCidr
Parameter
- value (::Google::Cloud::BareMetalSolution::V2::NetworkConfig::ServiceCidr) — Service CIDR, if any.
Returns
- (::Google::Cloud::BareMetalSolution::V2::NetworkConfig::ServiceCidr) — Service CIDR, if any.
#type
def type() -> ::Google::Cloud::BareMetalSolution::V2::NetworkConfig::Type
Returns
- (::Google::Cloud::BareMetalSolution::V2::NetworkConfig::Type) — The type of this network, either Client or Private.
#type=
def type=(value) -> ::Google::Cloud::BareMetalSolution::V2::NetworkConfig::Type
Parameter
- value (::Google::Cloud::BareMetalSolution::V2::NetworkConfig::Type) — The type of this network, either Client or Private.
Returns
- (::Google::Cloud::BareMetalSolution::V2::NetworkConfig::Type) — The type of this network, either Client or Private.
#user_note
def user_note() -> ::String
Returns
- (::String) — User note field, it can be used by customers to add additional information for the BMS Ops team .
#user_note=
def user_note=(value) -> ::String
Parameter
- value (::String) — User note field, it can be used by customers to add additional information for the BMS Ops team .
Returns
- (::String) — User note field, it can be used by customers to add additional information for the BMS Ops team .
#vlan_attachments
def vlan_attachments() -> ::Array<::Google::Cloud::BareMetalSolution::V2::NetworkConfig::IntakeVlanAttachment>
Returns
- (::Array<::Google::Cloud::BareMetalSolution::V2::NetworkConfig::IntakeVlanAttachment>) — List of VLAN attachments. As of now there are always 2 attachments, but it is going to change in the future (multi vlan).
#vlan_attachments=
def vlan_attachments=(value) -> ::Array<::Google::Cloud::BareMetalSolution::V2::NetworkConfig::IntakeVlanAttachment>
Parameter
- value (::Array<::Google::Cloud::BareMetalSolution::V2::NetworkConfig::IntakeVlanAttachment>) — List of VLAN attachments. As of now there are always 2 attachments, but it is going to change in the future (multi vlan).
Returns
- (::Array<::Google::Cloud::BareMetalSolution::V2::NetworkConfig::IntakeVlanAttachment>) — List of VLAN attachments. As of now there are always 2 attachments, but it is going to change in the future (multi vlan).
#vlan_same_project
def vlan_same_project() -> ::Boolean
Returns
- (::Boolean) — Whether the VLAN attachment pair is located in the same project.
#vlan_same_project=
def vlan_same_project=(value) -> ::Boolean
Parameter
- value (::Boolean) — Whether the VLAN attachment pair is located in the same project.
Returns
- (::Boolean) — Whether the VLAN attachment pair is located in the same project.