Network Security V1 API - Class Google::Cloud::NetworkSecurity::V1::AddressGroup (v0.1.0)

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

#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

#purpose=

def purpose=(value) -> ::Array<::Google::Cloud::NetworkSecurity::V1::AddressGroup::Purpose>
Parameter
Returns
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

#type=

def type=(value) -> ::Google::Cloud::NetworkSecurity::V1::AddressGroup::Type
Parameter
Returns

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns