Class: Google::Apis::AndroidenterpriseV1::InstallFailureEvent
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AndroidenterpriseV1::InstallFailureEvent
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/androidenterprise_v1/classes.rb,
 generated/google/apis/androidenterprise_v1/representations.rb,
 generated/google/apis/androidenterprise_v1/representations.rb
Overview
An event generated when an app installation failed on a device
Instance Attribute Summary collapse
- 
  
    
      #device_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The Android ID of the device. 
- 
  
    
      #failure_details  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Additional details on the failure if applicable. 
- 
  
    
      #failure_reason  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The reason for the installation failure. 
- 
  
    
      #product_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The id of the product (e.g. "app:com.google.android.gm") for which the install failure event occured. 
- 
  
    
      #user_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The ID of the user. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ InstallFailureEvent 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of InstallFailureEvent. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ InstallFailureEvent
Returns a new instance of InstallFailureEvent
| 1001 1002 1003 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1001 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#device_id ⇒ String
The Android ID of the device. This field will always be present.
Corresponds to the JSON property deviceId
| 978 979 980 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 978 def device_id @device_id end | 
#failure_details ⇒ String
Additional details on the failure if applicable.
Corresponds to the JSON property failureDetails
| 983 984 985 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 983 def failure_details @failure_details end | 
#failure_reason ⇒ String
The reason for the installation failure. This field will always be present.
Corresponds to the JSON property failureReason
| 988 989 990 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 988 def failure_reason @failure_reason end | 
#product_id ⇒ String
The id of the product (e.g. "app:com.google.android.gm") for which the install
failure event occured. This field will always be present.
Corresponds to the JSON property productId
| 994 995 996 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 994 def product_id @product_id end | 
#user_id ⇒ String
The ID of the user. This field will always be present.
Corresponds to the JSON property userId
| 999 1000 1001 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 999 def user_id @user_id end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1006 1007 1008 1009 1010 1011 1012 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1006 def update!(**args) @device_id = args[:device_id] if args.key?(:device_id) @failure_details = args[:failure_details] if args.key?(:failure_details) @failure_reason = args[:failure_reason] if args.key?(:failure_reason) @product_id = args[:product_id] if args.key?(:product_id) @user_id = args[:user_id] if args.key?(:user_id) end |