Class: Google::Cloud::NetworkSecurity::V1::AddressGroup

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/networksecurity/v1/address_group.rb

Overview

AddressGroup is a resource that specifies how a collection of IP/DNS used in Firewall Policy.

Defined Under Namespace

Modules: Purpose, Type Classes: LabelsEntry

Instance Attribute Summary collapse

Instance Attribute Details

#capacity::Integer

Returns Required. Capacity of the Address Group.

Returns:

  • (::Integer)

    Required. Capacity of the Address Group



58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# File 'proto_docs/google/cloud/networksecurity/v1/address_group.rb', line 58

class AddressGroup
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible type of the Address Group.
  module Type
    # Default value.
    TYPE_UNSPECIFIED = 0

    # IP v4 ranges.
    IPV4 = 1

    # IP v6 ranges.
    IPV6 = 2
  end

  # Purpose of the Address Group.
  module Purpose
    # Default value. Should never happen.
    PURPOSE_UNSPECIFIED = 0

    # Address Group is distributed to VMC, and is usable in Firewall Policies
    # and other systems that rely on VMC.
    DEFAULT = 1

    # Address Group is usable in Cloud Armor.
    CLOUD_ARMOR = 2
  end
end

#create_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The timestamp when the resource was created.

Returns:



58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# File 'proto_docs/google/cloud/networksecurity/v1/address_group.rb', line 58

class AddressGroup
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible type of the Address Group.
  module Type
    # Default value.
    TYPE_UNSPECIFIED = 0

    # IP v4 ranges.
    IPV4 = 1

    # IP v6 ranges.
    IPV6 = 2
  end

  # Purpose of the Address Group.
  module Purpose
    # Default value. Should never happen.
    PURPOSE_UNSPECIFIED = 0

    # Address Group is distributed to VMC, and is usable in Firewall Policies
    # and other systems that rely on VMC.
    DEFAULT = 1

    # Address Group is usable in Cloud Armor.
    CLOUD_ARMOR = 2
  end
end

#description::String

Returns Optional. Free-text description of the resource.

Returns:

  • (::String)

    Optional. Free-text description of the resource.



58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# File 'proto_docs/google/cloud/networksecurity/v1/address_group.rb', line 58

class AddressGroup
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible type of the Address Group.
  module Type
    # Default value.
    TYPE_UNSPECIFIED = 0

    # IP v4 ranges.
    IPV4 = 1

    # IP v6 ranges.
    IPV6 = 2
  end

  # Purpose of the Address Group.
  module Purpose
    # Default value. Should never happen.
    PURPOSE_UNSPECIFIED = 0

    # Address Group is distributed to VMC, and is usable in Firewall Policies
    # and other systems that rely on VMC.
    DEFAULT = 1

    # Address Group is usable in Cloud Armor.
    CLOUD_ARMOR = 2
  end
end

#items::Array<::String>

Returns Optional. List of items.

Returns:

  • (::Array<::String>)

    Optional. List of items.



58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# File 'proto_docs/google/cloud/networksecurity/v1/address_group.rb', line 58

class AddressGroup
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible type of the Address Group.
  module Type
    # Default value.
    TYPE_UNSPECIFIED = 0

    # IP v4 ranges.
    IPV4 = 1

    # IP v6 ranges.
    IPV6 = 2
  end

  # Purpose of the Address Group.
  module Purpose
    # Default value. Should never happen.
    PURPOSE_UNSPECIFIED = 0

    # Address Group is distributed to VMC, and is usable in Firewall Policies
    # and other systems that rely on VMC.
    DEFAULT = 1

    # Address Group is usable in Cloud Armor.
    CLOUD_ARMOR = 2
  end
end

#labels::Google::Protobuf::Map{::String => ::String}

Returns 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.



58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# File 'proto_docs/google/cloud/networksecurity/v1/address_group.rb', line 58

class AddressGroup
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible type of the Address Group.
  module Type
    # Default value.
    TYPE_UNSPECIFIED = 0

    # IP v4 ranges.
    IPV4 = 1

    # IP v6 ranges.
    IPV6 = 2
  end

  # Purpose of the Address Group.
  module Purpose
    # Default value. Should never happen.
    PURPOSE_UNSPECIFIED = 0

    # Address Group is distributed to VMC, and is usable in Firewall Policies
    # and other systems that rely on VMC.
    DEFAULT = 1

    # Address Group is usable in Cloud Armor.
    CLOUD_ARMOR = 2
  end
