Class: Google::Apis::CloudfunctionsV1::CallFunctionRequest

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

Overview

Request for the CallFunction method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CallFunctionRequest

Returns a new instance of CallFunctionRequest



198
199
200
# File 'generated/google/apis/cloudfunctions_v1/classes.rb', line 198

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

Instance Attribute Details

#dataString

Input to be passed to the function. Corresponds to the JSON property data

Returns:

  • (String)


196
197
198
# File 'generated/google/apis/cloudfunctions_v1/classes.rb', line 196

def data
  @data
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



203
204
205
# File 'generated/google/apis/cloudfunctions_v1/classes.rb', line 203

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