📂 File Browser

/AgentAI/vendor/google/apiclient-services/src/Dataflow
🌙 Dark Mode
🎯 Quick Launch:

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 ApproximateProgress.php
▶ Open 📄 View Source
🐘 ApproximateReportedProgress.php
▶ Open 📄 View Source
🐘 ApproximateSplitRequest.php
▶ Open 📄 View Source
🐘 AutoscalingEvent.php
▶ Open 📄 View Source
🐘 AutoscalingSettings.php
▶ Open 📄 View Source
🐘 Base2Exponent.php
▶ Open 📄 View Source
🐘 BigQueryIODetails.php
▶ Open 📄 View Source
🐘 BigTableIODetails.php
▶ Open 📄 View Source
🐘 BoundedTrie.php
▶ Open 📄 View Source
🐘 BoundedTrieNode.php
▶ Open 📄 View Source
🐘 BucketOptions.php
▶ Open 📄 View Source
🐘 CPUTime.php
▶ Open 📄 View Source
🐘 ComponentSource.php
▶ Open 📄 View Source
🐘 ComponentTransform.php
▶ Open 📄 View Source
🐘 ComputationTopology.php
▶ Open 📄 View Source
🐘 ConcatPosition.php
▶ Open 📄 View Source
🐘 ContainerSpec.php
▶ Open 📄 View Source
🐘 CounterMetadata.php
▶ Open 📄 View Source
🐘 CounterStructuredName.php
▶ Open 📄 View Source
🐘 CounterStructuredNameAndMetadata.php
▶ Open 📄 View Source
🐘 CounterUpdate.php
▶ Open 📄 View Source
🐘 CreateJobFromTemplateRequest.php
▶ Open 📄 View Source
🐘 CustomSourceLocation.php
▶ Open 📄 View Source
🐘 DataDiskAssignment.php
▶ Open 📄 View Source
🐘 DataSamplingConfig.php
▶ Open 📄 View Source
🐘 DataSamplingReport.php
▶ Open 📄 View Source
🐘 DataflowGaugeValue.php
▶ Open 📄 View Source
🐘 DataflowHistogramValue.php
▶ Open 📄 View Source
🐘 DatastoreIODetails.php
▶ Open 📄 View Source
🐘 DebugOptions.php
▶ Open 📄 View Source
🐘 DeleteSnapshotResponse.php
▶ Open 📄 View Source
🐘 DerivedSource.php
▶ Open 📄 View Source
🐘 Disk.php
▶ Open 📄 View Source
🐘 DisplayData.php
▶ Open 📄 View Source
🐘 DistributionUpdate.php
▶ Open 📄 View Source
🐘 DynamicSourceSplit.php
▶ Open 📄 View Source
🐘 Environment.php
▶ Open 📄 View Source
🐘 ExecutionStageState.php
▶ Open 📄 View Source
🐘 ExecutionStageSummary.php
▶ Open 📄 View Source
🐘 FailedLocation.php
▶ Open 📄 View Source
🐘 FileIODetails.php
▶ Open 📄 View Source
🐘 FlattenInstruction.php
▶ Open 📄 View Source
🐘 FlexTemplateRuntimeEnvironment.php
▶ Open 📄 View Source
🐘 FloatingPointList.php
▶ Open 📄 View Source
🐘 FloatingPointMean.php
▶ Open 📄 View Source
🐘 GPUUsage.php
▶ Open 📄 View Source
🐘 GPUUtilization.php
▶ Open 📄 View Source
🐘 GetDebugConfigRequest.php
▶ Open 📄 View Source
🐘 GetDebugConfigResponse.php
▶ Open 📄 View Source
🐘 GetTemplateResponse.php
▶ Open 📄 View Source
🐘 GetWorkerStacktracesRequest.php
▶ Open 📄 View Source
🐘 GetWorkerStacktracesResponse.php
▶ Open 📄 View Source
🐘 Histogram.php
▶ Open 📄 View Source
🐘 HotKeyDebuggingInfo.php
▶ Open 📄 View Source
🐘 HotKeyDetection.php
▶ Open 📄 View Source
🐘 HotKeyInfo.php
▶ Open 📄 View Source
🐘 InstructionInput.php
▶ Open 📄 View Source
🐘 InstructionOutput.php
▶ Open 📄 View Source
🐘 IntegerGauge.php
▶ Open 📄 View Source
🐘 IntegerList.php
▶ Open 📄 View Source
🐘 IntegerMean.php
▶ Open 📄 View Source
🐘 Job.php
▶ Open 📄 View Source
🐘 JobExecutionDetails.php
▶ Open 📄 View Source
🐘 JobExecutionInfo.php
▶ Open 📄 View Source
🐘 JobExecutionStageInfo.php
▶ Open 📄 View Source
🐘 JobMessage.php
▶ Open 📄 View Source
🐘 JobMetadata.php
▶ Open 📄 View Source
🐘 JobMetrics.php
▶ Open 📄 View Source
🐘 KeyRangeDataDiskAssignment.php
▶ Open 📄 View Source
🐘 KeyRangeLocation.php
▶ Open 📄 View Source
🐘 LaunchFlexTemplateParameter.php
▶ Open 📄 View Source
🐘 LaunchFlexTemplateRequest.php
▶ Open 📄 View Source
🐘 LaunchFlexTemplateResponse.php
▶ Open 📄 View Source
🐘 LaunchTemplateParameters.php
▶ Open 📄 View Source
🐘 LaunchTemplateResponse.php
▶ Open 📄 View Source
🐘 LeaseWorkItemRequest.php
▶ Open 📄 View Source
🐘 LeaseWorkItemResponse.php
▶ Open 📄 View Source
🐘 Linear.php
▶ Open 📄 View Source
🐘 ListJobMessagesResponse.php
▶ Open 📄 View Source
🐘 ListJobsResponse.php
▶ Open 📄 View Source
🐘 ListSnapshotsResponse.php
▶ Open 📄 View Source
🐘 MapTask.php
▶ Open 📄 View Source
🐘 MemInfo.php
▶ Open 📄 View Source
🐘 MetricShortId.php
▶ Open 📄 View Source
🐘 MetricStructuredName.php
▶ Open 📄 View Source
🐘 MetricUpdate.php
▶ Open 📄 View Source
🐘 MetricValue.php
▶ Open 📄 View Source
🐘 MountedDataDisk.php
▶ Open 📄 View Source
🐘 MultiOutputInfo.php
▶ Open 📄 View Source
🐘 NameAndKind.php
▶ Open 📄 View Source
🐘 OutlierStats.php
▶ Open 📄 View Source
🐘 Package.php
▶ Open 📄 View Source
🐘 ParDoInstruction.php
▶ Open 📄 View Source
🐘 ParallelInstruction.php
▶ Open 📄 View Source
🐘 Parameter.php
▶ Open 📄 View Source
🐘 ParameterMetadata.php
▶ Open 📄 View Source
🐘 ParameterMetadataEnumOption.php
▶ Open 📄 View Source
🐘 PartialGroupByKeyInstruction.php
▶ Open 📄 View Source
🐘 PerStepNamespaceMetrics.php
▶ Open 📄 View Source
🐘 PerWorkerMetrics.php
▶ Open 📄 View Source
🐘 PipelineDescription.php
▶ Open 📄 View Source
🐘 Point.php
▶ Open 📄 View Source
🐘 Position.php
▶ Open 📄 View Source
🐘 ProgressTimeseries.php
▶ Open 📄 View Source
🐘 PubSubIODetails.php
▶ Open 📄 View Source
🐘 PubsubLocation.php
▶ Open 📄 View Source
🐘 PubsubSnapshotMetadata.php
▶ Open 📄 View Source
🐘 QueryInfo.php
▶ Open 📄 View Source
🐘 ReadInstruction.php
▶ Open 📄 View Source
🐘 ReportWorkItemStatusRequest.php
▶ Open 📄 View Source
🐘 ReportWorkItemStatusResponse.php
▶ Open 📄 View Source
🐘 ReportedParallelism.php
▶ Open 📄 View Source
🐘 ResourceUtilizationReport.php
▶ Open 📄 View Source
🐘 ResourceUtilizationReportResponse.php
▶ Open 📄 View Source
🐘 RuntimeEnvironment.php
▶ Open 📄 View Source
🐘 RuntimeMetadata.php
▶ Open 📄 View Source
🐘 RuntimeUpdatableParams.php
▶ Open 📄 View Source
🐘 SDKInfo.php
▶ Open 📄 View Source
🐘 Sdk.php
▶ Open 📄 View Source
🐘 SdkBug.php
▶ Open 📄 View Source
🐘 SdkHarnessContainerImage.php
▶ Open 📄 View Source
🐘 SdkVersion.php
▶ Open 📄 View Source
🐘 SendDebugCaptureRequest.php
▶ Open 📄 View Source
🐘 SendDebugCaptureResponse.php
▶ Open 📄 View Source
🐘 SendWorkerMessagesRequest.php
▶ Open 📄 View Source
🐘 SendWorkerMessagesResponse.php
▶ Open 📄 View Source
🐘 SeqMapTask.php
▶ Open 📄 View Source
🐘 SeqMapTaskOutputInfo.php
▶ Open 📄 View Source
🐘 ServiceResources.php
▶ Open 📄 View Source
🐘 ShellTask.php
▶ Open 📄 View Source
🐘 SideInputInfo.php
▶ Open 📄 View Source
🐘 Sink.php
▶ Open 📄 View Source
🐘 Snapshot.php
▶ Open 📄 View Source
🐘 SnapshotJobRequest.php
▶ Open 📄 View Source
🐘 Source.php
▶ Open 📄 View Source
🐘 SourceFork.php
▶ Open 📄 View Source
🐘 SourceGetMetadataRequest.php
▶ Open 📄 View Source
🐘 SourceGetMetadataResponse.php
▶ Open 📄 View Source
🐘 SourceMetadata.php
▶ Open 📄 View Source
🐘 SourceOperationRequest.php
▶ Open 📄 View Source
🐘 SourceOperationResponse.php
▶ Open 📄 View Source
🐘 SourceSplitOptions.php
▶ Open 📄 View Source
🐘 SourceSplitRequest.php
▶ Open 📄 View Source
🐘 SourceSplitResponse.php
▶ Open 📄 View Source
🐘 SourceSplitShard.php
▶ Open 📄 View Source
🐘 SpannerIODetails.php
▶ Open 📄 View Source
🐘 SplitInt64.php
▶ Open 📄 View Source
🐘 Stack.php
▶ Open 📄 View Source
🐘 StageExecutionDetails.php
▶ Open 📄 View Source
🐘 StageSource.php
▶ Open 📄 View Source
🐘 StageSummary.php
▶ Open 📄 View Source
🐘 StateFamilyConfig.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 Step.php
▶ Open 📄 View Source
🐘 Straggler.php
▶ Open 📄 View Source
🐘 StragglerDebuggingInfo.php
▶ Open 📄 View Source
🐘 StragglerInfo.php
▶ Open 📄 View Source
🐘 StragglerSummary.php
▶ Open 📄 View Source
🐘 StreamLocation.php
▶ Open 📄 View Source
🐘 StreamingApplianceSnapshotConfig.php
▶ Open 📄 View Source
🐘 StreamingComputationConfig.php
▶ Open 📄 View Source
🐘 StreamingComputationRanges.php
▶ Open 📄 View Source
🐘 StreamingComputationTask.php
▶ Open 📄 View Source
🐘 StreamingConfigTask.php
▶ Open 📄 View Source
🐘 StreamingOperationalLimits.php
▶ Open 📄 View Source
🐘 StreamingScalingReport.php
▶ Open 📄 View Source
🐘 StreamingScalingReportResponse.php
▶ Open 📄 View Source
🐘 StreamingSetupTask.php
▶ Open 📄 View Source
🐘 StreamingSideInputLocation.php
▶ Open 📄 View Source
🐘 StreamingStageLocation.php
▶ Open 📄 View Source
🐘 StreamingStragglerInfo.php
▶ Open 📄 View Source
🐘 StringList.php
▶ Open 📄 View Source
🐘 StructuredMessage.php
▶ Open 📄 View Source
🐘 TaskRunnerSettings.php
▶ Open 📄 View Source
🐘 TemplateMetadata.php
▶ Open 📄 View Source
🐘 TopologyConfig.php
▶ Open 📄 View Source
🐘 TransformSummary.php
▶ Open 📄 View Source
🐘 ValidateResponse.php
▶ Open 📄 View Source
🐘 WorkItem.php
▶ Open 📄 View Source
🐘 WorkItemDetails.php
▶ Open 📄 View Source
🐘 WorkItemServiceState.php
▶ Open 📄 View Source
🐘 WorkItemStatus.php
▶ Open 📄 View Source
🐘 WorkerDetails.php
▶ Open 📄 View Source
🐘 WorkerHealthReport.php
▶ Open 📄 View Source
🐘 WorkerHealthReportResponse.php
▶ Open 📄 View Source
🐘 WorkerLifecycleEvent.php
▶ Open 📄 View Source
🐘 WorkerMessage.php
▶ Open 📄 View Source
🐘 WorkerMessageCode.php
▶ Open 📄 View Source
🐘 WorkerMessageResponse.php
▶ Open 📄 View Source
🐘 WorkerPool.php
▶ Open 📄 View Source
🐘 WorkerSettings.php
▶ Open 📄 View Source
🐘 WorkerShutdownNotice.php
▶ Open 📄 View Source
🐘 WorkerShutdownNoticeResponse.php
▶ Open 📄 View Source
🐘 WorkerThreadScalingReport.php
▶ Open 📄 View Source
🐘 WorkerThreadScalingReportResponse.php
▶ Open 📄 View Source
🐘 WriteInstruction.php
▶ Open 📄 View Source

