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.



604
605
606
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 604

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)


582
583
584
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 582

def channel
  @channel
end

#countFixnum

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

Returns:

  • (Fixnum)


587
588
589
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 587

def count
  @count
end

#device_os_versionString

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

Returns:

  • (String)


592
593
594
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 592

def device_os_version
  @device_os_version
end

#systemString

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

Returns:

  • (String)


597
598
599
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 597

def system
  @system
end

#versionString

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

Returns:

  • (String)


602
603
604
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 602

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



609
610
611
612
613
614
615
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 609

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