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
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Telco Automation V1 Client - Class CidrBlock (1.1.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.1 (latest)](/php/docs/reference/cloud-telcoautomation/latest/V1.MasterAuthorizedNetworksConfig.CidrBlock)\n- [1.1.0](/php/docs/reference/cloud-telcoautomation/1.1.0/V1.MasterAuthorizedNetworksConfig.CidrBlock)\n- [1.0.3](/php/docs/reference/cloud-telcoautomation/1.0.3/V1.MasterAuthorizedNetworksConfig.CidrBlock)\n- [0.2.5](/php/docs/reference/cloud-telcoautomation/0.2.5/V1.MasterAuthorizedNetworksConfig.CidrBlock)\n- [0.1.0](/php/docs/reference/cloud-telcoautomation/0.1.0/V1.MasterAuthorizedNetworksConfig.CidrBlock) \nReference documentation and code samples for the Google Cloud Telco Automation V1 Client class CidrBlock.\n\nCidrBlock contains an optional name and one CIDR block.\n\nGenerated from protobuf message `google.cloud.telcoautomation.v1.MasterAuthorizedNetworksConfig.CidrBlock`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ TelcoAutomation \\\\ V1 \\\\ MasterAuthorizedNetworksConfig\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getDisplayName\n\nOptional. display_name is an optional field for users to identify CIDR\nblocks.\n\n### setDisplayName\n\nOptional. display_name is an optional field for users to identify CIDR\nblocks.\n\n### getCidrBlock\n\nOptional. cidr_block must be specified in CIDR notation when using\nmaster_authorized_networks_config. Currently, the user could still use\nthe deprecated man_block field, so this field is currently optional, but\nwill be required in the future.\n\n### setCidrBlock\n\nOptional. cidr_block must be specified in CIDR notation when using\nmaster_authorized_networks_config. Currently, the user could still use\nthe deprecated man_block field, so this field is currently optional, but\nwill be required in the future."]]