📄 Source: Environment.php

<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

namespace Google\Service\Dataflow;

class Environment extends \Google\Collection
{
  /**
   * Run in the default mode.
   */
  public const FLEX_RESOURCE_SCHEDULING_GOAL_FLEXRS_UNSPECIFIED = 'FLEXRS_UNSPECIFIED';
  /**
   * Optimize for lower execution time.
   */
  public const FLEX_RESOURCE_SCHEDULING_GOAL_FLEXRS_SPEED_OPTIMIZED = 'FLEXRS_SPEED_OPTIMIZED';
  /**
   * Optimize for lower cost.
   */
  public const FLEX_RESOURCE_SCHEDULING_GOAL_FLEXRS_COST_OPTIMIZED = 'FLEXRS_COST_OPTIMIZED';
  /**
   * Shuffle mode information is not available.
   */
  public const SHUFFLE_MODE_SHUFFLE_MODE_UNSPECIFIED = 'SHUFFLE_MODE_UNSPECIFIED';
  /**
   * Shuffle is done on the worker VMs.
   */
  public const SHUFFLE_MODE_VM_BASED = 'VM_BASED';
  /**
   * Shuffle is done on the service side.
   */
  public const SHUFFLE_MODE_SERVICE_BASED = 'SERVICE_BASED';
  /**
   * Run in the default mode.
   */
  public const STREAMING_MODE_STREAMING_MODE_UNSPECIFIED = 'STREAMING_MODE_UNSPECIFIED';
  /**
   * In this mode, message deduplication is performed against persistent state
   * to make sure each message is processed and committed to storage exactly
   * once.
   */
  public const STREAMING_MODE_STREAMING_MODE_EXACTLY_ONCE = 'STREAMING_MODE_EXACTLY_ONCE';
  /**
   * Message deduplication is not performed. Messages might be processed
   * multiple times, and the results are applied multiple times. Note: Setting
   * this value also enables Streaming Engine and Streaming Engine resource-
   * based billing.
   */
  public const STREAMING_MODE_STREAMING_MODE_AT_LEAST_ONCE = 'STREAMING_MODE_AT_LEAST_ONCE';
  protected $collection_key = 'workerPools';
  /**
   * 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".
   *
   * @var string
   */
  public $clusterManagerApiService;
  /**
   * Optional. The dataset for the current project where various workflow
   * related tables are stored. The supported resource type is: Google BigQuery:
   * bigquery.googleapis.com/{dataset}
   *
   * @var string
   */
  public $dataset;
  protected $debugOptionsType = DebugOptions::class;
  protected $debugOptionsDataType = '';
  /**
   * 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.
   *
   * @var string[]
   */
  public $experiments;
  /**
   * Optional. Which Flexible Resource Scheduling mode to run in.
   *
   * @var string
   */
  public $flexResourceSchedulingGoal;
  /**
   * Experimental settings.
   *
   * @var array[]
   */
  public $internalExperiments;
  /**
   * 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.
   *
   * @var array[]
   */
  public $sdkPipelineOptions;
  /**
   * Optional. Identity to run virtual machines as. Defaults to the default
   * account.
   *
   * @var string
   */
  public $serviceAccountEmail;
  /**
   * Optional. 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
   *
   * @var string
   */
  public $serviceKmsKeyName;
  /**
   * Optional. 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).
   *
   * @var string[]
   */
  public $serviceOptions;
  /**
   * Output only. The shuffle mode used for the job.
   *
   * @var string
   */
  public $shuffleMode;
  /**
   * Optional. Specifies the Streaming Engine message processing guarantees.
   * Reduces cost and latency but might result in duplicate messages committed
   * to storage. Designed to run simple mapping streaming ETL jobs at the lowest
   * cost. For example, Change Data Capture (CDC) to BigQuery is a canonical use
   * case. For more information, see [Set the pipeline streaming
   * mode](https://cloud.google.com/dataflow/docs/guides/streaming-modes).
   *
   * @var string
   */
  public $streamingMode;
  /**
   * 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}
   *
   * @var string
   */
  public $tempStoragePrefix;
  /**
   * Optional. True when any worker pool that uses public IPs is present.
   *
   * @var bool
   */
  public $usePublicIps;
  /**
   * Output only. Whether the job uses the Streaming Engine resource-based
   * billing model.
   *
   * @var bool
   */
  public $useStreamingEngineResourceBasedBilling;
  /**
   * Optional. A description of the process that generated the request.
   *
   * @var array[]
   */
  public $userAgent;
  /**
   * A structure describing which components and their versions of the service
   * are required in order to run the job.
   *
   * @var array[]
   */
  public $version;
  protected $workerPoolsType = WorkerPool::class;
  protected $workerPoolsDataType = 'array';
  /**
   * Optional. 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.
   *
   * @var string
   */
  public $workerRegion;
  /**
   * Optional. 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.
   *
   * @var string
   */
  public $workerZone;

