Class: Google::Apis::AndroidmanagementV1::WebToken
- Inherits:
-
Object
- Object
- Google::Apis::AndroidmanagementV1::WebToken
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/androidmanagement_v1/classes.rb,
generated/google/apis/androidmanagement_v1/representations.rb,
generated/google/apis/androidmanagement_v1/representations.rb
Overview
A web token used to access an embeddable managed Google Play web UI.
Instance Attribute Summary collapse
-
#name ⇒ String
The name of the web token, which is generated by the server during creation, in the form enterprises/
enterpriseId/webTokens/webTokenId. -
#parent_frame_url ⇒ String
The URL of the parent frame hosting the iframe with the embedded UI.
-
#permissions ⇒ Array<String>
Permissions the admin may exercise in the embedded UI.
-
#value ⇒ String
The token value which is used in the hosting page to generate the iframe with the embedded UI.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WebToken
constructor
A new instance of WebToken.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ WebToken
Returns a new instance of WebToken
2025 2026 2027 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2025 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
The name of the web token, which is generated by the server during creation,
in the form enterprises/enterpriseId/webTokens/webTokenId.
Corresponds to the JSON property name
2004 2005 2006 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2004 def name @name end |
#parent_frame_url ⇒ String
The URL of the parent frame hosting the iframe with the embedded UI. To
prevent XSS, the iframe may not be hosted at other URLs. The URL must use the
https scheme.
Corresponds to the JSON property parentFrameUrl
2011 2012 2013 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2011 def parent_frame_url @parent_frame_url end |
#permissions ⇒ Array<String>
Permissions the admin may exercise in the embedded UI. The admin must have all
of these permissions in order to view the UI.
Corresponds to the JSON property permissions
2017 2018 2019 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2017 def @permissions end |
#value ⇒ String
The token value which is used in the hosting page to generate the iframe with
the embedded UI. This is a read-only field generated by the server.
Corresponds to the JSON property value
2023 2024 2025 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2023 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2030 2031 2032 2033 2034 2035 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2030 def update!(**args) @name = args[:name] if args.key?(:name) @parent_frame_url = args[:parent_frame_url] if args.key?(:parent_frame_url) @permissions = args[:permissions] if args.key?(:permissions) @value = args[:value] if args.key?(:value) end |