end

#name::String

Returns 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>.



58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# File 'proto_docs/google/cloud/networksecurity/v1/address_group.rb', line 58

class AddressGroup
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible type of the Address Group.
  module Type
    # Default value.
    TYPE_UNSPECIFIED = 0

    # IP v4 ranges.
    IPV4 = 1

    # IP v6 ranges.
    IPV6 = 2
  end

  # Purpose of the Address Group.
  module Purpose
    # Default value. Should never happen.
    PURPOSE_UNSPECIFIED = 0

    # Address Group is distributed to VMC, and is usable in Firewall Policies
    # and other systems that rely on VMC.
    DEFAULT = 1

    # Address Group is usable in Cloud Armor.
    CLOUD_ARMOR = 2
  end
end

#purpose::Array<::Google::Cloud::NetworkSecurity::V1::AddressGroup::Purpose>

Returns Optional. List of supported purposes of the Address Group.

Returns:



58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# File 'proto_docs/google/cloud/networksecurity/v1/address_group.rb', line 58

class AddressGroup
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible type of the Address Group.
  module Type
    # Default value.
    TYPE_UNSPECIFIED = 0

    # IP v4 ranges.
    IPV4 = 1

    # IP v6 ranges.
    IPV6 = 2
  end

  # Purpose of the Address Group.
  module Purpose
    # Default value. Should never happen.
    PURPOSE_UNSPECIFIED = 0

    # Address Group is distributed to VMC, and is usable in Firewall Policies
    # and other systems that rely on VMC.
    DEFAULT = 1

    # Address Group is usable in Cloud Armor.
    CLOUD_ARMOR = 2
  end
end

Returns Output only. Server-defined fully-qualified URL for this resource.

Returns:

  • (::String)

    Output only. Server-defined fully-qualified URL for this resource.



58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# File 'proto_docs/google/cloud/networksecurity/v1/address_group.rb', line 58

class AddressGroup
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible type of the Address Group.
  module Type
    # Default value.
    TYPE_UNSPECIFIED = 0

    # IP v4 ranges.
    IPV4 = 1

    # IP v6 ranges.
    IPV6 = 2
  end

  # Purpose of the Address Group.
  module Purpose
    # Default value. Should never happen.
    PURPOSE_UNSPECIFIED = 0

    # Address Group is distributed to VMC, and is usable in Firewall Policies
    # and other systems that rely on VMC.
    DEFAULT = 1

    # Address Group is usable in Cloud Armor.
    CLOUD_ARMOR = 2
  end
end

#type::Google::Cloud::NetworkSecurity::V1::AddressGroup::Type

Returns Required. The type of the Address Group. Possible values are "IPv4" or "IPV6".

Returns:



58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# File 'proto_docs/google/cloud/networksecurity/v1/address_group.rb', line 58

class AddressGroup
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible type of the Address Group.
  module Type
    # Default value.
    TYPE_UNSPECIFIED = 0

    # IP v4 ranges.
    IPV4 = 1

    # IP v6 ranges.
    IPV6 = 2
  end

  # Purpose of the Address Group.
  module Purpose
    # Default value. Should never happen.
    PURPOSE_UNSPECIFIED = 0

    # Address Group is distributed to VMC, and is usable in Firewall Policies
    # and other systems that rely on VMC.
    DEFAULT = 1

    # Address Group is usable in Cloud Armor.
    CLOUD_ARMOR = 2
  end
end

#update_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The timestamp when the resource was updated.

Returns:



58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# File 'proto_docs/google/cloud/networksecurity/v1/address_group.rb', line 58

class AddressGroup
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible type of the Address Group.
  module Type
    # Default value.
    TYPE_UNSPECIFIED = 0

    # IP v4 ranges.
    IPV4 = 1

    # IP v6 ranges.
    IPV6 = 2
  end

  # Purpose of the Address Group.
  module Purpose
    # Default value. Should never happen.
    PURPOSE_UNSPECIFIED = 0

    # Address Group is distributed to VMC, and is usable in Firewall Policies
    # and other systems that rely on VMC.
    DEFAULT = 1

    # Address Group is usable in Cloud Armor.
    CLOUD_ARMOR = 2
  end
end