Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AudioStatusReport
- Inherits:
-
Object
- Object
- Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AudioStatusReport
- 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
Status data for storage. * This field is telemetry information and this will change over time as the device is utilized. * Data for this field is controlled via policy: ReportDeviceAudioStatus * Data Collection Frequency: 10 minutes * Default Data Reporting Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: No * Reported for affiliated users only: N/A * Granular permission needed: TELEMETRY_API_AUDIO_REPORT
Instance Attribute Summary collapse
-
#input_device ⇒ String
Output only.
-
#input_gain ⇒ Fixnum
Output only.
-
#input_mute ⇒ Boolean
(also: #input_mute?)
Output only.
-
#output_device ⇒ String
Output only.
-
#output_mute ⇒ Boolean
(also: #output_mute?)
Output only.
-
#output_volume ⇒ Fixnum
Output only.
-
#report_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromeManagementV1AudioStatusReport
constructor
A new instance of GoogleChromeManagementV1AudioStatusReport.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromeManagementV1AudioStatusReport
Returns a new instance of GoogleChromeManagementV1AudioStatusReport.
314 315 316 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 314 def initialize(**args) update!(**args) end |
Instance Attribute Details
#input_device ⇒ String
Output only. Active input device's name.
Corresponds to the JSON property inputDevice
280 281 282 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 280 def input_device @input_device end |
#input_gain ⇒ Fixnum
Output only. Active input device's gain in [0, 100].
Corresponds to the JSON property inputGain
285 286 287 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 285 def input_gain @input_gain end |
#input_mute ⇒ Boolean Also known as: input_mute?
Output only. Is active input device mute or not.
Corresponds to the JSON property inputMute
290 291 292 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 290 def input_mute @input_mute end |
#output_device ⇒ String
Output only. Active output device's name.
Corresponds to the JSON property outputDevice
296 297 298 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 296 def output_device @output_device end |
#output_mute ⇒ Boolean Also known as: output_mute?
Output only. Is active output device mute or not.
Corresponds to the JSON property outputMute
301 302 303 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 301 def output_mute @output_mute end |
#output_volume ⇒ Fixnum
Output only. Active output device's volume in [0, 100].
Corresponds to the JSON property outputVolume
307 308 309 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 307 def output_volume @output_volume end |
#report_time ⇒ String
Output only. Timestamp of when the sample was collected on device.
Corresponds to the JSON property reportTime
312 313 314 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 312 def report_time @report_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
319 320 321 322 323 324 325 326 327 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 319 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 |