Environment constructor
- Input<
String> ? clusterManagerApiService, - Input<
String> ? dataset, - Input<
DebugOptions> ? debugOptions, - Input<
List< ? experiments,String> > - Input<
EnvironmentFlexResourceSchedulingGoal> ? flexResourceSchedulingGoal, - Input<
Map< ? internalExperiments,String, String> > - Input<
Map< ? sdkPipelineOptions,String, String> > - Input<
String> ? serviceAccountEmail, - Input<
String> ? serviceKmsKeyName, - Input<
List< ? serviceOptions,String> > - Input<
String> ? tempStoragePrefix, - Input<
Map< ? userAgent,String, String> > - Input<
Map< ? version,String, String> > - Input<
List< ? workerPools,WorkerPool> > - Input<
String> ? workerRegion, - Input<
String> ? workerZone,
Creates a new Environment.
clusterManagerApiService The type of cluster manager API to use. If unknown or unspecified, the service will attempt to choose a reasonable default. This should be in the form of the API service name, e.g. "compute.googleapis.com".
dataset The dataset for the current project where various workflow related tables are stored. The supported resource type is: Google BigQuery: bigquery.googleapis.com/{dataset}
debugOptions Any debugging options to be supplied to the job.
experiments The list of experiments to enable. This field should be used for SDK related experiments and not for service related experiments. The proper field for service related experiments is service_options.
flexResourceSchedulingGoal Which Flexible Resource Scheduling mode to run in.
internalExperiments Experimental settings.
sdkPipelineOptions The Cloud Dataflow SDK pipeline options specified by the user. These options are passed through the service and are used to recreate the SDK pipeline options on the worker in a language agnostic and platform independent way.
serviceAccountEmail Identity to run virtual machines as. Defaults to the default account.
serviceKmsKeyName If set, contains the Cloud KMS key identifier used to encrypt data at rest, AKA a Customer Managed Encryption Key (CMEK). Format: projects/PROJECT_ID/locations/LOCATION/keyRings/KEY_RING/cryptoKeys/KEY
serviceOptions The list of service options to enable. This field should be used for service related experiments only. These experiments, when graduating to GA, should be replaced by dedicated fields or become default (i.e. always on).
tempStoragePrefix The prefix of the resources the system should use for temporary storage. The system will append the suffix "/temp-{JOBNAME} to this resource prefix, where {JOBNAME} is the value of the job_name field. The resulting bucket and object prefix is used as the prefix of the resources used to store temporary data needed during the job execution. NOTE: This will override the value in taskrunner_settings. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
userAgent A description of the process that generated the request.
version A structure describing which components and their versions of the service are required in order to run the job.
workerPools The worker pools. At least one "harness" worker pool must be specified in order for the job to have workers.
workerRegion 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.
workerZone 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.
Implementation
const Environment({
this.clusterManagerApiService,
this.dataset,
this.debugOptions,
this.experiments,
this.flexResourceSchedulingGoal,
this.internalExperiments,
this.sdkPipelineOptions,
this.serviceAccountEmail,
this.serviceKmsKeyName,
this.serviceOptions,
this.tempStoragePrefix,
this.userAgent,
this.version,
this.workerPools,
this.workerRegion,
this.workerZone,
});