Class: Google::Apis::ComputeBeta::UsableSubnetwork
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ComputeBeta::UsableSubnetwork
 
- Defined in:
- generated/google/apis/compute_beta/classes.rb,
 generated/google/apis/compute_beta/representations.rb,
 generated/google/apis/compute_beta/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. 
- 
  
    
      #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
| 21000 21001 21002 | # File 'generated/google/apis/compute_beta/classes.rb', line 21000 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
| 20988 20989 20990 | # File 'generated/google/apis/compute_beta/classes.rb', line 20988 def ip_cidr_range @ip_cidr_range end | 
#network ⇒ String
Network URL.
Corresponds to the JSON property network
| 20993 20994 20995 | # File 'generated/google/apis/compute_beta/classes.rb', line 20993 def network @network end | 
#subnetwork ⇒ String
Subnetwork URL.
Corresponds to the JSON property subnetwork
| 20998 20999 21000 | # File 'generated/google/apis/compute_beta/classes.rb', line 20998 def subnetwork @subnetwork end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 21005 21006 21007 21008 21009 | # File 'generated/google/apis/compute_beta/classes.rb', line 21005 def update!(**args) @ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range) @network = args[:network] if args.key?(:network) @subnetwork = args[:subnetwork] if args.key?(:subnetwork) end |