---
title: "TransitGatewaysFilterParameters"
url: "https://nov18-dev.movespot.fyi/apis/konnect-cloud-gateways-2/versions/b826cacf-03b8-4340-bb4e-daa3648a655b/schemas/TransitGatewaysFilterParameters"
---

> Full API specification: https://nov18-dev.movespot.fyi/apis/konnect-cloud-gateways-2/versions/b826cacf-03b8-4340-bb4e-daa3648a655b.md

# TransitGatewaysFilterParameters

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: Konnect Cloud Gateways
  version: 2.0.0
servers:
  - url: https://global.api.konghq.com/v2
    description: Base URL for the global region
components:
  schemas:
    CloudGatewaysStringFieldFilterOverride:
      description: "Filter using **one** of the following operators: `eq`, `oeq`,
        `neq`, `contains`, `ocontains`"
      type: object
      properties:
        eq:
          description: The field exactly matches the provided value.
          type: string
          example: ?filter[field_name_here][eq]=foo
        contains:
          description: The field contains the provided value.
          type: string
          example: ?filter[field_name_here][contains]=foo
        neq:
          description: The field does not match the provided value.
          type: string
          example: ?filter[field_name_here][neq]=bar
        oeq:
          description: The field matches any of the provided values.
          type: string
          example: ?filter[field_name_here][oeq]=foo,bar
        ocontains:
          description: The field contains any of the provided values.
          type: string
          example: ?filter[field_name_here][ocontains]=foo,bar
      additionalProperties: false
      x-examples:
        example-1:
          contains: some-value
          neq: not-this-value
          oeq: some-value,some-other-value
          ocontains: this-value,or-that-value
        example-2:
          eq: some-value
    TransitGatewayStateFieldFilter:
      oneOf:
        - $ref: "#/components/schemas/TransitGatewayStateFieldEqualsFilter"
        - $ref: "#/components/schemas/TransitGatewayStateFieldNotEqualsFilter"
        - $ref: "#/components/schemas/TransitGatewayStateFieldOrEqualityFilter"
      title: TransitGatewayStateFieldFilter
    TransitGatewayStateFieldEqualsFilter:
      description: Filter transit-gateway state by exact match.
      oneOf:
        - $ref: "#/components/schemas/TransitGatewayState"
        - type: object
          title: TransitGatewayStateFieldEqualsComparison
          properties:
            eq:
              $ref: "#/components/schemas/TransitGatewayState"
          required:
            - eq
      title: TransitGatewayStateFieldEqualsFilter
      x-examples:
        example-1: ready
        example-2:
          eq: ready
    TransitGatewayStateFieldNotEqualsFilter:
      description: Filter transit-gateway state by inequality match.
      type: object
      properties:
        neq:
          $ref: "#/components/schemas/TransitGatewayState"
      required:
        - neq
      title: TransitGatewayStateFieldNotEqualsFilter
      x-examples:
        example-1:
          neq: ready
    TransitGatewayStateFieldOrEqualityFilter:
      description: >
        Filter transit-gateway state by determining if the value is equal to any
        in a set of values, where the set is a

        comma-delimited list.
      type: object
      properties:
        oeq:
          type: string
      required:
        - oeq
      title: TransitGatewayStateFieldOrEqualityFilter
      x-examples:
        example-1:
          oeq: ready,initializing
    TransitGatewayState:
      description: >
        The current state of the Transit Gateway. Possible values:

        - `created` - The attachment has been created but is not attached to
        transit gateway.

        - `initializing` - The attachment is in the process of being initialized
        and is setting up necessary resources.

        - `pending-acceptance` The attachment request is awaiting acceptance in
        customer VPC.

        - `pending-user-action` The attachment request is awaiting user action
        in customer VPC.

        - `ready` - The transit gateway attachment is fully operational and can
        route traffic as configured.

        - `terminating` - The attachment is in the process of being deleted and
        is no longer accepting new traffic.

        - `terminated` - The attachment has been fully deleted and is no longer
        available.

        - `error` - The attachment is in an error state.
      type: string
      enum:
        - created
        - initializing
        - pending-acceptance
        - pending-user-action
        - ready
        - terminating
        - terminated
        - error
      readOnly: true
      title: Transit Gateway State
    TransitGatewaysFilterParameters:
      type: object
      properties:
        name:
          $ref: "#/components/schemas/CloudGatewaysStringFieldFilterOverride"
        state:
          $ref: "#/components/schemas/TransitGatewayStateFieldFilter"
      additionalProperties: false
      title: TransitGatewaysFilterParameters
```
