Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AudioStatusReport

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

Audio report.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1AudioStatusReport

Returns a new instance of GoogleChromeManagementV1AudioStatusReport.



245
246
247
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 245

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

Instance Attribute Details

#input_deviceString

Output only. Active input device's name. Corresponds to the JSON property inputDevice

Returns:

  • (String)


211
212
213
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 211

def input_device
  @input_device
end

#input_gainFixnum

Output only. Active input device's gain in [0, 100]. Corresponds to the JSON property inputGain

Returns:

  • (Fixnum)


216
217
218
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 216

def input_gain
  @input_gain
end

#input_muteBoolean Also known as: input_mute?

Output only. Is active input device mute or not. Corresponds to the JSON property inputMute

Returns:

  • (Boolean)


221
222
223
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 221

def input_mute
  @input_mute
end

#output_deviceString

Output only. Active output device's name. Corresponds to the JSON property outputDevice

Returns:

  • (String)


227
228
229
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 227

def output_device
  @output_device
end

#output_muteBoolean Also known as: output_mute?

Output only. Is active output device mute or not. Corresponds to the JSON property outputMute

Returns:

  • (Boolean)


232
233
234
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 232

def output_mute
  @output_mute
end

#output_volumeFixnum

Output only. Active output device's volume in [0, 100]. Corresponds to the JSON property outputVolume

Returns:

  • (Fixnum)


238
239
240
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 238

def output_volume
  @output_volume
end

#report_timeString

Output only. Timestamp of when the sample was collected on device. Corresponds to the JSON property reportTime

Returns:

  • (String)


243
244
245
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 243

def report_time
  @report_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



250
251
252
253
254
255
256
257
258
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 250

def update!(**args)
  @input_device = args[:input_device] if args.key?(:input_device)
  @input_gain = args[:input_gain] if args.key?(:input_gain)
  @input_mute = args[:input_mute] if args.key?(:input_mute)
  @output_device = args[:output_device] if args.key?(:output_device)
  @output_mute = args[:output_mute] if args.key?(:output_mute)
  @output_volume = args[:output_volume] if args.key?(:output_volume)
  @report_time = args[:report_time] if args.key?(:report_time)
end