Class: Google::Apis::AndroidmanagementV1::CertAuthorityInstalledEvent
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::AndroidmanagementV1::CertAuthorityInstalledEvent
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/androidmanagement_v1/classes.rb,
lib/google/apis/androidmanagement_v1/representations.rb,
lib/google/apis/androidmanagement_v1/representations.rb 
Overview
A new root certificate was installed into the system's trusted credential storage. This is available device-wide on fully managed devices and within the work profile on organization-owned devices with a work profile.
Instance Attribute Summary collapse
- 
  
    
      #certificate  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Subject of the certificate.
 - 
  
    
      #success  ⇒ Boolean 
    
    
      (also: #success?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Whether the installation event succeeded.
 - 
  
    
      #user_id  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The user in which the certificate install event happened.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ CertAuthorityInstalledEvent 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of CertAuthorityInstalledEvent.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ CertAuthorityInstalledEvent
Returns a new instance of CertAuthorityInstalledEvent.
      929 930 931  | 
    
      # File 'lib/google/apis/androidmanagement_v1/classes.rb', line 929 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#certificate ⇒ String
Subject of the certificate.
Corresponds to the JSON property certificate
      915 916 917  | 
    
      # File 'lib/google/apis/androidmanagement_v1/classes.rb', line 915 def certificate @certificate end  | 
  
#success ⇒ Boolean Also known as: success?
Whether the installation event succeeded.
Corresponds to the JSON property success
      920 921 922  | 
    
      # File 'lib/google/apis/androidmanagement_v1/classes.rb', line 920 def success @success end  | 
  
#user_id ⇒ Fixnum
The user in which the certificate install event happened. Only available for
devices running Android 11 and above.
Corresponds to the JSON property userId
      927 928 929  | 
    
      # File 'lib/google/apis/androidmanagement_v1/classes.rb', line 927 def user_id @user_id end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      934 935 936 937 938  | 
    
      # File 'lib/google/apis/androidmanagement_v1/classes.rb', line 934 def update!(**args) @certificate = args[:certificate] if args.key?(:certificate) @success = args[:success] if args.key?(:success) @user_id = args[:user_id] if args.key?(:user_id) end  |