{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-dialogflow/json-schema/google-dialogflow-google-cloud-dialogflow-v2-list-sip-trunks-response-schema.json",
  "title": "GoogleCloudDialogflowV2ListSipTrunksResponse",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-dialogflow-sip-trunks-api-openapi.yml#/components/schemas/GoogleCloudDialogflowV2ListSipTrunksResponse",
  "type": "object",
  "properties": {
    "sipTrunks": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/GoogleCloudDialogflowV2SipTrunk"
      }
    },
    "nextPageToken": {
      "type": "string"
    }
  },
  "$defs": {
    "GoogleCloudDialogflowV2Connection": {
      "type": "object",
      "properties": {
        "connectionId": {
          "type": "string",
          "readOnly": true
        },
        "errorDetails": {
          "$ref": "#/$defs/GoogleCloudDialogflowV2ConnectionErrorDetails"
        },
        "state": {
          "type": "string",
          "enum": [
            "STATE_UNSPECIFIED",
            "CONNECTED",
            "DISCONNECTED",
            "AUTHENTICATION_FAILED",
            "KEEPALIVE"
          ],
          "x-enumDescriptions": [
            "",
            "",
            "",
            "",
            ""
          ],
          "readOnly": true
        },
        "updateTime": {
          "type": "string",
          "format": "date-time",
          "readOnly": true
        }
      }
    },
    "GoogleCloudDialogflowV2ConnectionErrorDetails": {
      "type": "object",
      "properties": {
        "errorMessage": {
          "type": "string"
        },
        "certificateState": {
          "type": "string",
          "enum": [
            "CERTIFICATE_STATE_UNSPECIFIED",
            "CERTIFICATE_VALID",
            "CERTIFICATE_INVALID",
            "CERTIFICATE_EXPIRED",
            "CERTIFICATE_HOSTNAME_NOT_FOUND",
            "CERTIFICATE_UNAUTHENTICATED",
            "CERTIFICATE_TRUST_STORE_NOT_FOUND",
            "CERTIFICATE_HOSTNAME_INVALID_FORMAT",
            "CERTIFICATE_QUOTA_EXCEEDED"
          ],
          "x-enumDescriptions": [
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            ""
          ],
          "readOnly": true
        }
      }
    },
    "GoogleCloudDialogflowV2ProbeDetails": {
      "type": "object",
      "properties": {
        "initTime": {
          "type": "string",
          "format": "date-time",
          "readOnly": true
        },
        "optionsLatency": {
          "type": "string",
          "readOnly": true
        },
        "probeStatus": {
          "type": "string",
          "enum": [
            "PROBE_STATUS_UNSPECIFIED",
            "PROBE_STATUS_SUCCESS",
            "PROBE_STATUS_FAILED"
          ],
          "x-enumDescriptions": [
            "",
            "",
            ""
          ],
          "readOnly": true
        }
      }
    },
    "GoogleCloudDialogflowV2SipHostname": {
      "type": "object",
      "properties": {
        "peerHostname": {
          "type": "string"
        },
        "pingInterval": {
          "type": "string",
          "readOnly": true
        },
        "probeDetails": {
          "$ref": "#/$defs/GoogleCloudDialogflowV2ProbeDetails"
        },
        "peerSocketAddress": {
          "type": "string",
          "readOnly": true
        },
        "enabledSipPing": {
          "type": "boolean",
          "readOnly": true
        },
        "connectionState": {
          "type": "string",
          "enum": [
            "CONNECTION_STATE_UNSPECIFIED",
            "CONNECTED",
            "DISCONNECTED",
            "AUTHENTICATION_FAILED",
            "KEEPALIVE"
          ],
          "x-enumDescriptions": [
            "",
            "",
            "",
            "",
            ""
          ],
          "readOnly": true
        },
        "errorDetails": {
          "$ref": "#/$defs/GoogleCloudDialogflowV2SipHostnameHostnameErrorDetails"
        }
      }
    },
    "GoogleCloudDialogflowV2SipHostnameHostnameErrorDetails": {
      "type": "object",
      "properties": {
        "errorMessage": {
          "type": "string",
          "readOnly": true
        },
        "certificateState": {
          "type": "string",
          "enum": [
            "HOSTNAME_CERTIFICATE_STATE_UNSPECIFIED",
            "VALID",
            "INVALID",
            "EXPIRED",
            "HOSTNAME_NOT_FOUND",
            "UNAUTHENTICATED",
            "TRUST_STORE_NOT_FOUND",
            "HOSTNAME_INVALID_FORMAT",
            "QUOTA_EXCEEDED"
          ],
          "x-enumDescriptions": [
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            ""
          ],
          "readOnly": true
        }
      }
    },
    "GoogleCloudDialogflowV2SipTrunk": {
      "type": "object",
      "properties": {
        "peerHostnames": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/GoogleCloudDialogflowV2SipHostname"
          }
        },
        "connections": {
          "type": "array",
          "readOnly": true,
          "items": {
            "$ref": "#/$defs/GoogleCloudDialogflowV2Connection"
          }
        },
        "googleRootCertFile": {
          "type": "string",
          "enum": [
            "CERT_FILE_UNSPECIFIED",
            "EXTERNAL_PRIVATE_CA"
          ],
          "x-enumDescriptions": [
            "",
            ""
          ]
        },
        "displayName": {
          "type": "string"
        },
        "expectedHostname": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "name": {
          "type": "string"
        }
      }
    }
  }
}