Class: Google::Apis::ComputeV1::AliasIpRange
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ComputeV1::AliasIpRange
 
- Defined in:
- generated/google/apis/compute_v1/classes.rb,
 generated/google/apis/compute_v1/representations.rb,
 generated/google/apis/compute_v1/representations.rb
Overview
An alias IP range attached to an instance's network interface.
Instance Attribute Summary collapse
- 
  
    
      #ip_cidr_range  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The IP CIDR range represented by this alias IP range. 
- 
  
    
      #subnetwork_range_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Optional subnetwork secondary range name specifying the secondary range from which to allocate the IP CIDR range for this alias IP range. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ AliasIpRange 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of AliasIpRange. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ AliasIpRange
Returns a new instance of AliasIpRange
| 969 970 971 | # File 'generated/google/apis/compute_v1/classes.rb', line 969 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#ip_cidr_range ⇒ String
The IP CIDR range represented by this alias IP range. This IP CIDR range must
belong to the specified subnetwork and cannot contain IP addresses reserved by
system or used by other network interfaces. This range may be a single IP
address (e.g. 10.2.3.4), a netmask (e.g. /24) or a CIDR format string (e.g. 10.
1.2.0/24).
Corresponds to the JSON property ipCidrRange
| 960 961 962 | # File 'generated/google/apis/compute_v1/classes.rb', line 960 def ip_cidr_range @ip_cidr_range end | 
#subnetwork_range_name ⇒ String
Optional subnetwork secondary range name specifying the secondary range from
which to allocate the IP CIDR range for this alias IP range. If left
unspecified, the primary range of the subnetwork will be used.
Corresponds to the JSON property subnetworkRangeName
| 967 968 969 | # File 'generated/google/apis/compute_v1/classes.rb', line 967 def subnetwork_range_name @subnetwork_range_name end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 974 975 976 977 | # File 'generated/google/apis/compute_v1/classes.rb', line 974 def update!(**args) @ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range) @subnetwork_range_name = args[:subnetwork_range_name] if args.key?(:subnetwork_range_name) end |