Dialogflow API . projects . locations . agents . environments . experiments

Instance Methods

close()

Close httplib2 connections.

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

delete(name, x__xgafv=None)

get(name, x__xgafv=None)

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

list_next()

Retrieves the next page of results.

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

start(name, body=None, x__xgafv=None)

stop(name, body=None, x__xgafv=None)

Method Details

close()
Close httplib2 connections.
create(parent, body=None, x__xgafv=None)

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

{
  "createTime": "A String",
  "definition": {
    "condition": "A String",
    "versionVariants": {
      "variants": [
        {
          "isControlGroup": True or False,
          "trafficAllocation": 3.14,
          "version": "A String",
        },
      ],
    },
  },
  "description": "A String",
  "displayName": "A String",
  "endTime": "A String",
  "experimentLength": "A String",
  "lastUpdateTime": "A String",
  "name": "A String",
  "result": {
    "lastUpdateTime": "A String",
    "versionMetrics": [
      {
        "metrics": [
          {
            "confidenceInterval": {
              "confidenceLevel": 3.14,
              "lowerBound": 3.14,
              "ratio": 3.14,
              "upperBound": 3.14,
            },
            "count": 3.14,
            "countType": "A String",
            "ratio": 3.14,
            "type": "A String",
          },
        ],
        "sessionCount": 42,
        "version": "A String",
      },
    ],
  },
  "rolloutConfig": {
    "failureCondition": "A String",
    "rolloutCondition": "A String",
    "rolloutSteps": [
      {
        "displayName": "A String",
        "minDuration": "A String",
        "trafficPercent": 42,
      },
    ],
  },
  "rolloutFailureReason": "A String",
  "rolloutState": {
    "startTime": "A String",
    "step": "A String",
    "stepIndex": 42,
  },
  "startTime": "A String",
  "state": "A String",
  "variantsHistory": [
    {
      "updateTime": "A String",
      "versionVariants": {
        "variants": [
          {
            "isControlGroup": True or False,
            "trafficAllocation": 3.14,
            "version": "A String",
          },
        ],
      },
    },
  ],
}

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

Returns:
  An object of the form:

    {
  "createTime": "A String",
  "definition": {
    "condition": "A String",
    "versionVariants": {
      "variants": [
        {
          "isControlGroup": True or False,
          "trafficAllocation": 3.14,
          "version": "A String",
        },
      ],
    },
  },
  "description": "A String",
  "displayName": "A String",
  "endTime": "A String",
  "experimentLength": "A String",
  "lastUpdateTime": "A String",
  "name": "A String",
  "result": {
    "lastUpdateTime": "A String",
    "versionMetrics": [
      {
        "metrics": [
          {
            "confidenceInterval": {
              "confidenceLevel": 3.14,
              "lowerBound": 3.14,
              "ratio": 3.14,
              "upperBound": 3.14,
            },
            "count": 3.14,
            "countType": "A String",
            "ratio": 3.14,
            "type": "A String",
          },
        ],
        "sessionCount": 42,
        "version": "A String",
      },
    ],
  },
  "rolloutConfig": {
    "failureCondition": "A String",
    "rolloutCondition": "A String",
    "rolloutSteps": [
      {
        "displayName": "A String",
        "minDuration": "A String",
        "trafficPercent": 42,
      },
    ],
  },
  "rolloutFailureReason": "A String",
  "rolloutState": {
    "startTime": "A String",
    "step": "A String",
    "stepIndex": 42,
  },
  "startTime": "A String",
  "state": "A String",
  "variantsHistory": [
    {
      "updateTime": "A String",
      "versionVariants": {
        "variants": [
          {
            "isControlGroup": True or False,
            "trafficAllocation": 3.14,
            "version": "A String",
          },
        ],
      },
    },
  ],
}
delete(name, x__xgafv=None)

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

Returns:
  An object of the form:

    {
}
get(name, x__xgafv=None)

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

