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

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

Returns a new instance of AdministratorWebTokenSpecPlaySearch.



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

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)


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

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)


162
163
164
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 162

def enabled
  @enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



170
171
172
173
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 170

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