Reference documentation and code samples for the Google Cloud Network Security V1 Client class AddressGroup.
AddressGroup is a resource that specifies how a collection of IP/DNS used in Firewall Policy.
Generated from protobuf message google.cloud.networksecurity.v1.AddressGroup
Namespace
Google \ Cloud \ NetworkSecurity \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. Name of the AddressGroup resource. It matches pattern projects/*/locations/{location}/addressGroups/<address_group>
.
↳ description
string
Optional. Free-text description of the resource.
↳ create_time
↳ update_time
↳ labels
array| Google\Protobuf\Internal\MapField
Optional. Set of label tags associated with the AddressGroup resource.
↳ type
int
Required. The type of the Address Group. Possible values are "IPv4" or "IPV6".
↳ items
array
Optional. List of items.
↳ capacity
int
Required. Capacity of the Address Group
↳ self_link
string
Output only. Server-defined fully-qualified URL for this resource.
↳ purpose
array
Optional. List of supported purposes of the Address Group.
getName
Required. Name of the AddressGroup resource. It matches pattern projects/*/locations/{location}/addressGroups/<address_group>
.
string
setName
Required. Name of the AddressGroup resource. It matches pattern projects/*/locations/{location}/addressGroups/<address_group>
.
var
string
$this
getDescription
Optional. Free-text description of the resource.
string
setDescription
Optional. Free-text description of the resource.
var
string
$this
getCreateTime
Output only. The timestamp when the resource was created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The timestamp when the resource was created.
$this
getUpdateTime
Output only. The timestamp when the resource was updated.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The timestamp when the resource was updated.
$this
getLabels
Optional. Set of label tags associated with the AddressGroup resource.
setLabels
Optional. Set of label tags associated with the AddressGroup resource.
$this
getType
Required. The type of the Address Group. Possible values are "IPv4" or "IPV6".
setType
Required. The type of the Address Group. Possible values are "IPv4" or "IPV6".
$this
getItems
Optional. List of items.
setItems
Optional. List of items.
var
string[]
$this
getCapacity
Required. Capacity of the Address Group
int
setCapacity
Required. Capacity of the Address Group
var
int
$this
getSelfLink
Output only. Server-defined fully-qualified URL for this resource.
string
setSelfLink
Output only. Server-defined fully-qualified URL for this resource.
var
string
$this
getPurpose
Optional. List of supported purposes of the Address Group.
setPurpose
Optional. List of supported purposes of the Address Group.
var
int[]
$this

