Reference documentation and code samples for the Network Security V1 API class Google::Cloud::NetworkSecurity::V1::AddressGroup.
AddressGroup is a resource that specifies how a collection of IP/DNS used in Firewall Policy.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#capacity
def capacity() -> ::Integer
Returns
- (::Integer) — Required. Capacity of the Address Group
#capacity=
def capacity=(value) -> ::Integer
Parameter
- value (::Integer) — Required. Capacity of the Address Group
Returns
- (::Integer) — Required. Capacity of the Address Group
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The timestamp when the resource was created.
#description
def description() -> ::String
Returns
- (::String) — Optional. Free-text description of the resource.
#description=
def description=(value) -> ::String
Parameter
- value (::String) — Optional. Free-text description of the resource.
Returns
- (::String) — Optional. Free-text description of the resource.
#items
def items() -> ::Array<::String>
Returns
- (::Array<::String>) — Optional. List of items.
#items=
def items=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — Optional. List of items.
Returns
- (::Array<::String>) — Optional. List of items.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Set of label tags associated with the AddressGroup resource.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
- value (::Google::Protobuf::Map{::String => ::String}) — Optional. Set of label tags associated with the AddressGroup resource.
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Set of label tags associated with the AddressGroup resource.
#name
def name() -> ::String
Returns
-
(::String) — Required. Name of the AddressGroup resource. It matches pattern
projects/*/locations/{location}/addressGroups/<address_group>.
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Required. Name of the AddressGroup resource. It matches pattern
projects/*/locations/{location}/addressGroups/<address_group>.
Returns
-
(::String) — Required. Name of the AddressGroup resource. It matches pattern
projects/*/locations/{location}/addressGroups/<address_group>.
#purpose
def purpose() -> ::Array<::Google::Cloud::NetworkSecurity::V1::AddressGroup::Purpose>
Returns
- (::Array<::Google::Cloud::NetworkSecurity::V1::AddressGroup::Purpose>) — Optional. List of supported purposes of the Address Group.
#purpose=
def purpose=(value) -> ::Array<::Google::Cloud::NetworkSecurity::V1::AddressGroup::Purpose>
Parameter
- value (::Array<::Google::Cloud::NetworkSecurity::V1::AddressGroup::Purpose>) — Optional. List of supported purposes of the Address Group.
Returns
- (::Array<::Google::Cloud::NetworkSecurity::V1::AddressGroup::Purpose>) — Optional. List of supported purposes of the Address Group.
#self_link
def self_link() -> ::String
Returns
- (::String) — Output only. Server-defined fully-qualified URL for this resource.
#type
def type() -> ::Google::Cloud::NetworkSecurity::V1::AddressGroup::Type
Returns
- (::Google::Cloud::NetworkSecurity::V1::AddressGroup::Type) — Required. The type of the Address Group. Possible values are "IPv4" or "IPV6".
#type=
def type=(value) -> ::Google::Cloud::NetworkSecurity::V1::AddressGroup::Type
Parameter
- value (::Google::Cloud::NetworkSecurity::V1::AddressGroup::Type) — Required. The type of the Address Group. Possible values are "IPv4" or "IPV6".
Returns
- (::Google::Cloud::NetworkSecurity::V1::AddressGroup::Type) — Required. The type of the Address Group. Possible values are "IPv4" or "IPV6".
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The timestamp when the resource was updated.