Class: Google::Apis::AndroidmanagementV1::AlwaysOnVpnPackage
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::AndroidmanagementV1::AlwaysOnVpnPackage
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/androidmanagement_v1/classes.rb,
generated/google/apis/androidmanagement_v1/representations.rb,
generated/google/apis/androidmanagement_v1/representations.rb 
Overview
Configuration for an always-on VPN connection.
Instance Attribute Summary collapse
- 
  
    
      #lockdown_enabled  ⇒ Boolean 
    
    
      (also: #lockdown_enabled?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Disallows networking when the VPN is not connected.
 - 
  
    
      #package_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The package name of the VPN app.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ AlwaysOnVpnPackage 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of AlwaysOnVpnPackage.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AlwaysOnVpnPackage
Returns a new instance of AlwaysOnVpnPackage
      40 41 42  | 
    
      # File 'generated/google/apis/androidmanagement_v1/classes.rb', line 40 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#lockdown_enabled ⇒ Boolean Also known as: lockdown_enabled?
Disallows networking when the VPN is not connected.
Corresponds to the JSON property lockdownEnabled
      32 33 34  | 
    
      # File 'generated/google/apis/androidmanagement_v1/classes.rb', line 32 def lockdown_enabled @lockdown_enabled end  | 
  
#package_name ⇒ String
The package name of the VPN app.
Corresponds to the JSON property packageName
      38 39 40  | 
    
      # File 'generated/google/apis/androidmanagement_v1/classes.rb', line 38 def package_name @package_name end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      45 46 47 48  | 
    
      # File 'generated/google/apis/androidmanagement_v1/classes.rb', line 45 def update!(**args) @lockdown_enabled = args[:lockdown_enabled] if args.key?(:lockdown_enabled) @package_name = args[:package_name] if args.key?(:package_name) end  |