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.



5563
5564
5565
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5563

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



5556
5557
5558
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5556

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



5561
5562
5563
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5561

def password_policies_context
  @password_policies_context
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5568
5569
5570
5571
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5568

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