Initial commit

This commit is contained in:
Local Administrator
2025-04-18 10:32:42 +02:00
commit b83134aca3
29643 changed files with 3045897 additions and 0 deletions
@@ -0,0 +1,62 @@
<?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 AcceleratorConfig extends \Google\Model
{
/**
* @var int
*/
public $acceleratorCount;
/**
* @var string
*/
public $acceleratorTypeUri;
/**
* @param int
*/
public function setAcceleratorCount($acceleratorCount)
{
$this->acceleratorCount = $acceleratorCount;
}
/**
* @return int
*/
public function getAcceleratorCount()
{
return $this->acceleratorCount;
}
/**
* @param string
*/
public function setAcceleratorTypeUri($acceleratorTypeUri)
{
$this->acceleratorTypeUri = $acceleratorTypeUri;
}
/**
* @return string
*/
public function getAcceleratorTypeUri()
{
return $this->acceleratorTypeUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AcceleratorConfig::class, 'Google_Service_Dataproc_AcceleratorConfig');
@@ -0,0 +1,42 @@
<?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 AccessSessionSparkApplicationEnvironmentInfoResponse extends \Google\Model
{
protected $applicationEnvironmentInfoType = ApplicationEnvironmentInfo::class;
protected $applicationEnvironmentInfoDataType = '';
/**
* @param ApplicationEnvironmentInfo
*/
public function setApplicationEnvironmentInfo(ApplicationEnvironmentInfo $applicationEnvironmentInfo)
{
$this->applicationEnvironmentInfo = $applicationEnvironmentInfo;
}
/**
* @return ApplicationEnvironmentInfo
*/
public function getApplicationEnvironmentInfo()
{
return $this->applicationEnvironmentInfo;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccessSessionSparkApplicationEnvironmentInfoResponse::class, 'Google_Service_Dataproc_AccessSessionSparkApplicationEnvironmentInfoResponse');
@@ -0,0 +1,42 @@
<?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 AccessSessionSparkApplicationJobResponse extends \Google\Model
{
protected $jobDataType = JobData::class;
protected $jobDataDataType = '';
/**
* @param JobData
*/
public function setJobData(JobData $jobData)
{
$this->jobData = $jobData;
}
/**
* @return JobData
*/
public function getJobData()
{
return $this->jobData;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccessSessionSparkApplicationJobResponse::class, 'Google_Service_Dataproc_AccessSessionSparkApplicationJobResponse');
@@ -0,0 +1,42 @@
<?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 AccessSessionSparkApplicationResponse extends \Google\Model
{
protected $applicationType = ApplicationInfo::class;
protected $applicationDataType = '';
/**
* @param ApplicationInfo
*/
public function setApplication(ApplicationInfo $application)
{
$this->application = $application;
}
/**
* @return ApplicationInfo
*/
public function getApplication()
{
return $this->application;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccessSessionSparkApplicationResponse::class, 'Google_Service_Dataproc_AccessSessionSparkApplicationResponse');
@@ -0,0 +1,42 @@
<?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 AccessSessionSparkApplicationSqlQueryResponse extends \Google\Model
{
protected $executionDataType = SqlExecutionUiData::class;
protected $executionDataDataType = '';
/**
* @param SqlExecutionUiData
*/
public function setExecutionData(SqlExecutionUiData $executionData)
{
$this->executionData = $executionData;
}
/**
* @return SqlExecutionUiData
*/
public function getExecutionData()
{
return $this->executionData;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccessSessionSparkApplicationSqlQueryResponse::class, 'Google_Service_Dataproc_AccessSessionSparkApplicationSqlQueryResponse');
@@ -0,0 +1,42 @@
<?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 AccessSessionSparkApplicationSqlSparkPlanGraphResponse extends \Google\Model
{
protected $sparkPlanGraphType = SparkPlanGraph::class;
protected $sparkPlanGraphDataType = '';
/**
* @param SparkPlanGraph
*/
public function setSparkPlanGraph(SparkPlanGraph $sparkPlanGraph)
{
$this->sparkPlanGraph = $sparkPlanGraph;
}
/**
* @return SparkPlanGraph
*/
public function getSparkPlanGraph()
{
return $this->sparkPlanGraph;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccessSessionSparkApplicationSqlSparkPlanGraphResponse::class, 'Google_Service_Dataproc_AccessSessionSparkApplicationSqlSparkPlanGraphResponse');
@@ -0,0 +1,42 @@
<?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 AccessSessionSparkApplicationStageAttemptResponse extends \Google\Model
{
protected $stageDataType = StageData::class;
protected $stageDataDataType = '';
/**
* @param StageData
*/
public function setStageData(StageData $stageData)
{
$this->stageData = $stageData;
}
/**
* @return StageData
*/
public function getStageData()
{
return $this->stageData;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccessSessionSparkApplicationStageAttemptResponse::class, 'Google_Service_Dataproc_AccessSessionSparkApplicationStageAttemptResponse');
@@ -0,0 +1,42 @@
<?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 AccessSessionSparkApplicationStageRddOperationGraphResponse extends \Google\Model
{
protected $rddOperationGraphType = RddOperationGraph::class;
protected $rddOperationGraphDataType = '';
/**
* @param RddOperationGraph
*/
public function setRddOperationGraph(RddOperationGraph $rddOperationGraph)
{
$this->rddOperationGraph = $rddOperationGraph;
}
/**
* @return RddOperationGraph
*/
public function getRddOperationGraph()
{
return $this->rddOperationGraph;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccessSessionSparkApplicationStageRddOperationGraphResponse::class, 'Google_Service_Dataproc_AccessSessionSparkApplicationStageRddOperationGraphResponse');
@@ -0,0 +1,42 @@
<?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 AccessSparkApplicationEnvironmentInfoResponse extends \Google\Model
{
protected $applicationEnvironmentInfoType = ApplicationEnvironmentInfo::class;
protected $applicationEnvironmentInfoDataType = '';
/**
* @param ApplicationEnvironmentInfo
*/
public function setApplicationEnvironmentInfo(ApplicationEnvironmentInfo $applicationEnvironmentInfo)
{
$this->applicationEnvironmentInfo = $applicationEnvironmentInfo;
}
/**
* @return ApplicationEnvironmentInfo
*/
public function getApplicationEnvironmentInfo()
{
return $this->applicationEnvironmentInfo;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccessSparkApplicationEnvironmentInfoResponse::class, 'Google_Service_Dataproc_AccessSparkApplicationEnvironmentInfoResponse');
@@ -0,0 +1,42 @@
<?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 AccessSparkApplicationJobResponse extends \Google\Model
{
protected $jobDataType = JobData::class;
protected $jobDataDataType = '';
/**
* @param JobData
*/
public function setJobData(JobData $jobData)
{
$this->jobData = $jobData;
}
/**
* @return JobData
*/
public function getJobData()
{
return $this->jobData;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccessSparkApplicationJobResponse::class, 'Google_Service_Dataproc_AccessSparkApplicationJobResponse');
@@ -0,0 +1,42 @@
<?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 AccessSparkApplicationResponse extends \Google\Model
{
protected $applicationType = ApplicationInfo::class;
protected $applicationDataType = '';
/**
* @param ApplicationInfo
*/
public function setApplication(ApplicationInfo $application)
{
$this->application = $application;
}
/**
* @return ApplicationInfo
*/
public function getApplication()
{
return $this->application;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccessSparkApplicationResponse::class, 'Google_Service_Dataproc_AccessSparkApplicationResponse');
@@ -0,0 +1,42 @@
<?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 AccessSparkApplicationSqlQueryResponse extends \Google\Model
{
protected $executionDataType = SqlExecutionUiData::class;
protected $executionDataDataType = '';
/**
* @param SqlExecutionUiData
*/
public function setExecutionData(SqlExecutionUiData $executionData)
{
$this->executionData = $executionData;
}
/**
* @return SqlExecutionUiData
*/
public function getExecutionData()
{
return $this->executionData;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccessSparkApplicationSqlQueryResponse::class, 'Google_Service_Dataproc_AccessSparkApplicationSqlQueryResponse');
@@ -0,0 +1,42 @@
<?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 AccessSparkApplicationSqlSparkPlanGraphResponse extends \Google\Model
{
protected $sparkPlanGraphType = SparkPlanGraph::class;
protected $sparkPlanGraphDataType = '';
/**
* @param SparkPlanGraph
*/
public function setSparkPlanGraph(SparkPlanGraph $sparkPlanGraph)
{
$this->sparkPlanGraph = $sparkPlanGraph;
}
/**
* @return SparkPlanGraph
*/
public function getSparkPlanGraph()
{
return $this->sparkPlanGraph;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccessSparkApplicationSqlSparkPlanGraphResponse::class, 'Google_Service_Dataproc_AccessSparkApplicationSqlSparkPlanGraphResponse');
@@ -0,0 +1,42 @@
<?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 AccessSparkApplicationStageAttemptResponse extends \Google\Model
{
protected $stageDataType = StageData::class;
protected $stageDataDataType = '';
/**
* @param StageData
*/
public function setStageData(StageData $stageData)
{
$this->stageData = $stageData;
}
/**
* @return StageData
*/
public function getStageData()
{
return $this->stageData;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccessSparkApplicationStageAttemptResponse::class, 'Google_Service_Dataproc_AccessSparkApplicationStageAttemptResponse');
@@ -0,0 +1,42 @@
<?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 AccessSparkApplicationStageRddOperationGraphResponse extends \Google\Model
{
protected $rddOperationGraphType = RddOperationGraph::class;
protected $rddOperationGraphDataType = '';
/**
* @param RddOperationGraph
*/
public function setRddOperationGraph(RddOperationGraph $rddOperationGraph)
{
$this->rddOperationGraph = $rddOperationGraph;
}
/**
* @return RddOperationGraph
*/
public function getRddOperationGraph()
{
return $this->rddOperationGraph;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccessSparkApplicationStageRddOperationGraphResponse::class, 'Google_Service_Dataproc_AccessSparkApplicationStageRddOperationGraphResponse');
@@ -0,0 +1,98 @@
<?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 AccumulableInfo extends \Google\Model
{
/**
* @var string
*/
public $accumullableInfoId;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $update;
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setAccumullableInfoId($accumullableInfoId)
{
$this->accumullableInfoId = $accumullableInfoId;
}
/**
* @return string
*/
public function getAccumullableInfoId()
{
return $this->accumullableInfoId;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setUpdate($update)
{
$this->update = $update;
}
/**
* @return string
*/
public function getUpdate()
{
return $this->update;
}
/**
* @param string
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccumulableInfo::class, 'Google_Service_Dataproc_AccumulableInfo');
@@ -0,0 +1,44 @@
<?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 AnalyzeBatchRequest extends \Google\Model
{
/**
* @var string
*/
public $requestId;
/**
* @param string
*/
public function setRequestId($requestId)
{
$this->requestId = $requestId;
}
/**
* @return string
*/
public function getRequestId()
{
return $this->requestId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AnalyzeBatchRequest::class, 'Google_Service_Dataproc_AnalyzeBatchRequest');
@@ -0,0 +1,171 @@
<?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 AnalyzeOperationMetadata extends \Google\Collection
{
protected $collection_key = 'warnings';
/**
* @var string
*/
public $analyzedWorkloadName;
/**
* @var string
*/
public $analyzedWorkloadType;
/**
* @var string
*/
public $analyzedWorkloadUuid;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $doneTime;
/**
* @var string[]
*/
public $labels;
/**
* @var string[]
*/
public $warnings;
/**
* @param string
*/
public function setAnalyzedWorkloadName($analyzedWorkloadName)
{
$this->analyzedWorkloadName = $analyzedWorkloadName;
}
/**
* @return string
*/
public function getAnalyzedWorkloadName()
{
return $this->analyzedWorkloadName;
}
/**
* @param string
*/
public function setAnalyzedWorkloadType($analyzedWorkloadType)
{
$this->analyzedWorkloadType = $analyzedWorkloadType;
}
/**
* @return string
*/
public function getAnalyzedWorkloadType()
{
return $this->analyzedWorkloadType;
}
/**
* @param string
*/
public function setAnalyzedWorkloadUuid($analyzedWorkloadUuid)
{
$this->analyzedWorkloadUuid = $analyzedWorkloadUuid;
}
/**
* @return string
*/
public function getAnalyzedWorkloadUuid()
{
return $this->analyzedWorkloadUuid;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setDoneTime($doneTime)
{
$this->doneTime = $doneTime;
}
/**
* @return string
*/
public function getDoneTime()
{
return $this->doneTime;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string[]
*/
public function setWarnings($warnings)
{
$this->warnings = $warnings;
}
/**
* @return string[]
*/
public function getWarnings()
{
return $this->warnings;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AnalyzeOperationMetadata::class, 'Google_Service_Dataproc_AnalyzeOperationMetadata');
@@ -0,0 +1,62 @@
<?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 AppSummary extends \Google\Model
{
/**
* @var int
*/
public $numCompletedJobs;
/**
* @var int
*/
public $numCompletedStages;
/**
* @param int
*/
public function setNumCompletedJobs($numCompletedJobs)
{
$this->numCompletedJobs = $numCompletedJobs;
}
/**
* @return int
*/
public function getNumCompletedJobs()
{
return $this->numCompletedJobs;
}
/**
* @param int
*/
public function setNumCompletedStages($numCompletedStages)
{
$this->numCompletedStages = $numCompletedStages;
}
/**
* @return int
*/
public function getNumCompletedStages()
{
return $this->numCompletedStages;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AppSummary::class, 'Google_Service_Dataproc_AppSummary');
@@ -0,0 +1,170 @@
<?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 ApplicationAttemptInfo extends \Google\Model
{
/**
* @var string
*/
public $appSparkVersion;
/**
* @var string
*/
public $attemptId;
/**
* @var bool
*/
public $completed;
/**
* @var string
*/
public $durationMillis;
/**
* @var string
*/
public $endTime;
/**
* @var string
*/
public $lastUpdated;
/**
* @var string
*/
public $sparkUser;
/**
* @var string
*/
public $startTime;
/**
* @param string
*/
public function setAppSparkVersion($appSparkVersion)
{
$this->appSparkVersion = $appSparkVersion;
}
/**
* @return string
*/
public function getAppSparkVersion()
{
return $this->appSparkVersion;
}
/**
* @param string
*/
public function setAttemptId($attemptId)
{
$this->attemptId = $attemptId;
}
/**
* @return string
*/
public function getAttemptId()
{
return $this->attemptId;
}
/**
* @param bool
*/
public function setCompleted($completed)
{
$this->completed = $completed;
}
/**
* @return bool
*/
public function getCompleted()
{
return $this->completed;
}
/**
* @param string
*/
public function setDurationMillis($durationMillis)
{
$this->durationMillis = $durationMillis;
}
/**
* @return string
*/
public function getDurationMillis()
{
return $this->durationMillis;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param string
*/
public function setLastUpdated($lastUpdated)
{
$this->lastUpdated = $lastUpdated;
}
/**
* @return string
*/
public function getLastUpdated()
{
return $this->lastUpdated;
}
/**
* @param string
*/
public function setSparkUser($sparkUser)
{
$this->sparkUser = $sparkUser;
}
/**
* @return string
*/
public function getSparkUser()
{
return $this->sparkUser;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ApplicationAttemptInfo::class, 'Google_Service_Dataproc_ApplicationAttemptInfo');
@@ -0,0 +1,149 @@
<?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 ApplicationEnvironmentInfo extends \Google\Collection
{
protected $collection_key = 'resourceProfiles';
/**
* @var string[]
*/
public $classpathEntries;
/**
* @var string[]
*/
public $hadoopProperties;
/**
* @var string[]
*/
public $metricsProperties;
protected $resourceProfilesType = ResourceProfileInfo::class;
protected $resourceProfilesDataType = 'array';
protected $runtimeType = SparkRuntimeInfo::class;
protected $runtimeDataType = '';
/**
* @var string[]
*/
public $sparkProperties;
/**
* @var string[]
*/
public $systemProperties;
/**
* @param string[]
*/
public function setClasspathEntries($classpathEntries)
{
$this->classpathEntries = $classpathEntries;
}
/**
* @return string[]
*/
public function getClasspathEntries()
{
return $this->classpathEntries;
}
/**
* @param string[]
*/
public function setHadoopProperties($hadoopProperties)
{
$this->hadoopProperties = $hadoopProperties;
}
/**
* @return string[]
*/
public function getHadoopProperties()
{
return $this->hadoopProperties;
}
/**
* @param string[]
*/
public function setMetricsProperties($metricsProperties)
{
$this->metricsProperties = $metricsProperties;
}
/**
* @return string[]
*/
public function getMetricsProperties()
{
return $this->metricsProperties;
}
/**
* @param ResourceProfileInfo[]
*/
public function setResourceProfiles($resourceProfiles)
{
$this->resourceProfiles = $resourceProfiles;
}
/**
* @return ResourceProfileInfo[]
*/
public function getResourceProfiles()
{
return $this->resourceProfiles;
}
/**
* @param SparkRuntimeInfo
*/
public function setRuntime(SparkRuntimeInfo $runtime)
{
$this->runtime = $runtime;
}
/**
* @return SparkRuntimeInfo
*/
public function getRuntime()
{
return $this->runtime;
}
/**
* @param string[]
*/
public function setSparkProperties($sparkProperties)
{
$this->sparkProperties = $sparkProperties;
}
/**
* @return string[]
*/
public function getSparkProperties()
{
return $this->sparkProperties;
}
/**
* @param string[]
*/
public function setSystemProperties($systemProperties)
{
$this->systemProperties = $systemProperties;
}
/**
* @return string[]
*/
public function getSystemProperties()
{
return $this->systemProperties;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ApplicationEnvironmentInfo::class, 'Google_Service_Dataproc_ApplicationEnvironmentInfo');
@@ -0,0 +1,187 @@
<?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 ApplicationInfo extends \Google\Collection
{
protected $collection_key = 'attempts';
/**
* @var string
*/
public $applicationContextIngestionStatus;
/**
* @var string
*/
public $applicationId;
protected $attemptsType = ApplicationAttemptInfo::class;
protected $attemptsDataType = 'array';
/**
* @var int
*/
public $coresGranted;
/**
* @var int
*/
public $coresPerExecutor;
/**
* @var int
*/
public $maxCores;
/**
* @var int
*/
public $memoryPerExecutorMb;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $quantileDataStatus;
/**
* @param string
*/
public function setApplicationContextIngestionStatus($applicationContextIngestionStatus)
{
$this->applicationContextIngestionStatus = $applicationContextIngestionStatus;
}
/**
* @return string
*/
public function getApplicationContextIngestionStatus()
{
return $this->applicationContextIngestionStatus;
}
/**
* @param string
*/
public function setApplicationId($applicationId)
{
$this->applicationId = $applicationId;
}
/**
* @return string
*/
public function getApplicationId()
{
return $this->applicationId;
}
/**
* @param ApplicationAttemptInfo[]
*/
public function setAttempts($attempts)
{
$this->attempts = $attempts;
}
/**
* @return ApplicationAttemptInfo[]
*/
public function getAttempts()
{
return $this->attempts;
}
/**
* @param int
*/
public function setCoresGranted($coresGranted)
{
$this->coresGranted = $coresGranted;
}
/**
* @return int
*/
public function getCoresGranted()
{
return $this->coresGranted;
}
/**
* @param int
*/
public function setCoresPerExecutor($coresPerExecutor)
{
$this->coresPerExecutor = $coresPerExecutor;
}
/**
* @return int
*/
public function getCoresPerExecutor()
{
return $this->coresPerExecutor;
}
/**
* @param int
*/
public function setMaxCores($maxCores)
{
$this->maxCores = $maxCores;
}
/**
* @return int
*/
public function getMaxCores()
{
return $this->maxCores;
}
/**
* @param int
*/
public function setMemoryPerExecutorMb($memoryPerExecutorMb)
{
$this->memoryPerExecutorMb = $memoryPerExecutorMb;
}
/**
* @return int
*/
public function getMemoryPerExecutorMb()
{
return $this->memoryPerExecutorMb;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setQuantileDataStatus($quantileDataStatus)
{
$this->quantileDataStatus = $quantileDataStatus;
}
/**
* @return string
*/
public function getQuantileDataStatus()
{
return $this->quantileDataStatus;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ApplicationInfo::class, 'Google_Service_Dataproc_ApplicationInfo');
@@ -0,0 +1,60 @@
<?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 AuthenticationConfig extends \Google\Model
{
/**
* @var string
*/
public $authenticationType;
protected $injectableCredentialsConfigType = InjectableCredentialsConfig::class;
protected $injectableCredentialsConfigDataType = '';
/**
* @param string
*/
public function setAuthenticationType($authenticationType)
{
$this->authenticationType = $authenticationType;
}
/**
* @return string
*/
public function getAuthenticationType()
{
return $this->authenticationType;
}
/**
* @param InjectableCredentialsConfig
*/
public function setInjectableCredentialsConfig(InjectableCredentialsConfig $injectableCredentialsConfig)
{
$this->injectableCredentialsConfig = $injectableCredentialsConfig;
}
/**
* @return InjectableCredentialsConfig
*/
public function getInjectableCredentialsConfig()
{
return $this->injectableCredentialsConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AuthenticationConfig::class, 'Google_Service_Dataproc_AuthenticationConfig');
@@ -0,0 +1,44 @@
<?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 AutoscalingConfig extends \Google\Model
{
/**
* @var string
*/
public $policyUri;
/**
* @param string
*/
public function setPolicyUri($policyUri)
{
$this->policyUri = $policyUri;
}
/**
* @return string
*/
public function getPolicyUri()
{
return $this->policyUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AutoscalingConfig::class, 'Google_Service_Dataproc_AutoscalingConfig');
@@ -0,0 +1,128 @@
<?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 AutoscalingPolicy extends \Google\Model
{
protected $basicAlgorithmType = BasicAutoscalingAlgorithm::class;
protected $basicAlgorithmDataType = '';
/**
* @var string
*/
public $id;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $name;
protected $secondaryWorkerConfigType = InstanceGroupAutoscalingPolicyConfig::class;
protected $secondaryWorkerConfigDataType = '';
protected $workerConfigType = InstanceGroupAutoscalingPolicyConfig::class;
protected $workerConfigDataType = '';
/**
* @param BasicAutoscalingAlgorithm
*/
public function setBasicAlgorithm(BasicAutoscalingAlgorithm $basicAlgorithm)
{
$this->basicAlgorithm = $basicAlgorithm;
}
/**
* @return BasicAutoscalingAlgorithm
*/
public function getBasicAlgorithm()
{
return $this->basicAlgorithm;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param InstanceGroupAutoscalingPolicyConfig
*/
public function setSecondaryWorkerConfig(InstanceGroupAutoscalingPolicyConfig $secondaryWorkerConfig)
{
$this->secondaryWorkerConfig = $secondaryWorkerConfig;
}
/**
* @return InstanceGroupAutoscalingPolicyConfig
*/
public function getSecondaryWorkerConfig()
{
return $this->secondaryWorkerConfig;
}
/**
* @param InstanceGroupAutoscalingPolicyConfig
*/
public function setWorkerConfig(InstanceGroupAutoscalingPolicyConfig $workerConfig)
{
$this->workerConfig = $workerConfig;
}
/**
* @return InstanceGroupAutoscalingPolicyConfig
*/
public function getWorkerConfig()
{
return $this->workerConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AutoscalingPolicy::class, 'Google_Service_Dataproc_AutoscalingPolicy');
@@ -0,0 +1,45 @@
<?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 AutotuningConfig extends \Google\Collection
{
protected $collection_key = 'scenarios';
/**
* @var string[]
*/
public $scenarios;
/**
* @param string[]
*/
public function setScenarios($scenarios)
{
$this->scenarios = $scenarios;
}
/**
* @return string[]
*/
public function getScenarios()
{
return $this->scenarios;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AutotuningConfig::class, 'Google_Service_Dataproc_AutotuningConfig');
@@ -0,0 +1,60 @@
<?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 AuxiliaryNodeGroup extends \Google\Model
{
protected $nodeGroupType = NodeGroup::class;
protected $nodeGroupDataType = '';
/**
* @var string
*/
public $nodeGroupId;
/**
* @param NodeGroup
*/
public function setNodeGroup(NodeGroup $nodeGroup)
{
$this->nodeGroup = $nodeGroup;
}
/**
* @return NodeGroup
*/
public function getNodeGroup()
{
return $this->nodeGroup;
}
/**
* @param string
*/
public function setNodeGroupId($nodeGroupId)
{
$this->nodeGroupId = $nodeGroupId;
}
/**
* @return string
*/
public function getNodeGroupId()
{
return $this->nodeGroupId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AuxiliaryNodeGroup::class, 'Google_Service_Dataproc_AuxiliaryNodeGroup');
@@ -0,0 +1,58 @@
<?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 AuxiliaryServicesConfig extends \Google\Model
{
protected $metastoreConfigType = MetastoreConfig::class;
protected $metastoreConfigDataType = '';
protected $sparkHistoryServerConfigType = SparkHistoryServerConfig::class;
protected $sparkHistoryServerConfigDataType = '';
/**
* @param MetastoreConfig
*/
public function setMetastoreConfig(MetastoreConfig $metastoreConfig)
{
$this->metastoreConfig = $metastoreConfig;
}
/**
* @return MetastoreConfig
*/
public function getMetastoreConfig()
{
return $this->metastoreConfig;
}
/**
* @param SparkHistoryServerConfig
*/
public function setSparkHistoryServerConfig(SparkHistoryServerConfig $sparkHistoryServerConfig)
{
$this->sparkHistoryServerConfig = $sparkHistoryServerConfig;
}
/**
* @return SparkHistoryServerConfig
*/
public function getSparkHistoryServerConfig()
{
return $this->sparkHistoryServerConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AuxiliaryServicesConfig::class, 'Google_Service_Dataproc_AuxiliaryServicesConfig');
@@ -0,0 +1,76 @@
<?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 BasicAutoscalingAlgorithm extends \Google\Model
{
/**
* @var string
*/
public $cooldownPeriod;
protected $sparkStandaloneConfigType = SparkStandaloneAutoscalingConfig::class;
protected $sparkStandaloneConfigDataType = '';
protected $yarnConfigType = BasicYarnAutoscalingConfig::class;
protected $yarnConfigDataType = '';
/**
* @param string
*/
public function setCooldownPeriod($cooldownPeriod)
{
$this->cooldownPeriod = $cooldownPeriod;
}
/**
* @return string
*/
public function getCooldownPeriod()
{
return $this->cooldownPeriod;
}
/**
* @param SparkStandaloneAutoscalingConfig
*/
public function setSparkStandaloneConfig(SparkStandaloneAutoscalingConfig $sparkStandaloneConfig)
{
$this->sparkStandaloneConfig = $sparkStandaloneConfig;
}
/**
* @return SparkStandaloneAutoscalingConfig
*/
public function getSparkStandaloneConfig()
{
return $this->sparkStandaloneConfig;
}
/**
* @param BasicYarnAutoscalingConfig
*/
public function setYarnConfig(BasicYarnAutoscalingConfig $yarnConfig)
{
$this->yarnConfig = $yarnConfig;
}
/**
* @return BasicYarnAutoscalingConfig
*/
public function getYarnConfig()
{
return $this->yarnConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BasicAutoscalingAlgorithm::class, 'Google_Service_Dataproc_BasicAutoscalingAlgorithm');
@@ -0,0 +1,80 @@
<?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 BasicYarnAutoscalingConfig extends \Google\Model
{
/**
* @var string
*/
public $gracefulDecommissionTimeout;
public $scaleDownFactor;
public $scaleDownMinWorkerFraction;
public $scaleUpFactor;
public $scaleUpMinWorkerFraction;
/**
* @param string
*/
public function setGracefulDecommissionTimeout($gracefulDecommissionTimeout)
{
$this->gracefulDecommissionTimeout = $gracefulDecommissionTimeout;
}
/**
* @return string
*/
public function getGracefulDecommissionTimeout()
{
return $this->gracefulDecommissionTimeout;
}
public function setScaleDownFactor($scaleDownFactor)
{
$this->scaleDownFactor = $scaleDownFactor;
}
public function getScaleDownFactor()
{
return $this->scaleDownFactor;
}
public function setScaleDownMinWorkerFraction($scaleDownMinWorkerFraction)
{
$this->scaleDownMinWorkerFraction = $scaleDownMinWorkerFraction;
}
public function getScaleDownMinWorkerFraction()
{
return $this->scaleDownMinWorkerFraction;
}
public function setScaleUpFactor($scaleUpFactor)
{
$this->scaleUpFactor = $scaleUpFactor;
}
public function getScaleUpFactor()
{
return $this->scaleUpFactor;
}
public function setScaleUpMinWorkerFraction($scaleUpMinWorkerFraction)
{
$this->scaleUpMinWorkerFraction = $scaleUpMinWorkerFraction;
}
public function getScaleUpMinWorkerFraction()
{
return $this->scaleUpMinWorkerFraction;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BasicYarnAutoscalingConfig::class, 'Google_Service_Dataproc_BasicYarnAutoscalingConfig');
@@ -0,0 +1,317 @@
<?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 Batch extends \Google\Collection
{
protected $collection_key = 'stateHistory';
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $creator;
protected $environmentConfigType = EnvironmentConfig::class;
protected $environmentConfigDataType = '';
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $operation;
protected $pysparkBatchType = PySparkBatch::class;
protected $pysparkBatchDataType = '';
protected $runtimeConfigType = RuntimeConfig::class;
protected $runtimeConfigDataType = '';
protected $runtimeInfoType = RuntimeInfo::class;
protected $runtimeInfoDataType = '';
protected $sparkBatchType = SparkBatch::class;
protected $sparkBatchDataType = '';
protected $sparkRBatchType = SparkRBatch::class;
protected $sparkRBatchDataType = '';
protected $sparkSqlBatchType = SparkSqlBatch::class;
protected $sparkSqlBatchDataType = '';
/**
* @var string
*/
public $state;
protected $stateHistoryType = StateHistory::class;
protected $stateHistoryDataType = 'array';
/**
* @var string
*/
public $stateMessage;
/**
* @var string
*/
public $stateTime;
/**
* @var string
*/
public $uuid;
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setCreator($creator)
{
$this->creator = $creator;
}
/**
* @return string
*/
public function getCreator()
{
return $this->creator;
}
/**
* @param EnvironmentConfig
*/
public function setEnvironmentConfig(EnvironmentConfig $environmentConfig)
{
$this->environmentConfig = $environmentConfig;
}
/**
* @return EnvironmentConfig
*/
public function getEnvironmentConfig()
{
return $this->environmentConfig;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setOperation($operation)
{
$this->operation = $operation;
}
/**
* @return string
*/
public function getOperation()
{
return $this->operation;
}
/**
* @param PySparkBatch
*/
public function setPysparkBatch(PySparkBatch $pysparkBatch)
{
$this->pysparkBatch = $pysparkBatch;
}
/**
* @return PySparkBatch
*/
public function getPysparkBatch()
{
return $this->pysparkBatch;
}
/**
* @param RuntimeConfig
*/
public function setRuntimeConfig(RuntimeConfig $runtimeConfig)
{
$this->runtimeConfig = $runtimeConfig;
}
/**
* @return RuntimeConfig
*/
public function getRuntimeConfig()
{
return $this->runtimeConfig;
}
/**
* @param RuntimeInfo
*/
public function setRuntimeInfo(RuntimeInfo $runtimeInfo)
{
$this->runtimeInfo = $runtimeInfo;
}
/**
* @return RuntimeInfo
*/
public function getRuntimeInfo()
{
return $this->runtimeInfo;
}
/**
* @param SparkBatch
*/
public function setSparkBatch(SparkBatch $sparkBatch)
{
$this->sparkBatch = $sparkBatch;
}
/**
* @return SparkBatch
*/
public function getSparkBatch()
{
return $this->sparkBatch;
}
/**
* @param SparkRBatch
*/
public function setSparkRBatch(SparkRBatch $sparkRBatch)
{
$this->sparkRBatch = $sparkRBatch;
}
/**
* @return SparkRBatch
*/
public function getSparkRBatch()
{
return $this->sparkRBatch;
}
/**
* @param SparkSqlBatch
*/
public function setSparkSqlBatch(SparkSqlBatch $sparkSqlBatch)
{
$this->sparkSqlBatch = $sparkSqlBatch;
}
/**
* @return SparkSqlBatch
*/
public function getSparkSqlBatch()
{
return $this->sparkSqlBatch;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param StateHistory[]
*/
public function setStateHistory($stateHistory)
{
$this->stateHistory = $stateHistory;
}
/**
* @return StateHistory[]
*/
public function getStateHistory()
{
return $this->stateHistory;
}
/**
* @param string
*/
public function setStateMessage($stateMessage)
{
$this->stateMessage = $stateMessage;
}
/**
* @return string
*/
public function getStateMessage()
{
return $this->stateMessage;
}
/**
* @param string
*/
public function setStateTime($stateTime)
{
$this->stateTime = $stateTime;
}
/**
* @return string
*/
public function getStateTime()
{
return $this->stateTime;
}
/**
* @param string
*/
public function setUuid($uuid)
{
$this->uuid = $uuid;
}
/**
* @return string
*/
public function getUuid()
{
return $this->uuid;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Batch::class, 'Google_Service_Dataproc_Batch');
@@ -0,0 +1,171 @@
<?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 BatchOperationMetadata extends \Google\Collection
{
protected $collection_key = 'warnings';
/**
* @var string
*/
public $batch;
/**
* @var string
*/
public $batchUuid;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $doneTime;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $operationType;
/**
* @var string[]
*/
public $warnings;
/**
* @param string
*/
public function setBatch($batch)
{
$this->batch = $batch;
}
/**
* @return string
*/
public function getBatch()
{
return $this->batch;
}
/**
* @param string
*/
public function setBatchUuid($batchUuid)
{
$this->batchUuid = $batchUuid;
}
/**
* @return string
*/
public function getBatchUuid()
{
return $this->batchUuid;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setDoneTime($doneTime)
{
$this->doneTime = $doneTime;
}
/**
* @return string
*/
public function getDoneTime()
{
return $this->doneTime;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setOperationType($operationType)
{
$this->operationType = $operationType;
}
/**
* @return string
*/
public function getOperationType()
{
return $this->operationType;
}
/**
* @param string[]
*/
public function setWarnings($warnings)
{
$this->warnings = $warnings;
}
/**
* @return string[]
*/
public function getWarnings()
{
return $this->warnings;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BatchOperationMetadata::class, 'Google_Service_Dataproc_BatchOperationMetadata');
@@ -0,0 +1,79 @@
<?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 Binding extends \Google\Collection
{
protected $collection_key = 'members';
protected $conditionType = Expr::class;
protected $conditionDataType = '';
/**
* @var string[]
*/
public $members;
/**
* @var string
*/
public $role;
/**
* @param Expr
*/
public function setCondition(Expr $condition)
{
$this->condition = $condition;
}
/**
* @return Expr
*/
public function getCondition()
{
return $this->condition;
}
/**
* @param string[]
*/
public function setMembers($members)
{
$this->members = $members;
}
/**
* @return string[]
*/
public function getMembers()
{
return $this->members;
}
/**
* @param string
*/
public function setRole($role)
{
$this->role = $role;
}
/**
* @return string
*/
public function getRole()
{
return $this->role;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Binding::class, 'Google_Service_Dataproc_Binding');
@@ -0,0 +1,25 @@
<?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 CancelJobRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CancelJobRequest::class, 'Google_Service_Dataproc_CancelJobRequest');
@@ -0,0 +1,179 @@
<?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 Cluster extends \Google\Collection
{
protected $collection_key = 'statusHistory';
/**
* @var string
*/
public $clusterName;
/**
* @var string
*/
public $clusterUuid;
protected $configType = ClusterConfig::class;
protected $configDataType = '';
/**
* @var string[]
*/
public $labels;
protected $metricsType = ClusterMetrics::class;
protected $metricsDataType = '';
/**
* @var string
*/
public $projectId;
protected $statusType = ClusterStatus::class;
protected $statusDataType = '';
protected $statusHistoryType = ClusterStatus::class;
protected $statusHistoryDataType = 'array';
protected $virtualClusterConfigType = VirtualClusterConfig::class;
protected $virtualClusterConfigDataType = '';
/**
* @param string
*/
public function setClusterName($clusterName)
{
$this->clusterName = $clusterName;
}
/**
* @return string
*/
public function getClusterName()
{
return $this->clusterName;
}
/**
* @param string
*/
public function setClusterUuid($clusterUuid)
{
$this->clusterUuid = $clusterUuid;
}
/**
* @return string
*/
public function getClusterUuid()
{
return $this->clusterUuid;
}
/**
* @param ClusterConfig
*/
public function setConfig(ClusterConfig $config)
{
$this->config = $config;
}
/**
* @return ClusterConfig
*/
public function getConfig()
{
return $this->config;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param ClusterMetrics
*/
public function setMetrics(ClusterMetrics $metrics)
{
$this->metrics = $metrics;
}
/**
* @return ClusterMetrics
*/
public function getMetrics()
{
return $this->metrics;
}
/**
* @param string
*/
public function setProjectId($projectId)
{
$this->projectId = $projectId;
}
/**
* @return string
*/
public function getProjectId()
{
return $this->projectId;
}
/**
* @param ClusterStatus
*/
public function setStatus(ClusterStatus $status)
{
$this->status = $status;
}
/**
* @return ClusterStatus
*/
public function getStatus()
{
return $this->status;
}
/**
* @param ClusterStatus[]
*/
public function setStatusHistory($statusHistory)
{
$this->statusHistory = $statusHistory;
}
/**
* @return ClusterStatus[]
*/
public function getStatusHistory()
{
return $this->statusHistory;
}
/**
* @param VirtualClusterConfig
*/
public function setVirtualClusterConfig(VirtualClusterConfig $virtualClusterConfig)
{
$this->virtualClusterConfig = $virtualClusterConfig;
}
/**
* @return VirtualClusterConfig
*/
public function getVirtualClusterConfig()
{
return $this->virtualClusterConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Cluster::class, 'Google_Service_Dataproc_Cluster');
@@ -0,0 +1,303 @@
<?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
{
protected $collection_key = 'initializationActions';
protected $autoscalingConfigType = AutoscalingConfig::class;
protected $autoscalingConfigDataType = '';
protected $auxiliaryNodeGroupsType = AuxiliaryNodeGroup::class;
protected $auxiliaryNodeGroupsDataType = 'array';
/**
* @var string
*/
public $configBucket;
protected $dataprocMetricConfigType = DataprocMetricConfig::class;
protected $dataprocMetricConfigDataType = '';
protected $encryptionConfigType = EncryptionConfig::class;
protected $encryptionConfigDataType = '';
protected $endpointConfigType = EndpointConfig::class;
protected $endpointConfigDataType = '';
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 = '';
/**
* @var string
*/
public $tempBucket;
protected $workerConfigType = InstanceGroupConfig::class;
protected $workerConfigDataType = '';
/**
* @param AutoscalingConfig
*/
public function setAutoscalingConfig(AutoscalingConfig $autoscalingConfig)
{
$this->autoscalingConfig = $autoscalingConfig;
}
/**
* @return AutoscalingConfig
*/
public function getAutoscalingConfig()
{
return $this->autoscalingConfig;
}
/**
* @param AuxiliaryNodeGroup[]
*/
public function setAuxiliaryNodeGroups($auxiliaryNodeGroups)
{
$this->auxiliaryNodeGroups = $auxiliaryNodeGroups;
}
/**
* @return AuxiliaryNodeGroup[]
*/
public function getAuxiliaryNodeGroups()
{
return $this->auxiliaryNodeGroups;
}
/**
* @param string
*/
public function setConfigBucket($configBucket)
{
$this->configBucket = $configBucket;
}
/**
* @return string
*/
public function getConfigBucket()
{
return $this->configBucket;
}
/**
* @param DataprocMetricConfig
*/
public function setDataprocMetricConfig(DataprocMetricConfig $dataprocMetricConfig)
{
$this->dataprocMetricConfig = $dataprocMetricConfig;
}
/**
* @return DataprocMetricConfig
*/
public function getDataprocMetricConfig()
{
return $this->dataprocMetricConfig;
}
/**
* @param EncryptionConfig
*/
public function setEncryptionConfig(EncryptionConfig $encryptionConfig)
{
$this->encryptionConfig = $encryptionConfig;
}
/**
* @return EncryptionConfig
*/
public function getEncryptionConfig()
{
return $this->encryptionConfig;
}
/**
* @param EndpointConfig
*/
public function setEndpointConfig(EndpointConfig $endpointConfig)
{
$this->endpointConfig = $endpointConfig;
}
/**
* @return EndpointConfig
*/
public function getEndpointConfig()
{
return $this->endpointConfig;
}
/**
* @param GceClusterConfig
*/
public function setGceClusterConfig(GceClusterConfig $gceClusterConfig)
{
$this->gceClusterConfig = $gceClusterConfig;
}
/**
* @return GceClusterConfig
*/
public function getGceClusterConfig()
{
return $this->gceClusterConfig;
}
/**
* @param GkeClusterConfig
*/
public function setGkeClusterConfig(GkeClusterConfig $gkeClusterConfig)
{
$this->gkeClusterConfig = $gkeClusterConfig;
}
/**
* @return GkeClusterConfig
*/
public function getGkeClusterConfig()
{
return $this->gkeClusterConfig;
}
/**
* @param NodeInitializationAction[]
*/
public function setInitializationActions($initializationActions)
{
$this->initializationActions = $initializationActions;
}
/**
* @return NodeInitializationAction[]
*/
public function getInitializationActions()
{
return $this->initializationActions;
}
/**
* @param LifecycleConfig
*/
public function setLifecycleConfig(LifecycleConfig $lifecycleConfig)
{
$this->lifecycleConfig = $lifecycleConfig;
}
/**
* @return LifecycleConfig
*/
public function getLifecycleConfig()
{
return $this->lifecycleConfig;
}
/**
* @param InstanceGroupConfig
*/
public function setMasterConfig(InstanceGroupConfig $masterConfig)
{
$this->masterConfig = $masterConfig;
}
/**
* @return InstanceGroupConfig
*/
public function getMasterConfig()
{
return $this->masterConfig;
}
/**
* @param MetastoreConfig
*/
public function setMetastoreConfig(MetastoreConfig $metastoreConfig)
{
$this->metastoreConfig = $metastoreConfig;
}
/**
* @return MetastoreConfig
*/
public function getMetastoreConfig()
{
return $this->metastoreConfig;
}
/**
* @param InstanceGroupConfig
*/
public function setSecondaryWorkerConfig(InstanceGroupConfig $secondaryWorkerConfig)
{
$this->secondaryWorkerConfig = $secondaryWorkerConfig;
}
/**
* @return InstanceGroupConfig
*/
public function getSecondaryWorkerConfig()
{
return $this->secondaryWorkerConfig;
}
/**
* @param SecurityConfig
*/
public function setSecurityConfig(SecurityConfig $securityConfig)
{
$this->securityConfig = $securityConfig;
}
/**
* @return SecurityConfig
*/
public function getSecurityConfig()
{
return $this->securityConfig;
}
/**
* @param SoftwareConfig
*/
public function setSoftwareConfig(SoftwareConfig $softwareConfig)
{
$this->softwareConfig = $softwareConfig;
}
/**
* @return SoftwareConfig
*/
public function getSoftwareConfig()
{
return $this->softwareConfig;
}
/**
* @param string
*/
public function setTempBucket($tempBucket)
{
$this->tempBucket = $tempBucket;
}
/**
* @return string
*/
public function getTempBucket()
{
return $this->tempBucket;
}
/**
* @param InstanceGroupConfig
*/
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');
@@ -0,0 +1,62 @@
<?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 ClusterMetrics extends \Google\Model
{
/**
* @var string[]
*/
public $hdfsMetrics;
/**
* @var string[]
*/
public $yarnMetrics;
/**
* @param string[]
*/
public function setHdfsMetrics($hdfsMetrics)
{
$this->hdfsMetrics = $hdfsMetrics;
}
/**
* @return string[]
*/
public function getHdfsMetrics()
{
return $this->hdfsMetrics;
}
/**
* @param string[]
*/
public function setYarnMetrics($yarnMetrics)
{
$this->yarnMetrics = $yarnMetrics;
}
/**
* @return string[]
*/
public function getYarnMetrics()
{
return $this->yarnMetrics;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ClusterMetrics::class, 'Google_Service_Dataproc_ClusterMetrics');
@@ -0,0 +1,80 @@
<?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 ClusterOperation extends \Google\Model
{
/**
* @var bool
*/
public $done;
/**
* @var string
*/
public $error;
/**
* @var string
*/
public $operationId;
/**
* @param bool
*/
public function setDone($done)
{
$this->done = $done;
}
/**
* @return bool
*/
public function getDone()
{
return $this->done;
}
/**
* @param string
*/
public function setError($error)
{
$this->error = $error;
}
/**
* @return string
*/
public function getError()
{
return $this->error;
}
/**
* @param string
*/
public function setOperationId($operationId)
{
$this->operationId = $operationId;
}
/**
* @return string
*/
public function getOperationId()
{
return $this->operationId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ClusterOperation::class, 'Google_Service_Dataproc_ClusterOperation');
@@ -0,0 +1,185 @@
<?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 ClusterOperationMetadata extends \Google\Collection
{
protected $collection_key = 'warnings';
/**
* @var string[]
*/
public $childOperationIds;
/**
* @var string
*/
public $clusterName;
/**
* @var string
*/
public $clusterUuid;
/**
* @var string
*/
public $description;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $operationType;
protected $statusType = ClusterOperationStatus::class;
protected $statusDataType = '';
protected $statusHistoryType = ClusterOperationStatus::class;
protected $statusHistoryDataType = 'array';
/**
* @var string[]
*/
public $warnings;
/**
* @param string[]
*/
public function setChildOperationIds($childOperationIds)
{
$this->childOperationIds = $childOperationIds;
}
/**
* @return string[]
*/
public function getChildOperationIds()
{
return $this->childOperationIds;
}
/**
* @param string
*/
public function setClusterName($clusterName)
{
$this->clusterName = $clusterName;
}
/**
* @return string
*/
public function getClusterName()
{
return $this->clusterName;
}
/**
* @param string
*/
public function setClusterUuid($clusterUuid)
{
$this->clusterUuid = $clusterUuid;
}
/**
* @return string
*/
public function getClusterUuid()
{
return $this->clusterUuid;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setOperationType($operationType)
{
$this->operationType = $operationType;
}
/**
* @return string
*/
public function getOperationType()
{
return $this->operationType;
}
/**
* @param ClusterOperationStatus
*/
public function setStatus(ClusterOperationStatus $status)
{
$this->status = $status;
}
/**
* @return ClusterOperationStatus
*/
public function getStatus()
{
return $this->status;
}
/**
* @param ClusterOperationStatus[]
*/
public function setStatusHistory($statusHistory)
{
$this->statusHistory = $statusHistory;
}
/**
* @return ClusterOperationStatus[]
*/
public function getStatusHistory()
{
return $this->statusHistory;
}
/**
* @param string[]
*/
public function setWarnings($warnings)
{
$this->warnings = $warnings;
}
/**
* @return string[]
*/
public function getWarnings()
{
return $this->warnings;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ClusterOperationMetadata::class, 'Google_Service_Dataproc_ClusterOperationMetadata');
@@ -0,0 +1,98 @@
<?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 ClusterOperationStatus extends \Google\Model
{
/**
* @var string
*/
public $details;
/**
* @var string
*/
public $innerState;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $stateStartTime;
/**
* @param string
*/
public function setDetails($details)
{
$this->details = $details;
}
/**
* @return string
*/
public function getDetails()
{
return $this->details;
}
/**
* @param string
*/
public function setInnerState($innerState)
{
$this->innerState = $innerState;
}
/**
* @return string
*/
public function getInnerState()
{
return $this->innerState;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setStateStartTime($stateStartTime)
{
$this->stateStartTime = $stateStartTime;
}
/**
* @return string
*/
public function getStateStartTime()
{
return $this->stateStartTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ClusterOperationStatus::class, 'Google_Service_Dataproc_ClusterOperationStatus');
@@ -0,0 +1,62 @@
<?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 ClusterSelector extends \Google\Model
{
/**
* @var string[]
*/
public $clusterLabels;
/**
* @var string
*/
public $zone;
/**
* @param string[]
*/
public function setClusterLabels($clusterLabels)
{
$this->clusterLabels = $clusterLabels;
}
/**
* @return string[]
*/
public function getClusterLabels()
{
return $this->clusterLabels;
}
/**
* @param string
*/
public function setZone($zone)
{
$this->zone = $zone;
}
/**
* @return string
*/
public function getZone()
{
return $this->zone;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ClusterSelector::class, 'Google_Service_Dataproc_ClusterSelector');
@@ -0,0 +1,98 @@
<?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 ClusterStatus extends \Google\Model
{
/**
* @var string
*/
public $detail;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $stateStartTime;
/**
* @var string
*/
public $substate;
/**
* @param string
*/
public function setDetail($detail)
{
$this->detail = $detail;
}
/**
* @return string
*/
public function getDetail()
{
return $this->detail;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setStateStartTime($stateStartTime)
{
$this->stateStartTime = $stateStartTime;
}
/**
* @return string
*/
public function getStateStartTime()
{
return $this->stateStartTime;
}
/**
* @param string
*/
public function setSubstate($substate)
{
$this->substate = $substate;
}
/**
* @return string
*/
public function getSubstate()
{
return $this->substate;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ClusterStatus::class, 'Google_Service_Dataproc_ClusterStatus');
@@ -0,0 +1,44 @@
<?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 ClusterToRepair extends \Google\Model
{
/**
* @var string
*/
public $clusterRepairAction;
/**
* @param string
*/
public function setClusterRepairAction($clusterRepairAction)
{
$this->clusterRepairAction = $clusterRepairAction;
}
/**
* @return string
*/
public function getClusterRepairAction()
{
return $this->clusterRepairAction;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ClusterToRepair::class, 'Google_Service_Dataproc_ClusterToRepair');
@@ -0,0 +1,44 @@
<?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 ConfidentialInstanceConfig extends \Google\Model
{
/**
* @var bool
*/
public $enableConfidentialCompute;
/**
* @param bool
*/
public function setEnableConfidentialCompute($enableConfidentialCompute)
{
$this->enableConfidentialCompute = $enableConfidentialCompute;
}
/**
* @return bool
*/
public function getEnableConfidentialCompute()
{
return $this->enableConfidentialCompute;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConfidentialInstanceConfig::class, 'Google_Service_Dataproc_ConfidentialInstanceConfig');
@@ -0,0 +1,330 @@
<?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 ConsolidatedExecutorSummary extends \Google\Model
{
/**
* @var int
*/
public $activeTasks;
/**
* @var int
*/
public $completedTasks;
/**
* @var int
*/
public $count;
/**
* @var string
*/
public $diskUsed;
/**
* @var int
*/
public $failedTasks;
/**
* @var int
*/
public $isExcluded;
/**
* @var string
*/
public $maxMemory;
protected $memoryMetricsType = MemoryMetrics::class;
protected $memoryMetricsDataType = '';
/**
* @var string
*/
public $memoryUsed;
/**
* @var int
*/
public $rddBlocks;
/**
* @var int
*/
public $totalCores;
/**
* @var string
*/
public $totalDurationMillis;
/**
* @var string
*/
public $totalGcTimeMillis;
/**
* @var string
*/
public $totalInputBytes;
/**
* @var string
*/
public $totalShuffleRead;
/**
* @var string
*/
public $totalShuffleWrite;
/**
* @var int
*/
public $totalTasks;
/**
* @param int
*/
public function setActiveTasks($activeTasks)
{
$this->activeTasks = $activeTasks;
}
/**
* @return int
*/
public function getActiveTasks()
{
return $this->activeTasks;
}
/**
* @param int
*/
public function setCompletedTasks($completedTasks)
{
$this->completedTasks = $completedTasks;
}
/**
* @return int
*/
public function getCompletedTasks()
{
return $this->completedTasks;
}
/**
* @param int
*/
public function setCount($count)
{
$this->count = $count;
}
/**
* @return int
*/
public function getCount()
{
return $this->count;
}
/**
* @param string
*/
public function setDiskUsed($diskUsed)
{
$this->diskUsed = $diskUsed;
}
/**
* @return string
*/
public function getDiskUsed()
{
return $this->diskUsed;
}
/**
* @param int
*/
public function setFailedTasks($failedTasks)
{
$this->failedTasks = $failedTasks;
}
/**
* @return int
*/
public function getFailedTasks()
{
return $this->failedTasks;
}
/**
* @param int
*/
public function setIsExcluded($isExcluded)
{
$this->isExcluded = $isExcluded;
}
/**
* @return int
*/
public function getIsExcluded()
{
return $this->isExcluded;
}
/**
* @param string
*/
public function setMaxMemory($maxMemory)
{
$this->maxMemory = $maxMemory;
}
/**
* @return string
*/
public function getMaxMemory()
{
return $this->maxMemory;
}
/**
* @param MemoryMetrics
*/
public function setMemoryMetrics(MemoryMetrics $memoryMetrics)
{
$this->memoryMetrics = $memoryMetrics;
}
/**
* @return MemoryMetrics
*/
public function getMemoryMetrics()
{
return $this->memoryMetrics;
}
/**
* @param string
*/
public function setMemoryUsed($memoryUsed)
{
$this->memoryUsed = $memoryUsed;
}
/**
* @return string
*/
public function getMemoryUsed()
{
return $this->memoryUsed;
}
/**
* @param int
*/
public function setRddBlocks($rddBlocks)
{
$this->rddBlocks = $rddBlocks;
}
/**
* @return int
*/
public function getRddBlocks()
{
return $this->rddBlocks;
}
/**
* @param int
*/
public function setTotalCores($totalCores)
{
$this->totalCores = $totalCores;
}
/**
* @return int
*/
public function getTotalCores()
{
return $this->totalCores;
}
/**
* @param string
*/
public function setTotalDurationMillis($totalDurationMillis)
{
$this->totalDurationMillis = $totalDurationMillis;
}
/**
* @return string
*/
public function getTotalDurationMillis()
{
return $this->totalDurationMillis;
}
/**
* @param string
*/
public function setTotalGcTimeMillis($totalGcTimeMillis)
{
$this->totalGcTimeMillis = $totalGcTimeMillis;
}
/**
* @return string
*/
public function getTotalGcTimeMillis()
{
return $this->totalGcTimeMillis;
}
/**
* @param string
*/
public function setTotalInputBytes($totalInputBytes)
{
$this->totalInputBytes = $totalInputBytes;
}
/**
* @return string
*/
public function getTotalInputBytes()
{
return $this->totalInputBytes;
}
/**
* @param string
*/
public function setTotalShuffleRead($totalShuffleRead)
{
$this->totalShuffleRead = $totalShuffleRead;
}
/**
* @return string
*/
public function getTotalShuffleRead()
{
return $this->totalShuffleRead;
}
/**
* @param string
*/
public function setTotalShuffleWrite($totalShuffleWrite)
{
$this->totalShuffleWrite = $totalShuffleWrite;
}
/**
* @return string
*/
public function getTotalShuffleWrite()
{
return $this->totalShuffleWrite;
}
/**
* @param int
*/
public function setTotalTasks($totalTasks)
{
$this->totalTasks = $totalTasks;
}
/**
* @return int
*/
public function getTotalTasks()
{
return $this->totalTasks;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConsolidatedExecutorSummary::class, 'Google_Service_Dataproc_ConsolidatedExecutorSummary');
@@ -0,0 +1,25 @@
<?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 DataprocEmpty extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DataprocEmpty::class, 'Google_Service_Dataproc_DataprocEmpty');
@@ -0,0 +1,43 @@
<?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 DataprocMetricConfig extends \Google\Collection
{
protected $collection_key = 'metrics';
protected $metricsType = Metric::class;
protected $metricsDataType = 'array';
/**
* @param Metric[]
*/
public function setMetrics($metrics)
{
$this->metrics = $metrics;
}
/**
* @return Metric[]
*/
public function getMetrics()
{
return $this->metrics;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DataprocMetricConfig::class, 'Google_Service_Dataproc_DataprocMetricConfig');
@@ -0,0 +1,151 @@
<?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 DiagnoseClusterRequest extends \Google\Collection
{
protected $collection_key = 'yarnApplicationIds';
protected $diagnosisIntervalType = Interval::class;
protected $diagnosisIntervalDataType = '';
/**
* @var string
*/
public $job;
/**
* @var string[]
*/
public $jobs;
/**
* @var string
*/
public $tarballAccess;
/**
* @var string
*/
public $tarballGcsDir;
/**
* @var string
*/
public $yarnApplicationId;
/**
* @var string[]
*/
public $yarnApplicationIds;
/**
* @param Interval
*/
public function setDiagnosisInterval(Interval $diagnosisInterval)
{
$this->diagnosisInterval = $diagnosisInterval;
}
/**
* @return Interval
*/
public function getDiagnosisInterval()
{
return $this->diagnosisInterval;
}
/**
* @param string
*/
public function setJob($job)
{
$this->job = $job;
}
/**
* @return string
*/
public function getJob()
{
return $this->job;
}
/**
* @param string[]
*/
public function setJobs($jobs)
{
$this->jobs = $jobs;
}
/**
* @return string[]
*/
public function getJobs()
{
return $this->jobs;
}
/**
* @param string
*/
public function setTarballAccess($tarballAccess)
{
$this->tarballAccess = $tarballAccess;
}
/**
* @return string
*/
public function getTarballAccess()
{
return $this->tarballAccess;
}
/**
* @param string
*/
public function setTarballGcsDir($tarballGcsDir)
{
$this->tarballGcsDir = $tarballGcsDir;
}
/**
* @return string
*/
public function getTarballGcsDir()
{
return $this->tarballGcsDir;
}
/**
* @param string
*/
public function setYarnApplicationId($yarnApplicationId)
{
$this->yarnApplicationId = $yarnApplicationId;
}
/**
* @return string
*/
public function getYarnApplicationId()
{
return $this->yarnApplicationId;
}
/**
* @param string[]
*/
public function setYarnApplicationIds($yarnApplicationIds)
{
$this->yarnApplicationIds = $yarnApplicationIds;
}
/**
* @return string[]
*/
public function getYarnApplicationIds()
{
return $this->yarnApplicationIds;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DiagnoseClusterRequest::class, 'Google_Service_Dataproc_DiagnoseClusterRequest');
@@ -0,0 +1,44 @@
<?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 DiagnoseClusterResults extends \Google\Model
{
/**
* @var string
*/
public $outputUri;
/**
* @param string
*/
public function setOutputUri($outputUri)
{
$this->outputUri = $outputUri;
}
/**
* @return string
*/
public function getOutputUri()
{
return $this->outputUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DiagnoseClusterResults::class, 'Google_Service_Dataproc_DiagnoseClusterResults');
@@ -0,0 +1,134 @@
<?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 DiskConfig extends \Google\Model
{
/**
* @var string
*/
public $bootDiskProvisionedIops;
/**
* @var string
*/
public $bootDiskProvisionedThroughput;
/**
* @var int
*/
public $bootDiskSizeGb;
/**
* @var string
*/
public $bootDiskType;
/**
* @var string
*/
public $localSsdInterface;
/**
* @var int
*/
public $numLocalSsds;
/**
* @param string
*/
public function setBootDiskProvisionedIops($bootDiskProvisionedIops)
{
$this->bootDiskProvisionedIops = $bootDiskProvisionedIops;
}
/**
* @return string
*/
public function getBootDiskProvisionedIops()
{
return $this->bootDiskProvisionedIops;
}
/**
* @param string
*/
public function setBootDiskProvisionedThroughput($bootDiskProvisionedThroughput)
{
$this->bootDiskProvisionedThroughput = $bootDiskProvisionedThroughput;
}
/**
* @return string
*/
public function getBootDiskProvisionedThroughput()
{
return $this->bootDiskProvisionedThroughput;
}
/**
* @param int
*/
public function setBootDiskSizeGb($bootDiskSizeGb)
{
$this->bootDiskSizeGb = $bootDiskSizeGb;
}
/**
* @return int
*/
public function getBootDiskSizeGb()
{
return $this->bootDiskSizeGb;
}
/**
* @param string
*/
public function setBootDiskType($bootDiskType)
{
$this->bootDiskType = $bootDiskType;
}
/**
* @return string
*/
public function getBootDiskType()
{
return $this->bootDiskType;
}
/**
* @param string
*/
public function setLocalSsdInterface($localSsdInterface)
{
$this->localSsdInterface = $localSsdInterface;
}
/**
* @return string
*/
public function getLocalSsdInterface()
{
return $this->localSsdInterface;
}
/**
* @param int
*/
public function setNumLocalSsds($numLocalSsds)
{
$this->numLocalSsds = $numLocalSsds;
}
/**
* @return int
*/
public function getNumLocalSsds()
{
return $this->numLocalSsds;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DiskConfig::class, 'Google_Service_Dataproc_DiskConfig');
@@ -0,0 +1,62 @@
<?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 DriverSchedulingConfig extends \Google\Model
{
/**
* @var int
*/
public $memoryMb;
/**
* @var int
*/
public $vcores;
/**
* @param int
*/
public function setMemoryMb($memoryMb)
{
$this->memoryMb = $memoryMb;
}
/**
* @return int
*/
public function getMemoryMb()
{
return $this->memoryMb;
}
/**
* @param int
*/
public function setVcores($vcores)
{
$this->vcores = $vcores;
}
/**
* @return int
*/
public function getVcores()
{
return $this->vcores;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DriverSchedulingConfig::class, 'Google_Service_Dataproc_DriverSchedulingConfig');
@@ -0,0 +1,62 @@
<?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 EncryptionConfig extends \Google\Model
{
/**
* @var string
*/
public $gcePdKmsKeyName;
/**
* @var string
*/
public $kmsKey;
/**
* @param string
*/
public function setGcePdKmsKeyName($gcePdKmsKeyName)
{
$this->gcePdKmsKeyName = $gcePdKmsKeyName;
}
/**
* @return string
*/
public function getGcePdKmsKeyName()
{
return $this->gcePdKmsKeyName;
}
/**
* @param string
*/
public function setKmsKey($kmsKey)
{
$this->kmsKey = $kmsKey;
}
/**
* @return string
*/
public function getKmsKey()
{
return $this->kmsKey;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EncryptionConfig::class, 'Google_Service_Dataproc_EncryptionConfig');
@@ -0,0 +1,62 @@
<?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 EndpointConfig extends \Google\Model
{
/**
* @var bool
*/
public $enableHttpPortAccess;
/**
* @var string[]
*/
public $httpPorts;
/**
* @param bool
*/
public function setEnableHttpPortAccess($enableHttpPortAccess)
{
$this->enableHttpPortAccess = $enableHttpPortAccess;
}
/**
* @return bool
*/
public function getEnableHttpPortAccess()
{
return $this->enableHttpPortAccess;
}
/**
* @param string[]
*/
public function setHttpPorts($httpPorts)
{
$this->httpPorts = $httpPorts;
}
/**
* @return string[]
*/
public function getHttpPorts()
{
return $this->httpPorts;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EndpointConfig::class, 'Google_Service_Dataproc_EndpointConfig');
@@ -0,0 +1,58 @@
<?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 EnvironmentConfig extends \Google\Model
{
protected $executionConfigType = ExecutionConfig::class;
protected $executionConfigDataType = '';
protected $peripheralsConfigType = PeripheralsConfig::class;
protected $peripheralsConfigDataType = '';
/**
* @param ExecutionConfig
*/
public function setExecutionConfig(ExecutionConfig $executionConfig)
{
$this->executionConfig = $executionConfig;
}
/**
* @return ExecutionConfig
*/
public function getExecutionConfig()
{
return $this->executionConfig;
}
/**
* @param PeripheralsConfig
*/
public function setPeripheralsConfig(PeripheralsConfig $peripheralsConfig)
{
$this->peripheralsConfig = $peripheralsConfig;
}
/**
* @return PeripheralsConfig
*/
public function getPeripheralsConfig()
{
return $this->peripheralsConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnvironmentConfig::class, 'Google_Service_Dataproc_EnvironmentConfig');
@@ -0,0 +1,171 @@
<?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 ExecutionConfig extends \Google\Collection
{
protected $collection_key = 'networkTags';
/**
* @var string
*/
public $idleTtl;
/**
* @var string
*/
public $kmsKey;
/**
* @var string[]
*/
public $networkTags;
/**
* @var string
*/
public $networkUri;
/**
* @var string
*/
public $serviceAccount;
/**
* @var string
*/
public $stagingBucket;
/**
* @var string
*/
public $subnetworkUri;
/**
* @var string
*/
public $ttl;
/**
* @param string
*/
public function setIdleTtl($idleTtl)
{
$this->idleTtl = $idleTtl;
}
/**
* @return string
*/
public function getIdleTtl()
{
return $this->idleTtl;
}
/**
* @param string
*/
public function setKmsKey($kmsKey)
{
$this->kmsKey = $kmsKey;
}
/**
* @return string
*/
public function getKmsKey()
{
return $this->kmsKey;
}
/**
* @param string[]
*/
public function setNetworkTags($networkTags)
{
$this->networkTags = $networkTags;
}
/**
* @return string[]
*/
public function getNetworkTags()
{
return $this->networkTags;
}
/**
* @param string
*/
public function setNetworkUri($networkUri)
{
$this->networkUri = $networkUri;
}
/**
* @return string
*/
public function getNetworkUri()
{
return $this->networkUri;
}
/**
* @param string
*/
public function setServiceAccount($serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
/**
* @return string
*/
public function getServiceAccount()
{
return $this->serviceAccount;
}
/**
* @param string
*/
public function setStagingBucket($stagingBucket)
{
$this->stagingBucket = $stagingBucket;
}
/**
* @return string
*/
public function getStagingBucket()
{
return $this->stagingBucket;
}
/**
* @param string
*/
public function setSubnetworkUri($subnetworkUri)
{
$this->subnetworkUri = $subnetworkUri;
}
/**
* @return string
*/
public function getSubnetworkUri()
{
return $this->subnetworkUri;
}
/**
* @param string
*/
public function setTtl($ttl)
{
$this->ttl = $ttl;
}
/**
* @return string
*/
public function getTtl()
{
return $this->ttl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExecutionConfig::class, 'Google_Service_Dataproc_ExecutionConfig');
@@ -0,0 +1,44 @@
<?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 ExecutorMetrics extends \Google\Model
{
/**
* @var string[]
*/
public $metrics;
/**
* @param string[]
*/
public function setMetrics($metrics)
{
$this->metrics = $metrics;
}
/**
* @return string[]
*/
public function getMetrics()
{
return $this->metrics;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExecutorMetrics::class, 'Google_Service_Dataproc_ExecutorMetrics');
@@ -0,0 +1,178 @@
<?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 ExecutorMetricsDistributions extends \Google\Collection
{
protected $collection_key = 'taskTimeMillis';
public $diskBytesSpilled;
public $failedTasks;
public $inputBytes;
public $inputRecords;
public $killedTasks;
public $memoryBytesSpilled;
public $outputBytes;
public $outputRecords;
protected $peakMemoryMetricsType = ExecutorPeakMetricsDistributions::class;
protected $peakMemoryMetricsDataType = '';
public $quantiles;
public $shuffleRead;
public $shuffleReadRecords;
public $shuffleWrite;
public $shuffleWriteRecords;
public $succeededTasks;
public $taskTimeMillis;
public function setDiskBytesSpilled($diskBytesSpilled)
{
$this->diskBytesSpilled = $diskBytesSpilled;
}
public function getDiskBytesSpilled()
{
return $this->diskBytesSpilled;
}
public function setFailedTasks($failedTasks)
{
$this->failedTasks = $failedTasks;
}
public function getFailedTasks()
{
return $this->failedTasks;
}
public function setInputBytes($inputBytes)
{
$this->inputBytes = $inputBytes;
}
public function getInputBytes()
{
return $this->inputBytes;
}
public function setInputRecords($inputRecords)
{
$this->inputRecords = $inputRecords;
}
public function getInputRecords()
{
return $this->inputRecords;
}
public function setKilledTasks($killedTasks)
{
$this->killedTasks = $killedTasks;
}
public function getKilledTasks()
{
return $this->killedTasks;
}
public function setMemoryBytesSpilled($memoryBytesSpilled)
{
$this->memoryBytesSpilled = $memoryBytesSpilled;
}
public function getMemoryBytesSpilled()
{
return $this->memoryBytesSpilled;
}
public function setOutputBytes($outputBytes)
{
$this->outputBytes = $outputBytes;
}
public function getOutputBytes()
{
return $this->outputBytes;
}
public function setOutputRecords($outputRecords)
{
$this->outputRecords = $outputRecords;
}
public function getOutputRecords()
{
return $this->outputRecords;
}
/**
* @param ExecutorPeakMetricsDistributions
*/
public function setPeakMemoryMetrics(ExecutorPeakMetricsDistributions $peakMemoryMetrics)
{
$this->peakMemoryMetrics = $peakMemoryMetrics;
}
/**
* @return ExecutorPeakMetricsDistributions
*/
public function getPeakMemoryMetrics()
{
return $this->peakMemoryMetrics;
}
public function setQuantiles($quantiles)
{
$this->quantiles = $quantiles;
}
public function getQuantiles()
{
return $this->quantiles;
}
public function setShuffleRead($shuffleRead)
{
$this->shuffleRead = $shuffleRead;
}
public function getShuffleRead()
{
return $this->shuffleRead;
}
public function setShuffleReadRecords($shuffleReadRecords)
{
$this->shuffleReadRecords = $shuffleReadRecords;
}
public function getShuffleReadRecords()
{
return $this->shuffleReadRecords;
}
public function setShuffleWrite($shuffleWrite)
{
$this->shuffleWrite = $shuffleWrite;
}
public function getShuffleWrite()
{
return $this->shuffleWrite;
}
public function setShuffleWriteRecords($shuffleWriteRecords)
{
$this->shuffleWriteRecords = $shuffleWriteRecords;
}
public function getShuffleWriteRecords()
{
return $this->shuffleWriteRecords;
}
public function setSucceededTasks($succeededTasks)
{
$this->succeededTasks = $succeededTasks;
}
public function getSucceededTasks()
{
return $this->succeededTasks;
}
public function setTaskTimeMillis($taskTimeMillis)
{
$this->taskTimeMillis = $taskTimeMillis;
}
public function getTaskTimeMillis()
{
return $this->taskTimeMillis;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExecutorMetricsDistributions::class, 'Google_Service_Dataproc_ExecutorMetricsDistributions');
@@ -0,0 +1,52 @@
<?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 ExecutorPeakMetricsDistributions extends \Google\Collection
{
protected $collection_key = 'quantiles';
protected $executorMetricsType = ExecutorMetrics::class;
protected $executorMetricsDataType = 'array';
public $quantiles;
/**
* @param ExecutorMetrics[]
*/
public function setExecutorMetrics($executorMetrics)
{
$this->executorMetrics = $executorMetrics;
}
/**
* @return ExecutorMetrics[]
*/
public function getExecutorMetrics()
{
return $this->executorMetrics;
}
public function setQuantiles($quantiles)
{
$this->quantiles = $quantiles;
}
public function getQuantiles()
{
return $this->quantiles;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExecutorPeakMetricsDistributions::class, 'Google_Service_Dataproc_ExecutorPeakMetricsDistributions');
@@ -0,0 +1,98 @@
<?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 ExecutorResourceRequest extends \Google\Model
{
/**
* @var string
*/
public $amount;
/**
* @var string
*/
public $discoveryScript;
/**
* @var string
*/
public $resourceName;
/**
* @var string
*/
public $vendor;
/**
* @param string
*/
public function setAmount($amount)
{
$this->amount = $amount;
}
/**
* @return string
*/
public function getAmount()
{
return $this->amount;
}
/**
* @param string
*/
public function setDiscoveryScript($discoveryScript)
{
$this->discoveryScript = $discoveryScript;
}
/**
* @return string
*/
public function getDiscoveryScript()
{
return $this->discoveryScript;
}
/**
* @param string
*/
public function setResourceName($resourceName)
{
$this->resourceName = $resourceName;
}
/**
* @return string
*/
public function getResourceName()
{
return $this->resourceName;
}
/**
* @param string
*/
public function setVendor($vendor)
{
$this->vendor = $vendor;
}
/**
* @return string
*/
public function getVendor()
{
return $this->vendor;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExecutorResourceRequest::class, 'Google_Service_Dataproc_ExecutorResourceRequest');
@@ -0,0 +1,366 @@
<?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 ExecutorStageSummary extends \Google\Model
{
/**
* @var string
*/
public $diskBytesSpilled;
/**
* @var string
*/
public $executorId;
/**
* @var int
*/
public $failedTasks;
/**
* @var string
*/
public $inputBytes;
/**
* @var string
*/
public $inputRecords;
/**
* @var bool
*/
public $isExcludedForStage;
/**
* @var int
*/
public $killedTasks;
/**
* @var string
*/
public $memoryBytesSpilled;
/**
* @var string
*/
public $outputBytes;
/**
* @var string
*/
public $outputRecords;
protected $peakMemoryMetricsType = ExecutorMetrics::class;
protected $peakMemoryMetricsDataType = '';
/**
* @var string
*/
public $shuffleRead;
/**
* @var string
*/
public $shuffleReadRecords;
/**
* @var string
*/
public $shuffleWrite;
/**
* @var string
*/
public $shuffleWriteRecords;
/**
* @var int
*/
public $stageAttemptId;
/**
* @var string
*/
public $stageId;
/**
* @var int
*/
public $succeededTasks;
/**
* @var string
*/
public $taskTimeMillis;
/**
* @param string
*/
public function setDiskBytesSpilled($diskBytesSpilled)
{
$this->diskBytesSpilled = $diskBytesSpilled;
}
/**
* @return string
*/
public function getDiskBytesSpilled()
{
return $this->diskBytesSpilled;
}
/**
* @param string
*/
public function setExecutorId($executorId)
{
$this->executorId = $executorId;
}
/**
* @return string
*/
public function getExecutorId()
{
return $this->executorId;
}
/**
* @param int
*/
public function setFailedTasks($failedTasks)
{
$this->failedTasks = $failedTasks;
}
/**
* @return int
*/
public function getFailedTasks()
{
return $this->failedTasks;
}
/**
* @param string
*/
public function setInputBytes($inputBytes)
{
$this->inputBytes = $inputBytes;
}
/**
* @return string
*/
public function getInputBytes()
{
return $this->inputBytes;
}
/**
* @param string
*/
public function setInputRecords($inputRecords)
{
$this->inputRecords = $inputRecords;
}
/**
* @return string
*/
public function getInputRecords()
{
return $this->inputRecords;
}
/**
* @param bool
*/
public function setIsExcludedForStage($isExcludedForStage)
{
$this->isExcludedForStage = $isExcludedForStage;
}
/**
* @return bool
*/
public function getIsExcludedForStage()
{
return $this->isExcludedForStage;
}
/**
* @param int
*/
public function setKilledTasks($killedTasks)
{
$this->killedTasks = $killedTasks;
}
/**
* @return int
*/
public function getKilledTasks()
{
return $this->killedTasks;
}
/**
* @param string
*/
public function setMemoryBytesSpilled($memoryBytesSpilled)
{
$this->memoryBytesSpilled = $memoryBytesSpilled;
}
/**
* @return string
*/
public function getMemoryBytesSpilled()
{
return $this->memoryBytesSpilled;
}
/**
* @param string
*/
public function setOutputBytes($outputBytes)
{
$this->outputBytes = $outputBytes;
}
/**
* @return string
*/
public function getOutputBytes()
{
return $this->outputBytes;
}
/**
* @param string
*/
public function setOutputRecords($outputRecords)
{
$this->outputRecords = $outputRecords;
}
/**
* @return string
*/
public function getOutputRecords()
{
return $this->outputRecords;
}
/**
* @param ExecutorMetrics
*/
public function setPeakMemoryMetrics(ExecutorMetrics $peakMemoryMetrics)
{
$this->peakMemoryMetrics = $peakMemoryMetrics;
}
/**
* @return ExecutorMetrics
*/
public function getPeakMemoryMetrics()
{
return $this->peakMemoryMetrics;
}
/**
* @param string
*/
public function setShuffleRead($shuffleRead)
{
$this->shuffleRead = $shuffleRead;
}
/**
* @return string
*/
public function getShuffleRead()
{
return $this->shuffleRead;
}
/**
* @param string
*/
public function setShuffleReadRecords($shuffleReadRecords)
{
$this->shuffleReadRecords = $shuffleReadRecords;
}
/**
* @return string
*/
public function getShuffleReadRecords()
{
return $this->shuffleReadRecords;
}
/**
* @param string
*/
public function setShuffleWrite($shuffleWrite)
{
$this->shuffleWrite = $shuffleWrite;
}
/**
* @return string
*/
public function getShuffleWrite()
{
return $this->shuffleWrite;
}
/**
* @param string
*/
public function setShuffleWriteRecords($shuffleWriteRecords)
{
$this->shuffleWriteRecords = $shuffleWriteRecords;
}
/**
* @return string
*/
public function getShuffleWriteRecords()
{
return $this->shuffleWriteRecords;
}
/**
* @param int
*/
public function setStageAttemptId($stageAttemptId)
{
$this->stageAttemptId = $stageAttemptId;
}
/**
* @return int
*/
public function getStageAttemptId()
{
return $this->stageAttemptId;
}
/**
* @param string
*/
public function setStageId($stageId)
{
$this->stageId = $stageId;
}
/**
* @return string
*/
public function getStageId()
{
return $this->stageId;
}
/**
* @param int
*/
public function setSucceededTasks($succeededTasks)
{
$this->succeededTasks = $succeededTasks;
}
/**
* @return int
*/
public function getSucceededTasks()
{
return $this->succeededTasks;
}
/**
* @param string
*/
public function setTaskTimeMillis($taskTimeMillis)
{
$this->taskTimeMillis = $taskTimeMillis;
}
/**
* @return string
*/
public function getTaskTimeMillis()
{
return $this->taskTimeMillis;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExecutorStageSummary::class, 'Google_Service_Dataproc_ExecutorStageSummary');
@@ -0,0 +1,543 @@
<?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 ExecutorSummary extends \Google\Collection
{
protected $collection_key = 'excludedInStages';
/**
* @var int
*/
public $activeTasks;
/**
* @var string
*/
public $addTime;
/**
* @var string[]
*/
public $attributes;
/**
* @var int
*/
public $completedTasks;
/**
* @var string
*/
public $diskUsed;
/**
* @var string[]
*/
public $excludedInStages;
/**
* @var string
*/
public $executorId;
/**
* @var string[]
*/
public $executorLogs;
/**
* @var int
*/
public $failedTasks;
/**
* @var string
*/
public $hostPort;
/**
* @var bool
*/
public $isActive;
/**
* @var bool
*/
public $isExcluded;
/**
* @var string
*/
public $maxMemory;
/**
* @var int
*/
public $maxTasks;
protected $memoryMetricsType = MemoryMetrics::class;
protected $memoryMetricsDataType = '';
/**
* @var string
*/
public $memoryUsed;
protected $peakMemoryMetricsType = ExecutorMetrics::class;
protected $peakMemoryMetricsDataType = '';
/**
* @var int
*/
public $rddBlocks;
/**
* @var string
*/
public $removeReason;
/**
* @var string
*/
public $removeTime;
/**
* @var int
*/
public $resourceProfileId;
protected $resourcesType = ResourceInformation::class;
protected $resourcesDataType = 'map';
/**
* @var int
*/
public $totalCores;
/**
* @var string
*/
public $totalDurationMillis;
/**
* @var string
*/
public $totalGcTimeMillis;
/**
* @var string
*/
public $totalInputBytes;
/**
* @var string
*/
public $totalShuffleRead;
/**
* @var string
*/
public $totalShuffleWrite;
/**
* @var int
*/
public $totalTasks;
/**
* @param int
*/
public function setActiveTasks($activeTasks)
{
$this->activeTasks = $activeTasks;
}
/**
* @return int
*/
public function getActiveTasks()
{
return $this->activeTasks;
}
/**
* @param string
*/
public function setAddTime($addTime)
{
$this->addTime = $addTime;
}
/**
* @return string
*/
public function getAddTime()
{
return $this->addTime;
}
/**
* @param string[]
*/
public function setAttributes($attributes)
{
$this->attributes = $attributes;
}
/**
* @return string[]
*/
public function getAttributes()
{
return $this->attributes;
}
/**
* @param int
*/
public function setCompletedTasks($completedTasks)
{
$this->completedTasks = $completedTasks;
}
/**
* @return int
*/
public function getCompletedTasks()
{
return $this->completedTasks;
}
/**
* @param string
*/
public function setDiskUsed($diskUsed)
{
$this->diskUsed = $diskUsed;
}
/**
* @return string
*/
public function getDiskUsed()
{
return $this->diskUsed;
}
/**
* @param string[]
*/
public function setExcludedInStages($excludedInStages)
{
$this->excludedInStages = $excludedInStages;
}
/**
* @return string[]
*/
public function getExcludedInStages()
{
return $this->excludedInStages;
}
/**
* @param string
*/
public function setExecutorId($executorId)
{
$this->executorId = $executorId;
}
/**
* @return string
*/
public function getExecutorId()
{
return $this->executorId;
}
/**
* @param string[]
*/
public function setExecutorLogs($executorLogs)
{
$this->executorLogs = $executorLogs;
}
/**
* @return string[]
*/
public function getExecutorLogs()
{
return $this->executorLogs;
}
/**
* @param int
*/
public function setFailedTasks($failedTasks)
{
$this->failedTasks = $failedTasks;
}
/**
* @return int
*/
public function getFailedTasks()
{
return $this->failedTasks;
}
/**
* @param string
*/
public function setHostPort($hostPort)
{
$this->hostPort = $hostPort;
}
/**
* @return string
*/
public function getHostPort()
{
return $this->hostPort;
}
/**
* @param bool
*/
public function setIsActive($isActive)
{
$this->isActive = $isActive;
}
/**
* @return bool
*/
public function getIsActive()
{
return $this->isActive;
}
/**
* @param bool
*/
public function setIsExcluded($isExcluded)
{
$this->isExcluded = $isExcluded;
}
/**
* @return bool
*/
public function getIsExcluded()
{
return $this->isExcluded;
}
/**
* @param string
*/
public function setMaxMemory($maxMemory)
{
$this->maxMemory = $maxMemory;
}
/**
* @return string
*/
public function getMaxMemory()
{
return $this->maxMemory;
}
/**
* @param int
*/
public function setMaxTasks($maxTasks)
{
$this->maxTasks = $maxTasks;
}
/**
* @return int
*/
public function getMaxTasks()
{
return $this->maxTasks;
}
/**
* @param MemoryMetrics
*/
public function setMemoryMetrics(MemoryMetrics $memoryMetrics)
{
$this->memoryMetrics = $memoryMetrics;
}
/**
* @return MemoryMetrics
*/
public function getMemoryMetrics()
{
return $this->memoryMetrics;
}
/**
* @param string
*/
public function setMemoryUsed($memoryUsed)
{
$this->memoryUsed = $memoryUsed;
}
/**
* @return string
*/
public function getMemoryUsed()
{
return $this->memoryUsed;
}
/**
* @param ExecutorMetrics
*/
public function setPeakMemoryMetrics(ExecutorMetrics $peakMemoryMetrics)
{
$this->peakMemoryMetrics = $peakMemoryMetrics;
}
/**
* @return ExecutorMetrics
*/
public function getPeakMemoryMetrics()
{
return $this->peakMemoryMetrics;
}
/**
* @param int
*/
public function setRddBlocks($rddBlocks)
{
$this->rddBlocks = $rddBlocks;
}
/**
* @return int
*/
public function getRddBlocks()
{
return $this->rddBlocks;
}
/**
* @param string
*/
public function setRemoveReason($removeReason)
{
$this->removeReason = $removeReason;
}
/**
* @return string
*/
public function getRemoveReason()
{
return $this->removeReason;
}
/**
* @param string
*/
public function setRemoveTime($removeTime)
{
$this->removeTime = $removeTime;
}
/**
* @return string
*/
public function getRemoveTime()
{
return $this->removeTime;
}
/**
* @param int
*/
public function setResourceProfileId($resourceProfileId)
{
$this->resourceProfileId = $resourceProfileId;
}
/**
* @return int
*/
public function getResourceProfileId()
{
return $this->resourceProfileId;
}
/**
* @param ResourceInformation[]
*/
public function setResources($resources)
{
$this->resources = $resources;
}
/**
* @return ResourceInformation[]
*/
public function getResources()
{
return $this->resources;
}
/**
* @param int
*/
public function setTotalCores($totalCores)
{
$this->totalCores = $totalCores;
}
/**
* @return int
*/
public function getTotalCores()
{
return $this->totalCores;
}
/**
* @param string
*/
public function setTotalDurationMillis($totalDurationMillis)
{
$this->totalDurationMillis = $totalDurationMillis;
}
/**
* @return string
*/
public function getTotalDurationMillis()
{
return $this->totalDurationMillis;
}
/**
* @param string
*/
public function setTotalGcTimeMillis($totalGcTimeMillis)
{
$this->totalGcTimeMillis = $totalGcTimeMillis;
}
/**
* @return string
*/
public function getTotalGcTimeMillis()
{
return $this->totalGcTimeMillis;
}
/**
* @param string
*/
public function setTotalInputBytes($totalInputBytes)
{
$this->totalInputBytes = $totalInputBytes;
}
/**
* @return string
*/
public function getTotalInputBytes()
{
return $this->totalInputBytes;
}
/**
* @param string
*/
public function setTotalShuffleRead($totalShuffleRead)
{
$this->totalShuffleRead = $totalShuffleRead;
}
/**
* @return string
*/
public function getTotalShuffleRead()
{
return $this->totalShuffleRead;
}
/**
* @param string
*/
public function setTotalShuffleWrite($totalShuffleWrite)
{
$this->totalShuffleWrite = $totalShuffleWrite;
}
/**
* @return string
*/
public function getTotalShuffleWrite()
{
return $this->totalShuffleWrite;
}
/**
* @param int
*/
public function setTotalTasks($totalTasks)
{
$this->totalTasks = $totalTasks;
}
/**
* @return int
*/
public function getTotalTasks()
{
return $this->totalTasks;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExecutorSummary::class, 'Google_Service_Dataproc_ExecutorSummary');
@@ -0,0 +1,98 @@
<?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 Expr extends \Google\Model
{
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $expression;
/**
* @var string
*/
public $location;
/**
* @var string
*/
public $title;
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setExpression($expression)
{
$this->expression = $expression;
}
/**
* @return string
*/
public function getExpression()
{
return $this->expression;
}
/**
* @param string
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Expr::class, 'Google_Service_Dataproc_Expr');
@@ -0,0 +1,151 @@
<?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 FlinkJob extends \Google\Collection
{
protected $collection_key = 'jarFileUris';
/**
* @var string[]
*/
public $args;
/**
* @var string[]
*/
public $jarFileUris;
protected $loggingConfigType = LoggingConfig::class;
protected $loggingConfigDataType = '';
/**
* @var string
*/
public $mainClass;
/**
* @var string
*/
public $mainJarFileUri;
/**
* @var string[]
*/
public $properties;
/**
* @var string
*/
public $savepointUri;
/**
* @param string[]
*/
public function setArgs($args)
{
$this->args = $args;
}
/**
* @return string[]
*/
public function getArgs()
{
return $this->args;
}
/**
* @param string[]
*/
public function setJarFileUris($jarFileUris)
{
$this->jarFileUris = $jarFileUris;
}
/**
* @return string[]
*/
public function getJarFileUris()
{
return $this->jarFileUris;
}
/**
* @param LoggingConfig
*/
public function setLoggingConfig(LoggingConfig $loggingConfig)
{
$this->loggingConfig = $loggingConfig;
}
/**
* @return LoggingConfig
*/
public function getLoggingConfig()
{
return $this->loggingConfig;
}
/**
* @param string
*/
public function setMainClass($mainClass)
{
$this->mainClass = $mainClass;
}
/**
* @return string
*/
public function getMainClass()
{
return $this->mainClass;
}
/**
* @param string
*/
public function setMainJarFileUri($mainJarFileUri)
{
$this->mainJarFileUri = $mainJarFileUri;
}
/**
* @return string
*/
public function getMainJarFileUri()
{
return $this->mainJarFileUri;
}
/**
* @param string[]
*/
public function setProperties($properties)
{
$this->properties = $properties;
}
/**
* @return string[]
*/
public function getProperties()
{
return $this->properties;
}
/**
* @param string
*/
public function setSavepointUri($savepointUri)
{
$this->savepointUri = $savepointUri;
}
/**
* @return string
*/
public function getSavepointUri()
{
return $this->savepointUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FlinkJob::class, 'Google_Service_Dataproc_FlinkJob');
@@ -0,0 +1,253 @@
<?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 GceClusterConfig extends \Google\Collection
{
protected $collection_key = 'tags';
protected $confidentialInstanceConfigType = ConfidentialInstanceConfig::class;
protected $confidentialInstanceConfigDataType = '';
/**
* @var bool
*/
public $internalIpOnly;
/**
* @var string[]
*/
public $metadata;
/**
* @var string
*/
public $networkUri;
protected $nodeGroupAffinityType = NodeGroupAffinity::class;
protected $nodeGroupAffinityDataType = '';
/**
* @var string
*/
public $privateIpv6GoogleAccess;
protected $reservationAffinityType = ReservationAffinity::class;
protected $reservationAffinityDataType = '';
/**
* @var string
*/
public $serviceAccount;
/**
* @var string[]
*/
public $serviceAccountScopes;
protected $shieldedInstanceConfigType = ShieldedInstanceConfig::class;
protected $shieldedInstanceConfigDataType = '';
/**
* @var string
*/
public $subnetworkUri;
/**
* @var string[]
*/
public $tags;
/**
* @var string
*/
public $zoneUri;
/**
* @param ConfidentialInstanceConfig
*/
public function setConfidentialInstanceConfig(ConfidentialInstanceConfig $confidentialInstanceConfig)
{
$this->confidentialInstanceConfig = $confidentialInstanceConfig;
}
/**
* @return ConfidentialInstanceConfig
*/
public function getConfidentialInstanceConfig()
{
return $this->confidentialInstanceConfig;
}
/**
* @param bool
*/
public function setInternalIpOnly($internalIpOnly)
{
$this->internalIpOnly = $internalIpOnly;
}
/**
* @return bool
*/
public function getInternalIpOnly()
{
return $this->internalIpOnly;
}
/**
* @param string[]
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return string[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param string
*/
public function setNetworkUri($networkUri)
{
$this->networkUri = $networkUri;
}
/**
* @return string
*/
public function getNetworkUri()
{
return $this->networkUri;
}
/**
* @param NodeGroupAffinity
*/
public function setNodeGroupAffinity(NodeGroupAffinity $nodeGroupAffinity)
{
$this->nodeGroupAffinity = $nodeGroupAffinity;
}
/**
* @return NodeGroupAffinity
*/
public function getNodeGroupAffinity()
{
return $this->nodeGroupAffinity;
}
/**
* @param string
*/
public function setPrivateIpv6GoogleAccess($privateIpv6GoogleAccess)
{
$this->privateIpv6GoogleAccess = $privateIpv6GoogleAccess;
}
/**
* @return string
*/
public function getPrivateIpv6GoogleAccess()
{
return $this->privateIpv6GoogleAccess;
}
/**
* @param ReservationAffinity
*/
public function setReservationAffinity(ReservationAffinity $reservationAffinity)
{
$this->reservationAffinity = $reservationAffinity;
}
/**
* @return ReservationAffinity
*/
public function getReservationAffinity()
{
return $this->reservationAffinity;
}
/**
* @param string
*/
public function setServiceAccount($serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
/**
* @return string
*/
public function getServiceAccount()
{
return $this->serviceAccount;
}
/**
* @param string[]
*/
public function setServiceAccountScopes($serviceAccountScopes)
{
$this->serviceAccountScopes = $serviceAccountScopes;
}
/**
* @return string[]
*/
public function getServiceAccountScopes()
{
return $this->serviceAccountScopes;
}
/**
* @param ShieldedInstanceConfig
*/
public function setShieldedInstanceConfig(ShieldedInstanceConfig $shieldedInstanceConfig)
{
$this->shieldedInstanceConfig = $shieldedInstanceConfig;
}
/**
* @return ShieldedInstanceConfig
*/
public function getShieldedInstanceConfig()
{
return $this->shieldedInstanceConfig;
}
/**
* @param string
*/
public function setSubnetworkUri($subnetworkUri)
{
$this->subnetworkUri = $subnetworkUri;
}
/**
* @return string
*/
public function getSubnetworkUri()
{
return $this->subnetworkUri;
}
/**
* @param string[]
*/
public function setTags($tags)
{
$this->tags = $tags;
}
/**
* @return string[]
*/
public function getTags()
{
return $this->tags;
}
/**
* @param string
*/
public function setZoneUri($zoneUri)
{
$this->zoneUri = $zoneUri;
}
/**
* @return string
*/
public function getZoneUri()
{
return $this->zoneUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GceClusterConfig::class, 'Google_Service_Dataproc_GceClusterConfig');
@@ -0,0 +1,167 @@
<?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 GceNodePoolOperationMetadata extends \Google\Collection
{
protected $collection_key = 'warnings';
/**
* @var string
*/
public $clusterUuid;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $gceNodePoolId;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $operationType;
protected $statusType = ClusterOperationStatus::class;
protected $statusDataType = '';
protected $statusHistoryType = ClusterOperationStatus::class;
protected $statusHistoryDataType = 'array';
/**
* @var string[]
*/
public $warnings;
/**
* @param string
*/
public function setClusterUuid($clusterUuid)
{
$this->clusterUuid = $clusterUuid;
}
/**
* @return string
*/
public function getClusterUuid()
{
return $this->clusterUuid;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setGceNodePoolId($gceNodePoolId)
{
$this->gceNodePoolId = $gceNodePoolId;
}
/**
* @return string
*/
public function getGceNodePoolId()
{
return $this->gceNodePoolId;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setOperationType($operationType)
{
$this->operationType = $operationType;
}
/**
* @return string
*/
public function getOperationType()
{
return $this->operationType;
}
/**
* @param ClusterOperationStatus
*/
public function setStatus(ClusterOperationStatus $status)
{
$this->status = $status;
}
/**
* @return ClusterOperationStatus
*/
public function getStatus()
{
return $this->status;
}
/**
* @param ClusterOperationStatus[]
*/
public function setStatusHistory($statusHistory)
{
$this->statusHistory = $statusHistory;
}
/**
* @return ClusterOperationStatus[]
*/
public function getStatusHistory()
{
return $this->statusHistory;
}
/**
* @param string[]
*/
public function setWarnings($warnings)
{
$this->warnings = $warnings;
}
/**
* @return string[]
*/
public function getWarnings()
{
return $this->warnings;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GceNodePoolOperationMetadata::class, 'Google_Service_Dataproc_GceNodePoolOperationMetadata');
@@ -0,0 +1,42 @@
<?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 GetIamPolicyRequest extends \Google\Model
{
protected $optionsType = GetPolicyOptions::class;
protected $optionsDataType = '';
/**
* @param GetPolicyOptions
*/
public function setOptions(GetPolicyOptions $options)
{
$this->options = $options;
}
/**
* @return GetPolicyOptions
*/
public function getOptions()
{
return $this->options;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GetIamPolicyRequest::class, 'Google_Service_Dataproc_GetIamPolicyRequest');
@@ -0,0 +1,44 @@
<?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 GetPolicyOptions extends \Google\Model
{
/**
* @var int
*/
public $requestedPolicyVersion;
/**
* @param int
*/
public function setRequestedPolicyVersion($requestedPolicyVersion)
{
$this->requestedPolicyVersion = $requestedPolicyVersion;
}
/**
* @return int
*/
public function getRequestedPolicyVersion()
{
return $this->requestedPolicyVersion;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GetPolicyOptions::class, 'Google_Service_Dataproc_GetPolicyOptions');
@@ -0,0 +1,77 @@
<?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 GkeClusterConfig extends \Google\Collection
{
protected $collection_key = 'nodePoolTarget';
/**
* @var string
*/
public $gkeClusterTarget;
protected $namespacedGkeDeploymentTargetType = NamespacedGkeDeploymentTarget::class;
protected $namespacedGkeDeploymentTargetDataType = '';
protected $nodePoolTargetType = GkeNodePoolTarget::class;
protected $nodePoolTargetDataType = 'array';
/**
* @param string
*/
public function setGkeClusterTarget($gkeClusterTarget)
{
$this->gkeClusterTarget = $gkeClusterTarget;
}
/**
* @return string
*/
public function getGkeClusterTarget()
{
return $this->gkeClusterTarget;
}
/**
* @param NamespacedGkeDeploymentTarget
*/
public function setNamespacedGkeDeploymentTarget(NamespacedGkeDeploymentTarget $namespacedGkeDeploymentTarget)
{
$this->namespacedGkeDeploymentTarget = $namespacedGkeDeploymentTarget;
}
/**
* @return NamespacedGkeDeploymentTarget
*/
public function getNamespacedGkeDeploymentTarget()
{
return $this->namespacedGkeDeploymentTarget;
}
/**
* @param GkeNodePoolTarget[]
*/
public function setNodePoolTarget($nodePoolTarget)
{
$this->nodePoolTarget = $nodePoolTarget;
}
/**
* @return GkeNodePoolTarget[]
*/
public function getNodePoolTarget()
{
return $this->nodePoolTarget;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GkeClusterConfig::class, 'Google_Service_Dataproc_GkeClusterConfig');
@@ -0,0 +1,151 @@
<?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 GkeNodeConfig extends \Google\Collection
{
protected $collection_key = 'accelerators';
protected $acceleratorsType = GkeNodePoolAcceleratorConfig::class;
protected $acceleratorsDataType = 'array';
/**
* @var string
*/
public $bootDiskKmsKey;
/**
* @var int
*/
public $localSsdCount;
/**
* @var string
*/
public $machineType;
/**
* @var string
*/
public $minCpuPlatform;
/**
* @var bool
*/
public $preemptible;
/**
* @var bool
*/
public $spot;
/**
* @param GkeNodePoolAcceleratorConfig[]
*/
public function setAccelerators($accelerators)
{
$this->accelerators = $accelerators;
}
/**
* @return GkeNodePoolAcceleratorConfig[]
*/
public function getAccelerators()
{
return $this->accelerators;
}
/**
* @param string
*/
public function setBootDiskKmsKey($bootDiskKmsKey)
{
$this->bootDiskKmsKey = $bootDiskKmsKey;
}
/**
* @return string
*/
public function getBootDiskKmsKey()
{
return $this->bootDiskKmsKey;
}
/**
* @param int
*/
public function setLocalSsdCount($localSsdCount)
{
$this->localSsdCount = $localSsdCount;
}
/**
* @return int
*/
public function getLocalSsdCount()
{
return $this->localSsdCount;
}
/**
* @param string
*/
public function setMachineType($machineType)
{
$this->machineType = $machineType;
}
/**
* @return string
*/
public function getMachineType()
{
return $this->machineType;
}
/**
* @param string
*/
public function setMinCpuPlatform($minCpuPlatform)
{
$this->minCpuPlatform = $minCpuPlatform;
}
/**
* @return string
*/
public function getMinCpuPlatform()
{
return $this->minCpuPlatform;
}
/**
* @param bool
*/
public function setPreemptible($preemptible)
{
$this->preemptible = $preemptible;
}
/**
* @return bool
*/
public function getPreemptible()
{
return $this->preemptible;
}
/**
* @param bool
*/
public function setSpot($spot)
{
$this->spot = $spot;
}
/**
* @return bool
*/
public function getSpot()
{
return $this->spot;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GkeNodeConfig::class, 'Google_Service_Dataproc_GkeNodeConfig');
@@ -0,0 +1,80 @@
<?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 GkeNodePoolAcceleratorConfig extends \Google\Model
{
/**
* @var string
*/
public $acceleratorCount;
/**
* @var string
*/
public $acceleratorType;
/**
* @var string
*/
public $gpuPartitionSize;
/**
* @param string
*/
public function setAcceleratorCount($acceleratorCount)
{
$this->acceleratorCount = $acceleratorCount;
}
/**
* @return string
*/
public function getAcceleratorCount()
{
return $this->acceleratorCount;
}
/**
* @param string
*/
public function setAcceleratorType($acceleratorType)
{
$this->acceleratorType = $acceleratorType;
}
/**
* @return string
*/
public function getAcceleratorType()
{
return $this->acceleratorType;
}
/**
* @param string
*/
public function setGpuPartitionSize($gpuPartitionSize)
{
$this->gpuPartitionSize = $gpuPartitionSize;
}
/**
* @return string
*/
public function getGpuPartitionSize()
{
return $this->gpuPartitionSize;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GkeNodePoolAcceleratorConfig::class, 'Google_Service_Dataproc_GkeNodePoolAcceleratorConfig');
@@ -0,0 +1,62 @@
<?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 GkeNodePoolAutoscalingConfig extends \Google\Model
{
/**
* @var int
*/
public $maxNodeCount;
/**
* @var int
*/
public $minNodeCount;
/**
* @param int
*/
public function setMaxNodeCount($maxNodeCount)
{
$this->maxNodeCount = $maxNodeCount;
}
/**
* @return int
*/
public function getMaxNodeCount()
{
return $this->maxNodeCount;
}
/**
* @param int
*/
public function setMinNodeCount($minNodeCount)
{
$this->minNodeCount = $minNodeCount;
}
/**
* @return int
*/
public function getMinNodeCount()
{
return $this->minNodeCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GkeNodePoolAutoscalingConfig::class, 'Google_Service_Dataproc_GkeNodePoolAutoscalingConfig');
@@ -0,0 +1,77 @@
<?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 GkeNodePoolConfig extends \Google\Collection
{
protected $collection_key = 'locations';
protected $autoscalingType = GkeNodePoolAutoscalingConfig::class;
protected $autoscalingDataType = '';
protected $configType = GkeNodeConfig::class;
protected $configDataType = '';
/**
* @var string[]
*/
public $locations;
/**
* @param GkeNodePoolAutoscalingConfig
*/
public function setAutoscaling(GkeNodePoolAutoscalingConfig $autoscaling)
{
$this->autoscaling = $autoscaling;
}
/**
* @return GkeNodePoolAutoscalingConfig
*/
public function getAutoscaling()
{
return $this->autoscaling;
}
/**
* @param GkeNodeConfig
*/
public function setConfig(GkeNodeConfig $config)
{
$this->config = $config;
}
/**
* @return GkeNodeConfig
*/
public function getConfig()
{
return $this->config;
}
/**
* @param string[]
*/
public function setLocations($locations)
{
$this->locations = $locations;
}
/**
* @return string[]
*/
public function getLocations()
{
return $this->locations;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GkeNodePoolConfig::class, 'Google_Service_Dataproc_GkeNodePoolConfig');
@@ -0,0 +1,79 @@
<?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 GkeNodePoolTarget extends \Google\Collection
{
protected $collection_key = 'roles';
/**
* @var string
*/
public $nodePool;
protected $nodePoolConfigType = GkeNodePoolConfig::class;
protected $nodePoolConfigDataType = '';
/**
* @var string[]
*/
public $roles;
/**
* @param string
*/
public function setNodePool($nodePool)
{
$this->nodePool = $nodePool;
}
/**
* @return string
*/
public function getNodePool()
{
return $this->nodePool;
}
/**
* @param GkeNodePoolConfig
*/
public function setNodePoolConfig(GkeNodePoolConfig $nodePoolConfig)
{
$this->nodePoolConfig = $nodePoolConfig;
}
/**
* @return GkeNodePoolConfig
*/
public function getNodePoolConfig()
{
return $this->nodePoolConfig;
}
/**
* @param string[]
*/
public function setRoles($roles)
{
$this->roles = $roles;
}
/**
* @return string[]
*/
public function getRoles()
{
return $this->roles;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GkeNodePoolTarget::class, 'Google_Service_Dataproc_GkeNodePoolTarget');
@@ -0,0 +1,44 @@
<?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 GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig extends \Google\Model
{
/**
* @var string
*/
public $kmsKey;
/**
* @param string
*/
public function setKmsKey($kmsKey)
{
$this->kmsKey = $kmsKey;
}
/**
* @return string
*/
public function getKmsKey()
{
return $this->kmsKey;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig::class, 'Google_Service_Dataproc_GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig');
@@ -0,0 +1,169 @@
<?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 HadoopJob extends \Google\Collection
{
protected $collection_key = 'jarFileUris';
/**
* @var string[]
*/
public $archiveUris;
/**
* @var string[]
*/
public $args;
/**
* @var string[]
*/
public $fileUris;
/**
* @var string[]
*/
public $jarFileUris;
protected $loggingConfigType = LoggingConfig::class;
protected $loggingConfigDataType = '';
/**
* @var string
*/
public $mainClass;
/**
* @var string
*/
public $mainJarFileUri;
/**
* @var string[]
*/
public $properties;
/**
* @param string[]
*/
public function setArchiveUris($archiveUris)
{
$this->archiveUris = $archiveUris;
}
/**
* @return string[]
*/
public function getArchiveUris()
{
return $this->archiveUris;
}
/**
* @param string[]
*/
public function setArgs($args)
{
$this->args = $args;
}
/**
* @return string[]
*/
public function getArgs()
{
return $this->args;
}
/**
* @param string[]
*/
public function setFileUris($fileUris)
{
$this->fileUris = $fileUris;
}
/**
* @return string[]
*/
public function getFileUris()
{
return $this->fileUris;
}
/**
* @param string[]
*/
public function setJarFileUris($jarFileUris)
{
$this->jarFileUris = $jarFileUris;
}
/**
* @return string[]
*/
public function getJarFileUris()
{
return $this->jarFileUris;
}
/**
* @param LoggingConfig
*/
public function setLoggingConfig(LoggingConfig $loggingConfig)
{
$this->loggingConfig = $loggingConfig;
}
/**
* @return LoggingConfig
*/
public function getLoggingConfig()
{
return $this->loggingConfig;
}
/**
* @param string
*/
public function setMainClass($mainClass)
{
$this->mainClass = $mainClass;
}
/**
* @return string
*/
public function getMainClass()
{
return $this->mainClass;
}
/**
* @param string
*/
public function setMainJarFileUri($mainJarFileUri)
{
$this->mainJarFileUri = $mainJarFileUri;
}
/**
* @return string
*/
public function getMainJarFileUri()
{
return $this->mainJarFileUri;
}
/**
* @param string[]
*/
public function setProperties($properties)
{
$this->properties = $properties;
}
/**
* @return string[]
*/
public function getProperties()
{
return $this->properties;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(HadoopJob::class, 'Google_Service_Dataproc_HadoopJob');
@@ -0,0 +1,133 @@
<?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 HiveJob extends \Google\Collection
{
protected $collection_key = 'jarFileUris';
/**
* @var bool
*/
public $continueOnFailure;
/**
* @var string[]
*/
public $jarFileUris;
/**
* @var string[]
*/
public $properties;
/**
* @var string
*/
public $queryFileUri;
protected $queryListType = QueryList::class;
protected $queryListDataType = '';
/**
* @var string[]
*/
public $scriptVariables;
/**
* @param bool
*/
public function setContinueOnFailure($continueOnFailure)
{
$this->continueOnFailure = $continueOnFailure;
}
/**
* @return bool
*/
public function getContinueOnFailure()
{
return $this->continueOnFailure;
}
/**
* @param string[]
*/
public function setJarFileUris($jarFileUris)
{
$this->jarFileUris = $jarFileUris;
}
/**
* @return string[]
*/
public function getJarFileUris()
{
return $this->jarFileUris;
}
/**
* @param string[]
*/
public function setProperties($properties)
{
$this->properties = $properties;
}
/**
* @return string[]
*/
public function getProperties()
{
return $this->properties;
}
/**
* @param string
*/
public function setQueryFileUri($queryFileUri)
{
$this->queryFileUri = $queryFileUri;
}
/**
* @return string
*/
public function getQueryFileUri()
{
return $this->queryFileUri;
}
/**
* @param QueryList
*/
public function setQueryList(QueryList $queryList)
{
$this->queryList = $queryList;
}
/**
* @return QueryList
*/
public function getQueryList()
{
return $this->queryList;
}
/**
* @param string[]
*/
public function setScriptVariables($scriptVariables)
{
$this->scriptVariables = $scriptVariables;
}
/**
* @return string[]
*/
public function getScriptVariables()
{
return $this->scriptVariables;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(HiveJob::class, 'Google_Service_Dataproc_HiveJob');
@@ -0,0 +1,44 @@
<?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 IdentityConfig extends \Google\Model
{
/**
* @var string[]
*/
public $userServiceAccountMapping;
/**
* @param string[]
*/
public function setUserServiceAccountMapping($userServiceAccountMapping)
{
$this->userServiceAccountMapping = $userServiceAccountMapping;
}
/**
* @return string[]
*/
public function getUserServiceAccountMapping()
{
return $this->userServiceAccountMapping;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(IdentityConfig::class, 'Google_Service_Dataproc_IdentityConfig');
@@ -0,0 +1,62 @@
<?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 InjectCredentialsRequest extends \Google\Model
{
/**
* @var string
*/
public $clusterUuid;
/**
* @var string
*/
public $credentialsCiphertext;
/**
* @param string
*/
public function setClusterUuid($clusterUuid)
{
$this->clusterUuid = $clusterUuid;
}
/**
* @return string
*/
public function getClusterUuid()
{
return $this->clusterUuid;
}
/**
* @param string
*/
public function setCredentialsCiphertext($credentialsCiphertext)
{
$this->credentialsCiphertext = $credentialsCiphertext;
}
/**
* @return string
*/
public function getCredentialsCiphertext()
{
return $this->credentialsCiphertext;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InjectCredentialsRequest::class, 'Google_Service_Dataproc_InjectCredentialsRequest');
@@ -0,0 +1,62 @@
<?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 InjectSessionCredentialsRequest extends \Google\Model
{
/**
* @var string
*/
public $credentialsCiphertext;
/**
* @var string
*/
public $requestId;
/**
* @param string
*/
public function setCredentialsCiphertext($credentialsCiphertext)
{
$this->credentialsCiphertext = $credentialsCiphertext;
}
/**
* @return string
*/
public function getCredentialsCiphertext()
{
return $this->credentialsCiphertext;
}
/**
* @param string
*/
public function setRequestId($requestId)
{
$this->requestId = $requestId;
}
/**
* @return string
*/
public function getRequestId()
{
return $this->requestId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InjectSessionCredentialsRequest::class, 'Google_Service_Dataproc_InjectSessionCredentialsRequest');
@@ -0,0 +1,25 @@
<?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 InjectableCredentialsConfig extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InjectableCredentialsConfig::class, 'Google_Service_Dataproc_InjectableCredentialsConfig');
@@ -0,0 +1,62 @@
<?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 InputMetrics extends \Google\Model
{
/**
* @var string
*/
public $bytesRead;
/**
* @var string
*/
public $recordsRead;
/**
* @param string
*/
public function setBytesRead($bytesRead)
{
$this->bytesRead = $bytesRead;
}
/**
* @return string
*/
public function getBytesRead()
{
return $this->bytesRead;
}
/**
* @param string
*/
public function setRecordsRead($recordsRead)
{
$this->recordsRead = $recordsRead;
}
/**
* @return string
*/
public function getRecordsRead()
{
return $this->recordsRead;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InputMetrics::class, 'Google_Service_Dataproc_InputMetrics');
@@ -0,0 +1,58 @@
<?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 InputQuantileMetrics extends \Google\Model
{
protected $bytesReadType = Quantiles::class;
protected $bytesReadDataType = '';
protected $recordsReadType = Quantiles::class;
protected $recordsReadDataType = '';
/**
* @param Quantiles
*/
public function setBytesRead(Quantiles $bytesRead)
{
$this->bytesRead = $bytesRead;
}
/**
* @return Quantiles
*/
public function getBytesRead()
{
return $this->bytesRead;
}
/**
* @param Quantiles
*/
public function setRecordsRead(Quantiles $recordsRead)
{
$this->recordsRead = $recordsRead;
}
/**
* @return Quantiles
*/
public function getRecordsRead()
{
return $this->recordsRead;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InputQuantileMetrics::class, 'Google_Service_Dataproc_InputQuantileMetrics');
@@ -0,0 +1,75 @@
<?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 InstanceFlexibilityPolicy extends \Google\Collection
{
protected $collection_key = 'instanceSelectionResults';
protected $instanceSelectionListType = InstanceSelection::class;
protected $instanceSelectionListDataType = 'array';
protected $instanceSelectionResultsType = InstanceSelectionResult::class;
protected $instanceSelectionResultsDataType = 'array';
protected $provisioningModelMixType = ProvisioningModelMix::class;
protected $provisioningModelMixDataType = '';
/**
* @param InstanceSelection[]
*/
public function setInstanceSelectionList($instanceSelectionList)
{
$this->instanceSelectionList = $instanceSelectionList;
}
/**
* @return InstanceSelection[]
*/
public function getInstanceSelectionList()
{
return $this->instanceSelectionList;
}
/**
* @param InstanceSelectionResult[]
*/
public function setInstanceSelectionResults($instanceSelectionResults)
{
$this->instanceSelectionResults = $instanceSelectionResults;
}
/**
* @return InstanceSelectionResult[]
*/
public function getInstanceSelectionResults()
{
return $this->instanceSelectionResults;
}
/**
* @param ProvisioningModelMix
*/
public function setProvisioningModelMix(ProvisioningModelMix $provisioningModelMix)
{
$this->provisioningModelMix = $provisioningModelMix;
}
/**
* @return ProvisioningModelMix
*/
public function getProvisioningModelMix()
{
return $this->provisioningModelMix;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InstanceFlexibilityPolicy::class, 'Google_Service_Dataproc_InstanceFlexibilityPolicy');
@@ -0,0 +1,80 @@
<?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 InstanceGroupAutoscalingPolicyConfig extends \Google\Model
{
/**
* @var int
*/
public $maxInstances;
/**
* @var int
*/
public $minInstances;
/**
* @var int
*/
public $weight;
/**
* @param int
*/
public function setMaxInstances($maxInstances)
{
$this->maxInstances = $maxInstances;
}
/**
* @return int
*/
public function getMaxInstances()
{
return $this->maxInstances;
}
/**
* @param int
*/
public function setMinInstances($minInstances)
{
$this->minInstances = $minInstances;
}
/**
* @return int
*/
public function getMinInstances()
{
return $this->minInstances;
}
/**
* @param int
*/
public function setWeight($weight)
{
$this->weight = $weight;
}
/**
* @return int
*/
public function getWeight()
{
return $this->weight;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InstanceGroupAutoscalingPolicyConfig::class, 'Google_Service_Dataproc_InstanceGroupAutoscalingPolicyConfig');
@@ -0,0 +1,267 @@
<?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 InstanceGroupConfig extends \Google\Collection
{
protected $collection_key = 'instanceReferences';
protected $acceleratorsType = AcceleratorConfig::class;
protected $acceleratorsDataType = 'array';
protected $diskConfigType = DiskConfig::class;
protected $diskConfigDataType = '';
/**
* @var string
*/
public $imageUri;
protected $instanceFlexibilityPolicyType = InstanceFlexibilityPolicy::class;
protected $instanceFlexibilityPolicyDataType = '';
/**
* @var string[]
*/
public $instanceNames;
protected $instanceReferencesType = InstanceReference::class;
protected $instanceReferencesDataType = 'array';
/**
* @var bool
*/
public $isPreemptible;
/**
* @var string
*/
public $machineTypeUri;
protected $managedGroupConfigType = ManagedGroupConfig::class;
protected $managedGroupConfigDataType = '';
/**
* @var string
*/
public $minCpuPlatform;
/**
* @var int
*/
public $minNumInstances;
/**
* @var int
*/
public $numInstances;
/**
* @var string
*/
public $preemptibility;
protected $startupConfigType = StartupConfig::class;
protected $startupConfigDataType = '';
/**
* @param AcceleratorConfig[]
*/
public function setAccelerators($accelerators)
{
$this->accelerators = $accelerators;
}
/**
* @return AcceleratorConfig[]
*/
public function getAccelerators()
{
return $this->accelerators;
}
/**
* @param DiskConfig
*/
public function setDiskConfig(DiskConfig $diskConfig)
{
$this->diskConfig = $diskConfig;
}
/**
* @return DiskConfig
*/
public function getDiskConfig()
{
return $this->diskConfig;
}
/**
* @param string
*/
public function setImageUri($imageUri)
{
$this->imageUri = $imageUri;
}
/**
* @return string
*/
public function getImageUri()
{
return $this->imageUri;
}
/**
* @param InstanceFlexibilityPolicy
*/
public function setInstanceFlexibilityPolicy(InstanceFlexibilityPolicy $instanceFlexibilityPolicy)
{
$this->instanceFlexibilityPolicy = $instanceFlexibilityPolicy;
}
/**
* @return InstanceFlexibilityPolicy
*/
public function getInstanceFlexibilityPolicy()
{
return $this->instanceFlexibilityPolicy;
}
/**
* @param string[]
*/
public function setInstanceNames($instanceNames)
{
$this->instanceNames = $instanceNames;
}
/**
* @return string[]
*/
public function getInstanceNames()
{
return $this->instanceNames;
}
/**
* @param InstanceReference[]
*/
public function setInstanceReferences($instanceReferences)
{
$this->instanceReferences = $instanceReferences;
}
/**
* @return InstanceReference[]
*/
public function getInstanceReferences()
{
return $this->instanceReferences;
}
/**
* @param bool
*/
public function setIsPreemptible($isPreemptible)
{
$this->isPreemptible = $isPreemptible;
}
/**
* @return bool
*/
public function getIsPreemptible()
{
return $this->isPreemptible;
}
/**
* @param string
*/
public function setMachineTypeUri($machineTypeUri)
{
$this->machineTypeUri = $machineTypeUri;
}
/**
* @return string
*/
public function getMachineTypeUri()
{
return $this->machineTypeUri;
}
/**
* @param ManagedGroupConfig
*/
public function setManagedGroupConfig(ManagedGroupConfig $managedGroupConfig)
{
$this->managedGroupConfig = $managedGroupConfig;
}
/**
* @return ManagedGroupConfig
*/
public function getManagedGroupConfig()
{
return $this->managedGroupConfig;
}
/**
* @param string
*/
public function setMinCpuPlatform($minCpuPlatform)
{
$this->minCpuPlatform = $minCpuPlatform;
}
/**
* @return string
*/
public function getMinCpuPlatform()
{
return $this->minCpuPlatform;
}
/**
* @param int
*/
public function setMinNumInstances($minNumInstances)
{
$this->minNumInstances = $minNumInstances;
}
/**
* @return int
*/
public function getMinNumInstances()
{
return $this->minNumInstances;
}
/**
* @param int
*/
public function setNumInstances($numInstances)
{
$this->numInstances = $numInstances;
}
/**
* @return int
*/
public function getNumInstances()
{
return $this->numInstances;
}
/**
* @param string
*/
public function setPreemptibility($preemptibility)
{
$this->preemptibility = $preemptibility;
}
/**
* @return string
*/
public function getPreemptibility()
{
return $this->preemptibility;
}
/**
* @param StartupConfig
*/
public function setStartupConfig(StartupConfig $startupConfig)
{
$this->startupConfig = $startupConfig;
}
/**
* @return StartupConfig
*/
public function getStartupConfig()
{
return $this->startupConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InstanceGroupConfig::class, 'Google_Service_Dataproc_InstanceGroupConfig');
@@ -0,0 +1,98 @@
<?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 InstanceReference extends \Google\Model
{
/**
* @var string
*/
public $instanceId;
/**
* @var string
*/
public $instanceName;
/**
* @var string
*/
public $publicEciesKey;
/**
* @var string
*/
public $publicKey;
/**
* @param string
*/
public function setInstanceId($instanceId)
{
$this->instanceId = $instanceId;
}
/**
* @return string
*/
public function getInstanceId()
{
return $this->instanceId;
}
/**
* @param string
*/
public function setInstanceName($instanceName)
{
$this->instanceName = $instanceName;
}
/**
* @return string
*/
public function getInstanceName()
{
return $this->instanceName;
}
/**
* @param string
*/
public function setPublicEciesKey($publicEciesKey)
{
$this->publicEciesKey = $publicEciesKey;
}
/**
* @return string
*/
public function getPublicEciesKey()
{
return $this->publicEciesKey;
}
/**
* @param string
*/
public function setPublicKey($publicKey)
{
$this->publicKey = $publicKey;
}
/**
* @return string
*/
public function getPublicKey()
{
return $this->publicKey;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InstanceReference::class, 'Google_Service_Dataproc_InstanceReference');
@@ -0,0 +1,63 @@
<?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 InstanceSelection extends \Google\Collection
{
protected $collection_key = 'machineTypes';
/**
* @var string[]
*/
public $machineTypes;
/**
* @var int
*/
public $rank;
/**
* @param string[]
*/
public function setMachineTypes($machineTypes)
{
$this->machineTypes = $machineTypes;
}
/**
* @return string[]
*/
public function getMachineTypes()
{
return $this->machineTypes;
}
/**
* @param int
*/
public function setRank($rank)
{
$this->rank = $rank;
}
/**
* @return int
*/
public function getRank()
{
return $this->rank;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InstanceSelection::class, 'Google_Service_Dataproc_InstanceSelection');
@@ -0,0 +1,62 @@
<?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 InstanceSelectionResult extends \Google\Model
{
/**
* @var string
*/
public $machineType;
/**
* @var int
*/
public $vmCount;
/**
* @param string
*/
public function setMachineType($machineType)
{
$this->machineType = $machineType;
}
/**
* @return string
*/
public function getMachineType()
{
return $this->machineType;
}
/**
* @param int
*/
public function setVmCount($vmCount)
{
$this->vmCount = $vmCount;
}
/**
* @return int
*/
public function getVmCount()
{
return $this->vmCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InstanceSelectionResult::class, 'Google_Service_Dataproc_InstanceSelectionResult');
@@ -0,0 +1,80 @@
<?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 InstantiateWorkflowTemplateRequest extends \Google\Model
{
/**
* @var string[]
*/
public $parameters;
/**
* @var string
*/
public $requestId;
/**
* @var int
*/
public $version;
/**
* @param string[]
*/
public function setParameters($parameters)
{
$this->parameters = $parameters;
}
/**
* @return string[]
*/
public function getParameters()
{
return $this->parameters;
}
/**
* @param string
*/
public function setRequestId($requestId)
{
$this->requestId = $requestId;
}
/**
* @return string
*/
public function getRequestId()
{
return $this->requestId;
}
/**
* @param int
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return int
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InstantiateWorkflowTemplateRequest::class, 'Google_Service_Dataproc_InstantiateWorkflowTemplateRequest');
@@ -0,0 +1,62 @@
<?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 Interval extends \Google\Model
{
/**
* @var string
*/
public $endTime;
/**
* @var string
*/
public $startTime;
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Interval::class, 'Google_Service_Dataproc_Interval');
@@ -0,0 +1,389 @@
<?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 Job extends \Google\Collection
{
protected $collection_key = 'yarnApplications';
/**
* @var bool
*/
public $done;
/**
* @var string
*/
public $driverControlFilesUri;
/**
* @var string
*/
public $driverOutputResourceUri;
protected $driverSchedulingConfigType = DriverSchedulingConfig::class;
protected $driverSchedulingConfigDataType = '';
protected $flinkJobType = FlinkJob::class;
protected $flinkJobDataType = '';
protected $hadoopJobType = HadoopJob::class;
protected $hadoopJobDataType = '';
protected $hiveJobType = HiveJob::class;
protected $hiveJobDataType = '';
/**
* @var string
*/
public $jobUuid;
/**
* @var string[]
*/
public $labels;
protected $pigJobType = PigJob::class;
protected $pigJobDataType = '';
protected $placementType = JobPlacement::class;
protected $placementDataType = '';
protected $prestoJobType = PrestoJob::class;
protected $prestoJobDataType = '';
protected $pysparkJobType = PySparkJob::class;
protected $pysparkJobDataType = '';
protected $referenceType = JobReference::class;
protected $referenceDataType = '';
protected $schedulingType = JobScheduling::class;
protected $schedulingDataType = '';
protected $sparkJobType = SparkJob::class;
protected $sparkJobDataType = '';
protected $sparkRJobType = SparkRJob::class;
protected $sparkRJobDataType = '';
protected $sparkSqlJobType = SparkSqlJob::class;
protected $sparkSqlJobDataType = '';
protected $statusType = JobStatus::class;
protected $statusDataType = '';
protected $statusHistoryType = JobStatus::class;
protected $statusHistoryDataType = 'array';
protected $trinoJobType = TrinoJob::class;
protected $trinoJobDataType = '';
protected $yarnApplicationsType = YarnApplication::class;
protected $yarnApplicationsDataType = 'array';
/**
* @param bool
*/
public function setDone($done)
{
$this->done = $done;
}
/**
* @return bool
*/
public function getDone()
{
return $this->done;
}
/**
* @param string
*/
public function setDriverControlFilesUri($driverControlFilesUri)
{
$this->driverControlFilesUri = $driverControlFilesUri;
}
/**
* @return string
*/
public function getDriverControlFilesUri()
{
return $this->driverControlFilesUri;
}
/**
* @param string
*/
public function setDriverOutputResourceUri($driverOutputResourceUri)
{
$this->driverOutputResourceUri = $driverOutputResourceUri;
}
/**
* @return string
*/
public function getDriverOutputResourceUri()
{
return $this->driverOutputResourceUri;
}
/**
* @param DriverSchedulingConfig
*/
public function setDriverSchedulingConfig(DriverSchedulingConfig $driverSchedulingConfig)
{
$this->driverSchedulingConfig = $driverSchedulingConfig;
}
/**
* @return DriverSchedulingConfig
*/
public function getDriverSchedulingConfig()
{
return $this->driverSchedulingConfig;
}
/**
* @param FlinkJob
*/
public function setFlinkJob(FlinkJob $flinkJob)
{
$this->flinkJob = $flinkJob;
}
/**
* @return FlinkJob
*/
public function getFlinkJob()
{
return $this->flinkJob;
}
/**
* @param HadoopJob
*/
public function setHadoopJob(HadoopJob $hadoopJob)
{
$this->hadoopJob = $hadoopJob;
}
/**
* @return HadoopJob
*/
public function getHadoopJob()
{
return $this->hadoopJob;
}
/**
* @param HiveJob
*/
public function setHiveJob(HiveJob $hiveJob)
{
$this->hiveJob = $hiveJob;
}
/**
* @return HiveJob
*/
public function getHiveJob()
{
return $this->hiveJob;
}
/**
* @param string
*/
public function setJobUuid($jobUuid)
{
$this->jobUuid = $jobUuid;
}
/**
* @return string
*/
public function getJobUuid()
{
return $this->jobUuid;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param PigJob
*/
public function setPigJob(PigJob $pigJob)
{
$this->pigJob = $pigJob;
}
/**
* @return PigJob
*/
public function getPigJob()
{
return $this->pigJob;
}
/**
* @param JobPlacement
*/
public function setPlacement(JobPlacement $placement)
{
$this->placement = $placement;
}
/**
* @return JobPlacement
*/
public function getPlacement()
{
return $this->placement;
}
/**
* @param PrestoJob
*/
public function setPrestoJob(PrestoJob $prestoJob)
{
$this->prestoJob = $prestoJob;
}
/**
* @return PrestoJob
*/
public function getPrestoJob()
{
return $this->prestoJob;
}
/**
* @param PySparkJob
*/
public function setPysparkJob(PySparkJob $pysparkJob)
{
$this->pysparkJob = $pysparkJob;
}
/**
* @return PySparkJob
*/
public function getPysparkJob()
{
return $this->pysparkJob;
}
/**
* @param JobReference
*/
public function setReference(JobReference $reference)
{
$this->reference = $reference;
}
/**
* @return JobReference
*/
public function getReference()
{
return $this->reference;
}
/**
* @param JobScheduling
*/
public function setScheduling(JobScheduling $scheduling)
{
$this->scheduling = $scheduling;
}
/**
* @return JobScheduling
*/
public function getScheduling()
{
return $this->scheduling;
}
/**
* @param SparkJob
*/
public function setSparkJob(SparkJob $sparkJob)
{
$this->sparkJob = $sparkJob;
}
/**
* @return SparkJob
*/
public function getSparkJob()
{
return $this->sparkJob;
}
/**
* @param SparkRJob
*/
public function setSparkRJob(SparkRJob $sparkRJob)
{
$this->sparkRJob = $sparkRJob;
}
/**
* @return SparkRJob
*/
public function getSparkRJob()
{
return $this->sparkRJob;
}
/**
* @param SparkSqlJob
*/
public function setSparkSqlJob(SparkSqlJob $sparkSqlJob)
{
$this->sparkSqlJob = $sparkSqlJob;
}
/**
* @return SparkSqlJob
*/
public function getSparkSqlJob()
{
return $this->sparkSqlJob;
}
/**
* @param JobStatus
*/
public function setStatus(JobStatus $status)
{
$this->status = $status;
}
/**
* @return JobStatus
*/
public function getStatus()
{
return $this->status;
}
/**
* @param JobStatus[]
*/
public function setStatusHistory($statusHistory)
{
$this->statusHistory = $statusHistory;
}
/**
* @return JobStatus[]
*/
public function getStatusHistory()
{
return $this->statusHistory;
}
/**
* @param TrinoJob
*/
public function setTrinoJob(TrinoJob $trinoJob)
{
$this->trinoJob = $trinoJob;
}
/**
* @return TrinoJob
*/
public function getTrinoJob()
{
return $this->trinoJob;
}
/**
* @param YarnApplication[]
*/
public function setYarnApplications($yarnApplications)
{
$this->yarnApplications = $yarnApplications;
}
/**
* @return YarnApplication[]
*/
public function getYarnApplications()
{
return $this->yarnApplications;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Job::class, 'Google_Service_Dataproc_Job');
@@ -0,0 +1,423 @@
<?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 JobData extends \Google\Collection
{
protected $collection_key = 'stageIds';
/**
* @var string
*/
public $completionTime;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $jobGroup;
/**
* @var string
*/
public $jobId;
/**
* @var int[]
*/
public $killTasksSummary;
/**
* @var string
*/
public $name;
/**
* @var int
*/
public $numActiveStages;
/**
* @var int
*/
public $numActiveTasks;
/**
* @var int
*/
public $numCompletedIndices;
/**
* @var int
*/
public $numCompletedStages;
/**
* @var int
*/
public $numCompletedTasks;
/**
* @var int
*/
public $numFailedStages;
/**
* @var int
*/
public $numFailedTasks;
/**
* @var int
*/
public $numKilledTasks;
/**
* @var int
*/
public $numSkippedStages;
/**
* @var int
*/
public $numSkippedTasks;
/**
* @var int
*/
public $numTasks;
/**
* @var int[]
*/
public $skippedStages;
/**
* @var string
*/
public $sqlExecutionId;
/**
* @var string[]
*/
public $stageIds;
/**
* @var string
*/
public $status;
/**
* @var string
*/
public $submissionTime;
/**
* @param string
*/
public function setCompletionTime($completionTime)
{
$this->completionTime = $completionTime;
}
/**
* @return string
*/
public function getCompletionTime()
{
return $this->completionTime;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setJobGroup($jobGroup)
{
$this->jobGroup = $jobGroup;
}
/**
* @return string
*/
public function getJobGroup()
{
return $this->jobGroup;
}
/**
* @param string
*/
public function setJobId($jobId)
{
$this->jobId = $jobId;
}
/**
* @return string
*/
public function getJobId()
{
return $this->jobId;
}
/**
* @param int[]
*/
public function setKillTasksSummary($killTasksSummary)
{
$this->killTasksSummary = $killTasksSummary;
}
/**
* @return int[]
*/
public function getKillTasksSummary()
{
return $this->killTasksSummary;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param int
*/
public function setNumActiveStages($numActiveStages)
{
$this->numActiveStages = $numActiveStages;
}
/**
* @return int
*/
public function getNumActiveStages()
{
return $this->numActiveStages;
}
/**
* @param int
*/
public function setNumActiveTasks($numActiveTasks)
{
$this->numActiveTasks = $numActiveTasks;
}
/**
* @return int
*/
public function getNumActiveTasks()
{
return $this->numActiveTasks;
}
/**
* @param int
*/
public function setNumCompletedIndices($numCompletedIndices)
{
$this->numCompletedIndices = $numCompletedIndices;
}
/**
* @return int
*/
public function getNumCompletedIndices()
{
return $this->numCompletedIndices;
}
/**
* @param int
*/
public function setNumCompletedStages($numCompletedStages)
{
$this->numCompletedStages = $numCompletedStages;
}
/**
* @return int
*/
public function getNumCompletedStages()
{
return $this->numCompletedStages;
}
/**
* @param int
*/
public function setNumCompletedTasks($numCompletedTasks)
{
$this->numCompletedTasks = $numCompletedTasks;
}
/**
* @return int
*/
public function getNumCompletedTasks()
{
return $this->numCompletedTasks;
}
/**
* @param int
*/
public function setNumFailedStages($numFailedStages)
{
$this->numFailedStages = $numFailedStages;
}
/**
* @return int
*/
public function getNumFailedStages()
{
return $this->numFailedStages;
}
/**
* @param int
*/
public function setNumFailedTasks($numFailedTasks)
{
$this->numFailedTasks = $numFailedTasks;
}
/**
* @return int
*/
public function getNumFailedTasks()
{
return $this->numFailedTasks;
}
/**
* @param int
*/
public function setNumKilledTasks($numKilledTasks)
{
$this->numKilledTasks = $numKilledTasks;
}
/**
* @return int
*/
public function getNumKilledTasks()
{
return $this->numKilledTasks;
}
/**
* @param int
*/
public function setNumSkippedStages($numSkippedStages)
{
$this->numSkippedStages = $numSkippedStages;
}
/**
* @return int
*/
public function getNumSkippedStages()
{
return $this->numSkippedStages;
}
/**
* @param int
*/
public function setNumSkippedTasks($numSkippedTasks)
{
$this->numSkippedTasks = $numSkippedTasks;
}
/**
* @return int
*/
public function getNumSkippedTasks()
{
return $this->numSkippedTasks;
}
/**
* @param int
*/
public function setNumTasks($numTasks)
{
$this->numTasks = $numTasks;
}
/**
* @return int
*/
public function getNumTasks()
{
return $this->numTasks;
}
/**
* @param int[]
*/
public function setSkippedStages($skippedStages)
{
$this->skippedStages = $skippedStages;
}
/**
* @return int[]
*/
public function getSkippedStages()
{
return $this->skippedStages;
}
/**
* @param string
*/
public function setSqlExecutionId($sqlExecutionId)
{
$this->sqlExecutionId = $sqlExecutionId;
}
/**
* @return string
*/
public function getSqlExecutionId()
{
return $this->sqlExecutionId;
}
/**
* @param string[]
*/
public function setStageIds($stageIds)
{
$this->stageIds = $stageIds;
}
/**
* @return string[]
*/
public function getStageIds()
{
return $this->stageIds;
}
/**
* @param string
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return string
*/
public function getStatus()
{
return $this->status;
}
/**
* @param string
*/
public function setSubmissionTime($submissionTime)
{
$this->submissionTime = $submissionTime;
}
/**
* @return string
*/
public function getSubmissionTime()
{
return $this->submissionTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(JobData::class, 'Google_Service_Dataproc_JobData');
@@ -0,0 +1,96 @@
<?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 JobMetadata extends \Google\Model
{
/**
* @var string
*/
public $jobId;
/**
* @var string
*/
public $operationType;
/**
* @var string
*/
public $startTime;
protected $statusType = JobStatus::class;
protected $statusDataType = '';
/**
* @param string
*/
public function setJobId($jobId)
{
$this->jobId = $jobId;
}
/**
* @return string
*/
public function getJobId()
{
return $this->jobId;
}
/**
* @param string
*/
public function setOperationType($operationType)
{
$this->operationType = $operationType;
}
/**
* @return string
*/
public function getOperationType()
{
return $this->operationType;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* @param JobStatus
*/
public function setStatus(JobStatus $status)
{
$this->status = $status;
}
/**
* @return JobStatus
*/
public function getStatus()
{
return $this->status;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(JobMetadata::class, 'Google_Service_Dataproc_JobMetadata');
@@ -0,0 +1,80 @@
<?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 JobPlacement extends \Google\Model
{
/**
* @var string[]
*/
public $clusterLabels;
/**
* @var string
*/
public $clusterName;
/**
* @var string
*/
public $clusterUuid;
/**
* @param string[]
*/
public function setClusterLabels($clusterLabels)
{
$this->clusterLabels = $clusterLabels;
}
/**
* @return string[]
*/
public function getClusterLabels()
{
return $this->clusterLabels;
}
/**
* @param string
*/
public function setClusterName($clusterName)
{
$this->clusterName = $clusterName;
}
/**
* @return string
*/
public function getClusterName()
{
return $this->clusterName;
}
/**
* @param string
*/
public function setClusterUuid($clusterUuid)
{
$this->clusterUuid = $clusterUuid;
}
/**
* @return string
*/
public function getClusterUuid()
{
return $this->clusterUuid;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(JobPlacement::class, 'Google_Service_Dataproc_JobPlacement');
@@ -0,0 +1,62 @@
<?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 JobReference extends \Google\Model
{
/**
* @var string
*/
public $jobId;
/**
* @var string
*/
public $projectId;
/**
* @param string
*/
public function setJobId($jobId)
{
$this->jobId = $jobId;
}
/**
* @return string
*/
public function getJobId()
{
return $this->jobId;
}
/**
* @param string
*/
public function setProjectId($projectId)
{
$this->projectId = $projectId;
}
/**
* @return string
*/
public function getProjectId()
{
return $this->projectId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(JobReference::class, 'Google_Service_Dataproc_JobReference');
@@ -0,0 +1,62 @@
<?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 JobScheduling extends \Google\Model
{
/**
* @var int
*/
public $maxFailuresPerHour;
/**
* @var int
*/
public $maxFailuresTotal;
/**
* @param int
*/
public function setMaxFailuresPerHour($maxFailuresPerHour)
{
$this->maxFailuresPerHour = $maxFailuresPerHour;
}
/**
* @return int
*/
public function getMaxFailuresPerHour()
{
return $this->maxFailuresPerHour;
}
/**
* @param int
*/
public function setMaxFailuresTotal($maxFailuresTotal)
{
$this->maxFailuresTotal = $maxFailuresTotal;
}
/**
* @return int
*/
public function getMaxFailuresTotal()
{
return $this->maxFailuresTotal;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(JobScheduling::class, 'Google_Service_Dataproc_JobScheduling');
@@ -0,0 +1,98 @@
<?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 JobStatus extends \Google\Model
{
/**
* @var string
*/
public $details;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $stateStartTime;
/**
* @var string
*/
public $substate;
/**
* @param string
*/
public function setDetails($details)
{
$this->details = $details;
}
/**
* @return string
*/
public function getDetails()
{
return $this->details;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setStateStartTime($stateStartTime)
{
$this->stateStartTime = $stateStartTime;
}
/**
* @return string
*/
public function getStateStartTime()
{
return $this->stateStartTime;
}
/**
* @param string
*/
public function setSubstate($substate)
{
$this->substate = $substate;
}
/**
* @return string
*/
public function getSubstate()
{
return $this->substate;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(JobStatus::class, 'Google_Service_Dataproc_JobStatus');
@@ -0,0 +1,133 @@
<?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 JobsSummary extends \Google\Collection
{
protected $collection_key = 'attempts';
/**
* @var int
*/
public $activeJobs;
/**
* @var string
*/
public $applicationId;
protected $attemptsType = ApplicationAttemptInfo::class;
protected $attemptsDataType = 'array';
/**
* @var int
*/
public $completedJobs;
/**
* @var int
*/
public $failedJobs;
/**
* @var string
*/
public $schedulingMode;
/**
* @param int
*/
public function setActiveJobs($activeJobs)
{
$this->activeJobs = $activeJobs;
}
/**
* @return int
*/
public function getActiveJobs()
{
return $this->activeJobs;
}
/**
* @param string
*/
public function setApplicationId($applicationId)
{
$this->applicationId = $applicationId;
}
/**
* @return string
*/
public function getApplicationId()
{
return $this->applicationId;
}
/**
* @param ApplicationAttemptInfo[]
*/
public function setAttempts($attempts)
{
$this->attempts = $attempts;
}
/**
* @return ApplicationAttemptInfo[]
*/
public function getAttempts()
{
return $this->attempts;
}
/**
* @param int
*/
public function setCompletedJobs($completedJobs)
{
$this->completedJobs = $completedJobs;
}
/**
* @return int
*/
public function getCompletedJobs()
{
return $this->completedJobs;
}
/**
* @param int
*/
public function setFailedJobs($failedJobs)
{
$this->failedJobs = $failedJobs;
}
/**
* @return int
*/
public function getFailedJobs()
{
return $this->failedJobs;
}
/**
* @param string
*/
public function setSchedulingMode($schedulingMode)
{
$this->schedulingMode = $schedulingMode;
}
/**
* @return string
*/
public function getSchedulingMode()
{
return $this->schedulingMode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(JobsSummary::class, 'Google_Service_Dataproc_JobsSummary');
@@ -0,0 +1,62 @@
<?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 JupyterConfig extends \Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $kernel;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setKernel($kernel)
{
$this->kernel = $kernel;
}
/**
* @return string
*/
public function getKernel()
{
return $this->kernel;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(JupyterConfig::class, 'Google_Service_Dataproc_JupyterConfig');
@@ -0,0 +1,296 @@
<?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 KerberosConfig extends \Google\Model
{
/**
* @var string
*/
public $crossRealmTrustAdminServer;
/**
* @var string
*/
public $crossRealmTrustKdc;
/**
* @var string
*/
public $crossRealmTrustRealm;
/**
* @var string
*/
public $crossRealmTrustSharedPasswordUri;
/**
* @var bool
*/
public $enableKerberos;
/**
* @var string
*/
public $kdcDbKeyUri;
/**
* @var string
*/
public $keyPasswordUri;
/**
* @var string
*/
public $keystorePasswordUri;
/**
* @var string
*/
public $keystoreUri;
/**
* @var string
*/
public $kmsKeyUri;
/**
* @var string
*/
public $realm;
/**
* @var string
*/
public $rootPrincipalPasswordUri;
/**
* @var int
*/
public $tgtLifetimeHours;
/**
* @var string
*/
public $truststorePasswordUri;
/**
* @var string
*/
public $truststoreUri;
/**
* @param string
*/
public function setCrossRealmTrustAdminServer($crossRealmTrustAdminServer)
{
$this->crossRealmTrustAdminServer = $crossRealmTrustAdminServer;
}
/**
* @return string
*/
public function getCrossRealmTrustAdminServer()
{
return $this->crossRealmTrustAdminServer;
}
/**
* @param string
*/
public function setCrossRealmTrustKdc($crossRealmTrustKdc)
{
$this->crossRealmTrustKdc = $crossRealmTrustKdc;
}
/**
* @return string
*/
public function getCrossRealmTrustKdc()
{
return $this->crossRealmTrustKdc;
}
/**
* @param string
*/
public function setCrossRealmTrustRealm($crossRealmTrustRealm)
{
$this->crossRealmTrustRealm = $crossRealmTrustRealm;
}
/**
* @return string
*/
public function getCrossRealmTrustRealm()
{
return $this->crossRealmTrustRealm;
}
/**
* @param string
*/
public function setCrossRealmTrustSharedPasswordUri($crossRealmTrustSharedPasswordUri)
{
$this->crossRealmTrustSharedPasswordUri = $crossRealmTrustSharedPasswordUri;
}
/**
* @return string
*/
public function getCrossRealmTrustSharedPasswordUri()
{
return $this->crossRealmTrustSharedPasswordUri;
}
/**
* @param bool
*/
public function setEnableKerberos($enableKerberos)
{
$this->enableKerberos = $enableKerberos;
}
/**
* @return bool
*/
public function getEnableKerberos()
{
return $this->enableKerberos;
}
/**
* @param string
*/
public function setKdcDbKeyUri($kdcDbKeyUri)
{
$this->kdcDbKeyUri = $kdcDbKeyUri;
}
/**
* @return string
*/
public function getKdcDbKeyUri()
{
return $this->kdcDbKeyUri;
}
/**
* @param string
*/
public function setKeyPasswordUri($keyPasswordUri)
{
$this->keyPasswordUri = $keyPasswordUri;
}
/**
* @return string
*/
public function getKeyPasswordUri()
{
return $this->keyPasswordUri;
}
/**
* @param string
*/
public function setKeystorePasswordUri($keystorePasswordUri)
{
$this->keystorePasswordUri = $keystorePasswordUri;
}
/**
* @return string
*/
public function getKeystorePasswordUri()
{
return $this->keystorePasswordUri;
}
/**
* @param string
*/
public function setKeystoreUri($keystoreUri)
{
$this->keystoreUri = $keystoreUri;
}
/**
* @return string
*/
public function getKeystoreUri()
{
return $this->keystoreUri;
}
/**
* @param string
*/
public function setKmsKeyUri($kmsKeyUri)
{
$this->kmsKeyUri = $kmsKeyUri;
}
/**
* @return string
*/
public function getKmsKeyUri()
{
return $this->kmsKeyUri;
}
/**
* @param string
*/
public function setRealm($realm)
{
$this->realm = $realm;
}
/**
* @return string
*/
public function getRealm()
{
return $this->realm;
}
/**
* @param string
*/
public function setRootPrincipalPasswordUri($rootPrincipalPasswordUri)
{
$this->rootPrincipalPasswordUri = $rootPrincipalPasswordUri;
}
/**
* @return string
*/
public function getRootPrincipalPasswordUri()
{
return $this->rootPrincipalPasswordUri;
}
/**
* @param int
*/
public function setTgtLifetimeHours($tgtLifetimeHours)
{
$this->tgtLifetimeHours = $tgtLifetimeHours;
}
/**
* @return int
*/
public function getTgtLifetimeHours()
{
return $this->tgtLifetimeHours;
}
/**
* @param string
*/
public function setTruststorePasswordUri($truststorePasswordUri)
{
$this->truststorePasswordUri = $truststorePasswordUri;
}
/**
* @return string
*/
public function getTruststorePasswordUri()
{
return $this->truststorePasswordUri;
}
/**
* @param string
*/
public function setTruststoreUri($truststoreUri)
{
$this->truststoreUri = $truststoreUri;
}
/**
* @return string
*/
public function getTruststoreUri()
{
return $this->truststoreUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(KerberosConfig::class, 'Google_Service_Dataproc_KerberosConfig');

Some files were not shown because too many files have changed in this diff Show More