Class: Google::Apis::AndroidenterpriseV1::AndroidDevicePolicyConfig

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

Overview

Deprecated and unused.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ AndroidDevicePolicyConfig

Returns a new instance of AndroidDevicePolicyConfig



232
233
234
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 232

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

Instance Attribute Details

#kindString

Identifies what kind of resource this is. Value: the fixed string " androidenterprise#androidDevicePolicyConfig". Corresponds to the JSON property kind

Returns:

  • (String)


225
226
227
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 225

def kind
  @kind
end

#stateString

Deprecated and unused. Corresponds to the JSON property state

Returns:

  • (String)


230
231
232
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 230

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



237
238
239
240
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 237

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