Class: Google::Apis::ConnectorsV2::Action
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV2::Action
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/connectors_v2/classes.rb,
lib/google/apis/connectors_v2/representations.rb,
lib/google/apis/connectors_v2/representations.rb
Overview
Action message contains metadata information about a single action present in the external system.
Instance Attribute Summary collapse
-
#input_parameters ⇒ Array<Google::Apis::ConnectorsV2::InputParameter>
List containing input parameter metadata.
-
#name ⇒ String
Name of the action.
-
#result_metadata ⇒ Array<Google::Apis::ConnectorsV2::ResultMetadata>
List containing the metadata of result fields.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Action
constructor
A new instance of Action.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Action
Returns a new instance of Action.
45 46 47 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 45 def initialize(**args) update!(**args) end |
Instance Attribute Details
#input_parameters ⇒ Array<Google::Apis::ConnectorsV2::InputParameter>
List containing input parameter metadata.
Corresponds to the JSON property inputParameters
33 34 35 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 33 def input_parameters @input_parameters end |
#name ⇒ String
Name of the action.
Corresponds to the JSON property name
38 39 40 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 38 def name @name end |
#result_metadata ⇒ Array<Google::Apis::ConnectorsV2::ResultMetadata>
List containing the metadata of result fields.
Corresponds to the JSON property resultMetadata
43 44 45 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 43 def @result_metadata end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
50 51 52 53 54 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 50 def update!(**args) @input_parameters = args[:input_parameters] if args.key?(:input_parameters) @name = args[:name] if args.key?(:name) @result_metadata = args[:result_metadata] if args.key?(:result_metadata) end |