Returns the sources Resource.
Close httplib2 connections.
listRecentlyViewed(parent, pageSize=None, pageToken=None, x__xgafv=None)
Lists the recently viewed notebooks. Needs a side channel with the user's EUC.
Retrieves the next page of results.
close()
Close httplib2 connections.
listRecentlyViewed(parent, pageSize=None, pageToken=None, x__xgafv=None)
Lists the recently viewed notebooks. Needs a side channel with the user's EUC. Args: parent: string, Required. The parent branch resource name, such as `projects/{project}/locations/{location}`. (required) pageSize: integer, Optional. Maximum number of Notebooks to return. If unspecified, defaults to "200". The maximum allowed value is "500". If this field is negative, will use the default value. pageToken: string, Optional. The page token, provide this to retrieve the subsequent page. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Response for NotebookService.ListRecentlyViewedNotebooks method. "nextPageToken": "A String", # The page token, provide this to retrieve the subsequent page. "notebooks": [ # The list of recently viewed notebooks. { # Notebook is a resource where users can store their content (as sources) and interacts with the content. "cmekConfig": { # Customer-managed encryption configuration for Notebooks. # Output only. CMEK-related information for the Notebook. "kmsKey": "A String", # Required. KMS key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`. }, "emoji": "A String", # Output only. The emoji of the notebook. "metadata": { # Metadata for a notebook. # The metadata of the notebook. "createTime": "A String", # The time at which this project was created. "isShareable": True or False, # True if the project is shareable. "isShared": True or False, # True if this project is currently shared with other people, false otherwise. "lastViewed": "A String", # A timestamp indicating the time that the current in session user has last viewed the project. }, "name": "A String", # Identifier. The identifier of the notebook. Format: `projects/{project}/locations/{location}/notebooks/{notebook_id}`. This field must be a UTF-8 encoded string. "notebookId": "A String", # Optional. Notebook id, which is the last segment of the notebook's resource name. This is to make it similar with notebooklm API. "title": "A String", # Optional. The title of the notebook. }, ], }
listRecentlyViewed_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.