Class: Google::Apis::ComputeV1::UsableSubnetwork
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ComputeV1::UsableSubnetwork
 
 
- Defined in:
 - generated/google/apis/compute_v1/classes.rb,
generated/google/apis/compute_v1/representations.rb,
generated/google/apis/compute_v1/representations.rb 
Overview
Subnetwork which the current user has compute.subnetworks.use permission on.
Instance Attribute Summary collapse
- 
  
    
      #ip_cidr_range  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The range of internal addresses that are owned by this subnetwork.
 - 
  
    
      #network  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Network URL.
 - 
  
    
      #secondary_ip_ranges  ⇒ Array<Google::Apis::ComputeV1::UsableSubnetworkSecondaryRange> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Secondary IP ranges.
 - 
  
    
      #subnetwork  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Subnetwork URL.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ UsableSubnetwork 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of UsableSubnetwork.
 - 
  
    
      #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) ⇒ UsableSubnetwork
Returns a new instance of UsableSubnetwork
      21346 21347 21348  | 
    
      # File 'generated/google/apis/compute_v1/classes.rb', line 21346 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#ip_cidr_range ⇒ String
The range of internal addresses that are owned by this subnetwork.
Corresponds to the JSON property ipCidrRange
      21329 21330 21331  | 
    
      # File 'generated/google/apis/compute_v1/classes.rb', line 21329 def ip_cidr_range @ip_cidr_range end  | 
  
#network ⇒ String
Network URL.
Corresponds to the JSON property network
      21334 21335 21336  | 
    
      # File 'generated/google/apis/compute_v1/classes.rb', line 21334 def network @network end  | 
  
#secondary_ip_ranges ⇒ Array<Google::Apis::ComputeV1::UsableSubnetworkSecondaryRange>
Secondary IP ranges.
Corresponds to the JSON property secondaryIpRanges
      21339 21340 21341  | 
    
      # File 'generated/google/apis/compute_v1/classes.rb', line 21339 def secondary_ip_ranges @secondary_ip_ranges end  | 
  
#subnetwork ⇒ String
Subnetwork URL.
Corresponds to the JSON property subnetwork
      21344 21345 21346  | 
    
      # File 'generated/google/apis/compute_v1/classes.rb', line 21344 def subnetwork @subnetwork end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      21351 21352 21353 21354 21355 21356  | 
    
      # File 'generated/google/apis/compute_v1/classes.rb', line 21351 def update!(**args) @ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range) @network = args[:network] if args.key?(:network) @secondary_ip_ranges = args[:secondary_ip_ranges] if args.key?(:secondary_ip_ranges) @subnetwork = args[:subnetwork] if args.key?(:subnetwork) end  |