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".
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eWorkerSettings\u003c/code\u003e class in the Dataflow v1beta3 API provides configuration data for worker processes and is available in the latest version, 2.0.0-beta07, as well as previous versions like 2.0.0-beta06 and 1.0.0-beta03.\u003c/p\u003e\n"],["\u003cp\u003eThis class, \u003ccode\u003eWorkerSettings\u003c/code\u003e, implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eWorkerSettings\u003c/code\u003e class includes properties such as \u003ccode\u003eBaseUrl\u003c/code\u003e, \u003ccode\u003eReportingEnabled\u003c/code\u003e, \u003ccode\u003eServicePath\u003c/code\u003e, \u003ccode\u003eShuffleServicePath\u003c/code\u003e, \u003ccode\u003eTempStoragePrefix\u003c/code\u003e, and \u003ccode\u003eWorkerId\u003c/code\u003e to manage aspects like API access, progress reporting, service paths, temporary storage, and worker identification.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors for \u003ccode\u003eWorkerSettings\u003c/code\u003e, one being a default constructor and the second allowing the passing of another \u003ccode\u003eWorkerSettings\u003c/code\u003e object to be copied.\u003c/p\u003e\n"],["\u003cp\u003eThe primary purpose of the \u003ccode\u003eWorkerSettings\u003c/code\u003e class is to provide configuration parameters to the worker harness, which is responsible for executing the various tasks within the dataflow pipeline.\u003c/p\u003e\n"]]],[],null,["# Dataflow v1beta3 API - Class WorkerSettings (2.0.0-beta07)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-beta07 (latest)](/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3.WorkerSettings)\n- [2.0.0-beta06](/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/2.0.0-beta06/Google.Cloud.Dataflow.V1Beta3.WorkerSettings)\n- [1.0.0-beta03](/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/1.0.0-beta03/Google.Cloud.Dataflow.V1Beta3.WorkerSettings) \n\n public sealed class WorkerSettings : IMessage\u003cWorkerSettings\u003e, IEquatable\u003cWorkerSettings\u003e, IDeepCloneable\u003cWorkerSettings\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Dataflow v1beta3 API class WorkerSettings.\n\nProvides data to pass through to the worker harness. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e WorkerSettings \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[WorkerSettings](/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3.WorkerSettings), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[WorkerSettings](/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3.WorkerSettings), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[WorkerSettings](/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3.WorkerSettings), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Dataflow.V1Beta3](/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3)\n\nAssembly\n--------\n\nGoogle.Cloud.Dataflow.V1Beta3.dll\n\nConstructors\n------------\n\n### WorkerSettings()\n\n public WorkerSettings()\n\n### WorkerSettings(WorkerSettings)\n\n public WorkerSettings(WorkerSettings other)\n\nProperties\n----------\n\n### BaseUrl\n\n public string BaseUrl { get; set; }\n\nThe base URL for accessing Google Cloud APIs.\n\nWhen workers access Google Cloud APIs, they logically do so via\nrelative URLs. If this field is specified, it supplies the base\nURL to use for resolving these relative URLs. The normative\nalgorithm used is defined by RFC 1808, \"Relative Uniform Resource\nLocators\".\n\nIf not specified, the default value is \"\u003chttp://www.googleapis.com/\u003e\"\n\n### ReportingEnabled\n\n public bool ReportingEnabled { get; set; }\n\nWhether to send work progress updates to the service.\n\n### ServicePath\n\n public string ServicePath { get; set; }\n\nThe Cloud Dataflow service path relative to the root URL, for example,\n\"dataflow/v1b3/projects\".\n\n### ShuffleServicePath\n\n public string ShuffleServicePath { get; set; }\n\nThe Shuffle service path relative to the root URL, for example,\n\"shuffle/v1beta1\".\n\n### TempStoragePrefix\n\n public string TempStoragePrefix { get; set; }\n\nThe prefix of the resources the system should use for temporary\nstorage.\n\nThe supported resource type is:\n\nGoogle Cloud Storage:\n\nstorage.googleapis.com/{bucket}/{object}\nbucket.storage.googleapis.com/{object}\n\n### WorkerId\n\n public string WorkerId { get; set; }\n\nThe ID of the worker running this pipeline."]]