Reference documentation and code samples for the Google Cloud Bare Metal Solution V2 Client class NetworkConfig.
Configuration parameters for a new network.
Generated from protobuf message google.cloud.baremetalsolution.v2.NetworkConfig
Namespace
Google \ Cloud \ BareMetalSolution \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. The name of the network config.
↳ id
string
A transient unique identifier to identify a volume within an ProvisioningConfig request.
↳ type
int
The type of this network, either Client or Private.
↳ bandwidth
int
Interconnect bandwidth. Set only when type is CLIENT.
↳ vlan_attachments
array< 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).
↳ cidr
string
CIDR range of the network.
↳ service_cidr
int
Service CIDR, if any.
↳ user_note
string
User note field, it can be used by customers to add additional information for the BMS Ops team .
↳ gcp_service
string
The GCP service of the network. Available gcp_service are in https://cloud.google.com/bare-metal/docs/bms-planning .
↳ vlan_same_project
bool
Whether the VLAN attachment pair is located in the same project.
↳ jumbo_frames_enabled
bool
The JumboFramesEnabled option for customer to set.
getName
Output only. The name of the network config.
string
setName
Output only. The name of the network config.
var
string
$this
getId
A transient unique identifier to identify a volume within an ProvisioningConfig request.
string
setId
A transient unique identifier to identify a volume within an ProvisioningConfig request.
var
string
$this
getType
The type of this network, either Client or Private.
int
setType
The type of this network, either Client or Private.
var
int
$this
getBandwidth
Interconnect bandwidth. Set only when type is CLIENT.
int
setBandwidth
Interconnect bandwidth. Set only when type is CLIENT.
var
int
$this
getVlanAttachments
List of VLAN attachments. As of now there are always 2 attachments, but it is going to change in the future (multi vlan).
setVlanAttachments
List of VLAN attachments. As of now there are always 2 attachments, but it is going to change in the future (multi vlan).
$this
getCidr
CIDR range of the network.
string
setCidr
CIDR range of the network.
var
string
$this
getServiceCidr
Service CIDR, if any.
int
setServiceCidr
Service CIDR, if any.
var
int
$this
getUserNote
User note field, it can be used by customers to add additional information for the BMS Ops team .
string
setUserNote
User note field, it can be used by customers to add additional information for the BMS Ops team .
var
string
$this
getGcpService
The GCP service of the network. Available gcp_service are in https://cloud.google.com/bare-metal/docs/bms-planning .
string
setGcpService
The GCP service of the network. Available gcp_service are in https://cloud.google.com/bare-metal/docs/bms-planning .
var
string
$this
getVlanSameProject
Whether the VLAN attachment pair is located in the same project.
bool
setVlanSameProject
Whether the VLAN attachment pair is located in the same project.
var
bool
$this
getJumboFramesEnabled
The JumboFramesEnabled option for customer to set.
bool
setJumboFramesEnabled
The JumboFramesEnabled option for customer to set.
var
bool
$this