Class: Google::Apis::ScriptV1::ListScriptProcessesResponse

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

Response with the list of Process resources.

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

Returns a new instance of ListScriptProcessesResponse



715
716
717
# File 'generated/google/apis/script_v1/classes.rb', line 715

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

Instance Attribute Details

#next_page_tokenString

Token for the next page of results. If empty, there are no more pages remaining. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


708
709
710
# File 'generated/google/apis/script_v1/classes.rb', line 708

def next_page_token
  @next_page_token
end

#processesArray<Google::Apis::ScriptV1::GoogleAppsScriptTypeProcess>

List of processes matching request parameters. Corresponds to the JSON property processes



713
714
715
# File 'generated/google/apis/script_v1/classes.rb', line 713

def processes
  @processes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



720
721
722
723
# File 'generated/google/apis/script_v1/classes.rb', line 720

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