Class: Google::Apis::AdminDirectoryV1::MobileDevice::Application

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Application

Returns a new instance of Application.


2172
2173
2174
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 2172

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#display_nameString

Display name of application Corresponds to the JSON property displayName

Returns:

  • (String)

2150
2151
2152
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 2150

def display_name
  @display_name
end

#package_nameString

Package name of application Corresponds to the JSON property packageName

Returns:

  • (String)

2155
2156
2157
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 2155

def package_name
  @package_name
end

#permissionArray<String>

List of Permissions for application Corresponds to the JSON property permission

Returns:

  • (Array<String>)

2160
2161
2162
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 2160

def permission
  @permission
end

#version_codeFixnum

Version code of application Corresponds to the JSON property versionCode

Returns:

  • (Fixnum)

2165
2166
2167
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 2165

def version_code
  @version_code
end

#version_nameString

Version name of application Corresponds to the JSON property versionName

Returns:

  • (String)

2170
2171
2172
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 2170

def version_name
  @version_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


2177
2178
2179
2180
2181
2182
2183
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 2177

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