Class: Google::Apis::CloudfunctionsV1::CallFunctionRequest
- Inherits:
-
Object
- Object
- Google::Apis::CloudfunctionsV1::CallFunctionRequest
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudfunctions_v1/classes.rb,
lib/google/apis/cloudfunctions_v1/representations.rb,
lib/google/apis/cloudfunctions_v1/representations.rb
Overview
Request for the CallFunction
method.
Instance Attribute Summary collapse
-
#data ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CallFunctionRequest
constructor
A new instance of CallFunctionRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CallFunctionRequest
Returns a new instance of CallFunctionRequest.
220 221 222 |
# File 'lib/google/apis/cloudfunctions_v1/classes.rb', line 220 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data ⇒ String
Required. Input to be passed to the function.
Corresponds to the JSON property data
218 219 220 |
# File 'lib/google/apis/cloudfunctions_v1/classes.rb', line 218 def data @data end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
225 226 227 |
# File 'lib/google/apis/cloudfunctions_v1/classes.rb', line 225 def update!(**args) @data = args[:data] if args.key?(:data) end |