Class: Google::Cloud::Compute::V1::RouterStatusNatStatusNatRuleStatus

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

Overview

Status of a NAT Rule contained in this NAT.

Instance Attribute Summary collapse

Instance Attribute Details

#active_nat_ips::Array<::String>

Returns A list of active IPs for NAT. Example: ["1.1.1.1", "179.12.26.133"].

Returns:

  • (::Array<::String>)

    A list of active IPs for NAT. Example: ["1.1.1.1", "179.12.26.133"].



27908
27909
27910
27911
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 27908

class RouterStatusNatStatusNatRuleStatus
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#drain_nat_ips::Array<::String>

Returns A list of IPs for NAT that are in drain mode. Example: ["1.1.1.1", "179.12.26.133"].

Returns:

  • (::Array<::String>)

    A list of IPs for NAT that are in drain mode. Example: ["1.1.1.1", "179.12.26.133"].



27908
27909
27910
27911
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 27908

class RouterStatusNatStatusNatRuleStatus
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#min_extra_ips_needed::Integer

Returns The number of extra IPs to allocate. This will be greater than 0 only if the existing IPs in this NAT Rule are NOT enough to allow all configured VMs to use NAT.

Returns:

  • (::Integer)

    The number of extra IPs to allocate. This will be greater than 0 only if the existing IPs in this NAT Rule are NOT enough to allow all configured VMs to use NAT.



27908
27909
27910
27911
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 27908

class RouterStatusNatStatusNatRuleStatus
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#num_vm_endpoints_with_nat_mappings::Integer

Returns Number of VM endpoints (i.e., NICs) that have NAT Mappings from this NAT Rule.

Returns:

  • (::Integer)

    Number of VM endpoints (i.e., NICs) that have NAT Mappings from this NAT Rule.



27908
27909
27910
27911
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 27908

class RouterStatusNatStatusNatRuleStatus
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#rule_number::Integer

Returns Rule number of the rule.

Returns:

  • (::Integer)

    Rule number of the rule.



27908
27909
27910
27911
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 27908

class RouterStatusNatStatusNatRuleStatus
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end