Network Security V1 API - Class Google::Cloud::NetworkSecurity::V1::AuthzPolicy::AuthzRule::IpBlock (v0.1.0)

Reference documentation and code samples for the Network Security V1 API class Google::Cloud::NetworkSecurity::V1::AuthzPolicy::AuthzRule::IpBlock.

Represents a range of IP Addresses.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#length

def length() -> ::Integer
Returns
  • (::Integer) — Required. The length of the address range.

#length=

def length=(value) -> ::Integer
Parameter
  • value (::Integer) — Required. The length of the address range.
Returns
  • (::Integer) — Required. The length of the address range.

#prefix

def prefix() -> ::String
Returns
  • (::String) — Required. The address prefix.

#prefix=

def prefix=(value) -> ::String
Parameter
  • value (::String) — Required. The address prefix.
Returns
  • (::String) — Required. The address prefix.