public sealed class FlexTemplateRuntimeEnvironment : IMessage<FlexTemplateRuntimeEnvironment>, IEquatable<FlexTemplateRuntimeEnvironment>, IDeepCloneable<FlexTemplateRuntimeEnvironment>, IBufferMessage, IMessage
The environment values to be set at runtime for flex template.
Implements
IMessage<FlexTemplateRuntimeEnvironment>, IEquatable<FlexTemplateRuntimeEnvironment>, IDeepCloneable<FlexTemplateRuntimeEnvironment>, IBufferMessage, IMessageNamespace
Google.Cloud.Dataflow.V1Beta3Assembly
Google.Cloud.Dataflow.V1Beta3.dll
Constructors
FlexTemplateRuntimeEnvironment()
public FlexTemplateRuntimeEnvironment()
FlexTemplateRuntimeEnvironment(FlexTemplateRuntimeEnvironment)
public FlexTemplateRuntimeEnvironment(FlexTemplateRuntimeEnvironment other)
Parameter | |
---|---|
Name | Description |
other | FlexTemplateRuntimeEnvironment |
Properties
AdditionalExperiments
public RepeatedField<string> AdditionalExperiments { get; }
Additional experiment flags for the job.
Property Value | |
---|---|
Type | Description |
RepeatedField<String> |
AdditionalUserLabels
public MapField<string, string> AdditionalUserLabels { get; }
Additional user labels to be specified for the job. Keys and values must follow the restrictions specified in the labeling restrictions page. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1kg", "count": "3" }.
Property Value | |
---|---|
Type | Description |
MapField<String, String> |
AutoscalingAlgorithm
public AutoscalingAlgorithm AutoscalingAlgorithm { get; set; }
The algorithm to use for autoscaling
Property Value | |
---|---|
Type | Description |
AutoscalingAlgorithm |
DiskSizeGb
public int DiskSizeGb { get; set; }
Worker disk size, in gigabytes.
Property Value | |
---|---|
Type | Description |
Int32 |
DumpHeapOnOom
public bool DumpHeapOnOom { get; set; }
If true, save a heap dump before killing a thread or process which is GC thrashing or out of memory. The location of the heap file will either be echoed back to the user, or the user will be given the opportunity to download the heap file.
Property Value | |
---|---|
Type | Description |
Boolean |
EnableStreamingEngine
public bool EnableStreamingEngine { get; set; }
Whether to enable Streaming Engine for the job.
Property Value | |
---|---|
Type | Description |
Boolean |
FlexrsGoal
public FlexResourceSchedulingGoal FlexrsGoal { get; set; }
Set FlexRS goal for the job. https://cloud.google.com/dataflow/docs/guides/flexrs
Property Value | |
---|---|
Type | Description |
FlexResourceSchedulingGoal |
IpConfiguration
public WorkerIPAddressConfiguration IpConfiguration { get; set; }
Configuration for VM IPs.
Property Value | |
---|---|
Type | Description |
WorkerIPAddressConfiguration |
KmsKeyName
public string KmsKeyName { get; set; }
Name for the Cloud KMS key for the job. Key format is: projects/<project>/locations/<location>/keyRings/<keyring>/cryptoKeys/<key>
Property Value | |
---|---|
Type | Description |
String |
LauncherMachineType
public string LauncherMachineType { get; set; }
The machine type to use for launching the job. The default is n1-standard-1.
Property Value | |
---|---|
Type | Description |
String |
MachineType
public string MachineType { get; set; }
The machine type to use for the job. Defaults to the value from the template if not specified.
Property Value | |
---|---|
Type | Description |
String |
MaxWorkers
public int MaxWorkers { get; set; }
The maximum number of Google Compute Engine instances to be made available to your pipeline during execution, from 1 to 1000.
Property Value | |
---|---|
Type | Description |
Int32 |
Network
public string Network { get; set; }
Network to which VMs will be assigned. If empty or unspecified, the service will use the network "default".
Property Value | |
---|---|
Type | Description |
String |
NumWorkers
public int NumWorkers { get; set; }
The initial number of Google Compute Engine instances for the job.
Property Value | |
---|---|
Type | Description |
Int32 |
SaveHeapDumpsToGcsPath
public string SaveHeapDumpsToGcsPath { get; set; }
Cloud Storage bucket (directory) to upload heap dumps to the given location. Enabling this implies that heap dumps should be generated on OOM (dump_heap_on_oom is set to true).
Property Value | |
---|---|
Type | Description |
String |
SdkContainerImage
public string SdkContainerImage { get; set; }
Docker registry location of container image to use for the 'worker harness. Default is the container for the version of the SDK. Note this field is only valid for portable pipelines.
Property Value | |
---|---|
Type | Description |
String |
ServiceAccountEmail
public string ServiceAccountEmail { get; set; }
The email address of the service account to run the job as.
Property Value | |
---|---|
Type | Description |
String |
StagingLocation
public string StagingLocation { get; set; }
The Cloud Storage path for staging local files.
Must be a valid Cloud Storage URL, beginning with gs://
.
Property Value | |
---|---|
Type | Description |
String |
Subnetwork
public string Subnetwork { get; set; }
Subnetwork to which VMs will be assigned, if desired. You can specify a subnetwork using either a complete URL or an abbreviated path. Expected to be of the form "https://www.googleapis.com/compute/v1/projects/HOST_PROJECT_ID/regions/REGION/subnetworks/SUBNETWORK"; or "regions/REGION/subnetworks/SUBNETWORK". If the subnetwork is located in a Shared VPC network, you must use the complete URL.
Property Value | |
---|---|
Type | Description |
String |
TempLocation
public string TempLocation { get; set; }
The Cloud Storage path to use for temporary files.
Must be a valid Cloud Storage URL, beginning with gs://
.
Property Value | |
---|---|
Type | Description |
String |
WorkerRegion
public string WorkerRegion { get; set; }
The Compute Engine region (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. "us-west1". Mutually exclusive with worker_zone. If neither worker_region nor worker_zone is specified, default to the control plane's region.
Property Value | |
---|---|
Type | Description |
String |
WorkerZone
public string WorkerZone { get; set; }
The Compute Engine zone
(https://cloud.google.com/compute/docs/regions-zones/regions-zones) in
which worker processing should occur, e.g. "us-west1-a". Mutually exclusive
with worker_region. If neither worker_region nor worker_zone is specified,
a zone in the control plane's region is chosen based on available capacity.
If both worker_zone
and zone
are set, worker_zone
takes precedence.
Property Value | |
---|---|
Type | Description |
String |
Zone
public string Zone { get; set; }
The Compute Engine availability zone for launching worker instances to run your pipeline. In the future, worker_zone will take precedence.
Property Value | |
---|---|
Type | Description |
String |