Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1BrowserVersion

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 browser version and its install count.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1BrowserVersion

Returns a new instance of GoogleChromeManagementV1BrowserVersion.



400
401
402
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 400

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

Instance Attribute Details

#channelString

Output only. The release channel of the installed browser. Corresponds to the JSON property channel

Returns:

  • (String)


378
379
380
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 378

def channel
  @channel
end

#countFixnum

Output only. Count grouped by device_system and major version Corresponds to the JSON property count

Returns:

  • (Fixnum)


383
384
385
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 383

def count
  @count
end

#device_os_versionString

Output only. Version of the system-specified operating system. Corresponds to the JSON property deviceOsVersion

Returns:

  • (String)


388
389
390
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 388

def device_os_version
  @device_os_version
end

#systemString

Output only. The device operating system. Corresponds to the JSON property system

Returns:

  • (String)


393
394
395
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 393

def system
  @system
end

#versionString

Output only. The full version of the installed browser. Corresponds to the JSON property version

Returns:

  • (String)


398
399
400
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 398

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



405
406
407
408
409
410
411
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 405

def update!(**args)
  @channel = args[:channel] if args.key?(:channel)
  @count = args[:count] if args.key?(:count)
  @device_os_version = args[:device_os_version] if args.key?(:device_os_version)
  @system = args[:system] if args.key?(:system)
  @version = args[:version] if args.key?(:version)
end