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.
-
#description ⇒ String
Output only.
-
#display_name ⇒ String
Output only.
-
#input_json_schema ⇒ Google::Apis::ConnectorsV1::JsonSchema
JsonSchema representation of schema metadata Corresponds to the JSON property
inputJsonSchema. -
#input_parameters ⇒ Array<Google::Apis::ConnectorsV1::InputParameter>
Output only.
-
#result_json_schema ⇒ Google::Apis::ConnectorsV1::JsonSchema
JsonSchema representation of schema metadata Corresponds to the JSON property
resultJsonSchema. -
#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.
4620 4621 4622 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 4620 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action ⇒ String
Output only. Name of the action.
Corresponds to the JSON property action
4588 4589 4590 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 4588 def action @action end |
#description ⇒ String
Output only. Brief Description of action
Corresponds to the JSON property description
4593 4594 4595 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 4593 def description @description end |
#display_name ⇒ String
Output only. Display Name of action to be shown on client side
Corresponds to the JSON property displayName
4598 4599 4600 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 4598 def display_name @display_name end |
#input_json_schema ⇒ Google::Apis::ConnectorsV1::JsonSchema
JsonSchema representation of schema metadata
Corresponds to the JSON property inputJsonSchema
4603 4604 4605 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 4603 def input_json_schema @input_json_schema end |
#input_parameters ⇒ Array<Google::Apis::ConnectorsV1::InputParameter>
Output only. List of input parameter metadata for the action.
Corresponds to the JSON property inputParameters
4608 4609 4610 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 4608 def input_parameters @input_parameters end |
#result_json_schema ⇒ Google::Apis::ConnectorsV1::JsonSchema
JsonSchema representation of schema metadata
Corresponds to the JSON property resultJsonSchema
4613 4614 4615 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 4613 def result_json_schema @result_json_schema end |
#result_metadata ⇒ Array<Google::Apis::ConnectorsV1::ResultMetadata>
Output only. List of result field metadata.
Corresponds to the JSON property resultMetadata
4618 4619 4620 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 4618 def @result_metadata end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4625 4626 4627 4628 4629 4630 4631 4632 4633 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 4625 def update!(**args) @action = args[:action] if args.key?(:action) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @input_json_schema = args[:input_json_schema] if args.key?(:input_json_schema) @input_parameters = args[:input_parameters] if args.key?(:input_parameters) @result_json_schema = args[:result_json_schema] if args.key?(:result_json_schema) @result_metadata = args[:result_metadata] if args.key?(:result_metadata) end |