class Google::Apis::CloudfunctionsV1::CallFunctionResponse

Response of `CallFunction` method.

Attributes

error[RW]

Either system or user-function generated error. Set if execution was not successful. Corresponds to the JSON property `error` @return [String]

execution_id[RW]

Execution id of function invocation. Corresponds to the JSON property `executionId` @return [String]

result[RW]

Result populated for successful execution of synchronous function. Will not be populated if function does not return a result through context. Corresponds to the JSON property `result` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudfunctions_v1/classes.rb, line 207
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudfunctions_v1/classes.rb, line 212
def update!(**args)
  @error = args[:error] if args.key?(:error)
  @execution_id = args[:execution_id] if args.key?(:execution_id)
  @result = args[:result] if args.key?(:result)
end