Class: Google::Apis::AdminDirectoryV1::MobileDevice::Application
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::AdminDirectoryV1::MobileDevice::Application
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/admin_directory_v1/classes.rb,
generated/google/apis/admin_directory_v1/representations.rb,
generated/google/apis/admin_directory_v1/representations.rb 
Instance Attribute Summary collapse
- 
  
    
      #display_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Display name of application Corresponds to the JSON property
displayName. - 
  
    
      #package_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Package name of application Corresponds to the JSON property
packageName. - 
  
    
      #permission  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
List of Permissions for application Corresponds to the JSON property
permission. - 
  
    
      #version_code  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Version code of application Corresponds to the JSON property
versionCode. - 
  
    
      #version_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Version name of application Corresponds to the JSON property
versionName. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Application 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Application.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Application
Returns a new instance of Application
      1935 1936 1937  | 
    
      # File 'generated/google/apis/admin_directory_v1/classes.rb', line 1935 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#display_name ⇒ String
Display name of application
Corresponds to the JSON property displayName
      1913 1914 1915  | 
    
      # File 'generated/google/apis/admin_directory_v1/classes.rb', line 1913 def display_name @display_name end  | 
  
#package_name ⇒ String
Package name of application
Corresponds to the JSON property packageName
      1918 1919 1920  | 
    
      # File 'generated/google/apis/admin_directory_v1/classes.rb', line 1918 def package_name @package_name end  | 
  
#permission ⇒ Array<String>
List of Permissions for application
Corresponds to the JSON property permission
      1923 1924 1925  | 
    
      # File 'generated/google/apis/admin_directory_v1/classes.rb', line 1923 def @permission end  | 
  
#version_code ⇒ Fixnum
Version code of application
Corresponds to the JSON property versionCode
      1928 1929 1930  | 
    
      # File 'generated/google/apis/admin_directory_v1/classes.rb', line 1928 def version_code @version_code end  | 
  
#version_name ⇒ String
Version name of application
Corresponds to the JSON property versionName
      1933 1934 1935  | 
    
      # File 'generated/google/apis/admin_directory_v1/classes.rb', line 1933 def version_name @version_name end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1940 1941 1942 1943 1944 1945 1946  | 
    
      # File 'generated/google/apis/admin_directory_v1/classes.rb', line 1940 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @package_name = args[:package_name] if args.key?(:package_name) @permission = args[:permission] if args.key?(:permission) @version_code = args[:version_code] if args.key?(:version_code) @version_name = args[:version_name] if args.key?(:version_name) end  |