Class: Google::Apis::ScriptV1::GoogleAppsScriptTypeWebAppConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/script_v1/classes.rb,
generated/google/apis/script_v1/representations.rb,
generated/google/apis/script_v1/representations.rb

Overview

Web app entry point configuration.

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

Returns a new instance of GoogleAppsScriptTypeWebAppConfig.



655
656
657
# File 'generated/google/apis/script_v1/classes.rb', line 655

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

Instance Attribute Details

#accessString

Who has permission to run the web app. Corresponds to the JSON property access

Returns:

  • (String)


648
649
650
# File 'generated/google/apis/script_v1/classes.rb', line 648

def access
  @access
end

#execute_asString

Who to execute the web app as. Corresponds to the JSON property executeAs

Returns:

  • (String)


653
654
655
# File 'generated/google/apis/script_v1/classes.rb', line 653

def execute_as
  @execute_as
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



660
661
662
663
# File 'generated/google/apis/script_v1/classes.rb', line 660

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