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.



54
55
56
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 54

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)


32
33
34
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 32

def channel
  @channel
end

#countFixnum

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

Returns:

  • (Fixnum)


37
38
39
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 37

def count
  @count
end

#device_os_versionString

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

Returns:

  • (String)


42
43
44
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 42

def device_os_version
  @device_os_version
end

#systemString

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

Returns:

  • (String)


47
48
49
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 47

def system
  @system
end

#versionString

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

Returns:

  • (String)


52
53
54
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 52

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



59
60
61
62
63
64
65
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 59

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