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

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CallFunctionRequest

Returns a new instance of CallFunctionRequest.



179
180
181
# File 'lib/google/apis/cloudfunctions_v1/classes.rb', line 179

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

Instance Attribute Details

#dataString

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

Returns:

  • (String)


177
178
179
# File 'lib/google/apis/cloudfunctions_v1/classes.rb', line 177

def data
  @data
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



184
185
186
# File 'lib/google/apis/cloudfunctions_v1/classes.rb', line 184

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