Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountChromeDevicesThatNeedAttentionResponse

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

Response containing counts for devices that need attention.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1CountChromeDevicesThatNeedAttentionResponse

Returns a new instance of GoogleChromeManagementV1CountChromeDevicesThatNeedAttentionResponse.



837
838
839
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 837

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

Instance Attribute Details

#no_recent_policy_sync_countFixnum

Number of ChromeOS devices have not synced policies in the past 28 days. Corresponds to the JSON property noRecentPolicySyncCount

Returns:

  • (Fixnum)


813
814
815
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 813

def no_recent_policy_sync_count
  @no_recent_policy_sync_count
end

#no_recent_user_activity_countFixnum

Number of ChromeOS devices that have not seen any user activity in the past 28 days. Corresponds to the JSON property noRecentUserActivityCount

Returns:

  • (Fixnum)


819
820
821
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 819

def no_recent_user_activity_count
  @no_recent_user_activity_count
end

#os_version_not_compliant_countFixnum

Number of devices whose OS version is not compliant. Corresponds to the JSON property osVersionNotCompliantCount

Returns:

  • (Fixnum)


824
825
826
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 824

def os_version_not_compliant_count
  @os_version_not_compliant_count
end

#pending_updateFixnum

Number of devices that are pending an OS update. Corresponds to the JSON property pendingUpdate

Returns:

  • (Fixnum)


829
830
831
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 829

def pending_update
  @pending_update
end

#unsupported_policy_countFixnum

Number of devices that are unable to apply a policy due to an OS version mismatch. Corresponds to the JSON property unsupportedPolicyCount

Returns:

  • (Fixnum)


835
836
837
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 835

def unsupported_policy_count
  @unsupported_policy_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



842
843
844
845
846
847
848
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 842

def update!(**args)
  @no_recent_policy_sync_count = args[:no_recent_policy_sync_count] if args.key?(:no_recent_policy_sync_count)
  @no_recent_user_activity_count = args[:no_recent_user_activity_count] if args.key?(:no_recent_user_activity_count)
  @os_version_not_compliant_count = args[:os_version_not_compliant_count] if args.key?(:os_version_not_compliant_count)
  @pending_update = args[:pending_update] if args.key?(:pending_update)
  @unsupported_policy_count = args[:unsupported_policy_count] if args.key?(:unsupported_policy_count)
end