Class: Google::Apis::AndroidenterpriseV1::AdministratorWebTokenSpecZeroTouch

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AdministratorWebTokenSpecZeroTouch

Returns a new instance of AdministratorWebTokenSpecZeroTouch.



247
248
249
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 247

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

Instance Attribute Details

#enabledBoolean Also known as: enabled?

Whether zero-touch embedded UI is usable with this token. If enabled, the admin can link zero-touch customers to this enterprise. Corresponds to the JSON property enabled

Returns:

  • (Boolean)


244
245
246
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 244

def enabled
  @enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



252
253
254
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 252

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