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.



5578
5579
5580
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5578

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



5571
5572
5573
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5571

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



5576
5577
5578
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5576

def password_policies_context
  @password_policies_context
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5583
5584
5585
5586
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5583

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