📂 File Browser

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

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AcceleratorConfig.php
▶ Open 📄 View Source
🐘 AccessSessionSparkApplicationEnvironmentInfoResponse.php
▶ Open 📄 View Source
🐘 AccessSessionSparkApplicationJobResponse.php
▶ Open 📄 View Source
🐘 AccessSessionSparkApplicationNativeBuildInfoResponse.php
▶ Open 📄 View Source
🐘 AccessSessionSparkApplicationNativeSqlQueryResponse.php
▶ Open 📄 View Source
🐘 AccessSessionSparkApplicationResponse.php
▶ Open 📄 View Source
🐘 AccessSessionSparkApplicationSqlQueryResponse.php
▶ Open 📄 View Source
🐘 AccessSessionSparkApplicationSqlSparkPlanGraphResponse.php
▶ Open 📄 View Source
🐘 AccessSessionSparkApplicationStageAttemptResponse.php
▶ Open 📄 View Source
🐘 AccessSessionSparkApplicationStageRddOperationGraphResponse.php
▶ Open 📄 View Source
🐘 AccessSparkApplicationEnvironmentInfoResponse.php
▶ Open 📄 View Source
🐘 AccessSparkApplicationJobResponse.php
▶ Open 📄 View Source
🐘 AccessSparkApplicationNativeBuildInfoResponse.php
▶ Open 📄 View Source
🐘 AccessSparkApplicationNativeSqlQueryResponse.php
▶ Open 📄 View Source
🐘 AccessSparkApplicationResponse.php
▶ Open 📄 View Source
🐘 AccessSparkApplicationSqlQueryResponse.php
▶ Open 📄 View Source
🐘 AccessSparkApplicationSqlSparkPlanGraphResponse.php
▶ Open 📄 View Source
🐘 AccessSparkApplicationStageAttemptResponse.php
▶ Open 📄 View Source
🐘 AccessSparkApplicationStageRddOperationGraphResponse.php
▶ Open 📄 View Source
🐘 AccumulableInfo.php
▶ Open 📄 View Source
🐘 AnalyzeBatchRequest.php
▶ Open 📄 View Source
🐘 AnalyzeOperationMetadata.php
▶ Open 📄 View Source
🐘 AppSummary.php
▶ Open 📄 View Source
🐘 ApplicationAttemptInfo.php
▶ Open 📄 View Source
🐘 ApplicationEnvironmentInfo.php
▶ Open 📄 View Source
🐘 ApplicationInfo.php
▶ Open 📄 View Source
🐘 AttachedDiskConfig.php
▶ Open 📄 View Source
🐘 AuthenticationConfig.php
▶ Open 📄 View Source
🐘 AutoscalingConfig.php
▶ Open 📄 View Source
🐘 AutoscalingPolicy.php
▶ Open 📄 View Source
🐘 AutotuningConfig.php
▶ Open 📄 View Source
🐘 AuxiliaryNodeGroup.php
▶ Open 📄 View Source
🐘 AuxiliaryServicesConfig.php
▶ Open 📄 View Source
🐘 BasicAutoscalingAlgorithm.php
▶ Open 📄 View Source
🐘 BasicYarnAutoscalingConfig.php
▶ Open 📄 View Source
🐘 Batch.php
▶ Open 📄 View Source
🐘 BatchOperationMetadata.php
▶ Open 📄 View Source
🐘 Binding.php
▶ Open 📄 View Source
🐘 BuildInfo.php
▶ Open 📄 View Source
🐘 CancelJobRequest.php
▶ Open 📄 View Source
🐘 Cluster.php
▶ Open 📄 View Source
🐘 ClusterConfig.php
▶ Open 📄 View Source
🐘 ClusterMetrics.php
▶ Open 📄 View Source
🐘 ClusterOperation.php
▶ Open 📄 View Source
🐘 ClusterOperationMetadata.php
▶ Open 📄 View Source
🐘 ClusterOperationStatus.php
▶ Open 📄 View Source
🐘 ClusterSelector.php
▶ Open 📄 View Source
🐘 ClusterStatus.php
▶ Open 📄 View Source
🐘 ClusterToRepair.php
▶ Open 📄 View Source
🐘 CohortInfo.php
▶ Open 📄 View Source
🐘 ConfidentialInstanceConfig.php
▶ Open 📄 View Source
🐘 ConsolidatedExecutorSummary.php
▶ Open 📄 View Source
🐘 DataprocEmpty.php
▶ Open 📄 View Source
🐘 DataprocMetricConfig.php
▶ Open 📄 View Source
🐘 DiagnoseClusterRequest.php
▶ Open 📄 View Source
🐘 DiagnoseClusterResults.php
▶ Open 📄 View Source
🐘 DiskConfig.php
▶ Open 📄 View Source
🐘 DriverSchedulingConfig.php
▶ Open 📄 View Source
🐘 EncryptionConfig.php
▶ Open 📄 View Source
🐘 EndpointConfig.php
▶ Open 📄 View Source
🐘 EnvironmentConfig.php
▶ Open 📄 View Source
🐘 ExecutionConfig.php
▶ Open 📄 View Source
🐘 ExecutorMetrics.php
▶ Open 📄 View Source
🐘 ExecutorMetricsDistributions.php
▶ Open 📄 View Source
🐘 ExecutorPeakMetricsDistributions.php
▶ Open 📄 View Source
🐘 ExecutorResourceRequest.php
▶ Open 📄 View Source
🐘 ExecutorStageSummary.php
▶ Open 📄 View Source
🐘 ExecutorSummary.php
▶ Open 📄 View Source
🐘 Expr.php
▶ Open 📄 View Source
🐘 FallbackReason.php
▶ Open 📄 View Source
🐘 FlinkJob.php
▶ Open 📄 View Source
🐘 GceClusterConfig.php
▶ Open 📄 View Source
🐘 GceNodePoolOperationMetadata.php
▶ Open 📄 View Source
🐘 GetIamPolicyRequest.php
▶ Open 📄 View Source
🐘 GetPolicyOptions.php
▶ Open 📄 View Source
🐘 GkeClusterConfig.php
▶ Open 📄 View Source
🐘 GkeNodeConfig.php
▶ Open 📄 View Source
🐘 GkeNodePoolAcceleratorConfig.php
▶ Open 📄 View Source
🐘 GkeNodePoolAutoscalingConfig.php
▶ Open 📄 View Source
🐘 GkeNodePoolConfig.php
▶ Open 📄 View Source
🐘 GkeNodePoolTarget.php
▶ Open 📄 View Source
🐘 GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig.php
▶ Open 📄 View Source
🐘 HadoopJob.php
▶ Open 📄 View Source
🐘 HiveJob.php
▶ Open 📄 View Source
🐘 IdentityConfig.php
▶ Open 📄 View Source
🐘 InjectCredentialsRequest.php
▶ Open 📄 View Source
🐘 InjectSessionCredentialsRequest.php
▶ Open 📄 View Source
🐘 InjectableCredentialsConfig.php
▶ Open 📄 View Source
🐘 InputMetrics.php
▶ Open 📄 View Source
🐘 InputQuantileMetrics.php
▶ Open 📄 View Source
🐘 InstanceFlexibilityPolicy.php
▶ Open 📄 View Source
🐘 InstanceGroupAutoscalingPolicyConfig.php
▶ Open 📄 View Source
🐘 InstanceGroupConfig.php
▶ Open 📄 View Source
🐘 InstanceReference.php
▶ Open 📄 View Source
🐘 InstanceSelection.php
▶ Open 📄 View Source
🐘 InstanceSelectionResult.php
▶ Open 📄 View Source
🐘 InstantiateWorkflowTemplateRequest.php
▶ Open 📄 View Source
🐘 Interval.php
▶ Open 📄 View Source
🐘 Job.php
▶ Open 📄 View Source
🐘 JobData.php
▶ Open 📄 View Source
🐘 JobMetadata.php
▶ Open 📄 View Source
🐘 JobPlacement.php
▶ Open 📄 View Source
🐘 JobReference.php
▶ Open 📄 View Source
🐘 JobScheduling.php
▶ Open 📄 View Source
🐘 JobStatus.php
▶ Open 📄 View Source
🐘 JobsSummary.php
▶ Open 📄 View Source
🐘 JupyterConfig.php
▶ Open 📄 View Source
🐘 KerberosConfig.php
▶ Open 📄 View Source
🐘 KubernetesClusterConfig.php
▶ Open 📄 View Source
🐘 KubernetesSoftwareConfig.php
▶ Open 📄 View Source
🐘 LifecycleConfig.php
▶ Open 📄 View Source
🐘 ListAutoscalingPoliciesResponse.php
▶ Open 📄 View Source
🐘 ListBatchesResponse.php
▶ Open 📄 View Source
🐘 ListClustersResponse.php
▶ Open 📄 View Source
🐘 ListJobsResponse.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 ListSessionTemplatesResponse.php
▶ Open 📄 View Source
🐘 ListSessionsResponse.php
▶ Open 📄 View Source
🐘 ListWorkflowTemplatesResponse.php
▶ Open 📄 View Source
🐘 LoggingConfig.php
▶ Open 📄 View Source
🐘 ManagedCluster.php
▶ Open 📄 View Source
🐘 ManagedGroupConfig.php
▶ Open 📄 View Source
🐘 MemoryMetrics.php
▶ Open 📄 View Source
🐘 MetastoreConfig.php
▶ Open 📄 View Source
🐘 Metric.php
▶ Open 📄 View Source
🐘 NamespacedGkeDeploymentTarget.php
▶ Open 📄 View Source
🐘 NativeBuildInfoUiData.php
▶ Open 📄 View Source
🐘 NativeSqlExecutionUiData.php
▶ Open 📄 View Source
🐘 NodeGroup.php
▶ Open 📄 View Source
🐘 NodeGroupAffinity.php
▶ Open 📄 View Source
🐘 NodeGroupOperationMetadata.php
▶ Open 📄 View Source
🐘 NodeInitializationAction.php
▶ Open 📄 View Source
🐘 NodePool.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 OrderedJob.php
▶ Open 📄 View Source
🐘 OutputMetrics.php
▶ Open 📄 View Source
🐘 OutputQuantileMetrics.php
▶ Open 📄 View Source
🐘 ParameterValidation.php
▶ Open 📄 View Source
🐘 PeripheralsConfig.php
▶ Open 📄 View Source
🐘 PigJob.php
▶ Open 📄 View Source
🐘 Policy.php
▶ Open 📄 View Source
🐘 PoolData.php
▶ Open 📄 View Source
🐘 PrestoJob.php
▶ Open 📄 View Source
🐘 ProcessSummary.php
▶ Open 📄 View Source
🐘 PropertiesInfo.php
▶ Open 📄 View Source
🐘 ProvisioningModelMix.php
▶ Open 📄 View Source
🐘 PyPiRepositoryConfig.php
▶ Open 📄 View Source
🐘 PySparkBatch.php
▶ Open 📄 View Source
🐘 PySparkJob.php
▶ Open 📄 View Source
🐘 PySparkNotebookBatch.php
▶ Open 📄 View Source
🐘 Quantiles.php
▶ Open 📄 View Source
🐘 QueryList.php
▶ Open 📄 View Source
🐘 RddDataDistribution.php
▶ Open 📄 View Source
🐘 RddOperationCluster.php
▶ Open 📄 View Source
🐘 RddOperationEdge.php
▶ Open 📄 View Source
🐘 RddOperationGraph.php
▶ Open 📄 View Source
🐘 RddOperationNode.php
▶ Open 📄 View Source
🐘 RddPartitionInfo.php
▶ Open 📄 View Source
🐘 RddStorageInfo.php
▶ Open 📄 View Source
🐘 RegexValidation.php
▶ Open 📄 View Source
🐘 RepairClusterRequest.php
▶ Open 📄 View Source
🐘 RepairNodeGroupRequest.php
▶ Open 📄 View Source
🐘 RepositoryConfig.php
▶ Open 📄 View Source
🐘 ReservationAffinity.php
▶ Open 📄 View Source
🐘 ResizeNodeGroupRequest.php
▶ Open 📄 View Source
🐘 ResourceInformation.php
▶ Open 📄 View Source
🐘 ResourceProfileInfo.php
▶ Open 📄 View Source
🐘 RuntimeConfig.php
▶ Open 📄 View Source
🐘 RuntimeInfo.php
▶ Open 📄 View Source
🐘 SearchSessionSparkApplicationExecutorStageSummaryResponse.php
▶ Open 📄 View Source
🐘 SearchSessionSparkApplicationExecutorsResponse.php
▶ Open 📄 View Source
🐘 SearchSessionSparkApplicationJobsResponse.php
▶ Open 📄 View Source
🐘 SearchSessionSparkApplicationNativeSqlQueriesResponse.php
▶ Open 📄 View Source
🐘 SearchSessionSparkApplicationSqlQueriesResponse.php
▶ Open 📄 View Source
🐘 SearchSessionSparkApplicationStageAttemptTasksResponse.php
▶ Open 📄 View Source
🐘 SearchSessionSparkApplicationStageAttemptsResponse.php
▶ Open 📄 View Source
🐘 SearchSessionSparkApplicationStagesResponse.php
▶ Open 📄 View Source
🐘 SearchSessionSparkApplicationsResponse.php
▶ Open 📄 View Source
🐘 SearchSparkApplicationExecutorStageSummaryResponse.php
▶ Open 📄 View Source
🐘 SearchSparkApplicationExecutorsResponse.php
▶ Open 📄 View Source
🐘 SearchSparkApplicationJobsResponse.php
▶ Open 📄 View Source
🐘 SearchSparkApplicationNativeSqlQueriesResponse.php
▶ Open 📄 View Source
🐘 SearchSparkApplicationSqlQueriesResponse.php
▶ Open 📄 View Source
🐘 SearchSparkApplicationStageAttemptTasksResponse.php
▶ Open 📄 View Source
🐘 SearchSparkApplicationStageAttemptsResponse.php
▶ Open 📄 View Source
🐘 SearchSparkApplicationStagesResponse.php
▶ Open 📄 View Source
🐘 SearchSparkApplicationsResponse.php
▶ Open 📄 View Source
🐘 SecurityConfig.php
▶ Open 📄 View Source
🐘 Session.php
▶ Open 📄 View Source
🐘 SessionOperationMetadata.php
▶ Open 📄 View Source
🐘 SessionStateHistory.php
▶ Open 📄 View Source
🐘 SessionTemplate.php
▶ Open 📄 View Source
🐘 SetIamPolicyRequest.php
▶ Open 📄 View Source
🐘 ShieldedInstanceConfig.php
▶ Open 📄 View Source
🐘 ShufflePushReadMetrics.php
▶ Open 📄 View Source
🐘 ShufflePushReadQuantileMetrics.php
▶ Open 📄 View Source
🐘 ShuffleReadMetrics.php
▶ Open 📄 View Source
🐘 ShuffleReadQuantileMetrics.php
▶ Open 📄 View Source
🐘 ShuffleWriteMetrics.php
▶ Open 📄 View Source
🐘 ShuffleWriteQuantileMetrics.php
▶ Open 📄 View Source
🐘 SinkProgress.php
▶ Open 📄 View Source
🐘 SoftwareConfig.php
▶ Open 📄 View Source
🐘 SourceProgress.php
▶ Open 📄 View Source
🐘 SparkApplication.php
▶ Open 📄 View Source
🐘 SparkBatch.php
▶ Open 📄 View Source
🐘 SparkConnectConfig.php
▶ Open 📄 View Source
🐘 SparkConnectExecutionInfo.php
▶ Open 📄 View Source
🐘 SparkConnectSessionInfo.php
▶ Open 📄 View Source
🐘 SparkHistoryServerConfig.php
▶ Open 📄 View Source
🐘 SparkJob.php
▶ Open 📄 View Source
🐘 SparkPlanGraph.php
▶ Open 📄 View Source
🐘 SparkPlanGraphCluster.php
▶ Open 📄 View Source
🐘 SparkPlanGraphEdge.php
▶ Open 📄 View Source
🐘 SparkPlanGraphNode.php
▶ Open 📄 View Source
🐘 SparkPlanGraphNodeWrapper.php
▶ Open 📄 View Source
🐘 SparkRBatch.php
▶ Open 📄 View Source
🐘 SparkRJob.php
▶ Open 📄 View Source
🐘 SparkRuntimeInfo.php
▶ Open 📄 View Source
🐘 SparkSqlBatch.php
▶ Open 📄 View Source
🐘 SparkSqlJob.php
▶ Open 📄 View Source
🐘 SparkStandaloneAutoscalingConfig.php
▶ Open 📄 View Source
🐘 SparkWrapperObject.php
▶ Open 📄 View Source
🐘 SpeculationStageSummary.php
▶ Open 📄 View Source
🐘 SqlExecutionUiData.php
▶ Open 📄 View Source
🐘 SqlPlanMetric.php
▶ Open 📄 View Source
🐘 StageAttemptTasksSummary.php
▶ Open 📄 View Source
🐘 StageData.php
▶ Open 📄 View Source
🐘 StageInputMetrics.php
▶ Open 📄 View Source
🐘 StageMetrics.php
▶ Open 📄 View Source
🐘 StageOutputMetrics.php
▶ Open 📄 View Source
🐘 StageShufflePushReadMetrics.php
▶ Open 📄 View Source
🐘 StageShuffleReadMetrics.php
▶ Open 📄 View Source
🐘 StageShuffleWriteMetrics.php
▶ Open 📄 View Source
🐘 StagesSummary.php
▶ Open 📄 View Source
🐘 StartClusterRequest.php
▶ Open 📄 View Source
🐘 StartupConfig.php
▶ Open 📄 View Source
🐘 StateHistory.php
▶ Open 📄 View Source
🐘 StateOperatorProgress.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 StopClusterRequest.php
▶ Open 📄 View Source
🐘 StreamBlockData.php
▶ Open 📄 View Source
🐘 StreamingQueryData.php
▶ Open 📄 View Source
🐘 StreamingQueryProgress.php
▶ Open 📄 View Source
🐘 SubmitJobRequest.php
▶ Open 📄 View Source
🐘 SummarizeSessionSparkApplicationExecutorsResponse.php
▶ Open 📄 View Source
🐘 SummarizeSessionSparkApplicationJobsResponse.php
▶ Open 📄 View Source
🐘 SummarizeSessionSparkApplicationStageAttemptTasksResponse.php
▶ Open 📄 View Source
🐘 SummarizeSessionSparkApplicationStagesResponse.php
▶ Open 📄 View Source
🐘 SummarizeSparkApplicationExecutorsResponse.php
▶ Open 📄 View Source
🐘 SummarizeSparkApplicationJobsResponse.php
▶ Open 📄 View Source
🐘 SummarizeSparkApplicationStageAttemptTasksResponse.php
▶ Open 📄 View Source
🐘 SummarizeSparkApplicationStagesResponse.php
▶ Open 📄 View Source
🐘 TaskData.php
▶ Open 📄 View Source
🐘 TaskMetrics.php
▶ Open 📄 View Source
🐘 TaskQuantileMetrics.php
▶ Open 📄 View Source
🐘 TaskResourceRequest.php
▶ Open 📄 View Source
🐘 TemplateParameter.php
▶ Open 📄 View Source
🐘 TerminateSessionRequest.php
▶ Open 📄 View Source
🐘 TestIamPermissionsRequest.php
▶ Open 📄 View Source
🐘 TestIamPermissionsResponse.php
▶ Open 📄 View Source
🐘 TrinoJob.php
▶ Open 📄 View Source
🐘 UsageMetrics.php
▶ Open 📄 View Source
🐘 UsageSnapshot.php
▶ Open 📄 View Source
🐘 ValueInfo.php
▶ Open 📄 View Source
🐘 ValueValidation.php
▶ Open 📄 View Source
🐘 VirtualClusterConfig.php
▶ Open 📄 View Source
🐘 WorkflowGraph.php
▶ Open 📄 View Source
🐘 WorkflowMetadata.php
▶ Open 📄 View Source
🐘 WorkflowNode.php
▶ Open 📄 View Source
🐘 WorkflowTemplate.php
▶ Open 📄 View Source
🐘 WorkflowTemplatePlacement.php
▶ Open 📄 View Source
🐘 WriteSessionSparkApplicationContextRequest.php
▶ Open 📄 View Source
🐘 WriteSessionSparkApplicationContextResponse.php
▶ Open 📄 View Source
🐘 WriteSparkApplicationContextRequest.php
▶ Open 📄 View Source
🐘 WriteSparkApplicationContextResponse.php
▶ Open 📄 View Source
🐘 YarnApplication.php
▶ Open 📄 View Source

