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.



1331
1332
1333
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1331

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)


1324
1325
1326
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1324

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)


1329
1330
1331
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1329

def machine
  @machine
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1336
1337
1338
1339
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1336

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