Class: Google::Apis::ScriptV1::GoogleAppsScriptTypeScopeSet

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

A set of scopes. No duplicates are permitted.

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

Returns a new instance of GoogleAppsScriptTypeScopeSet



632
633
634
# File 'generated/google/apis/script_v1/classes.rb', line 632

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

Instance Attribute Details

#valuesArray<Google::Apis::ScriptV1::GoogleAppsScriptTypeScope>

List of scope values in the set. Corresponds to the JSON property values



630
631
632
# File 'generated/google/apis/script_v1/classes.rb', line 630

def values
  @values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



637
638
639
# File 'generated/google/apis/script_v1/classes.rb', line 637

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