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.



4532
4533
4534
# File 'lib/google/apis/connectors_v1/classes.rb', line 4532

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

Instance Attribute Details

#actionString

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

Returns:

  • (String)


4500
4501
4502
# File 'lib/google/apis/connectors_v1/classes.rb', line 4500

def action
  @action
end

#descriptionString

Output only. Brief Description of action Corresponds to the JSON property description

Returns:

  • (String)


4505
4506
4507
# File 'lib/google/apis/connectors_v1/classes.rb', line 4505

def description
  @description
end

#display_nameString

Output only. Display Name of action to be shown on client side Corresponds to the JSON property displayName

Returns:

  • (String)


4510
4511
4512
# File 'lib/google/apis/connectors_v1/classes.rb', line 4510

def display_name
  @display_name
end

#input_json_schemaGoogle::Apis::ConnectorsV1::JsonSchema

JsonSchema representation of schema metadata Corresponds to the JSON property inputJsonSchema



4515
4516
4517
# File 'lib/google/apis/connectors_v1/classes.rb', line 4515

def input_json_schema
  @input_json_schema
end

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

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



4520
4521
4522
# File 'lib/google/apis/connectors_v1/classes.rb', line 4520

def input_parameters
  @input_parameters
end

#result_json_schemaGoogle::Apis::ConnectorsV1::JsonSchema

JsonSchema representation of schema metadata Corresponds to the JSON property resultJsonSchema



4525
4526
4527
# File 'lib/google/apis/connectors_v1/classes.rb', line 4525

def result_json_schema
  @result_json_schema
end

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

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



4530
4531
4532
# File 'lib/google/apis/connectors_v1/classes.rb', line 4530

def 
  @result_metadata
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4537
4538
4539
4540
4541
4542
4543
4544
4545
# File 'lib/google/apis/connectors_v1/classes.rb', line 4537

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