Observability API . projects . locations . buckets . datasets

Instance Methods

links()

Returns the links Resource.

views()

Returns the views Resource.

close()

Close httplib2 connections.

get(name, x__xgafv=None)

Get a dataset.

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

List datasets of a bucket.

list_next()

Retrieves the next page of results.

Method Details

close()
Close httplib2 connections.
get(name, x__xgafv=None)
Get a dataset.

Args:
  name: string, Required. Name of the dataset to retrieve. The format is: projects/[PROJECT_ID]/locations/[LOCATION]/buckets/[BUCKET_ID]/datasets/[DATASET_ID] (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # A dataset is a collection of data that has a specific configuration. A dataset can be backed by multiple tables. One bucket can have multiple datasets.
  "createTime": "A String", # Output only. Create timestamp.
  "deleteTime": "A String", # Output only. Delete timestamp.
  "description": "A String", # Optional. Description of the dataset.
  "displayName": "A String", # Optional. User friendly display name.
  "name": "A String", # Identifier. Name of the dataset. The format is: projects/[PROJECT_ID]/locations/[LOCATION]/buckets/[BUCKET_ID]/datasets/[DATASET_ID]
  "purgeTime": "A String", # Output only. Timestamp when the dataset in soft-deleted state is purged.
}
list(parent, pageSize=None, pageToken=None, showDeleted=None, x__xgafv=None)
List datasets of a bucket.

Args:
  parent: string, Required. The parent bucket that owns this collection of datasets. The format is: projects/[PROJECT_ID]/locations/[LOCATION]/buckets/[BUCKET_ID] (required)
  pageSize: integer, Optional. The maximum number of datasets to return. If unspecified, then at most 100 datasets are returned. The maximum value is 1000; values above 1000 are coerced to 1000.
  pageToken: string, Optional. A page token, received from a previous `ListDatasets` call. Provide this to retrieve the subsequent page.
  showDeleted: boolean, Optional. If true, then the response will include deleted datasets.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response for listing datasets.
  "datasets": [ # The list of datasets.
    { # A dataset is a collection of data that has a specific configuration. A dataset can be backed by multiple tables. One bucket can have multiple datasets.
      "createTime": "A String", # Output only. Create timestamp.
      "deleteTime": "A String", # Output only. Delete timestamp.
      "description": "A String", # Optional. Description of the dataset.
      "displayName": "A String", # Optional. User friendly display name.
      "name": "A String", # Identifier. Name of the dataset. The format is: projects/[PROJECT_ID]/locations/[LOCATION]/buckets/[BUCKET_ID]/datasets/[DATASET_ID]
      "purgeTime": "A String", # Output only. Timestamp when the dataset in soft-deleted state is purged.
    },
  ],
  "nextPageToken": "A String", # A token that can be sent as `page_token` to retrieve the next page. When this field is omitted, 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.