Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1Device

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/chromemanagement_v1/classes.rb,
lib/google/apis/chromemanagement_v1/representations.rb,
lib/google/apis/chromemanagement_v1/representations.rb

Overview

Describes a device reporting Chrome browser information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1Device

Returns a new instance of GoogleChromeManagementV1Device.



1114
1115
1116
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1114

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

Instance Attribute Details

#device_idString

Output only. The ID of the device that reported this Chrome browser information. Corresponds to the JSON property deviceId

Returns:

  • (String)


1107
1108
1109
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1107

def device_id
  @device_id
end

#machineString

Output only. The name of the machine within its local network. Corresponds to the JSON property machine

Returns:

  • (String)


1112
1113
1114
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1112

def machine
  @machine
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1119
1120
1121
1122
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1119

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