class Google::Apis::AndroidenterpriseV1::AutoInstallConstraint

The auto-install constraint. Defines a set of restrictions for installation. At least one of the fields must be set.

Attributes

charging_state_constraint[RW]

Charging state constraint. Corresponds to the JSON property `chargingStateConstraint` @return [String]

device_idle_state_constraint[RW]

Device idle state constraint. Corresponds to the JSON property `deviceIdleStateConstraint` @return [String]

network_type_constraint[RW]

Network type constraint. Corresponds to the JSON property `networkTypeConstraint` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/androidenterprise_v1/classes.rb, line 576
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/androidenterprise_v1/classes.rb, line 581
def update!(**args)
  @charging_state_constraint = args[:charging_state_constraint] if args.key?(:charging_state_constraint)
  @device_idle_state_constraint = args[:device_idle_state_constraint] if args.key?(:device_idle_state_constraint)
  @network_type_constraint = args[:network_type_constraint] if args.key?(:network_type_constraint)
end