Class: Google::Apis::ScriptV1::GoogleAppsScriptTypeWebAppConfig
- Inherits:
-
Object
- Object
- Google::Apis::ScriptV1::GoogleAppsScriptTypeWebAppConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/script_v1/classes.rb,
lib/google/apis/script_v1/representations.rb,
lib/google/apis/script_v1/representations.rb
Overview
Web app entry point configuration.
Instance Attribute Summary collapse
-
#access ⇒ String
Who has permission to run the web app.
-
#execute_as ⇒ String
Who to execute the web app as.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAppsScriptTypeWebAppConfig
constructor
A new instance of GoogleAppsScriptTypeWebAppConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAppsScriptTypeWebAppConfig
Returns a new instance of GoogleAppsScriptTypeWebAppConfig.
651 652 653 |
# File 'lib/google/apis/script_v1/classes.rb', line 651 def initialize(**args) update!(**args) end |
Instance Attribute Details
#access ⇒ String
Who has permission to run the web app.
Corresponds to the JSON property access
644 645 646 |
# File 'lib/google/apis/script_v1/classes.rb', line 644 def access @access end |
#execute_as ⇒ String
Who to execute the web app as.
Corresponds to the JSON property executeAs
649 650 651 |
# File 'lib/google/apis/script_v1/classes.rb', line 649 def execute_as @execute_as end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
656 657 658 659 |
# File 'lib/google/apis/script_v1/classes.rb', line 656 def update!(**args) @access = args[:access] if args.key?(:access) @execute_as = args[:execute_as] if args.key?(:execute_as) end |