Show / Hide Table of Contents

Class LeaseWorkItemRequest

Request to lease WorkItems.

Inheritance
object
LeaseWorkItemRequest
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Dataflow.v1b3.Data
Assembly: Google.Apis.Dataflow.v1b3.dll
Syntax
public class LeaseWorkItemRequest : IDirectResponseSchema

Properties

CurrentWorkerTime

object representation of CurrentWorkerTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CurrentWorkerTimeDateTimeOffset instead.")]
public virtual object CurrentWorkerTime { get; set; }
Property Value
Type Description
object

CurrentWorkerTimeDateTimeOffset

DateTimeOffset representation of CurrentWorkerTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? CurrentWorkerTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

CurrentWorkerTimeRaw

The current timestamp at the worker.

Declaration
[JsonProperty("currentWorkerTime")]
public virtual string CurrentWorkerTimeRaw { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Location

The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the WorkItem's job.

Declaration
[JsonProperty("location")]
public virtual string Location { get; set; }
Property Value
Type Description
string

ProjectNumber

Optional. The project number of the project this worker belongs to.

Declaration
[JsonProperty("projectNumber")]
public virtual long? ProjectNumber { get; set; }
Property Value
Type Description
long?

RequestedLeaseDuration

The initial lease period.

Declaration
[JsonProperty("requestedLeaseDuration")]
public virtual object RequestedLeaseDuration { get; set; }
Property Value
Type Description
object

UnifiedWorkerRequest

Untranslated bag-of-bytes WorkRequest from UnifiedWorker.

Declaration
[JsonProperty("unifiedWorkerRequest")]
public virtual IDictionary<string, object> UnifiedWorkerRequest { get; set; }
Property Value
Type Description
IDictionary<string, object>

WorkItemTypes

Filter for WorkItem type.

Declaration
[JsonProperty("workItemTypes")]
public virtual IList<string> WorkItemTypes { get; set; }
Property Value
Type Description
IList<string>

WorkerCapabilities

Worker capabilities. WorkItems might be limited to workers with specific capabilities.

Declaration
[JsonProperty("workerCapabilities")]
public virtual IList<string> WorkerCapabilities { get; set; }
Property Value
Type Description
IList<string>

WorkerId

Identifies the worker leasing work -- typically the ID of the virtual machine running the worker.

Declaration
[JsonProperty("workerId")]
public virtual string WorkerId { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX