Class: Google::Apis::CloudidentityV1::EndpointApp
- Inherits:
-
Object
- Object
- Google::Apis::CloudidentityV1::EndpointApp
- Defined in:
- generated/google/apis/cloudidentity_v1/classes.rb,
generated/google/apis/cloudidentity_v1/representations.rb,
generated/google/apis/cloudidentity_v1/representations.rb
Overview
An EndpointApp represents an app that is installed on a device Next ID to use: 7
Instance Attribute Summary collapse
-
#display_name ⇒ String
Output only.
-
#name ⇒ String
Output only.
-
#package_name ⇒ String
Output only.
-
#permissions ⇒ Array<String>
Output only.
-
#version_code ⇒ Fixnum
Output only.
-
#version_name ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EndpointApp
constructor
A new instance of EndpointApp.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ EndpointApp
Returns a new instance of EndpointApp.
454 455 456 |
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 454 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Output only. Name of the app displayed to the user
Corresponds to the JSON property displayName
423 424 425 |
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 423 def display_name @display_name end |
#name ⇒ String
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 property
name`
432 433 434 |
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 432 def name @name end |
#package_name ⇒ String
Output only. Full package name of the installed app
Corresponds to the JSON property packageName
437 438 439 |
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 437 def package_name @package_name end |
#permissions ⇒ Array<String>
Output only. Names of all permissions granted to the installed app
Corresponds to the JSON property permissions
442 443 444 |
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 442 def @permissions end |
#version_code ⇒ Fixnum
Output only. Version code of the installed app
Corresponds to the JSON property versionCode
447 448 449 |
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 447 def version_code @version_code end |
#version_name ⇒ String
Output only. Version name of the installed app
Corresponds to the JSON property versionName
452 453 454 |
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 452 def version_name @version_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
459 460 461 462 463 464 465 466 |
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 459 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 |