Represents a MetricsV1Beta3
Inheritance
$protobuf.rpc.Service > protos.google.dataflow.v1beta3.MetricsV1Beta3Package
@google-cloud/dataflowConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new MetricsV1Beta3 service.
Parameters | |
---|---|
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Methods
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): MetricsV1Beta3;
Creates new MetricsV1Beta3 service using the specified rpc implementation.
Parameters | |
---|---|
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Returns | |
---|---|
Type | Description |
MetricsV1Beta3 | RPC service. Useful where requests and/or responses are streamed. |
getJobExecutionDetails(request, callback)
public getJobExecutionDetails(request: google.dataflow.v1beta3.IGetJobExecutionDetailsRequest, callback: google.dataflow.v1beta3.MetricsV1Beta3.GetJobExecutionDetailsCallback): void;
Calls GetJobExecutionDetails.
Parameters | |
---|---|
Name | Description |
request |
google.dataflow.v1beta3.IGetJobExecutionDetailsRequest
GetJobExecutionDetailsRequest message or plain object |
callback |
google.dataflow.v1beta3.MetricsV1Beta3.GetJobExecutionDetailsCallback
Node-style callback called with the error, if any, and JobExecutionDetails |
Returns | |
---|---|
Type | Description |
void |
getJobExecutionDetails(request)
public getJobExecutionDetails(request: google.dataflow.v1beta3.IGetJobExecutionDetailsRequest): Promise<google.dataflow.v1beta3.JobExecutionDetails>;
Calls GetJobExecutionDetails.
Parameter | |
---|---|
Name | Description |
request |
google.dataflow.v1beta3.IGetJobExecutionDetailsRequest
GetJobExecutionDetailsRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.dataflow.v1beta3.JobExecutionDetails> | Promise |
getJobMetrics(request, callback)
public getJobMetrics(request: google.dataflow.v1beta3.IGetJobMetricsRequest, callback: google.dataflow.v1beta3.MetricsV1Beta3.GetJobMetricsCallback): void;
Calls GetJobMetrics.
Parameters | |
---|---|
Name | Description |
request |
google.dataflow.v1beta3.IGetJobMetricsRequest
GetJobMetricsRequest message or plain object |
callback |
google.dataflow.v1beta3.MetricsV1Beta3.GetJobMetricsCallback
Node-style callback called with the error, if any, and JobMetrics |
Returns | |
---|---|
Type | Description |
void |
getJobMetrics(request)
public getJobMetrics(request: google.dataflow.v1beta3.IGetJobMetricsRequest): Promise<google.dataflow.v1beta3.JobMetrics>;
Calls GetJobMetrics.
Parameter | |
---|---|
Name | Description |
request |
google.dataflow.v1beta3.IGetJobMetricsRequest
GetJobMetricsRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.dataflow.v1beta3.JobMetrics> | Promise |
getStageExecutionDetails(request, callback)
public getStageExecutionDetails(request: google.dataflow.v1beta3.IGetStageExecutionDetailsRequest, callback: google.dataflow.v1beta3.MetricsV1Beta3.GetStageExecutionDetailsCallback): void;
Calls GetStageExecutionDetails.
Parameters | |
---|---|
Name | Description |
request |
google.dataflow.v1beta3.IGetStageExecutionDetailsRequest
GetStageExecutionDetailsRequest message or plain object |
callback |
google.dataflow.v1beta3.MetricsV1Beta3.GetStageExecutionDetailsCallback
Node-style callback called with the error, if any, and StageExecutionDetails |
Returns | |
---|---|
Type | Description |
void |
getStageExecutionDetails(request)
public getStageExecutionDetails(request: google.dataflow.v1beta3.IGetStageExecutionDetailsRequest): Promise<google.dataflow.v1beta3.StageExecutionDetails>;
Calls GetStageExecutionDetails.
Parameter | |
---|---|
Name | Description |
request |
google.dataflow.v1beta3.IGetStageExecutionDetailsRequest
GetStageExecutionDetailsRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.dataflow.v1beta3.StageExecutionDetails> | Promise |