Dataflow API . projects . locations . jobs . snapshots

Instance Methods

close()

Close httplib2 connections.

list(projectId, location, jobId, x__xgafv=None)

Lists snapshots.

Method Details

close()
Close httplib2 connections.
list(projectId, location, jobId, x__xgafv=None)
Lists snapshots.

Args:
  projectId: string, The project ID to list snapshots for. (required)
  location: string, The location to list snapshots in. (required)
  jobId: string, If specified, list snapshots created from this job. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # List of snapshots.
  "snapshots": [ # Returned snapshots.
    { # Represents a snapshot of a job.
      "creationTime": "A String", # The time this snapshot was created.
      "description": "A String", # User specified description of the snapshot. Maybe empty.
      "diskSizeBytes": "A String", # The disk byte size of the snapshot. Only available for snapshots in READY state.
      "id": "A String", # The unique ID of this snapshot.
      "projectId": "A String", # The project this snapshot belongs to.
      "pubsubMetadata": [ # Pub/Sub snapshot metadata.
        { # Represents a Pubsub snapshot.
          "expireTime": "A String", # The expire time of the Pubsub snapshot.
          "snapshotName": "A String", # The name of the Pubsub snapshot.
          "topicName": "A String", # The name of the Pubsub topic.
        },
      ],
      "region": "A String", # Cloud region where this snapshot lives in, e.g., "us-central1".
      "sourceJobId": "A String", # The job this snapshot was created from.
      "state": "A String", # State of the snapshot.
      "ttl": "A String", # The time after which this snapshot will be automatically deleted.
    },
  ],
}