Class: Google::Apis::ConnectorsV1::RuntimeActionSchema

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RuntimeActionSchema

Returns a new instance of RuntimeActionSchema.



1798
1799
1800
# File 'lib/google/apis/connectors_v1/classes.rb', line 1798

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

Instance Attribute Details

#actionString

Output only. Name of the action. Corresponds to the JSON property action

Returns:

  • (String)


1786
1787
1788
# File 'lib/google/apis/connectors_v1/classes.rb', line 1786

def action
  @action
end

#input_parametersArray<Google::Apis::ConnectorsV1::InputParameter>

Output only. List of input parameter metadata for the action. Corresponds to the JSON property inputParameters



1791
1792
1793
# File 'lib/google/apis/connectors_v1/classes.rb', line 1791

def input_parameters
  @input_parameters
end

#result_metadataArray<Google::Apis::ConnectorsV1::ResultMetadata>

Output only. List of result field metadata. Corresponds to the JSON property resultMetadata



1796
1797
1798
# File 'lib/google/apis/connectors_v1/classes.rb', line 1796

def 
  @result_metadata
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1803
1804
1805
1806
1807
# File 'lib/google/apis/connectors_v1/classes.rb', line 1803

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