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.



5421
5422
5423
# File 'lib/google/apis/connectors_v1/classes.rb', line 5421

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

Instance Attribute Details

#actionString

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

Returns:

  • (String)


5379
5380
5381
# File 'lib/google/apis/connectors_v1/classes.rb', line 5379

def action
  @action
end

#descriptionString

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

Returns:

  • (String)


5384
5385
5386
# File 'lib/google/apis/connectors_v1/classes.rb', line 5384

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)


5389
5390
5391
# File 'lib/google/apis/connectors_v1/classes.rb', line 5389

def display_name
  @display_name
end

#input_json_schemaGoogle::Apis::ConnectorsV1::JsonSchema

JsonSchema representation of schema metadata Corresponds to the JSON property inputJsonSchema



5394
5395
5396
# File 'lib/google/apis/connectors_v1/classes.rb', line 5394

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



5399
5400
5401
# File 'lib/google/apis/connectors_v1/classes.rb', line 5399

def input_parameters
  @input_parameters
end

#input_schema_as_stringString

Output only. Input schema as string. Corresponds to the JSON property inputSchemaAsString

Returns:

  • (String)


5404
5405
5406
# File 'lib/google/apis/connectors_v1/classes.rb', line 5404

def input_schema_as_string
  @input_schema_as_string
end

#result_json_schemaGoogle::Apis::ConnectorsV1::JsonSchema

JsonSchema representation of schema metadata Corresponds to the JSON property resultJsonSchema



5409
5410
5411
# File 'lib/google/apis/connectors_v1/classes.rb', line 5409

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



5414
5415
5416
# File 'lib/google/apis/connectors_v1/classes.rb', line 5414

def 
  @result_metadata
end

#result_schema_as_stringString

Output only. Result schema as string. Corresponds to the JSON property resultSchemaAsString

Returns:

  • (String)


5419
5420
5421
# File 'lib/google/apis/connectors_v1/classes.rb', line 5419

def result_schema_as_string
  @result_schema_as_string
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
# File 'lib/google/apis/connectors_v1/classes.rb', line 5426

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)
  @input_schema_as_string = args[:input_schema_as_string] if args.key?(:input_schema_as_string)
  @result_json_schema = args[:result_json_schema] if args.key?(:result_json_schema)
  @result_metadata = args[:result_metadata] if args.key?(:result_metadata)
  @result_schema_as_string = args[:result_schema_as_string] if args.key?(:result_schema_as_string)
end