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.



486
487
488
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 486

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)


464
465
466
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 464

def channel
  @channel
end

#countFixnum

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

Returns:

  • (Fixnum)


469
470
471
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 469

def count
  @count
end

#device_os_versionString

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

Returns:

  • (String)


474
475
476
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 474

def device_os_version
  @device_os_version
end

#systemString

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

Returns:

  • (String)


479
480
481
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 479

def system
  @system
end

#versionString

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

Returns:

  • (String)


484
485
486
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 484

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



491
492
493
494
495
496
497
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 491

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