Class: Google::Apis::AlertcenterV1beta1::DeviceCompromisedSecurityDetail

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/alertcenter_v1beta1/classes.rb,
generated/google/apis/alertcenter_v1beta1/representations.rb,
generated/google/apis/alertcenter_v1beta1/representations.rb

Overview

Detailed information of a single MDM device compromised event.

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) ⇒ DeviceCompromisedSecurityDetail

Returns a new instance of DeviceCompromisedSecurityDetail.


685
686
687
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 685

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

Instance Attribute Details

#device_compromised_stateString

The device compromised state. Possible values are "Compromised" or "Not Compromised". Corresponds to the JSON property deviceCompromisedState

Returns:

  • (String)

653
654
655
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 653

def device_compromised_state
  @device_compromised_state
end

#device_idString

Required. The device ID. Corresponds to the JSON property deviceId

Returns:

  • (String)

658
659
660
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 658

def device_id
  @device_id
end

#device_modelString

The model of the device. Corresponds to the JSON property deviceModel

Returns:

  • (String)

663
664
665
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 663

def device_model
  @device_model
end

#device_typeString

The type of the device. Corresponds to the JSON property deviceType

Returns:

  • (String)

668
669
670
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 668

def device_type
  @device_type
end

#ios_vendor_idString

Required for iOS, empty for others. Corresponds to the JSON property iosVendorId

Returns:

  • (String)

673
674
675
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 673

def ios_vendor_id
  @ios_vendor_id
end

#resource_idString

The device resource ID. Corresponds to the JSON property resourceId

Returns:

  • (String)

678
679
680
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 678

def resource_id
  @resource_id
end

#serial_numberString

The serial number of the device. Corresponds to the JSON property serialNumber

Returns:

  • (String)

683
684
685
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 683

def serial_number
  @serial_number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


690
691
692
693
694
695
696
697
698
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 690

def update!(**args)
  @device_compromised_state = args[:device_compromised_state] if args.key?(:device_compromised_state)
  @device_id = args[:device_id] if args.key?(:device_id)
  @device_model = args[:device_model] if args.key?(:device_model)
  @device_type = args[:device_type] if args.key?(:device_type)
  @ios_vendor_id = args[:ios_vendor_id] if args.key?(:ios_vendor_id)
  @resource_id = args[:resource_id] if args.key?(:resource_id)
  @serial_number = args[:serial_number] if args.key?(:serial_number)
end