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.



5580
5581
5582
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5580

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



5573
5574
5575
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5573

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



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

def password_policies_context
  @password_policies_context
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5585
5586
5587
5588
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5585

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