Class: Google::Apis::AndroidenterpriseV1::AdministratorWebTokenSpec

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

Overview

Specification for a token used to generate iframes. The token specifies what data the admin is allowed to modify and the URI the iframe is allowed to communiate with.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AdministratorWebTokenSpec

Returns a new instance of AdministratorWebTokenSpec.



112
113
114
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 112

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

Instance Attribute Details

#managed_configurationsGoogle::Apis::AndroidenterpriseV1::AdministratorWebTokenSpecManagedConfigurations

Options for displaying the Managed Configuration page. Corresponds to the JSON property managedConfigurations



73
74
75
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 73

def managed_configurations
  @managed_configurations
end

#parentString

The URI of the parent frame hosting the iframe. To prevent XSS, the iframe may not be hosted at other URIs. This URI must be https. Use whitespaces to separate multiple parent URIs. Corresponds to the JSON property parent

Returns:

  • (String)


80
81
82
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 80

def parent
  @parent
end

#permissionArray<String>

Deprecated. Use PlaySearch.approveApps. Corresponds to the JSON property permission

Returns:

  • (Array<String>)


85
86
87
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 85

def permission
  @permission
end

#play_searchGoogle::Apis::AndroidenterpriseV1::AdministratorWebTokenSpecPlaySearch

Options for displaying the managed Play Search apps page. Corresponds to the JSON property playSearch



90
91
92
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 90

def play_search
  @play_search
end

#private_appsGoogle::Apis::AndroidenterpriseV1::AdministratorWebTokenSpecPrivateApps

Options for displaying the Private Apps page. Corresponds to the JSON property privateApps



95
96
97
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 95

def private_apps
  @private_apps
end

#store_builderGoogle::Apis::AndroidenterpriseV1::AdministratorWebTokenSpecStoreBuilder

Options for displaying the Organize apps page. Corresponds to the JSON property storeBuilder



100
101
102
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 100

def store_builder
  @store_builder
end

#web_appsGoogle::Apis::AndroidenterpriseV1::AdministratorWebTokenSpecWebApps

Options for displaying the Web Apps page. Corresponds to the JSON property webApps



105
106
107
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 105

def web_apps
  @web_apps
end

#zero_touchGoogle::Apis::AndroidenterpriseV1::AdministratorWebTokenSpecZeroTouch

Options for displaying the Zero Touch page. Corresponds to the JSON property zeroTouch



110
111
112
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 110

def zero_touch
  @zero_touch
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



117
118
119
120
121
122
123
124
125
126
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 117

def update!(**args)
  @managed_configurations = args[:managed_configurations] if args.key?(:managed_configurations)
  @parent = args[:parent] if args.key?(:parent)
  @permission = args[:permission] if args.key?(:permission)
  @play_search = args[:play_search] if args.key?(:play_search)
  @private_apps = args[:private_apps] if args.key?(:private_apps)
  @store_builder = args[:store_builder] if args.key?(:store_builder)
  @web_apps = args[:web_apps] if args.key?(:web_apps)
  @zero_touch = args[:zero_touch] if args.key?(:zero_touch)
end