Dataflow
import { Dataflow } from "https://googleapis.deno.dev/v1/dataflow:v1b3.ts";
Manages Google Cloud Dataflow projects on Google Cloud Platform.
§Methods
Deletes a snapshot.
The ID of the Cloud Platform project that the snapshot belongs to.
List the jobs of a project across all regions. Note: This method doesn't support filtering the list of jobs by name.
The project which owns the jobs.
Creates a Cloud Dataflow job. To create a job, we recommend using
projects.locations.jobs.create
with a [regional endpoint]
(https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using
projects.jobs.create
is not recommended, as your job will always start in
us-central1
. Do not enter confidential information when you supply string
values using the API.
The ID of the Cloud Platform project that the job belongs to.
Get encoded debug configuration for component. Not cacheable.
The job id.
The project id.
Send encoded debug capture data for component.
The job id.
The project id.
Gets the state of the specified Cloud Dataflow job. To get the state of a
job, we recommend using projects.locations.jobs.get
with a [regional
endpoint]
(https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using
projects.jobs.get
is not recommended, as you can only get the state of
jobs that are running in us-central1
.
The job ID.
The ID of the Cloud Platform project that the job belongs to.
Request the job status. To request the status of a job, we recommend using
projects.locations.jobs.getMetrics
with a [regional endpoint]
(https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using
projects.jobs.getMetrics
is not recommended, as you can only request the
status of jobs that are running in us-central1
.
The job to get metrics for.
A project id.
List the jobs of a project. To list the jobs of a project in a region, we
recommend using projects.locations.jobs.list
with a [regional endpoint]
(https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). To
list the all jobs across all regions, use projects.jobs.aggregated
. Using
projects.jobs.list
is not recommended, because you can only get the list
of jobs that are running in us-central1
. projects.locations.jobs.list
and projects.jobs.list
support filtering the list of jobs by name.
Filtering by name isn't supported by projects.jobs.aggregated
.
The project which owns the jobs.
Request the job status. To request the status of a job, we recommend using
projects.locations.jobs.messages.list
with a [regional endpoint]
(https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using
projects.jobs.messages.list
is not recommended, as you can only request
the status of jobs that are running in us-central1
.
The job to get messages about.
A project id.
Snapshot the state of a streaming job.
The job to be snapshotted.
The project which owns the job to be snapshotted.
Updates the state of an existing Cloud Dataflow job. To update the state
of an existing job, we recommend using projects.locations.jobs.update
with a [regional endpoint]
(https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using
projects.jobs.update
is not recommended, as you can only update the state
of jobs that are running in us-central1
.
The job ID.
The ID of the Cloud Platform project that the job belongs to.
Leases a dataflow WorkItem to run.
Identifies the workflow job this worker belongs to.
Identifies the project this worker belongs to.
Reports the status of dataflow WorkItems leased by a worker.
The job which the WorkItem is part of.
The project which owns the WorkItem's job.
Launch a job with a FlexTemplate.
Required. The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request. E.g., us-central1, us-west1.
Required. The ID of the Cloud Platform project that the job belongs to.
Creates a Cloud Dataflow job. To create a job, we recommend using
projects.locations.jobs.create
with a [regional endpoint]
(https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using
projects.jobs.create
is not recommended, as your job will always start in
us-central1
. Do not enter confidential information when you supply string
values using the API.
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
The ID of the Cloud Platform project that the job belongs to.
Get encoded debug configuration for component. Not cacheable.
The job id.
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id.
The project id.
Send encoded debug capture data for component.
The job id.
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id.
The project id.
Gets the state of the specified Cloud Dataflow job. To get the state of a
job, we recommend using projects.locations.jobs.get
with a [regional
endpoint]
(https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using
projects.jobs.get
is not recommended, as you can only get the state of
jobs that are running in us-central1
.
The job ID.
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
The ID of the Cloud Platform project that the job belongs to.
Request detailed information about the execution status of the job. EXPERIMENTAL. This API is subject to change or removal without notice.
The job to get execution details for.
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id.
A project id.
Request the job status. To request the status of a job, we recommend using
projects.locations.jobs.getMetrics
with a [regional endpoint]
(https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using
projects.jobs.getMetrics
is not recommended, as you can only request the
status of jobs that are running in us-central1
.
The job to get metrics for.
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id.
A project id.
List the jobs of a project. To list the jobs of a project in a region, we
recommend using projects.locations.jobs.list
with a [regional endpoint]
(https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). To
list the all jobs across all regions, use projects.jobs.aggregated
. Using
projects.jobs.list
is not recommended, because you can only get the list
of jobs that are running in us-central1
. projects.locations.jobs.list
and projects.jobs.list
support filtering the list of jobs by name.
Filtering by name isn't supported by projects.jobs.aggregated
.
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
The project which owns the jobs.
Request the job status. To request the status of a job, we recommend using
projects.locations.jobs.messages.list
with a [regional endpoint]
(https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using
projects.jobs.messages.list
is not recommended, as you can only request
the status of jobs that are running in us-central1
.
The job to get messages about.
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id.
A project id.
Snapshot the state of a streaming job.
The job to be snapshotted.
The location that contains this job.
The project which owns the job to be snapshotted.
Lists snapshots.
If specified, list snapshots created from this job.
The location to list snapshots in.
The project ID to list snapshots for.
Request detailed information about the execution status of a stage of the job. EXPERIMENTAL. This API is subject to change or removal without notice.
The job to get execution details for.
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id.
A project id.
The stage for which to fetch information.
Updates the state of an existing Cloud Dataflow job. To update the state
of an existing job, we recommend using projects.locations.jobs.update
with a [regional endpoint]
(https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using
projects.jobs.update
is not recommended, as you can only update the state
of jobs that are running in us-central1
.
The job ID.
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
The ID of the Cloud Platform project that the job belongs to.
Leases a dataflow WorkItem to run.
Identifies the workflow job this worker belongs to.
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the WorkItem's job.
Identifies the project this worker belongs to.
Reports the status of dataflow WorkItems leased by a worker.
The job which the WorkItem is part of.
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the WorkItem's job.
The project which owns the WorkItem's job.
Deletes a snapshot.
The location that contains this snapshot.
The ID of the Cloud Platform project that the snapshot belongs to.
The ID of the snapshot.
Gets information about a snapshot.
The location that contains this snapshot.
The ID of the Cloud Platform project that the snapshot belongs to.
The ID of the snapshot.
Lists snapshots.
The location to list snapshots in.
The project ID to list snapshots for.
Creates a Cloud Dataflow job from a template. Do not enter confidential information when you supply string values using the API.
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.
Required. The ID of the Cloud Platform project that the job belongs to.
Get the template associated with a template.
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.
Required. The ID of the Cloud Platform project that the job belongs to.
Launch a template.
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.
Required. The ID of the Cloud Platform project that the job belongs to.
Send a worker_message to the service.
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job.
The project to send the WorkerMessages to.
Gets information about a snapshot.
The ID of the Cloud Platform project that the snapshot belongs to.
The ID of the snapshot.
Lists snapshots.
The project ID to list snapshots for.
Creates a Cloud Dataflow job from a template. Do not enter confidential information when you supply string values using the API.
Required. The ID of the Cloud Platform project that the job belongs to.
Get the template associated with a template.
Required. The ID of the Cloud Platform project that the job belongs to.
Launch a template.
Required. The ID of the Cloud Platform project that the job belongs to.
Send a worker_message to the service.
The project to send the WorkerMessages to.