Observability API . projects . locations . buckets . datasets . views

Instance Methods

close()

Close httplib2 connections.

get(name, x__xgafv=None)

Get a view.

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

List views of a dataset.

list_next()

Retrieves the next page of results.

Method Details

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

Args:
  name: string, Required. Name of the view to retrieve. The format is: projects/[PROJECT_ID]/locations/[LOCATION]/buckets/[BUCKET_ID]/datasets/[DATASET_ID]/views/[VIEW_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 view corresponds to a read-only representation of a subset of the data in a dataset.
  "createTime": "A String", # Output only. Create timestamp.
  "description": "A String", # Optional. Description of the view.
  "displayName": "A String", # Optional. User friendly display name.
  "name": "A String", # Identifier. Name of the view. The format is: projects/[PROJECT_ID]/locations/[LOCATION]/buckets/[BUCKET_ID]/datasets/[DATASET_ID]/views/[VIEW_ID]
  "updateTime": "A String", # Output only. Update timestamp.
}
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
List views of a dataset.

Args:
  parent: string, Required. Dataset whose views are to be listed. The format is: projects/[PROJECT_ID]/locations/[LOCATION]/buckets/[BUCKET_ID]/datasets/[DATASET_ID] (required)
  pageSize: integer, Optional. The maximum number of views to return. If unspecified, then at most 100 views are returned. The maximum value is 1000; values above 1000 are coerced to 1000.
  pageToken: string, Optional. A page token, received from a previous `ListViews` call. 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 listing views.
  "nextPageToken": "A String", # Optional. A token that can be sent as `page_token` to retrieve the next page. When this field is omitted, there are no subsequent pages.
  "views": [ # The list of views.
    { # A view corresponds to a read-only representation of a subset of the data in a dataset.
      "createTime": "A String", # Output only. Create timestamp.
      "description": "A String", # Optional. Description of the view.
      "displayName": "A String", # Optional. User friendly display name.
      "name": "A String", # Identifier. Name of the view. The format is: projects/[PROJECT_ID]/locations/[LOCATION]/buckets/[BUCKET_ID]/datasets/[DATASET_ID]/views/[VIEW_ID]
      "updateTime": "A String", # Output only. Update timestamp.
    },
  ],
}
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.