Class ProjectsResource.JobsResource.SnapshotRequest
Snapshot the state of a streaming job.
Inheritance
ProjectsResource.JobsResource.SnapshotRequest
Inherited Members
Namespace: Google.Apis.Dataflow.v1b3
Assembly: Google.Apis.Dataflow.v1b3.dll
Syntax
public class ProjectsResource.JobsResource.SnapshotRequest : DataflowBaseServiceRequest<Snapshot>, IClientServiceRequest<Snapshot>, IClientServiceRequest
Constructors
SnapshotRequest(IClientService, SnapshotJobRequest, string, string)
Constructs a new Snapshot request.
Declaration
public SnapshotRequest(IClientService service, SnapshotJobRequest body, string projectId, string jobId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
SnapshotJobRequest | body | |
string | projectId | |
string | jobId |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
JobId
The job to be snapshotted.
Declaration
[RequestParameter("jobId", RequestParameterType.Path)]
public virtual string JobId { get; }
Property Value
Type | Description |
---|---|
string |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
ProjectId
The project which owns the job to be snapshotted.
Declaration
[RequestParameter("projectId", RequestParameterType.Path)]
public virtual string ProjectId { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Snapshot parameter list.
Declaration
protected override void InitParameters()