📄 Source: ClusterConfig.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\Dataproc;

class ClusterConfig extends \Google\Collection
{
  /**
   * Not set. Works the same as CLUSTER_TIER_STANDARD.
   */
  public const CLUSTER_TIER_CLUSTER_TIER_UNSPECIFIED = 'CLUSTER_TIER_UNSPECIFIED';
  /**
   * Standard Dataproc cluster.
   */
  public const CLUSTER_TIER_CLUSTER_TIER_STANDARD = 'CLUSTER_TIER_STANDARD';
  /**
   * Premium Dataproc cluster.
   */
  public const CLUSTER_TIER_CLUSTER_TIER_PREMIUM = 'CLUSTER_TIER_PREMIUM';
  /**
   * Not set.
   */
  public const CLUSTER_TYPE_CLUSTER_TYPE_UNSPECIFIED = 'CLUSTER_TYPE_UNSPECIFIED';
  /**
   * Standard dataproc cluster with a minimum of two primary workers.
   */
  public const CLUSTER_TYPE_STANDARD = 'STANDARD';
  /**
   * https://cloud.google.com/dataproc/docs/concepts/configuring-
   * clusters/single-node-clusters
   */
  public const CLUSTER_TYPE_SINGLE_NODE = 'SINGLE_NODE';
  /**
   * Clusters that can use only secondary workers and be scaled down to zero
   * secondary worker nodes.
   */
  public const CLUSTER_TYPE_ZERO_SCALE = 'ZERO_SCALE';
  /**
   * The engine is not specified. Works the same as ENGINE_DEFAULT.
   */
  public const ENGINE_ENGINE_UNSPECIFIED = 'ENGINE_UNSPECIFIED';
  /**
   * The cluster is a default engine cluster.
   */
  public const ENGINE_DEFAULT = 'DEFAULT';
  /**
   * The cluster is a lightning engine cluster.
   */
  public const ENGINE_LIGHTNING = 'LIGHTNING';
  protected $collection_key = 'initializationActions';
  protected $autoscalingConfigType = AutoscalingConfig::class;
  protected $autoscalingConfigDataType = '';
  protected $auxiliaryNodeGroupsType = AuxiliaryNodeGroup::class;
  protected $auxiliaryNodeGroupsDataType = 'array';
  /**
   * Optional. The cluster tier.
   *
   * @var string
   */
  public $clusterTier;
  /**
   * Optional. The type of the cluster.
   *
   * @var string
   */
  public $clusterType;
  /**
   * Optional. A Cloud Storage bucket used to stage job dependencies, config
   * files, and job driver console output. If you do not specify a staging
   * bucket, Cloud Dataproc will determine a Cloud Storage location (US, ASIA,
   * or EU) for your cluster's staging bucket according to the Compute Engine
   * zone where your cluster is deployed, and then create and manage this
   * project-level, per-location bucket (see Dataproc staging and temp buckets
   * (https://cloud.google.com/dataproc/docs/concepts/configuring-
   * clusters/staging-bucket)). This field requires a Cloud Storage bucket name,
   * not a gs://... URI to a Cloud Storage bucket.
   *
   * @var string
   */
  public $configBucket;
  protected $dataprocMetricConfigType = DataprocMetricConfig::class;
  protected $dataprocMetricConfigDataType = '';
  /**
   * Optional. A Cloud Storage bucket used to collect checkpoint diagnostic data
   * (https://cloud.google.com/dataproc/docs/support/diagnose-
   * clusters#checkpoint_diagnostic_data). If you do not specify a diagnostic
   * bucket, Cloud Dataproc will use the Dataproc temp bucket to collect the
   * checkpoint diagnostic data. This field requires a Cloud Storage bucket
   * name, not a gs://... URI to a Cloud Storage bucket.
   *
   * @var string
   */
  public $diagnosticBucket;
  protected $encryptionConfigType = EncryptionConfig::class;
  protected $encryptionConfigDataType = '';
  protected $endpointConfigType = EndpointConfig::class;
  protected $endpointConfigDataType = '';
  /**
   * Optional. The cluster engine.
   *
   * @var string
   */
  public $engine;
  protected $gceClusterConfigType = GceClusterConfig::class;
  protected $gceClusterConfigDataType = '';
  protected $gkeClusterConfigType = GkeClusterConfig::class;
  protected $gkeClusterConfigDataType = '';
  protected $initializationActionsType = NodeInitializationAction::class;
  protected $initializationActionsDataType = 'array';
  protected $lifecycleConfigType = LifecycleConfig::class;
  protected $lifecycleConfigDataType = '';
  protected $masterConfigType = InstanceGroupConfig::class;
  protected $masterConfigDataType = '';
  protected $metastoreConfigType = MetastoreConfig::class;
  protected $metastoreConfigDataType = '';
  protected $secondaryWorkerConfigType = InstanceGroupConfig::class;
  protected $secondaryWorkerConfigDataType = '';
  protected $securityConfigType = SecurityConfig::class;
  protected $securityConfigDataType = '';
  protected $softwareConfigType = SoftwareConfig::class;
  protected $softwareConfigDataType = '';
  /**
   * Optional. A Cloud Storage bucket used to store ephemeral cluster and jobs
   * data, such as Spark and MapReduce history files. If you do not specify a
   * temp bucket, Dataproc will determine a Cloud Storage location (US, ASIA, or
   * EU) for your cluster's temp bucket according to the Compute Engine zone
   * where your cluster is deployed, and then create and manage this project-
   * level, per-location bucket. The default bucket has a TTL of 90 days, but
   * you can use any TTL (or none) if you specify a bucket (see Dataproc staging
   * and temp buckets
   * (https://cloud.google.com/dataproc/docs/concepts/configuring-
   * clusters/staging-bucket)). This field requires a Cloud Storage bucket name,
   * not a gs://... URI to a Cloud Storage bucket.
   *
   * @var string
   */
  public $tempBucket;
  protected $workerConfigType = InstanceGroupConfig::class;
  protected $workerConfigDataType = '';

