[e3d4e0a] | 1 | <?php
|
---|
| 2 | /*
|
---|
| 3 | * Copyright 2014 Google Inc.
|
---|
| 4 | *
|
---|
| 5 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
---|
| 6 | * use this file except in compliance with the License. You may obtain a copy of
|
---|
| 7 | * the License at
|
---|
| 8 | *
|
---|
| 9 | * http://www.apache.org/licenses/LICENSE-2.0
|
---|
| 10 | *
|
---|
| 11 | * Unless required by applicable law or agreed to in writing, software
|
---|
| 12 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
---|
| 13 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
---|
| 14 | * License for the specific language governing permissions and limitations under
|
---|
| 15 | * the License.
|
---|
| 16 | */
|
---|
| 17 |
|
---|
| 18 | namespace Google\Service\Bigquery;
|
---|
| 19 |
|
---|
| 20 | class JobListJobs extends \Google\Model
|
---|
| 21 | {
|
---|
| 22 | protected $internal_gapi_mappings = [
|
---|
| 23 | "principalSubject" => "principal_subject",
|
---|
| 24 | "userEmail" => "user_email",
|
---|
| 25 | ];
|
---|
| 26 | protected $configurationType = JobConfiguration::class;
|
---|
| 27 | protected $configurationDataType = '';
|
---|
| 28 | protected $errorResultType = ErrorProto::class;
|
---|
| 29 | protected $errorResultDataType = '';
|
---|
| 30 | /**
|
---|
| 31 | * @var string
|
---|
| 32 | */
|
---|
| 33 | public $id;
|
---|
| 34 | protected $jobReferenceType = JobReference::class;
|
---|
| 35 | protected $jobReferenceDataType = '';
|
---|
| 36 | /**
|
---|
| 37 | * @var string
|
---|
| 38 | */
|
---|
| 39 | public $kind;
|
---|
| 40 | /**
|
---|
| 41 | * @var string
|
---|
| 42 | */
|
---|
| 43 | public $principalSubject;
|
---|
| 44 | /**
|
---|
| 45 | * @var string
|
---|
| 46 | */
|
---|
| 47 | public $state;
|
---|
| 48 | protected $statisticsType = JobStatistics::class;
|
---|
| 49 | protected $statisticsDataType = '';
|
---|
| 50 | protected $statusType = JobStatus::class;
|
---|
| 51 | protected $statusDataType = '';
|
---|
| 52 | /**
|
---|
| 53 | * @var string
|
---|
| 54 | */
|
---|
| 55 | public $userEmail;
|
---|
| 56 |
|
---|
| 57 | /**
|
---|
| 58 | * @param JobConfiguration
|
---|
| 59 | */
|
---|
| 60 | public function setConfiguration(JobConfiguration $configuration)
|
---|
| 61 | {
|
---|
| 62 | $this->configuration = $configuration;
|
---|
| 63 | }
|
---|
| 64 | /**
|
---|
| 65 | * @return JobConfiguration
|
---|
| 66 | */
|
---|
| 67 | public function getConfiguration()
|
---|
| 68 | {
|
---|
| 69 | return $this->configuration;
|
---|
| 70 | }
|
---|
| 71 | /**
|
---|
| 72 | * @param ErrorProto
|
---|
| 73 | */
|
---|
| 74 | public function setErrorResult(ErrorProto $errorResult)
|
---|
| 75 | {
|
---|
| 76 | $this->errorResult = $errorResult;
|
---|
| 77 | }
|
---|
| 78 | /**
|
---|
| 79 | * @return ErrorProto
|
---|
| 80 | */
|
---|
| 81 | public function getErrorResult()
|
---|
| 82 | {
|
---|
| 83 | return $this->errorResult;
|
---|
| 84 | }
|
---|
| 85 | /**
|
---|
| 86 | * @param string
|
---|
| 87 | */
|
---|
| 88 | public function setId($id)
|
---|
| 89 | {
|
---|
| 90 | $this->id = $id;
|
---|
| 91 | }
|
---|
| 92 | /**
|
---|
| 93 | * @return string
|
---|
| 94 | */
|
---|
| 95 | public function getId()
|
---|
| 96 | {
|
---|
| 97 | return $this->id;
|
---|
| 98 | }
|
---|
| 99 | /**
|
---|
| 100 | * @param JobReference
|
---|
| 101 | */
|
---|
| 102 | public function setJobReference(JobReference $jobReference)
|
---|
| 103 | {
|
---|
| 104 | $this->jobReference = $jobReference;
|
---|
| 105 | }
|
---|
| 106 | /**
|
---|
| 107 | * @return JobReference
|
---|
| 108 | */
|
---|
| 109 | public function getJobReference()
|
---|
| 110 | {
|
---|
| 111 | return $this->jobReference;
|
---|
| 112 | }
|
---|
| 113 | /**
|
---|
| 114 | * @param string
|
---|
| 115 | */
|
---|
| 116 | public function setKind($kind)
|
---|
| 117 | {
|
---|
| 118 | $this->kind = $kind;
|
---|
| 119 | }
|
---|
| 120 | /**
|
---|
| 121 | * @return string
|
---|
| 122 | */
|
---|
| 123 | public function getKind()
|
---|
| 124 | {
|
---|
| 125 | return $this->kind;
|
---|
| 126 | }
|
---|
| 127 | /**
|
---|
| 128 | * @param string
|
---|
| 129 | */
|
---|
| 130 | public function setPrincipalSubject($principalSubject)
|
---|
| 131 | {
|
---|
| 132 | $this->principalSubject = $principalSubject;
|
---|
| 133 | }
|
---|
| 134 | /**
|
---|
| 135 | * @return string
|
---|
| 136 | */
|
---|
| 137 | public function getPrincipalSubject()
|
---|
| 138 | {
|
---|
| 139 | return $this->principalSubject;
|
---|
| 140 | }
|
---|
| 141 | /**
|
---|
| 142 | * @param string
|
---|
| 143 | */
|
---|
| 144 | public function setState($state)
|
---|
| 145 | {
|
---|
| 146 | $this->state = $state;
|
---|
| 147 | }
|
---|
| 148 | /**
|
---|
| 149 | * @return string
|
---|
| 150 | */
|
---|
| 151 | public function getState()
|
---|
| 152 | {
|
---|
| 153 | return $this->state;
|
---|
| 154 | }
|
---|
| 155 | /**
|
---|
| 156 | * @param JobStatistics
|
---|
| 157 | */
|
---|
| 158 | public function setStatistics(JobStatistics $statistics)
|
---|
| 159 | {
|
---|
| 160 | $this->statistics = $statistics;
|
---|
| 161 | }
|
---|
| 162 | /**
|
---|
| 163 | * @return JobStatistics
|
---|
| 164 | */
|
---|
| 165 | public function getStatistics()
|
---|
| 166 | {
|
---|
| 167 | return $this->statistics;
|
---|
| 168 | }
|
---|
| 169 | /**
|
---|
| 170 | * @param JobStatus
|
---|
| 171 | */
|
---|
| 172 | public function setStatus(JobStatus $status)
|
---|
| 173 | {
|
---|
| 174 | $this->status = $status;
|
---|
| 175 | }
|
---|
| 176 | /**
|
---|
| 177 | * @return JobStatus
|
---|
| 178 | */
|
---|
| 179 | public function getStatus()
|
---|
| 180 | {
|
---|
| 181 | return $this->status;
|
---|
| 182 | }
|
---|
| 183 | /**
|
---|
| 184 | * @param string
|
---|
| 185 | */
|
---|
| 186 | public function setUserEmail($userEmail)
|
---|
| 187 | {
|
---|
| 188 | $this->userEmail = $userEmail;
|
---|
| 189 | }
|
---|
| 190 | /**
|
---|
| 191 | * @return string
|
---|
| 192 | */
|
---|
| 193 | public function getUserEmail()
|
---|
| 194 | {
|
---|
| 195 | return $this->userEmail;
|
---|
| 196 | }
|
---|
| 197 | }
|
---|
| 198 |
|
---|
| 199 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 200 | class_alias(JobListJobs::class, 'Google_Service_Bigquery_JobListJobs');
|
---|