class Google::Apis::DataflowV1b3::WorkerSettings

Provides data to pass through to the worker harness.

Attributes

base_url[RW]

The base URL for 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 “www.googleapis.com/” Corresponds to the JSON property `baseUrl` @return [String]

reporting_enabled[RW]

Whether to send work progress updates to the service. Corresponds to the JSON property `reportingEnabled` @return [Boolean]

reporting_enabled?[RW]

Whether to send work progress updates to the service. Corresponds to the JSON property `reportingEnabled` @return [Boolean]

service_path[RW]

The Cloud Dataflow service path relative to the root URL, for example, “ dataflow/v1b3/projects”. Corresponds to the JSON property `servicePath` @return [String]

shuffle_service_path[RW]

The Shuffle service path relative to the root URL, for example, “shuffle/ v1beta1”. Corresponds to the JSON property `shuffleServicePath` @return [String]

temp_storage_prefix[RW]

The prefix of the resources the system should use for temporary storage. The supported resource type is: Google Cloud Storage: storage.googleapis.com/` bucket`/`object` bucket.storage.googleapis.com/`object` Corresponds to the JSON property `tempStoragePrefix` @return [String]

worker_id[RW]

The ID of the worker running this pipeline. Corresponds to the JSON property `workerId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dataflow_v1b3/classes.rb, line 6677
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dataflow_v1b3/classes.rb, line 6682
def update!(**args)
  @base_url = args[:base_url] if args.key?(:base_url)
  @reporting_enabled = args[:reporting_enabled] if args.key?(:reporting_enabled)
  @service_path = args[:service_path] if args.key?(:service_path)
  @shuffle_service_path = args[:shuffle_service_path] if args.key?(:shuffle_service_path)
  @temp_storage_prefix = args[:temp_storage_prefix] if args.key?(:temp_storage_prefix)
  @worker_id = args[:worker_id] if args.key?(:worker_id)
end