Class: Google::Apis::ConnectorsV1::RuntimeActionSchema
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV1::RuntimeActionSchema
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/connectors_v1/classes.rb,
lib/google/apis/connectors_v1/representations.rb,
lib/google/apis/connectors_v1/representations.rb
Overview
Schema of a runtime action.
Instance Attribute Summary collapse
-
#action ⇒ String
Output only.
-
#input_parameters ⇒ Array<Google::Apis::ConnectorsV1::InputParameter>
Output only.
-
#result_metadata ⇒ Array<Google::Apis::ConnectorsV1::ResultMetadata>
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RuntimeActionSchema
constructor
A new instance of RuntimeActionSchema.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RuntimeActionSchema
Returns a new instance of RuntimeActionSchema.
2388 2389 2390 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2388 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action ⇒ String
Output only. Name of the action.
Corresponds to the JSON property action
2376 2377 2378 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2376 def action @action end |
#input_parameters ⇒ Array<Google::Apis::ConnectorsV1::InputParameter>
Output only. List of input parameter metadata for the action.
Corresponds to the JSON property inputParameters
2381 2382 2383 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2381 def input_parameters @input_parameters end |
#result_metadata ⇒ Array<Google::Apis::ConnectorsV1::ResultMetadata>
Output only. List of result field metadata.
Corresponds to the JSON property resultMetadata
2386 2387 2388 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2386 def @result_metadata end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2393 2394 2395 2396 2397 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2393 def update!(**args) @action = args[:action] if args.key?(:action) @input_parameters = args[:input_parameters] if args.key?(:input_parameters) @result_metadata = args[:result_metadata] if args.key?(:result_metadata) end |