Returns:
  An object of the form:

    {
  "createTime": "A String",
  "definition": {
    "condition": "A String",
    "versionVariants": {
      "variants": [
        {
          "isControlGroup": True or False,
          "trafficAllocation": 3.14,
          "version": "A String",
        },
      ],
    },
  },
  "description": "A String",
  "displayName": "A String",
  "endTime": "A String",
  "experimentLength": "A String",
  "lastUpdateTime": "A String",
  "name": "A String",
  "result": {
    "lastUpdateTime": "A String",
    "versionMetrics": [
      {
        "metrics": [
          {
            "confidenceInterval": {
              "confidenceLevel": 3.14,
              "lowerBound": 3.14,
              "ratio": 3.14,
              "upperBound": 3.14,
            },
            "count": 3.14,
            "countType": "A String",
            "ratio": 3.14,
            "type": "A String",
          },
        ],
        "sessionCount": 42,
        "version": "A String",
      },
    ],
  },
  "rolloutConfig": {
    "failureCondition": "A String",
    "rolloutCondition": "A String",
    "rolloutSteps": [
      {
        "displayName": "A String",
        "minDuration": "A String",
        "trafficPercent": 42,
      },
    ],
  },
  "rolloutFailureReason": "A String",
  "rolloutState": {
    "startTime": "A String",
    "step": "A String",
    "stepIndex": 42,
  },
  "startTime": "A String",
  "state": "A String",
  "variantsHistory": [
    {
      "updateTime": "A String",
      "versionVariants": {
        "variants": [
          {
            "isControlGroup": True or False,
            "trafficAllocation": 3.14,
            "version": "A String",
          },
        ],
      },
    },
  ],
}
list(parent, pageSize=None, pageToken=None, x__xgafv=None)

Args:
  parent: string, A parameter (required)
  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:

    {
  "experiments": [
    {
      "createTime": "A String",
      "definition": {
        "condition": "A String",
        "versionVariants": {
          "variants": [
            {
              "isControlGroup": True or False,
              "trafficAllocation": 3.14,
              "version": "A String",
            },
          ],
        },
      },
      "description": "A String",
      "displayName": "A String",
      "endTime": "A String",
      "experimentLength": "A String",
      "lastUpdateTime": "A String",
      "name": "A String",
      "result": {
        "lastUpdateTime": "A String",
        "versionMetrics": [
          {
            "metrics": [
              {
                "confidenceInterval": {
                  "confidenceLevel": 3.14,
                  "lowerBound": 3.14,
                  "ratio": 3.14,
                  "upperBound": 3.14,
                },
                "count": 3.14,
                "countType": "A String",
                "ratio": 3.14,
                "type": "A String",
              },
            ],
            "sessionCount": 42,
            "version": "A String",
          },
        ],
      },
      "rolloutConfig": {
        "failureCondition": "A String",
        "rolloutCondition": "A String",
        "rolloutSteps": [
          {
            "displayName": "A String",
            "minDuration": "A String",
            "trafficPercent": 42,
          },
        ],
      },
      "rolloutFailureReason": "A String",
      "rolloutState": {
        "startTime": "A String",
        "step": "A String",
        "stepIndex": 42,
      },
      "startTime": "A String",
      "state": "A String",
      "variantsHistory": [
        {
          "updateTime": "A String",
          "versionVariants": {
            "variants": [
              {
                "isControlGroup": True or False,
                "trafficAllocation": 3.14,
                "version": "A String",
              },
            ],
          },
        },
      ],
    },
  ],
  "nextPageToken": "A String",
}
list_next()
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, updateMask=None, x__xgafv=None)

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

{
  "createTime": "A String",
  "definition": {
    "condition": "A String",
    "versionVariants": {
      "variants": [
        {
          "isControlGroup": True or False,
          "trafficAllocation": 3.14,
          "version": "A String",
        },
      ],
    },
  },
  "description": "A String",
  "displayName": "A String",
  "endTime": "A String",
  "experimentLength": "A String",
  "lastUpdateTime": "A String",
  "name": "A String",
  "result": {
    "lastUpdateTime": "A String",
    "versionMetrics": [
      {
        "metrics": [
          {
            "confidenceInterval": {
              "confidenceLevel": 3.14,
              "lowerBound": 3.14,
              "ratio": 3.14,
              "upperBound": 3.14,
            },
            "count": 3.14,
            "countType": "A String",
            "ratio": 3.14,
            "type": "A String",
          },
        ],
        "sessionCount": 42,
        "version": "A String",
      },
    ],
  },
  "rolloutConfig": {
    "failureCondition": "A String",
    "rolloutCondition": "A String",
    "rolloutSteps": [
      {
        "displayName": "A String",
        "minDuration": "A String",
        "trafficPercent": 42,
      },
    ],
  },
  "rolloutFailureReason": "A String",
  "rolloutState": {
    "startTime": "A String",
    "step": "A String",
    "stepIndex": 42,
  },
  "startTime": "A String",
  "state": "A String",
  "variantsHistory": [
    {
      "updateTime": "A String",
      "versionVariants": {
        "variants": [
          {
            "isControlGroup": True or False,
            "trafficAllocation": 3.14,
            "version": "A String",
          },
        ],
      },
    },
  ],
}

  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:

    {
  "createTime": "A String",
  "definition": {
    "condition": "A String",
    "versionVariants": {
      "variants": [
        {
          "isControlGroup": True or False,
          "trafficAllocation": 3.14,
          "version": "A String",
        },
      ],
    },
  },
  "description": "A String",
  "displayName": "A String",
  "endTime": "A String",
  "experimentLength": "A String",
  "lastUpdateTime": "A String",
  "name": "A String",
  "result": {
    "lastUpdateTime": "A String",
    "versionMetrics": [
      {
        "metrics": [
          {
            "confidenceInterval": {
              "confidenceLevel": 3.14,
              "lowerBound": 3.14,
              "ratio": 3.14,
              "upperBound": 3.14,
            },
            "count": 3.14,
            "countType": "A String",
            "ratio": 3.14,
            "type": "A String",
          },
        ],
        "sessionCount": 42,
        "version": "A String",
      },
    ],
  },
  "rolloutConfig": {
    "failureCondition": "A String",
    "rolloutCondition": "A String",
    "rolloutSteps": [
      {
        "displayName": "A String",
        "minDuration": "A String",
        "trafficPercent": 42,
      },
    ],
  },
  "rolloutFailureReason": "A String",
  "rolloutState": {
    "startTime": "A String",
    "step": "A String",
    "stepIndex": 42,
  },
  "startTime": "A String",
  "state": "A String",
  "variantsHistory": [
    {
      "updateTime": "A String",
      "versionVariants": {
        "variants": [
          {
            "isControlGroup": True or False,
            "trafficAllocation": 3.14,
            "version": "A String",
          },
        ],
      },
    },
  ],
}
start(name, body=None, x__xgafv=None)

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

