Google Cloud Telco Automation V1 Client - Class CidrBlock (0.1.0)

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 \ MasterAuthorizedNetworksConfig

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

setDisplayName

Optional. display_name is an optional field for users to identify CIDR blocks.

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this