Class: Google::Apis::AndroidmanagementV1::SecurityPosture

Inherits:
Object
  • Object
show all
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

The security posture of the device, as determined by the current device state and the policies applied.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SecurityPosture

Returns a new instance of SecurityPosture.



5292
5293
5294
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5292

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

Instance Attribute Details

#device_postureString

Device's security posture value. Corresponds to the JSON property devicePosture

Returns:

  • (String)


5285
5286
5287
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5285

def device_posture
  @device_posture
end

#posture_detailsArray<Google::Apis::AndroidmanagementV1::PostureDetail>

Additional details regarding the security posture of the device. Corresponds to the JSON property postureDetails



5290
5291
5292
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5290

def posture_details
  @posture_details
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5297
5298
5299
5300
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5297

def update!(**args)
  @device_posture = args[:device_posture] if args.key?(:device_posture)
  @posture_details = args[:posture_details] if args.key?(:posture_details)
end