{
}

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

Returns:
  An object of the form:

    {
  "createTime": "A String",
  "definition": {
    "condition": "A String",
    "versionVariants": {
      "variants": [
        {
          "isControlGroup": True or False,
          "trafficAllocation": 3.14,
          "version": "A String",
        },
      ],
    },
  },
  "description": "A String",
  "displayName": "A String",
  "endTime": "A String",
  "experimentLength": "A String",
  "lastUpdateTime": "A String",
  "name": "A String",
  "result": {
    "lastUpdateTime": "A String",
    "versionMetrics": [
      {
        "metrics": [
          {
            "confidenceInterval": {
              "confidenceLevel": 3.14,
              "lowerBound": 3.14,
              "ratio": 3.14,
              "upperBound": 3.14,
            },
            "count": 3.14,
            "countType": "A String",
            "ratio": 3.14,
            "type": "A String",
          },
        ],
        "sessionCount": 42,
        "version": "A String",
      },
    ],
  },
  "rolloutConfig": {
    "failureCondition": "A String",
    "rolloutCondition": "A String",
    "rolloutSteps": [
      {
        "displayName": "A String",
        "minDuration": "A String",
        "trafficPercent": 42,
      },
    ],
  },
  "rolloutFailureReason": "A String",
  "rolloutState": {
    "startTime": "A String",
    "step": "A String",
    "stepIndex": 42,
  },
  "startTime": "A String",
  "state": "A String",
  "variantsHistory": [
    {
      "updateTime": "A String",
      "versionVariants": {
        "variants": [
          {
            "isControlGroup": True or False,
            "trafficAllocation": 3.14,
            "version": "A String",
          },
        ],
      },
    },
  ],
}
stop(name, body=None, x__xgafv=None)

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

{
}

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

Returns:
  An object of the form:

    {
  "createTime": "A String",
  "definition": {
    "condition": "A String",
    "versionVariants": {
      "variants": [
        {
          "isControlGroup": True or False,
          "trafficAllocation": 3.14,
          "version": "A String",
        },
      ],
    },
  },
  "description": "A String",
  "displayName": "A String",
  "endTime": "A String",
  "experimentLength": "A String",
  "lastUpdateTime": "A String",
  "name": "A String",
  "result": {
    "lastUpdateTime": "A String",
    "versionMetrics": [
      {
        "metrics": [
          {
            "confidenceInterval": {
              "confidenceLevel": 3.14,
              "lowerBound": 3.14,
              "ratio": 3.14,
              "upperBound": 3.14,
            },
            "count": 3.14,
            "countType": "A String",
            "ratio": 3.14,
            "type": "A String",
          },
        ],
        "sessionCount": 42,
        "version": "A String",
      },
    ],
  },
  "rolloutConfig": {
    "failureCondition": "A String",
    "rolloutCondition": "A String",
    "rolloutSteps": [
      {
        "displayName": "A String",
        "minDuration": "A String",
        "trafficPercent": 42,
      },
    ],
  },
  "rolloutFailureReason": "A String",
  "rolloutState": {
    "startTime": "A String",
    "step": "A String",
    "stepIndex": 42,
  },
  "startTime": "A String",
  "state": "A String",
  "variantsHistory": [
    {
      "updateTime": "A String",
      "versionVariants": {
        "variants": [
          {
            "isControlGroup": True or False,
            "trafficAllocation": 3.14,
            "version": "A String",
          },
        ],
      },
    },
  ],
}