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



146
147
148
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 146

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)


137
138
139
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 137

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)


143
144
145
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 143

def enabled
  @enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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