Class: Google::Apis::AdminDirectoryV1::CountChromeOsDevicesResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/admin_directory_v1/classes.rb,
lib/google/apis/admin_directory_v1/representations.rb,
lib/google/apis/admin_directory_v1/representations.rb

Overview

A response for counting ChromeOS devices.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CountChromeOsDevicesResponse

Returns a new instance of CountChromeOsDevicesResponse.



1924
1925
1926
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1924

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

Instance Attribute Details

#countFixnum

The total number of devices matching the request. Corresponds to the JSON property count

Returns:

  • (Fixnum)


1922
1923
1924
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1922

def count
  @count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1929
1930
1931
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1929

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