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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/androidmanagement_v1/classes.rb,
generated/google/apis/androidmanagement_v1/representations.rb,
generated/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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SecurityPosture

Returns a new instance of SecurityPosture.


3056
3057
3058
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 3056

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

Instance Attribute Details

#device_postureString

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

Returns:

  • (String)

3049
3050
3051
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 3049

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


3054
3055
3056
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 3054

def posture_details
  @posture_details
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


3061
3062
3063
3064
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 3061

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