Class ProjectsResource.LocationsResource.JobsResource.SnapshotRequest
Snapshot the state of a streaming job.
Inheritance
ProjectsResource.LocationsResource.JobsResource.SnapshotRequest
Inherited Members
Namespace: Google.Apis.Dataflow.v1b3
Assembly: Google.Apis.Dataflow.v1b3.dll
Syntax
public class ProjectsResource.LocationsResource.JobsResource.SnapshotRequest : DataflowBaseServiceRequest<Snapshot>, IClientServiceRequest<Snapshot>, IClientServiceRequest
Constructors
SnapshotRequest(IClientService, SnapshotJobRequest, string, string, string)
Constructs a new Snapshot request.
Declaration
public SnapshotRequest(IClientService service, SnapshotJobRequest body, string projectId, string location, string jobId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
SnapshotJobRequest | body | |
string | projectId | |
string | location | |
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 |
Location
The location that contains this job.
Declaration
[RequestParameter("location", RequestParameterType.Path)]
public virtual string Location { 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()