Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DisplayInfo

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

Information for a display.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1DisplayInfo

Returns a new instance of GoogleChromeManagementV1DisplayInfo.



1651
1652
1653
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1651

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

Instance Attribute Details

#device_idFixnum

Output only. Represents the graphics card device id. Corresponds to the JSON property deviceId

Returns:

  • (Fixnum)


1623
1624
1625
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1623

def device_id
  @device_id
end

#display_nameString

Output only. Display device name. Corresponds to the JSON property displayName

Returns:

  • (String)


1628
1629
1630
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1628

def display_name
  @display_name
end

#is_internalBoolean Also known as: is_internal?

Output only. Indicates if display is internal or not. Corresponds to the JSON property isInternal

Returns:

  • (Boolean)


1633
1634
1635
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1633

def is_internal
  @is_internal
end

#refresh_rateFixnum

Output only. Refresh rate in Hz. Corresponds to the JSON property refreshRate

Returns:

  • (Fixnum)


1639
1640
1641
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1639

def refresh_rate
  @refresh_rate
end

#resolution_heightFixnum

Output only. Resolution height in pixels. Corresponds to the JSON property resolutionHeight

Returns:

  • (Fixnum)


1644
1645
1646
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1644

def resolution_height
  @resolution_height
end

#resolution_widthFixnum

Output only. Resolution width in pixels. Corresponds to the JSON property resolutionWidth

Returns:

  • (Fixnum)


1649
1650
1651
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1649

def resolution_width
  @resolution_width
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1656
1657
1658
1659
1660
1661
1662
1663
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1656

def update!(**args)
  @device_id = args[:device_id] if args.key?(:device_id)
  @display_name = args[:display_name] if args.key?(:display_name)
  @is_internal = args[:is_internal] if args.key?(:is_internal)
  @refresh_rate = args[:refresh_rate] if args.key?(:refresh_rate)
  @resolution_height = args[:resolution_height] if args.key?(:resolution_height)
  @resolution_width = args[:resolution_width] if args.key?(:resolution_width)
end