Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountChromeCrashEventsResponseCrashEventCount

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

The count of the Chrome crash events at the date.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1CountChromeCrashEventsResponseCrashEventCount

Returns a new instance of GoogleChromeManagementV1CountChromeCrashEventsResponseCrashEventCount.



931
932
933
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 931

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

Instance Attribute Details

#browser_versionString

Browser version this is counting. Corresponds to the JSON property browserVersion

Returns:

  • (String)


912
913
914
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 912

def browser_version
  @browser_version
end

#countFixnum

Total count of crash events. Corresponds to the JSON property count

Returns:

  • (Fixnum)


917
918
919
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 917

def count
  @count
end

#dateGoogle::Apis::ChromemanagementV1::GoogleTypeDate

Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type. TimeOfDay * google.type.DateTime * google.protobuf.Timestamp Corresponds to the JSON property date



929
930
931
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 929

def date
  @date
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



936
937
938
939
940
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 936

def update!(**args)
  @browser_version = args[:browser_version] if args.key?(:browser_version)
  @count = args[:count] if args.key?(:count)
  @date = args[:date] if args.key?(:date)
end