Class: Google::Apis::CloudidentityV1beta1::EndpointApp

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/cloudidentity_v1beta1/classes.rb,
generated/google/apis/cloudidentity_v1beta1/representations.rb,
generated/google/apis/cloudidentity_v1beta1/representations.rb

Overview

An EndpointApp represents an app that is installed on a device

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ EndpointApp

Returns a new instance of EndpointApp.



574
575
576
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 574

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

Instance Attribute Details

#display_nameString

Output only. Name of the app displayed to the user Corresponds to the JSON property displayName

Returns:

  • (String)


543
544
545
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 543

def display_name
  @display_name
end

#nameString

Output only. Resource name of the EndpointApp in format: devices/device/deviceUsers/device_user/endpointApps/endpoint_app`, where client_app_id is the ID of the app associated with the Device. Corresponds to the JSON propertyname`

Returns:

  • (String)


552
553
554
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 552

def name
  @name
end

#package_nameString

Output only. Full package name of the installed app Corresponds to the JSON property packageName

Returns:

  • (String)


557
558
559
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 557

def package_name
  @package_name
end

#permissionsArray<String>

Output only. Names of all permissions granted to the installed app Corresponds to the JSON property permissions

Returns:

  • (Array<String>)


562
563
564
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 562

def permissions
  @permissions
end

#version_codeFixnum

Output only. Version code of the installed app Corresponds to the JSON property versionCode

Returns:

  • (Fixnum)


567
568
569
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 567

def version_code
  @version_code
end

#version_nameString

Output only. Version name of the installed app Corresponds to the JSON property versionName

Returns:

  • (String)


572
573
574
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 572

def version_name
  @version_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



579
580
581
582
583
584
585
586
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 579

def update!(**args)
  @display_name = args[:display_name] if args.key?(:display_name)
  @name = args[:name] if args.key?(:name)
  @package_name = args[:package_name] if args.key?(:package_name)
  @permissions = args[:permissions] if args.key?(:permissions)
  @version_code = args[:version_code] if args.key?(:version_code)
  @version_name = args[:version_name] if args.key?(:version_name)
end