Reference documentation and code samples for the Google Cloud Bare Metal Solution V2 Client class LogicalInterface.
Logical interface.
Generated from protobuf message google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Interface name. This is not a globally unique identifier. Name is unique only inside the ServerNetworkTemplate. This is of syntax
|
↳ type |
int
Interface type. |
↳ required |
bool
If true, interface must have network connected. |
getName
Interface name.
This is not a globally unique identifier. Name is unique only inside the ServerNetworkTemplate. This is of syntax
Returns | |
---|---|
Type | Description |
string |
setName
Interface name.
This is not a globally unique identifier. Name is unique only inside the ServerNetworkTemplate. This is of syntax
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getType
Interface type.
Returns | |
---|---|
Type | Description |
int |
setType
Interface type.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getRequired
If true, interface must have network connected.
Returns | |
---|---|
Type | Description |
bool |
setRequired
If true, interface must have network connected.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |