241 lines
4.0 KiB
PHP
241 lines
4.0 KiB
PHP
<?php
|
|
/*
|
|
* Copyright 2014 Google Inc.
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
|
* use this file except in compliance with the License. You may obtain a copy of
|
|
* the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
* License for the specific language governing permissions and limitations under
|
|
* the License.
|
|
*/
|
|
|
|
namespace Google\Service\CloudDataplex;
|
|
|
|
class GoogleCloudDataplexV1Job extends \Google\Model
|
|
{
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $endTime;
|
|
protected $executionSpecType = GoogleCloudDataplexV1TaskExecutionSpec::class;
|
|
protected $executionSpecDataType = '';
|
|
/**
|
|
* @var string[]
|
|
*/
|
|
public $labels;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $message;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $name;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $retryCount;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $service;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $serviceJob;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $startTime;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $state;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $trigger;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $uid;
|
|
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setEndTime($endTime)
|
|
{
|
|
$this->endTime = $endTime;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getEndTime()
|
|
{
|
|
return $this->endTime;
|
|
}
|
|
/**
|
|
* @param GoogleCloudDataplexV1TaskExecutionSpec
|
|
*/
|
|
public function setExecutionSpec(GoogleCloudDataplexV1TaskExecutionSpec $executionSpec)
|
|
{
|
|
$this->executionSpec = $executionSpec;
|
|
}
|
|
/**
|
|
* @return GoogleCloudDataplexV1TaskExecutionSpec
|
|
*/
|
|
public function getExecutionSpec()
|
|
{
|
|
return $this->executionSpec;
|
|
}
|
|
/**
|
|
* @param string[]
|
|
*/
|
|
public function setLabels($labels)
|
|
{
|
|
$this->labels = $labels;
|
|
}
|
|
/**
|
|
* @return string[]
|
|
*/
|
|
public function getLabels()
|
|
{
|
|
return $this->labels;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setMessage($message)
|
|
{
|
|
$this->message = $message;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getMessage()
|
|
{
|
|
return $this->message;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setName($name)
|
|
{
|
|
$this->name = $name;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getName()
|
|
{
|
|
return $this->name;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setRetryCount($retryCount)
|
|
{
|
|
$this->retryCount = $retryCount;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getRetryCount()
|
|
{
|
|
return $this->retryCount;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setService($service)
|
|
{
|
|
$this->service = $service;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getService()
|
|
{
|
|
return $this->service;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setServiceJob($serviceJob)
|
|
{
|
|
$this->serviceJob = $serviceJob;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getServiceJob()
|
|
{
|
|
return $this->serviceJob;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setStartTime($startTime)
|
|
{
|
|
$this->startTime = $startTime;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getStartTime()
|
|
{
|
|
return $this->startTime;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setState($state)
|
|
{
|
|
$this->state = $state;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getState()
|
|
{
|
|
return $this->state;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setTrigger($trigger)
|
|
{
|
|
$this->trigger = $trigger;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getTrigger()
|
|
{
|
|
return $this->trigger;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setUid($uid)
|
|
{
|
|
$this->uid = $uid;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getUid()
|
|
{
|
|
return $this->uid;
|
|
}
|
|
}
|
|
|
|
// Adding a class alias for backwards compatibility with the previous class name.
|
|
class_alias(GoogleCloudDataplexV1Job::class, 'Google_Service_CloudDataplex_GoogleCloudDataplexV1Job');
|