Gemini Enterprise for Customer Experience API . projects . locations . apps . changelogs

Instance Methods

close()

Close httplib2 connections.

get(name, x__xgafv=None)

Gets the specified changelog.

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

Lists the changelogs of the specified app.

list_next()

Retrieves the next page of results.

Method Details

close()
Close httplib2 connections.
get(name, x__xgafv=None)
Gets the specified changelog.

Args:
  name: string, Required. The resource name of the changelog to retrieve. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Changelogs represent a change made to the app or to an resource within the app.
  "action": "A String", # Output only. The action that was performed on the resource.
  "author": "A String", # Output only. Email address of the change author.
  "createTime": "A String", # Output only. The time when the change was made.
  "dependentResources": [ # Output only. The dependent resources that were changed.
    {
      "a_key": "", # Properties of the object.
    },
  ],
  "description": "A String", # Output only. Description of the change. which typically captures the changed fields in the resource.
  "displayName": "A String", # Output only. Display name of the change. It typically should be the display name of the resource that was changed.
  "name": "A String", # Identifier. The unique identifier of the changelog. Format: `projects/{project}/locations/{location}/apps/{app}/changelogs/{changelog}`
  "newResource": { # Output only. The new resource after the change.
    "a_key": "", # Properties of the object.
  },
  "originalResource": { # Output only. The original resource before the change.
    "a_key": "", # Properties of the object.
  },
  "resource": "A String", # Output only. The resource that was changed.
  "resourceType": "A String", # Output only. The type of the resource that was changed.
  "sequenceNumber": "A String", # Output only. The monotonically increasing sequence number of the changelog.
}
list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)
Lists the changelogs of the specified app.

Args:
  parent: string, Required. The resource name of the app to list changelogs from. (required)
  filter: string, Optional. Filter to be applied when listing the changelogs. See https://google.aip.dev/160 for more details. The filter string can be used to filter by `action`, `resource_type`, `resource_name`, `author`, and `create_time`. The `:` comparator can be used for case-insensitive partial matching on string fields, while `=` performs an exact case-sensitive match. Examples: * `action:update` (case-insensitive partial match) * `action="Create"` (case-sensitive exact match) * `resource_type:agent` * `resource_name:my-agent` * `author:me@example.com` * `create_time > "2025-01-01T00:00:00Z"` * `create_time <= "2025-01-01T00:00:00Z" AND resource_type:tool`
  orderBy: string, Optional. Field to sort by. Only "name" and "create_time" is supported. See https://google.aip.dev/132#ordering for more details.
  pageSize: integer, Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
  pageToken: string, Optional. The next_page_token value returned from a previous list AgentService.ListChangelogs call.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response message for AgentService.ListChangelogs.
  "changelogs": [ # The list of changelogs.
    { # Changelogs represent a change made to the app or to an resource within the app.
      "action": "A String", # Output only. The action that was performed on the resource.
      "author": "A String", # Output only. Email address of the change author.
      "createTime": "A String", # Output only. The time when the change was made.
      "dependentResources": [ # Output only. The dependent resources that were changed.
        {
          "a_key": "", # Properties of the object.
        },
      ],
      "description": "A String", # Output only. Description of the change. which typically captures the changed fields in the resource.
      "displayName": "A String", # Output only. Display name of the change. It typically should be the display name of the resource that was changed.
      "name": "A String", # Identifier. The unique identifier of the changelog. Format: `projects/{project}/locations/{location}/apps/{app}/changelogs/{changelog}`
      "newResource": { # Output only. The new resource after the change.
        "a_key": "", # Properties of the object.
      },
      "originalResource": { # Output only. The original resource before the change.
        "a_key": "", # Properties of the object.
      },
      "resource": "A String", # Output only. The resource that was changed.
      "resourceType": "A String", # Output only. The type of the resource that was changed.
      "sequenceNumber": "A String", # Output only. The monotonically increasing sequence number of the changelog.
    },
  ],
  "nextPageToken": "A String", # A token that can be sent as ListChangelogsRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages.
}
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.