Reference documentation and code samples for the Google Cloud Telco Automation V1 Client class CidrBlock.
CidrBlock contains an optional name and one CIDR block.
Generated from protobuf message google.cloud.telcoautomation.v1.MasterAuthorizedNetworksConfig.CidrBlock
Namespace
Google \ Cloud \ TelcoAutomation \ V1 \ MasterAuthorizedNetworksConfigMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ display_name |
string
Optional. display_name is an optional field for users to identify CIDR blocks. |
↳ cidr_block |
string
Optional. cidr_block must be specified in CIDR notation when using master_authorized_networks_config. Currently, the user could still use the deprecated man_block field, so this field is currently optional, but will be required in the future. |
getDisplayName
Optional. display_name is an optional field for users to identify CIDR blocks.
Returns | |
---|---|
Type | Description |
string |
setDisplayName
Optional. display_name is an optional field for users to identify CIDR blocks.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getCidrBlock
Optional. cidr_block must be specified in CIDR notation when using master_authorized_networks_config. Currently, the user could still use the deprecated man_block field, so this field is currently optional, but will be required in the future.
Returns | |
---|---|
Type | Description |
string |
setCidrBlock
Optional. cidr_block must be specified in CIDR notation when using master_authorized_networks_config. Currently, the user could still use the deprecated man_block field, so this field is currently optional, but will be required in the future.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |