Class: Google::Apis::SqladminV1beta4::IpConfiguration
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::SqladminV1beta4::IpConfiguration
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/sqladmin_v1beta4/classes.rb,
generated/google/apis/sqladmin_v1beta4/representations.rb,
generated/google/apis/sqladmin_v1beta4/representations.rb 
Overview
IP Management configuration.
Instance Attribute Summary collapse
- 
  
    
      #authorized_networks  ⇒ Array<Google::Apis::SqladminV1beta4::AclEntry> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The list of external networks that are allowed to connect to the instance using the IP.
 - 
  
    
      #ipv4_enabled  ⇒ Boolean 
    
    
      (also: #ipv4_enabled?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Whether the instance should be assigned an IP address or not.
 - 
  
    
      #private_network  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Reserved for future use.
 - 
  
    
      #require_ssl  ⇒ Boolean 
    
    
      (also: #require_ssl?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Whether SSL connections over IP should be enforced or not.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ IpConfiguration 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of IpConfiguration.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ IpConfiguration
Returns a new instance of IpConfiguration
      1327 1328 1329  | 
    
      # File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1327 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#authorized_networks ⇒ Array<Google::Apis::SqladminV1beta4::AclEntry>
The list of external networks that are allowed to connect to the instance
using the IP. In CIDR notation, also known as 'slash' notation (e.g. 192.168.
100.0/24).
Corresponds to the JSON property authorizedNetworks
      1308 1309 1310  | 
    
      # File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1308 def @authorized_networks end  | 
  
#ipv4_enabled ⇒ Boolean Also known as: ipv4_enabled?
Whether the instance should be assigned an IP address or not.
Corresponds to the JSON property ipv4Enabled
      1313 1314 1315  | 
    
      # File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1313 def ipv4_enabled @ipv4_enabled end  | 
  
#private_network ⇒ String
Reserved for future use.
Corresponds to the JSON property privateNetwork
      1319 1320 1321  | 
    
      # File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1319 def private_network @private_network end  | 
  
#require_ssl ⇒ Boolean Also known as: require_ssl?
Whether SSL connections over IP should be enforced or not.
Corresponds to the JSON property requireSsl
      1324 1325 1326  | 
    
      # File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1324 def require_ssl @require_ssl end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1332 1333 1334 1335 1336 1337  | 
    
      # File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1332 def update!(**args) @authorized_networks = args[:authorized_networks] if args.key?(:authorized_networks) @ipv4_enabled = args[:ipv4_enabled] if args.key?(:ipv4_enabled) @private_network = args[:private_network] if args.key?(:private_network) @require_ssl = args[:require_ssl] if args.key?(:require_ssl) end  |