Send feedback
Class v1beta3.JobsV1Beta3Client
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.0.2 keyboard_arrow_down
Provides a method to create and modify Google Cloud Dataflow jobs. A Job is a multi-stage computation graph run by the Cloud Dataflow service. v1beta3
Package
@google-cloud/dataflow!
Constructors
(constructor)(opts)
constructor ( opts ? : ClientOptions );
Construct an instance of JobsV1Beta3Client.
Parameter
Type Name Description ClientOptions opts
Properties
apiEndpoint
static get apiEndpoint(): string;
The DNS address for this API service - same as servicePath(), exists for compatibility reasons.
Property Value
auth
Property Value
Type Description gax.GoogleAuth
descriptors
descriptors : Descriptors ;
Property Value
Type Description Descriptors
innerApiCalls
innerApiCalls : {
[ name : string ] : Function ;
} ;
Property Value
Type Description {
[name: string]: Function ;
}
jobsV1Beta3Stub
jobsV1Beta3Stub ?: Promise <{
[ name : string ] : Function ;
} >;
Property Value
Type Description Promise <{
[name: string]: Function ;
}>
port
static get port(): number;
The port for this API service.
Property Value
scopes
static get scopes(): string[];
The scopes needed to make gRPC calls for every method defined in this service.
Property Value
servicePath
static get servicePath(): string;
The DNS address for this API service.
Property Value
warn
warn : ( code : string , message : string , warnType ?: string ) = > void ;
Property Value
Type Description (code: string, message: string, warnType?: string) => void
Methods
aggregatedListJobs(request, options)
aggregatedListJobs ( request ?: protos . google . dataflow . v1beta3 . IListJobsRequest , options ?: CallOptions ) : Promise <[
protos . google . dataflow . v1beta3 . IJob [],
protos . google . dataflow . v1beta3 . IListJobsRequest | null ,
protos . google . dataflow . v1beta3 . IListJobsResponse
]>;
Parameters
Type Name Description protos.google.dataflow.v1beta3.IListJobsRequest request
CallOptions options
Returns
Type Description Promise <[
protos.google.dataflow.v1beta3.IJob [],
protos.google.dataflow.v1beta3.IListJobsRequest | null,
protos.google.dataflow.v1beta3.IListJobsResponse
]>
aggregatedListJobs(request, options, callback)
aggregatedListJobs ( request: protos . google . dataflow . v1beta3 . IListJobsRequest , options: CallOptions , callback: PaginationCallback<protos . google . dataflow . v1beta3 . IListJobsRequest , protos . google . dataflow . v1beta3 . IListJobsResponse | null | undefined , protos . google . dataflow . v1beta3 . IJob >) : void ;
Parameters
Type Name Description protos.google.dataflow.v1beta3.IListJobsRequest request
CallOptions options
PaginationCallback <protos.google.dataflow.v1beta3.IListJobsRequest , protos.google.dataflow.v1beta3.IListJobsResponse | null | undefined, protos.google.dataflow.v1beta3.IJob >callback
Returns
aggregatedListJobs(request, callback)
aggregatedListJobs ( request: protos . google . dataflow . v1beta3 . IListJobsRequest , callback: PaginationCallback<protos . google . dataflow . v1beta3 . IListJobsRequest , protos . google . dataflow . v1beta3 . IListJobsResponse | null | undefined , protos . google . dataflow . v1beta3 . IJob >) : void ;
Parameters
Type Name Description protos.google.dataflow.v1beta3.IListJobsRequest request
PaginationCallback <protos.google.dataflow.v1beta3.IListJobsRequest , protos.google.dataflow.v1beta3.IListJobsResponse | null | undefined, protos.google.dataflow.v1beta3.IJob >callback
Returns
aggregatedListJobsAsync(request, options)
aggregatedListJobsAsync ( request ?: protos . google . dataflow . v1beta3 . IListJobsRequest , options ?: CallOptions ) : AsyncIterable<protos . google . dataflow . v1beta3 . IJob >;
Equivalent to aggregatedListJobs
, but returns an iterable object.
for
-await
-of
syntax is used with the iterable to get response elements on-demand.
Parameters
Type Name Description protos.google.dataflow.v1beta3.IListJobsRequest request
The request object that will be sent.
CallOptions options
Call options. See CallOptions for more details.
Returns
Type Description AsyncIterable <protos.google.dataflow.v1beta3.IJob >{Object} An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols). When you iterate the returned iterable, each element will be an object representing [Job]. The API will be called under the hood as needed, once per the page, so you can stop the iteration when you don't need more results. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples.
aggregatedListJobsStream(request, options)
aggregatedListJobsStream ( request ?: protos . google . dataflow . v1beta3 . IListJobsRequest , options ?: CallOptions ) : Transform ;
Equivalent to method.name.toCamelCase()
, but returns a NodeJS Stream object.
Parameters
Type Name Description protos.google.dataflow.v1beta3.IListJobsRequest request
The request object that will be sent.
CallOptions options
Call options. See CallOptions for more details.
Returns
Type Description Transform {Stream} An object stream which emits an object representing [Job] on 'data' event. The client library will perform auto-pagination by default: it will call the API as many times as needed. Note that it can affect your quota. We recommend using aggregatedListJobsAsync()
method described below for async iteration which you can stop as needed. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples.
checkActiveJobs(request, options)
checkActiveJobs(request?: protos.google.dataflow.v1beta3.ICheckActiveJobsRequest, options?: CallOptions): Promise<[
protos.google.dataflow.v1beta3.ICheckActiveJobsResponse,
protos.google.dataflow.v1beta3.ICheckActiveJobsRequest | undefined,
{} | undefined
]>;
Parameters
Type Name Description protos.google.dataflow.v1beta3.ICheckActiveJobsRequest request
CallOptions options
Returns
Type Description Promise <[
protos.google.dataflow.v1beta3.ICheckActiveJobsResponse ,
protos.google.dataflow.v1beta3.ICheckActiveJobsRequest | undefined,
{} | undefined
]>
checkActiveJobs(request, options, callback)
checkActiveJobs ( request : protos . google . dataflow . v1beta3 . ICheckActiveJobsRequest , options : CallOptions , callback : Callback<protos . google . dataflow . v1beta3 . ICheckActiveJobsResponse , protos . google . dataflow . v1beta3 . ICheckActiveJobsRequest | null | undefined , {} | null | undefined >): void ;
Parameters
Type Name Description protos.google.dataflow.v1beta3.ICheckActiveJobsRequest request
CallOptions options
Callback <protos.google.dataflow.v1beta3.ICheckActiveJobsResponse , protos.google.dataflow.v1beta3.ICheckActiveJobsRequest | null | undefined, {} | null | undefined>callback
Returns
checkActiveJobs(request, callback)
checkActiveJobs ( request : protos . google . dataflow . v1beta3 . ICheckActiveJobsRequest , callback : Callback<protos . google . dataflow . v1beta3 . ICheckActiveJobsResponse , protos . google . dataflow . v1beta3 . ICheckActiveJobsRequest | null | undefined , {} | null | undefined >): void ;
Parameters
Type Name Description protos.google.dataflow.v1beta3.ICheckActiveJobsRequest request
Callback <protos.google.dataflow.v1beta3.ICheckActiveJobsResponse , protos.google.dataflow.v1beta3.ICheckActiveJobsRequest | null | undefined, {} | null | undefined>callback
Returns
close()
Terminate the gRPC channel and close the client.
The client will no longer be usable and all future behavior is undefined.
Returns
Type Description Promise <void>{Promise} A promise that resolves when the client is closed.
createJob(request, options)
createJob(request?: protos.google.dataflow.v1beta3.ICreateJobRequest, options?: CallOptions): Promise<[
protos.google.dataflow.v1beta3.IJob,
protos.google.dataflow.v1beta3.ICreateJobRequest | undefined,
{} | undefined
]>;
Parameters
Type Name Description protos.google.dataflow.v1beta3.ICreateJobRequest request
CallOptions options
Returns
Type Description Promise <[
protos.google.dataflow.v1beta3.IJob ,
protos.google.dataflow.v1beta3.ICreateJobRequest | undefined,
{} | undefined
]>
createJob(request, options, callback)
createJob ( request : protos . google . dataflow . v1beta3 . ICreateJobRequest , options : CallOptions , callback : Callback<protos . google . dataflow . v1beta3 . IJob , protos . google . dataflow . v1beta3 . ICreateJobRequest | null | undefined , {} | null | undefined >): void ;
Parameters
Type Name Description protos.google.dataflow.v1beta3.ICreateJobRequest request
CallOptions options
Callback <protos.google.dataflow.v1beta3.IJob , protos.google.dataflow.v1beta3.ICreateJobRequest | null | undefined, {} | null | undefined>callback
Returns
createJob(request, callback)
createJob ( request : protos . google . dataflow . v1beta3 . ICreateJobRequest , callback : Callback<protos . google . dataflow . v1beta3 . IJob , protos . google . dataflow . v1beta3 . ICreateJobRequest | null | undefined , {} | null | undefined >): void ;
Parameters
Type Name Description protos.google.dataflow.v1beta3.ICreateJobRequest request
Callback <protos.google.dataflow.v1beta3.IJob , protos.google.dataflow.v1beta3.ICreateJobRequest | null | undefined, {} | null | undefined>callback
Returns
getJob(request, options)
getJob(request?: protos.google.dataflow.v1beta3.IGetJobRequest, options?: CallOptions): Promise<[
protos.google.dataflow.v1beta3.IJob,
protos.google.dataflow.v1beta3.IGetJobRequest | undefined,
{} | undefined
]>;
Parameters
Type Name Description protos.google.dataflow.v1beta3.IGetJobRequest request
CallOptions options
Returns
Type Description Promise <[
protos.google.dataflow.v1beta3.IJob ,
protos.google.dataflow.v1beta3.IGetJobRequest | undefined,
{} | undefined
]>
getJob(request, options, callback)
getJob ( request : protos . google . dataflow . v1beta3 . IGetJobRequest , options : CallOptions , callback : Callback<protos . google . dataflow . v1beta3 . IJob , protos . google . dataflow . v1beta3 . IGetJobRequest | null | undefined , {} | null | undefined >): void ;
Parameters
Type Name Description protos.google.dataflow.v1beta3.IGetJobRequest request
CallOptions options
Callback <protos.google.dataflow.v1beta3.IJob , protos.google.dataflow.v1beta3.IGetJobRequest | null | undefined, {} | null | undefined>callback
Returns
getJob(request, callback)
getJob ( request : protos . google . dataflow . v1beta3 . IGetJobRequest , callback : Callback<protos . google . dataflow . v1beta3 . IJob , protos . google . dataflow . v1beta3 . IGetJobRequest | null | undefined , {} | null | undefined >): void ;
Parameters
Type Name Description protos.google.dataflow.v1beta3.IGetJobRequest request
Callback <protos.google.dataflow.v1beta3.IJob , protos.google.dataflow.v1beta3.IGetJobRequest | null | undefined, {} | null | undefined>callback
Returns
getProjectId()
getProjectId(): Promise<string>;
Returns
Type Description Promise <string>
getProjectId(callback)
getProjectId ( callback : Callback<string , undefined , undefined >): void ;
Parameter
Type Name Description Callback <string, undefined, undefined>callback
Returns
initialize()
initialize (): Promise <{
[ name : string ] : Function ;
} >;
Initialize the client. Performs asynchronous operations (such as authentication) and prepares the client. This function will be called automatically when any class method is called for the first time, but if you need to initialize it before calling an actual method, feel free to call initialize() directly.
You can await on this method if you want to make sure the client is initialized.
Returns
Type Description Promise <{
[name: string]: Function ;
}>{Promise} A promise that resolves to an authenticated service stub.
listJobs(request, options)
listJobs(request?: protos.google.dataflow.v1beta3.IListJobsRequest, options?: CallOptions): Promise<[
protos.google.dataflow.v1beta3.IJob[],
protos.google.dataflow.v1beta3.IListJobsRequest | null,
protos.google.dataflow.v1beta3.IListJobsResponse
]>;
Parameters
Type Name Description protos.google.dataflow.v1beta3.IListJobsRequest request
CallOptions options
Returns
Type Description Promise <[
protos.google.dataflow.v1beta3.IJob [],
protos.google.dataflow.v1beta3.IListJobsRequest | null,
protos.google.dataflow.v1beta3.IListJobsResponse
]>
listJobs(request, options, callback)
listJobs ( request : protos . google . dataflow . v1beta3 . IListJobsRequest , options : CallOptions , callback : PaginationCallback<protos . google . dataflow . v1beta3 . IListJobsRequest , protos . google . dataflow . v1beta3 . IListJobsResponse | null | undefined , protos . google . dataflow . v1beta3 . IJob >): void ;
Parameters
Type Name Description protos.google.dataflow.v1beta3.IListJobsRequest request
CallOptions options
PaginationCallback <protos.google.dataflow.v1beta3.IListJobsRequest , protos.google.dataflow.v1beta3.IListJobsResponse | null | undefined, protos.google.dataflow.v1beta3.IJob >callback
Returns
listJobs(request, callback)
listJobs ( request : protos . google . dataflow . v1beta3 . IListJobsRequest , callback : PaginationCallback<protos . google . dataflow . v1beta3 . IListJobsRequest , protos . google . dataflow . v1beta3 . IListJobsResponse | null | undefined , protos . google . dataflow . v1beta3 . IJob >): void ;
Parameters
Type Name Description protos.google.dataflow.v1beta3.IListJobsRequest request
PaginationCallback <protos.google.dataflow.v1beta3.IListJobsRequest , protos.google.dataflow.v1beta3.IListJobsResponse | null | undefined, protos.google.dataflow.v1beta3.IJob >callback
Returns
listJobsAsync(request, options)
listJobsAsync(request?: protos.google.dataflow.v1beta3.IListJobsRequest, options?: CallOptions): AsyncIterable<protos.google.dataflow.v1beta3.IJob>;
Equivalent to listJobs
, but returns an iterable object.
for
-await
-of
syntax is used with the iterable to get response elements on-demand.
Parameters
Type Name Description protos.google.dataflow.v1beta3.IListJobsRequest request
The request object that will be sent.
CallOptions options
Call options. See CallOptions for more details.
Returns
Type Description AsyncIterable <protos.google.dataflow.v1beta3.IJob >{Object} An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols). When you iterate the returned iterable, each element will be an object representing [Job]. The API will be called under the hood as needed, once per the page, so you can stop the iteration when you don't need more results. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples.
listJobsStream(request, options)
listJobsStream(request?: protos.google.dataflow.v1beta3.IListJobsRequest, options?: CallOptions): Transform;
Equivalent to method.name.toCamelCase()
, but returns a NodeJS Stream object.
Parameters
Type Name Description protos.google.dataflow.v1beta3.IListJobsRequest request
The request object that will be sent.
CallOptions options
Call options. See CallOptions for more details.
Returns
Type Description Transform {Stream} An object stream which emits an object representing [Job] on 'data' event. The client library will perform auto-pagination by default: it will call the API as many times as needed. Note that it can affect your quota. We recommend using listJobsAsync()
method described below for async iteration which you can stop as needed. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples.
snapshotJob(request, options)
snapshotJob(request?: protos.google.dataflow.v1beta3.ISnapshotJobRequest, options?: CallOptions): Promise<[
protos.google.dataflow.v1beta3.ISnapshot,
protos.google.dataflow.v1beta3.ISnapshotJobRequest | undefined,
{} | undefined
]>;
Parameters
Type Name Description protos.google.dataflow.v1beta3.ISnapshotJobRequest request
CallOptions options
Returns
Type Description Promise <[
protos.google.dataflow.v1beta3.ISnapshot ,
protos.google.dataflow.v1beta3.ISnapshotJobRequest | undefined,
{} | undefined
]>
snapshotJob(request, options, callback)
snapshotJob ( request : protos . google . dataflow . v1beta3 . ISnapshotJobRequest , options : CallOptions , callback : Callback<protos . google . dataflow . v1beta3 . ISnapshot , protos . google . dataflow . v1beta3 . ISnapshotJobRequest | null | undefined , {} | null | undefined >): void ;
Parameters
Type Name Description protos.google.dataflow.v1beta3.ISnapshotJobRequest request
CallOptions options
Callback <protos.google.dataflow.v1beta3.ISnapshot , protos.google.dataflow.v1beta3.ISnapshotJobRequest | null | undefined, {} | null | undefined>callback
Returns
snapshotJob(request, callback)
snapshotJob ( request : protos . google . dataflow . v1beta3 . ISnapshotJobRequest , callback : Callback<protos . google . dataflow . v1beta3 . ISnapshot , protos . google . dataflow . v1beta3 . ISnapshotJobRequest | null | undefined , {} | null | undefined >): void ;
Parameters
Type Name Description protos.google.dataflow.v1beta3.ISnapshotJobRequest request
Callback <protos.google.dataflow.v1beta3.ISnapshot , protos.google.dataflow.v1beta3.ISnapshotJobRequest | null | undefined, {} | null | undefined>callback
Returns
updateJob(request, options)
updateJob(request?: protos.google.dataflow.v1beta3.IUpdateJobRequest, options?: CallOptions): Promise<[
protos.google.dataflow.v1beta3.IJob,
protos.google.dataflow.v1beta3.IUpdateJobRequest | undefined,
{} | undefined
]>;
Parameters
Type Name Description protos.google.dataflow.v1beta3.IUpdateJobRequest request
CallOptions options
Returns
Type Description Promise <[
protos.google.dataflow.v1beta3.IJob ,
protos.google.dataflow.v1beta3.IUpdateJobRequest | undefined,
{} | undefined
]>
updateJob(request, options, callback)
updateJob ( request : protos . google . dataflow . v1beta3 . IUpdateJobRequest , options : CallOptions , callback : Callback<protos . google . dataflow . v1beta3 . IJob , protos . google . dataflow . v1beta3 . IUpdateJobRequest | null | undefined , {} | null | undefined >): void ;
Parameters
Type Name Description protos.google.dataflow.v1beta3.IUpdateJobRequest request
CallOptions options
Callback <protos.google.dataflow.v1beta3.IJob , protos.google.dataflow.v1beta3.IUpdateJobRequest | null | undefined, {} | null | undefined>callback
Returns
updateJob(request, callback)
updateJob ( request : protos . google . dataflow . v1beta3 . IUpdateJobRequest , callback : Callback<protos . google . dataflow . v1beta3 . IJob , protos . google . dataflow . v1beta3 . IUpdateJobRequest | null | undefined , {} | null | undefined >): void ;
Parameters
Type Name Description protos.google.dataflow.v1beta3.IUpdateJobRequest request
Callback <protos.google.dataflow.v1beta3.IJob , protos.google.dataflow.v1beta3.IUpdateJobRequest | null | undefined, {} | null | undefined>callback
Returns
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-30 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-30 UTC."],[],[]]