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.



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

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)


589
590
591
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 589

def channel
  @channel
end

#countFixnum

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

Returns:

  • (Fixnum)


594
595
596
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 594

def count
  @count
end

#device_os_versionString

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

Returns:

  • (String)


599
600
601
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 599

def device_os_version
  @device_os_version
end

#systemString

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

Returns:

  • (String)


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

def system
  @system
end

#versionString

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

Returns:

  • (String)


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

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



616
617
618
619
620
621
622
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 616

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