Class: Google::Apis::AndroidenterpriseV1::AdministratorWebTokenSpecPlaySearch

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

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) ⇒ AdministratorWebTokenSpecPlaySearch

Returns a new instance of AdministratorWebTokenSpecPlaySearch.


159
160
161
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 159

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

Instance Attribute Details

#approve_appsBoolean Also known as: approve_apps?

Allow access to the iframe in approve mode. Default is false. Corresponds to the JSON property approveApps

Returns:

  • (Boolean)

150
151
152
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 150

def approve_apps
  @approve_apps
end

#enabledBoolean Also known as: enabled?

Whether the managed Play Search apps page is displayed. Default is true. Corresponds to the JSON property enabled

Returns:

  • (Boolean)

156
157
158
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 156

def enabled
  @enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


164
165
166
167
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 164

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