# Dialogflow API . projects . locations . agents . generators

## Instance Methods

Close httplib2 connections.

Retrieves the next page of results.

### Method Details

`close()`

    Close httplib2 connections.

`create(parent, body=None, languageCode=None, x__xgafv=None)`

    Args:
      parent: string, A parameter (required)
      body: object, The request body.
        The object takes the form of:

    {
      "displayName": "A String",
      "llmModelSettings": {
        "model": "A String",
        "parameters": {
          "inputTokenLimit": "A String",
          "outputTokenLimit": "A String",
          "temperature": 3.14,
        },
        "promptText": "A String",
      },
      "modelParameter": {
        "maxDecodeSteps": 42,
        "temperature": 3.14,
        "topK": 42,
        "topP": 3.14,
      },
      "name": "A String",
      "placeholders": [
        {
          "id": "A String",
          "name": "A String",
        },
      ],
      "promptText": {
        "text": "A String",
      },
    }

      languageCode: string, A parameter
      x__xgafv: string, V1 error format.
        Allowed values
          1 - v1 error format
          2 - v2 error format

    Returns:
      An object of the form:

        {
      "displayName": "A String",
      "llmModelSettings": {
        "model": "A String",
        "parameters": {
          "inputTokenLimit": "A String",
          "outputTokenLimit": "A String",
          "temperature": 3.14,
        },
        "promptText": "A String",
      },
      "modelParameter": {
        "maxDecodeSteps": 42,
        "temperature": 3.14,
        "topK": 42,
        "topP": 3.14,
      },
      "name": "A String",
      "placeholders": [
        {
          "id": "A String",
          "name": "A String",
        },
      ],
      "promptText": {
        "text": "A String",
      },
    }

`delete(name, force=None, x__xgafv=None)`

    Args:
      name: string, A parameter (required)
      force: boolean, A parameter
      x__xgafv: string, V1 error format.
        Allowed values
          1 - v1 error format
          2 - v2 error format

    Returns:
      An object of the form:

        {
    }

`get(name, languageCode=None, x__xgafv=None)`

    Args:
      name: string, A parameter (required)
      languageCode: string, A parameter
      x__xgafv: string, V1 error format.
        Allowed values
          1 - v1 error format
          2 - v2 error format

    Returns:
      An object of the form:

        {
      "displayName": "A String",
      "llmModelSettings": {
        "model": "A String",
        "parameters": {
          "inputTokenLimit": "A String",
          "outputTokenLimit": "A String",
          "temperature": 3.14,
        },
        "promptText": "A String",
      },
      "modelParameter": {
        "maxDecodeSteps": 42,
        "temperature": 3.14,
        "topK": 42,
        "topP": 3.14,
      },
      "name": "A String",
      "placeholders": [
        {
          "id": "A String",
          "name": "A String",
        },
      ],
      "promptText": {
        "text": "A String",
      },
    }

`list(parent, languageCode=None, pageSize=None, pageToken=None, x__xgafv=None)`

    Args:
      parent: string, A parameter (required)
      languageCode: string, A parameter
      pageSize: integer, A parameter
      pageToken: string, A parameter
      x__xgafv: string, V1 error format.
        Allowed values
          1 - v1 error format
          2 - v2 error format

    Returns:
      An object of the form:

        {
      "generators": [
        {
          "displayName": "A String",
          "llmModelSettings": {
            "model": "A String",
            "parameters": {
              "inputTokenLimit": "A String",
              "outputTokenLimit": "A String",
              "temperature": 3.14,
            },
            "promptText": "A String",
          },
          "modelParameter": {
            "maxDecodeSteps": 42,
            "temperature": 3.14,
            "topK": 42,
            "topP": 3.14,
          },
          "name": "A String",
          "placeholders": [
            {
              "id": "A String",
              "name": "A String",
            },
          ],
          "promptText": {
            "text": "A String",
          },
        },
      ],
      "nextPageToken": "A String",
    }

`list_next(previous_request, previous_response)`

    Retrieves the next page of results.

    Args:
      previous_request: The request for the previous page. (required)
      previous_response: The response from the request for the previous page. (required)

    Returns:
      A request object that you can call 'execute()' on to request the next
      page. Returns None if there are no more items in the collection.

`patch(name, body=None, languageCode=None, updateMask=None, x__xgafv=None)`

    Args:
      name: string, A parameter (required)
      body: object, The request body.
        The object takes the form of:

    {
      "displayName": "A String",
      "llmModelSettings": {
        "model": "A String",
        "parameters": {
          "inputTokenLimit": "A String",
          "outputTokenLimit": "A String",
          "temperature": 3.14,
        },
        "promptText": "A String",
      },
      "modelParameter": {
        "maxDecodeSteps": 42,
        "temperature": 3.14,
        "topK": 42,
        "topP": 3.14,
      },
      "name": "A String",
      "placeholders": [
        {
          "id": "A String",
          "name": "A String",
        },
      ],
      "promptText": {
        "text": "A String",
      },
    }

      languageCode: string, A parameter
      updateMask: string, A parameter
      x__xgafv: string, V1 error format.
        Allowed values
          1 - v1 error format
          2 - v2 error format

    Returns:
      An object of the form:

        {
      "displayName": "A String",
      "llmModelSettings": {
        "model": "A String",
        "parameters": {
          "inputTokenLimit": "A String",
          "outputTokenLimit": "A String",
          "temperature": 3.14,
        },
        "promptText": "A String",
      },
      "modelParameter": {
        "maxDecodeSteps": 42,
        "temperature": 3.14,
        "topK": 42,
        "topP": 3.14,
      },
      "name": "A String",
      "placeholders": [
        {
          "id": "A String",
          "name": "A String",
        },
      ],
      "promptText": {
        "text": "A String",
      },
    }