Class: Google::Apis::CloudfunctionsV1::CallFunctionRequest
- Inherits:
-
Object
- Object
- Google::Apis::CloudfunctionsV1::CallFunctionRequest
- 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
-
#data ⇒ String
Input to be passed to the function.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CallFunctionRequest
constructor
A new instance of CallFunctionRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ CallFunctionRequest
Returns a new instance of CallFunctionRequest
34 35 36 |
# File 'generated/google/apis/cloudfunctions_v1/classes.rb', line 34 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data ⇒ String
Input to be passed to the function.
Corresponds to the JSON property data
32 33 34 |
# File 'generated/google/apis/cloudfunctions_v1/classes.rb', line 32 def data @data end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
39 40 41 |
# File 'generated/google/apis/cloudfunctions_v1/classes.rb', line 39 def update!(**args) @data = args[:data] if args.key?(:data) end |