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.



994
995
996
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 994

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)


970
971
972
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 970

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)


976
977
978
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 976

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)


981
982
983
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 981

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)


986
987
988
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 986

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)


992
993
994
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 992

def unsupported_policy_count
  @unsupported_policy_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



999
1000
1001
1002
1003
1004
1005
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 999

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