Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DeviceAueCountReport

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

Report for CountChromeDevicesPerAueDateResponse, contains the count of devices of a specific model and auto update expiration range.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1DeviceAueCountReport

Returns a new instance of GoogleChromeManagementV1DeviceAueCountReport.



1401
1402
1403
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1401

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

Instance Attribute Details

#aue_monthString

Enum value of month corresponding to the auto update expiration date in UTC time zone. If the device is already expired, this field is empty. Corresponds to the JSON property aueMonth

Returns:

  • (String)


1377
1378
1379
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1377

def aue_month
  @aue_month
end

#aue_yearFixnum

Int value of year corresponding to the Auto Update Expiration date in UTC time zone. If the device is already expired, this field is empty. Corresponds to the JSON property aueYear

Returns:

  • (Fixnum)


1383
1384
1385
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1383

def aue_year
  @aue_year
end

#countFixnum

Count of devices of this model. Corresponds to the JSON property count

Returns:

  • (Fixnum)


1388
1389
1390
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1388

def count
  @count
end

#expiredBoolean Also known as: expired?

Boolean value for whether or not the device has already expired. Corresponds to the JSON property expired

Returns:

  • (Boolean)


1393
1394
1395
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1393

def expired
  @expired
end

#modelString

Public model name of the devices. Corresponds to the JSON property model

Returns:

  • (String)


1399
1400
1401
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1399

def model
  @model
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1406
1407
1408
1409
1410
1411
1412
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1406

def update!(**args)
  @aue_month = args[:aue_month] if args.key?(:aue_month)
  @aue_year = args[:aue_year] if args.key?(:aue_year)
  @count = args[:count] if args.key?(:count)
  @expired = args[:expired] if args.key?(:expired)
  @model = args[:model] if args.key?(:model)
end