Dialogflow API . projects . locations . agents . changelogs

Instance Methods

close()

Close httplib2 connections.

get(name, x__xgafv=None)

Retrieves the specified Changelog.

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

Returns the list of Changelogs.

list_next()

Retrieves the next page of results.

Method Details

close()
Close httplib2 connections.
get(name, x__xgafv=None)
Retrieves the specified Changelog.

Args:
  name: string, Required. The name of the changelog to get. Format: `projects//locations//agents//changelogs/`. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Changelogs represents a change made to a given agent.
  "action": "A String", # The action of the change.
  "createTime": "A String", # The timestamp of the change.
  "displayName": "A String", # The affected resource display name of the change.
  "languageCode": "A String", # The affected language code of the change.
  "name": "A String", # The unique identifier of the changelog. Format: `projects//locations//agents//changelogs/`.
  "resource": "A String", # The affected resource name of the change.
  "type": "A String", # The affected resource type.
  "userEmail": "A String", # Email address of the authenticated user.
}
list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)
Returns the list of Changelogs.

Args:
  parent: string, Required. The agent containing the changelogs. Format: `projects//locations//agents/`. (required)
  filter: string, The filter string. Supports filter by user_email, resource, type and create_time. Some examples: 1. By user email: user_email = "someone@google.com" 2. By resource name: resource = "projects/123/locations/global/agents/456/flows/789" 3. By resource display name: display_name = "my agent" 4. By action: action = "Create" 5. By type: type = "flows" 6. By create time. Currently predicates on `create_time` and `create_time_epoch_seconds` are supported: create_time_epoch_seconds > 1551790877 AND create_time <= 2017-01-15T01:30:15.01Z 7. Combination of above filters: resource = "projects/123/locations/global/agents/456/flows/789" AND user_email = "someone@google.com" AND create_time <= 2017-01-15T01:30:15.01Z
  pageSize: integer, The maximum number of items to return in a single page. By default 100 and at most 1000.
  pageToken: string, The next_page_token value returned from a previous list request.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # The response message for Changelogs.ListChangelogs.
  "changelogs": [ # The list of changelogs. There will be a maximum number of items returned based on the page_size field in the request. The changelogs will be ordered by timestamp.
    { # Changelogs represents a change made to a given agent.
      "action": "A String", # The action of the change.
      "createTime": "A String", # The timestamp of the change.
      "displayName": "A String", # The affected resource display name of the change.
      "languageCode": "A String", # The affected language code of the change.
      "name": "A String", # The unique identifier of the changelog. Format: `projects//locations//agents//changelogs/`.
      "resource": "A String", # The affected resource name of the change.
      "type": "A String", # The affected resource type.
      "userEmail": "A String", # Email address of the authenticated user.
    },
  ],
  "nextPageToken": "A String", # Token to retrieve the next page of results, or empty if there are no more results in the list.
}
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.