  /**
   * 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".
   *
   * @param string $clusterManagerApiService
   */
  public function setClusterManagerApiService($clusterManagerApiService)
  {
    $this->clusterManagerApiService = $clusterManagerApiService;
  }
  /**
   * @return string
   */
  public function getClusterManagerApiService()
  {
    return $this->clusterManagerApiService;
  }
  /**
   * Optional. The dataset for the current project where various workflow
   * related tables are stored. The supported resource type is: Google BigQuery:
   * bigquery.googleapis.com/{dataset}
   *
   * @param string $dataset
   */
  public function setDataset($dataset)
  {
    $this->dataset = $dataset;
  }
  /**
   * @return string
   */
  public function getDataset()
  {
    return $this->dataset;
  }
  /**
   * Optional. Any debugging options to be supplied to the job.
   *
   * @param DebugOptions $debugOptions
   */
  public function setDebugOptions(DebugOptions $debugOptions)
  {
    $this->debugOptions = $debugOptions;
  }
  /**
   * @return DebugOptions
   */
  public function getDebugOptions()
  {
    return $this->debugOptions;
  }
  /**
   * 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.
   *
   * @param string[] $experiments
   */
  public function setExperiments($experiments)
  {
    $this->experiments = $experiments;
  }
  /**
   * @return string[]
   */
  public function getExperiments()
  {
    return $this->experiments;
  }
  /**
   * Optional. Which Flexible Resource Scheduling mode to run in.
   *
   * Accepted values: FLEXRS_UNSPECIFIED, FLEXRS_SPEED_OPTIMIZED,
   * FLEXRS_COST_OPTIMIZED
   *
   * @param self::FLEX_RESOURCE_SCHEDULING_GOAL_* $flexResourceSchedulingGoal
   */
  public function setFlexResourceSchedulingGoal($flexResourceSchedulingGoal)
  {
    $this->flexResourceSchedulingGoal = $flexResourceSchedulingGoal;
  }
  /**
   * @return self::FLEX_RESOURCE_SCHEDULING_GOAL_*
   */
  public function getFlexResourceSchedulingGoal()
  {
    return $this->flexResourceSchedulingGoal;
  }
  /**
   * Experimental settings.
   *
   * @param array[] $internalExperiments
   */
  public function setInternalExperiments($internalExperiments)
  {
    $this->internalExperiments = $internalExperiments;
  }
  /**
   * @return array[]
   */
  public function getInternalExperiments()
  {
    return $this->internalExperiments;
  }
  /**
   * 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.
   *
   * @param array[] $sdkPipelineOptions
   */
  public function setSdkPipelineOptions($sdkPipelineOptions)
  {
    $this->sdkPipelineOptions = $sdkPipelineOptions;
  }
  /**
   * @return array[]
   */
  public function getSdkPipelineOptions()
  {
    return $this->sdkPipelineOptions;
  }
  /**
   * Optional. Identity to run virtual machines as. Defaults to the default
   * account.
   *
   * @param string $serviceAccountEmail
   */
  public function setServiceAccountEmail($serviceAccountEmail)
  {
    $this->serviceAccountEmail = $serviceAccountEmail;
  }
  /**
   * @return string
   */
  public function getServiceAccountEmail()
  {
    return $this->serviceAccountEmail;
  }
  /**
   * Optional. 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
   *
   * @param string $serviceKmsKeyName
   */
  public function setServiceKmsKeyName($serviceKmsKeyName)
  {
    $this->serviceKmsKeyName = $serviceKmsKeyName;
  }
  /**
   * @return string
   */
  public function getServiceKmsKeyName()
  {
    return $this->serviceKmsKeyName;
  }
  /**
   * Optional. 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).
   *
   * @param string[] $serviceOptions
   */
  public function setServiceOptions($serviceOptions)
  {
    $this->serviceOptions = $serviceOptions;
  }
  /**
   * @return string[]
   */
  public function getServiceOptions()
  {
    return $this->serviceOptions;
  }
  /**
   * Output only. The shuffle mode used for the job.
   *
   * Accepted values: SHUFFLE_MODE_UNSPECIFIED, VM_BASED, SERVICE_BASED
   *
   * @param self::SHUFFLE_MODE_* $shuffleMode
   */
  public function setShuffleMode($shuffleMode)
  {
    $this->shuffleMode = $shuffleMode;
  }
  /**
   * @return self::SHUFFLE_MODE_*
   */
  public function getShuffleMode()
  {
    return $this->shuffleMode;
  }
  /**
   * Optional. Specifies the Streaming Engine message processing guarantees.
   * Reduces cost and latency but might result in duplicate messages committed
   * to storage. Designed to run simple mapping streaming ETL jobs at the lowest
   * cost. For example, Change Data Capture (CDC) to BigQuery is a canonical use
   * case. For more information, see [Set the pipeline streaming
   * mode](https://cloud.google.com/dataflow/docs/guides/streaming-modes).
   *
   * Accepted values: STREAMING_MODE_UNSPECIFIED, STREAMING_MODE_EXACTLY_ONCE,
   * STREAMING_MODE_AT_LEAST_ONCE
   *
   * @param self::STREAMING_MODE_* $streamingMode
   */
  public function setStreamingMode($streamingMode)
  {
    $this->streamingMode = $streamingMode;
  }
  /**
   * @return self::STREAMING_MODE_*
   */
  public function getStreamingMode()
  {
    return $this->streamingMode;
  }
  /**
   * 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}
   *
   * @param string $tempStoragePrefix
   */
  public function setTempStoragePrefix($tempStoragePrefix)
  {
    $this->tempStoragePrefix = $tempStoragePrefix;
  }
  /**
   * @return string
   */
  public function getTempStoragePrefix()
  {
    return $this->tempStoragePrefix;
  }
  /**
   * Optional. True when any worker pool that uses public IPs is present.
   *
   * @param bool $usePublicIps
   */
  public function setUsePublicIps($usePublicIps)
  {
    $this->usePublicIps = $usePublicIps;
  }
  /**
   * @return bool
   */
  public function getUsePublicIps()
  {
    return $this->usePublicIps;
  }
  /**
   * Output only. Whether the job uses the Streaming Engine resource-based
   * billing model.
   *
   * @param bool $useStreamingEngineResourceBasedBilling
   */
  public function setUseStreamingEngineResourceBasedBilling($useStreamingEngineResourceBasedBilling)
  {
    $this->useStreamingEngineResourceBasedBilling = $useStreamingEngineResourceBasedBilling;
  }
  /**
   * @return bool
   */
  public function getUseStreamingEngineResourceBasedBilling()
  {
    return $this->useStreamingEngineResourceBasedBilling;
  }
  /**
   * Optional. A description of the process that generated the request.
   *
   * @param array[] $userAgent
   */
  public function setUserAgent($userAgent)
  {
    $this->userAgent = $userAgent;
  }
  /**
   * @return array[]
   */
  public function getUserAgent()
  {
    return $this->userAgent;
  }
  /**
   * A structure describing which components and their versions of the service
   * are required in order to run the job.
   *
   * @param array[] $version
   */
  public function setVersion($version)
  {
    $this->version = $version;
  }
  /**
   * @return array[]
   */
  public function getVersion()
  {
    return $this->version;
  }
  /**
   * The worker pools. At least one "harness" worker pool must be specified in
   * order for the job to have workers.
   *
   * @param WorkerPool[] $workerPools
   */
  public function setWorkerPools($workerPools)
  {
    $this->workerPools = $workerPools;
  }
  /**
   * @return WorkerPool[]
   */
  public function getWorkerPools()
  {
    return $this->workerPools;
  }
  /**
   * Optional. 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.
   *
   * @param string $workerRegion
   */
  public function setWorkerRegion($workerRegion)
  {
    $this->workerRegion = $workerRegion;
  }
  /**
   * @return string
   */
  public function getWorkerRegion()
  {
    return $this->workerRegion;
  }
  /**
   * Optional. 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.
   *
   * @param string $workerZone
   */
  public function setWorkerZone($workerZone)
  {
    $this->workerZone = $workerZone;
  }
  /**
   * @return string
   */
  public function getWorkerZone()
  {
    return $this->workerZone;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Environment::class, 'Google_Service_Dataflow_Environment');
← Back