Class: Google::Apis::AndroidmanagementV1::CertAuthorityRemovedEvent
- Inherits:
-
Object
- Object
- Google::Apis::AndroidmanagementV1::CertAuthorityRemovedEvent
- 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 root certificate was removed from 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 removal succeeded.
-
#user_id ⇒ Fixnum
The user in which the certificate removal event occurred.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CertAuthorityRemovedEvent
constructor
A new instance of CertAuthorityRemovedEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CertAuthorityRemovedEvent
Returns a new instance of CertAuthorityRemovedEvent.
964 965 966 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 964 def initialize(**args) update!(**args) end |
Instance Attribute Details
#certificate ⇒ String
Subject of the certificate.
Corresponds to the JSON property certificate
950 951 952 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 950 def certificate @certificate end |
#success ⇒ Boolean Also known as: success?
Whether the removal succeeded.
Corresponds to the JSON property success
955 956 957 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 955 def success @success end |
#user_id ⇒ Fixnum
The user in which the certificate removal event occurred. Only available for
devices running Android 11 and above.
Corresponds to the JSON property userId
962 963 964 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 962 def user_id @user_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
969 970 971 972 973 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 969 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 |