# RuntimeActionSchema

- [JSON representation](https://docs.cloud.google.com/integration-connectors/docs/reference/rest/v1/RuntimeActionSchema#SCHEMA_REPRESENTATION)
- [InputParameter](https://docs.cloud.google.com/integration-connectors/docs/reference/rest/v1/RuntimeActionSchema#InputParameter)
  - [JSON representation](https://docs.cloud.google.com/integration-connectors/docs/reference/rest/v1/RuntimeActionSchema#InputParameter.SCHEMA_REPRESENTATION)
- [ResultMetadata](https://docs.cloud.google.com/integration-connectors/docs/reference/rest/v1/RuntimeActionSchema#ResultMetadata)
  - [JSON representation](https://docs.cloud.google.com/integration-connectors/docs/reference/rest/v1/RuntimeActionSchema#ResultMetadata.SCHEMA_REPRESENTATION)

Schema of a runtime action.

| JSON representation |
|---|
| ``` { "action": string, "inputParameters": [ { object (`https://docs.cloud.google.com/integration-connectors/docs/reference/rest/v1/RuntimeActionSchema#InputParameter`) } ], "resultMetadata": [ { object (`https://docs.cloud.google.com/integration-connectors/docs/reference/rest/v1/RuntimeActionSchema#ResultMetadata`) } ], "inputJsonSchema": { object (`https://docs.cloud.google.com/integration-connectors/docs/reference/rest/v1/JsonSchema`) }, "resultJsonSchema": { object (`https://docs.cloud.google.com/integration-connectors/docs/reference/rest/v1/JsonSchema`) }, "displayName": string, "description": string, "inputSchemaAsString": string, "resultSchemaAsString": string } ``` |

| Fields ||
|---|---|
| `action` | `string` Output only. Name of the action. |
| `inputParameters[]` | ``object (`https://docs.cloud.google.com/integration-connectors/docs/reference/rest/v1/RuntimeActionSchema#InputParameter`)`` Output only. List of input parameter metadata for the action. |
| `resultMetadata[]` | ``object (`https://docs.cloud.google.com/integration-connectors/docs/reference/rest/v1/RuntimeActionSchema#ResultMetadata`)`` Output only. List of result field metadata. |
| `inputJsonSchema` | ``object (`https://docs.cloud.google.com/integration-connectors/docs/reference/rest/v1/JsonSchema`)`` Output only. JsonSchema representation of this action's input metadata |
| `resultJsonSchema` | ``object (`https://docs.cloud.google.com/integration-connectors/docs/reference/rest/v1/JsonSchema`)`` Output only. JsonSchema representation of this action's result metadata |
| `displayName` | `string` Output only. Display Name of action to be shown on client side |
| `description` | `string` Output only. Brief Description of action |
| `inputSchemaAsString` | `string` Output only. Input schema as string. |
| `resultSchemaAsString` | `string` Output only. Result schema as string. |

## InputParameter

Metadata of an input parameter.

| JSON representation |
|---|
| ``` { "parameter": string, "description": string, "dataType": enum (`https://docs.cloud.google.com/integration-connectors/docs/reference/rest/v1/DataType`), "nullable": boolean, "defaultValue": value, "jsonSchema": { object (`https://docs.cloud.google.com/integration-connectors/docs/reference/rest/v1/JsonSchema`) } } ``` |

| Fields ||
|---|---|
| `parameter` | `string` Name of the Parameter. |
| `description` | `string` A brief description of the Parameter. |
| `dataType` | ``enum (`https://docs.cloud.google.com/integration-connectors/docs/reference/rest/v1/DataType`)`` The data type of the Parameter. |
| `nullable` | `boolean` Specifies whether a null value is allowed. |
| `defaultValue` | ``value (`https://protobuf.dev/reference/protobuf/google.protobuf#value` format)`` The following field specifies the default value of the Parameter provided by the external system if a value is not provided. |
| `jsonSchema` | ``object (`https://docs.cloud.google.com/integration-connectors/docs/reference/rest/v1/JsonSchema`)`` JsonSchema representation of this action's parameter |

## ResultMetadata

Metadata of result field.

| JSON representation |
|---|
| ``` { "field": string, "description": string, "dataType": enum (`https://docs.cloud.google.com/integration-connectors/docs/reference/rest/v1/DataType`), "jsonSchema": { object (`https://docs.cloud.google.com/integration-connectors/docs/reference/rest/v1/JsonSchema`) }, "nullable": boolean, "defaultValue": value } ``` |

| Fields ||
|---|---|
| `field` | `string` Name of the result field. |
| `description` | `string` A brief description of the field. |
| `dataType` | ``enum (`https://docs.cloud.google.com/integration-connectors/docs/reference/rest/v1/DataType`)`` The data type of the field. |
| `jsonSchema` | ``object (`https://docs.cloud.google.com/integration-connectors/docs/reference/rest/v1/JsonSchema`)`` JsonSchema representation of this action's result |
| `nullable` | `boolean` Specifies whether a null value is allowed. |
| `defaultValue` | ``value (`https://protobuf.dev/reference/protobuf/google.protobuf#value` format)`` The following field specifies the default value of the Parameter provided by the external system if a value is not provided. |