Class: Google::Apis::AndroidmanagementV1::SpecificNonComplianceContext

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

Overview

Additional context for SpecificNonComplianceReason.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SpecificNonComplianceContext

Returns a new instance of SpecificNonComplianceContext.



5546
5547
5548
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5546

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

Instance Attribute Details

#onc_wifi_contextGoogle::Apis::AndroidmanagementV1::OncWifiContext

Additional context for non-compliance related to Wi-Fi configuration. Corresponds to the JSON property oncWifiContext



5539
5540
5541
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5539

def onc_wifi_context
  @onc_wifi_context
end

#password_policies_contextGoogle::Apis::AndroidmanagementV1::PasswordPoliciesContext

Additional context for non-compliance related to password policies. Corresponds to the JSON property passwordPoliciesContext



5544
5545
5546
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5544

def password_policies_context
  @password_policies_context
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5551
5552
5553
5554
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5551

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