Dataflow v1beta3 API - Class TaskRunnerSettings (2.0.0-beta05)

public sealed class TaskRunnerSettings : IMessage<TaskRunnerSettings>, IEquatable<TaskRunnerSettings>, IDeepCloneable<TaskRunnerSettings>, IBufferMessage, IMessage

Reference documentation and code samples for the Dataflow v1beta3 API class TaskRunnerSettings.

Taskrunner configuration settings.

Inheritance

object > TaskRunnerSettings

Namespace

Google.Cloud.Dataflow.V1Beta3

Assembly

Google.Cloud.Dataflow.V1Beta3.dll

Constructors

TaskRunnerSettings()

public TaskRunnerSettings()

TaskRunnerSettings(TaskRunnerSettings)

public TaskRunnerSettings(TaskRunnerSettings other)
Parameter
NameDescription
otherTaskRunnerSettings

Properties

Alsologtostderr

public bool Alsologtostderr { get; set; }

Whether to also send taskrunner log info to stderr.

Property Value
TypeDescription
bool

BaseTaskDir

public string BaseTaskDir { get; set; }

The location on the worker for task-specific subdirectories.

Property Value
TypeDescription
string

BaseUrl

public string BaseUrl { get; set; }

The base URL for the taskrunner to use when accessing Google Cloud APIs.

When workers access Google Cloud APIs, they logically do so via relative URLs. If this field is specified, it supplies the base URL to use for resolving these relative URLs. The normative algorithm used is defined by RFC 1808, "Relative Uniform Resource Locators".

If not specified, the default value is "http://www.googleapis.com/"

Property Value
TypeDescription
string

CommandlinesFileName

public string CommandlinesFileName { get; set; }

The file to store preprocessing commands in.

Property Value
TypeDescription
string

ContinueOnException

public bool ContinueOnException { get; set; }

Whether to continue taskrunner if an exception is hit.

Property Value
TypeDescription
bool

DataflowApiVersion

public string DataflowApiVersion { get; set; }

The API version of endpoint, e.g. "v1b3"

Property Value
TypeDescription
string

HarnessCommand

public string HarnessCommand { get; set; }

The command to launch the worker harness.

Property Value
TypeDescription
string

LanguageHint

public string LanguageHint { get; set; }

The suggested backend language.

Property Value
TypeDescription
string

LogDir

public string LogDir { get; set; }

The directory on the VM to store logs.

Property Value
TypeDescription
string

LogToSerialconsole

public bool LogToSerialconsole { get; set; }

Whether to send taskrunner log info to Google Compute Engine VM serial console.

Property Value
TypeDescription
bool

LogUploadLocation

public string LogUploadLocation { get; set; }

Indicates where to put logs. If this is not specified, the logs will not be uploaded.

The supported resource type is:

Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}

Property Value
TypeDescription
string

OauthScopes

public RepeatedField<string> OauthScopes { get; }

The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.

Property Value
TypeDescription
RepeatedFieldstring

ParallelWorkerSettings

public WorkerSettings ParallelWorkerSettings { get; set; }

The settings to pass to the parallel worker harness.

Property Value
TypeDescription
WorkerSettings

StreamingWorkerMainClass

public string StreamingWorkerMainClass { get; set; }

The streaming worker main class name.

Property Value
TypeDescription
string

TaskGroup

public string TaskGroup { get; set; }

The UNIX group ID on the worker VM to use for tasks launched by taskrunner; e.g. "wheel".

Property Value
TypeDescription
string

TaskUser

public string TaskUser { get; set; }

The UNIX user ID on the worker VM to use for tasks launched by taskrunner; e.g. "root".

Property Value
TypeDescription
string

TempStoragePrefix

public string TempStoragePrefix { get; set; }

The prefix of the resources the taskrunner should use for temporary storage.

The supported resource type is:

Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}

Property Value
TypeDescription
string

VmId

public string VmId { get; set; }

The ID string of the VM.

Property Value
TypeDescription
string

WorkflowFileName

public string WorkflowFileName { get; set; }

The file to store the workflow in.

Property Value
TypeDescription
string