  /**
   * Optional. Autoscaling config for the policy associated with the cluster.
   * Cluster does not autoscale if this field is unset.
   *
   * @param AutoscalingConfig $autoscalingConfig
   */
  public function setAutoscalingConfig(AutoscalingConfig $autoscalingConfig)
  {
    $this->autoscalingConfig = $autoscalingConfig;
  }
  /**
   * @return AutoscalingConfig
   */
  public function getAutoscalingConfig()
  {
    return $this->autoscalingConfig;
  }
  /**
   * Optional. The node group settings.
   *
   * @param AuxiliaryNodeGroup[] $auxiliaryNodeGroups
   */
  public function setAuxiliaryNodeGroups($auxiliaryNodeGroups)
  {
    $this->auxiliaryNodeGroups = $auxiliaryNodeGroups;
  }
  /**
   * @return AuxiliaryNodeGroup[]
   */
  public function getAuxiliaryNodeGroups()
  {
    return $this->auxiliaryNodeGroups;
  }
  /**
   * Optional. The cluster tier.
   *
   * Accepted values: CLUSTER_TIER_UNSPECIFIED, CLUSTER_TIER_STANDARD,
   * CLUSTER_TIER_PREMIUM
   *
   * @param self::CLUSTER_TIER_* $clusterTier
   */
  public function setClusterTier($clusterTier)
  {
    $this->clusterTier = $clusterTier;
  }
  /**
   * @return self::CLUSTER_TIER_*
   */
  public function getClusterTier()
  {
    return $this->clusterTier;
  }
  /**
   * Optional. The type of the cluster.
   *
   * Accepted values: CLUSTER_TYPE_UNSPECIFIED, STANDARD, SINGLE_NODE,
   * ZERO_SCALE
   *
   * @param self::CLUSTER_TYPE_* $clusterType
   */
  public function setClusterType($clusterType)
  {
    $this->clusterType = $clusterType;
  }
  /**
   * @return self::CLUSTER_TYPE_*
   */
  public function getClusterType()
  {
    return $this->clusterType;
  }
  /**
   * Optional. A Cloud Storage bucket used to stage job dependencies, config
   * files, and job driver console output. If you do not specify a staging
   * bucket, Cloud Dataproc will determine a Cloud Storage location (US, ASIA,
   * or EU) for your cluster's staging bucket according to the Compute Engine
   * zone where your cluster is deployed, and then create and manage this
   * project-level, per-location bucket (see Dataproc staging and temp buckets
   * (https://cloud.google.com/dataproc/docs/concepts/configuring-
   * clusters/staging-bucket)). This field requires a Cloud Storage bucket name,
   * not a gs://... URI to a Cloud Storage bucket.
   *
   * @param string $configBucket
   */
  public function setConfigBucket($configBucket)
  {
    $this->configBucket = $configBucket;
  }
  /**
   * @return string
   */
  public function getConfigBucket()
  {
    return $this->configBucket;
  }
  /**
   * Optional. The config for Dataproc metrics.
   *
   * @param DataprocMetricConfig $dataprocMetricConfig
   */
  public function setDataprocMetricConfig(DataprocMetricConfig $dataprocMetricConfig)
  {
    $this->dataprocMetricConfig = $dataprocMetricConfig;
  }
  /**
   * @return DataprocMetricConfig
   */
  public function getDataprocMetricConfig()
  {
    return $this->dataprocMetricConfig;
  }
  /**
   * Optional. A Cloud Storage bucket used to collect checkpoint diagnostic data
   * (https://cloud.google.com/dataproc/docs/support/diagnose-
   * clusters#checkpoint_diagnostic_data). If you do not specify a diagnostic
   * bucket, Cloud Dataproc will use the Dataproc temp bucket to collect the
   * checkpoint diagnostic data. This field requires a Cloud Storage bucket
   * name, not a gs://... URI to a Cloud Storage bucket.
   *
   * @param string $diagnosticBucket
   */
  public function setDiagnosticBucket($diagnosticBucket)
  {
    $this->diagnosticBucket = $diagnosticBucket;
  }
  /**
   * @return string
   */
  public function getDiagnosticBucket()
  {
    return $this->diagnosticBucket;
  }
  /**
   * Optional. Encryption settings for the cluster.
   *
   * @param EncryptionConfig $encryptionConfig
   */
  public function setEncryptionConfig(EncryptionConfig $encryptionConfig)
  {
    $this->encryptionConfig = $encryptionConfig;
  }
  /**
   * @return EncryptionConfig
   */
  public function getEncryptionConfig()
  {
    return $this->encryptionConfig;
  }
  /**
   * Optional. Port/endpoint configuration for this cluster
   *
   * @param EndpointConfig $endpointConfig
   */
  public function setEndpointConfig(EndpointConfig $endpointConfig)
  {
    $this->endpointConfig = $endpointConfig;
  }
  /**
   * @return EndpointConfig
   */
  public function getEndpointConfig()
  {
    return $this->endpointConfig;
  }
  /**
   * Optional. The cluster engine.
   *
   * Accepted values: ENGINE_UNSPECIFIED, DEFAULT, LIGHTNING
   *
   * @param self::ENGINE_* $engine
   */
  public function setEngine($engine)
  {
    $this->engine = $engine;
  }
  /**
   * @return self::ENGINE_*
   */
  public function getEngine()
  {
    return $this->engine;
  }
  /**
   * Optional. The shared Compute Engine config settings for all instances in a
   * cluster.
   *
   * @param GceClusterConfig $gceClusterConfig
   */
  public function setGceClusterConfig(GceClusterConfig $gceClusterConfig)
  {
    $this->gceClusterConfig = $gceClusterConfig;
  }
  /**
   * @return GceClusterConfig
   */
  public function getGceClusterConfig()
  {
    return $this->gceClusterConfig;
  }
  /**
   * Optional. BETA. The Kubernetes Engine config for Dataproc clusters deployed
   * to The Kubernetes Engine config for Dataproc clusters deployed to
   * Kubernetes. These config settings are mutually exclusive with Compute
   * Engine-based options, such as gce_cluster_config, master_config,
   * worker_config, secondary_worker_config, and autoscaling_config.
   *
   * @deprecated
   * @param GkeClusterConfig $gkeClusterConfig
   */
  public function setGkeClusterConfig(GkeClusterConfig $gkeClusterConfig)
  {
    $this->gkeClusterConfig = $gkeClusterConfig;
  }
  /**
   * @deprecated
   * @return GkeClusterConfig
   */
  public function getGkeClusterConfig()
  {
    return $this->gkeClusterConfig;
  }
  /**
   * Optional. Commands to execute on each node after config is completed. By
   * default, executables are run on master and all worker nodes. You can test a
   * node's role metadata to run an executable on a master or worker node, as
   * shown below using curl (you can also use wget): ROLE=$(curl -H Metadata-
   * Flavor:Google
   * http://metadata/computeMetadata/v1/instance/attributes/dataproc-role) if [[
   * "${ROLE}" == 'Master' ]]; then ... master specific actions ... else ...
   * worker specific actions ... fi
   *
   * @param NodeInitializationAction[] $initializationActions
   */
  public function setInitializationActions($initializationActions)
  {
    $this->initializationActions = $initializationActions;
  }
  /**
   * @return NodeInitializationAction[]
   */
  public function getInitializationActions()
  {
    return $this->initializationActions;
  }
  /**
   * Optional. Lifecycle setting for the cluster.
   *
   * @param LifecycleConfig $lifecycleConfig
   */
  public function setLifecycleConfig(LifecycleConfig $lifecycleConfig)
  {
    $this->lifecycleConfig = $lifecycleConfig;
  }
  /**
   * @return LifecycleConfig
   */
  public function getLifecycleConfig()
  {
    return $this->lifecycleConfig;
  }
  /**
   * Optional. The Compute Engine config settings for the cluster's master
   * instance.
   *
   * @param InstanceGroupConfig $masterConfig
   */
  public function setMasterConfig(InstanceGroupConfig $masterConfig)
  {
    $this->masterConfig = $masterConfig;
  }
  /**
   * @return InstanceGroupConfig
   */
  public function getMasterConfig()
  {
    return $this->masterConfig;
  }
  /**
   * Optional. Metastore configuration.
   *
   * @param MetastoreConfig $metastoreConfig
   */
  public function setMetastoreConfig(MetastoreConfig $metastoreConfig)
  {
    $this->metastoreConfig = $metastoreConfig;
  }
  /**
   * @return MetastoreConfig
   */
  public function getMetastoreConfig()
  {
    return $this->metastoreConfig;
  }
  /**
   * Optional. The Compute Engine config settings for a cluster's secondary
   * worker instances
   *
   * @param InstanceGroupConfig $secondaryWorkerConfig
   */
  public function setSecondaryWorkerConfig(InstanceGroupConfig $secondaryWorkerConfig)
  {
    $this->secondaryWorkerConfig = $secondaryWorkerConfig;
  }
  /**
   * @return InstanceGroupConfig
   */
  public function getSecondaryWorkerConfig()
  {
    return $this->secondaryWorkerConfig;
  }
  /**
   * Optional. Security settings for the cluster.
   *
   * @param SecurityConfig $securityConfig
   */
  public function setSecurityConfig(SecurityConfig $securityConfig)
  {
    $this->securityConfig = $securityConfig;
  }
  /**
   * @return SecurityConfig
   */
  public function getSecurityConfig()
  {
    return $this->securityConfig;
  }
  /**
   * Optional. The config settings for cluster software.
   *
   * @param SoftwareConfig $softwareConfig
   */
  public function setSoftwareConfig(SoftwareConfig $softwareConfig)
  {
    $this->softwareConfig = $softwareConfig;
  }
  /**
   * @return SoftwareConfig
   */
  public function getSoftwareConfig()
  {
    return $this->softwareConfig;
  }
  /**
   * Optional. A Cloud Storage bucket used to store ephemeral cluster and jobs
   * data, such as Spark and MapReduce history files. If you do not specify a
   * temp bucket, Dataproc will determine a Cloud Storage location (US, ASIA, or
   * EU) for your cluster's temp bucket according to the Compute Engine zone
   * where your cluster is deployed, and then create and manage this project-
   * level, per-location bucket. The default bucket has a TTL of 90 days, but
   * you can use any TTL (or none) if you specify a bucket (see Dataproc staging
   * and temp buckets
   * (https://cloud.google.com/dataproc/docs/concepts/configuring-
   * clusters/staging-bucket)). This field requires a Cloud Storage bucket name,
   * not a gs://... URI to a Cloud Storage bucket.
   *
   * @param string $tempBucket
   */
  public function setTempBucket($tempBucket)
  {
    $this->tempBucket = $tempBucket;
  }
  /**
   * @return string
   */
  public function getTempBucket()
  {
    return $this->tempBucket;
  }
  /**
   * Optional. The Compute Engine config settings for the cluster's worker
   * instances.
   *
   * @param InstanceGroupConfig $workerConfig
   */
  public function setWorkerConfig(InstanceGroupConfig $workerConfig)
  {
    $this->workerConfig = $workerConfig;
  }
  /**
   * @return InstanceGroupConfig
   */
  public function getWorkerConfig()
  {
    return $this->workerConfig;
  }
}

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