[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\Eventarc;
|
---|
| 19 |
|
---|
| 20 | class Pipeline extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'mediations';
|
---|
| 23 | /**
|
---|
| 24 | * @var string[]
|
---|
| 25 | */
|
---|
| 26 | public $annotations;
|
---|
| 27 | /**
|
---|
| 28 | * @var string
|
---|
| 29 | */
|
---|
| 30 | public $createTime;
|
---|
| 31 | /**
|
---|
| 32 | * @var string
|
---|
| 33 | */
|
---|
| 34 | public $cryptoKeyName;
|
---|
| 35 | protected $destinationsType = GoogleCloudEventarcV1PipelineDestination::class;
|
---|
| 36 | protected $destinationsDataType = 'array';
|
---|
| 37 | /**
|
---|
| 38 | * @var string
|
---|
| 39 | */
|
---|
| 40 | public $displayName;
|
---|
| 41 | /**
|
---|
| 42 | * @var string
|
---|
| 43 | */
|
---|
| 44 | public $etag;
|
---|
| 45 | protected $inputPayloadFormatType = GoogleCloudEventarcV1PipelineMessagePayloadFormat::class;
|
---|
| 46 | protected $inputPayloadFormatDataType = '';
|
---|
| 47 | /**
|
---|
| 48 | * @var string[]
|
---|
| 49 | */
|
---|
| 50 | public $labels;
|
---|
| 51 | protected $loggingConfigType = LoggingConfig::class;
|
---|
| 52 | protected $loggingConfigDataType = '';
|
---|
| 53 | protected $mediationsType = GoogleCloudEventarcV1PipelineMediation::class;
|
---|
| 54 | protected $mediationsDataType = 'array';
|
---|
| 55 | /**
|
---|
| 56 | * @var string
|
---|
| 57 | */
|
---|
| 58 | public $name;
|
---|
| 59 | protected $retryPolicyType = GoogleCloudEventarcV1PipelineRetryPolicy::class;
|
---|
| 60 | protected $retryPolicyDataType = '';
|
---|
| 61 | /**
|
---|
| 62 | * @var string
|
---|
| 63 | */
|
---|
| 64 | public $uid;
|
---|
| 65 | /**
|
---|
| 66 | * @var string
|
---|
| 67 | */
|
---|
| 68 | public $updateTime;
|
---|
| 69 |
|
---|
| 70 | /**
|
---|
| 71 | * @param string[]
|
---|
| 72 | */
|
---|
| 73 | public function setAnnotations($annotations)
|
---|
| 74 | {
|
---|
| 75 | $this->annotations = $annotations;
|
---|
| 76 | }
|
---|
| 77 | /**
|
---|
| 78 | * @return string[]
|
---|
| 79 | */
|
---|
| 80 | public function getAnnotations()
|
---|
| 81 | {
|
---|
| 82 | return $this->annotations;
|
---|
| 83 | }
|
---|
| 84 | /**
|
---|
| 85 | * @param string
|
---|
| 86 | */
|
---|
| 87 | public function setCreateTime($createTime)
|
---|
| 88 | {
|
---|
| 89 | $this->createTime = $createTime;
|
---|
| 90 | }
|
---|
| 91 | /**
|
---|
| 92 | * @return string
|
---|
| 93 | */
|
---|
| 94 | public function getCreateTime()
|
---|
| 95 | {
|
---|
| 96 | return $this->createTime;
|
---|
| 97 | }
|
---|
| 98 | /**
|
---|
| 99 | * @param string
|
---|
| 100 | */
|
---|
| 101 | public function setCryptoKeyName($cryptoKeyName)
|
---|
| 102 | {
|
---|
| 103 | $this->cryptoKeyName = $cryptoKeyName;
|
---|
| 104 | }
|
---|
| 105 | /**
|
---|
| 106 | * @return string
|
---|
| 107 | */
|
---|
| 108 | public function getCryptoKeyName()
|
---|
| 109 | {
|
---|
| 110 | return $this->cryptoKeyName;
|
---|
| 111 | }
|
---|
| 112 | /**
|
---|
| 113 | * @param GoogleCloudEventarcV1PipelineDestination[]
|
---|
| 114 | */
|
---|
| 115 | public function setDestinations($destinations)
|
---|
| 116 | {
|
---|
| 117 | $this->destinations = $destinations;
|
---|
| 118 | }
|
---|
| 119 | /**
|
---|
| 120 | * @return GoogleCloudEventarcV1PipelineDestination[]
|
---|
| 121 | */
|
---|
| 122 | public function getDestinations()
|
---|
| 123 | {
|
---|
| 124 | return $this->destinations;
|
---|
| 125 | }
|
---|
| 126 | /**
|
---|
| 127 | * @param string
|
---|
| 128 | */
|
---|
| 129 | public function setDisplayName($displayName)
|
---|
| 130 | {
|
---|
| 131 | $this->displayName = $displayName;
|
---|
| 132 | }
|
---|
| 133 | /**
|
---|
| 134 | * @return string
|
---|
| 135 | */
|
---|
| 136 | public function getDisplayName()
|
---|
| 137 | {
|
---|
| 138 | return $this->displayName;
|
---|
| 139 | }
|
---|
| 140 | /**
|
---|
| 141 | * @param string
|
---|
| 142 | */
|
---|
| 143 | public function setEtag($etag)
|
---|
| 144 | {
|
---|
| 145 | $this->etag = $etag;
|
---|
| 146 | }
|
---|
| 147 | /**
|
---|
| 148 | * @return string
|
---|
| 149 | */
|
---|
| 150 | public function getEtag()
|
---|
| 151 | {
|
---|
| 152 | return $this->etag;
|
---|
| 153 | }
|
---|
| 154 | /**
|
---|
| 155 | * @param GoogleCloudEventarcV1PipelineMessagePayloadFormat
|
---|
| 156 | */
|
---|
| 157 | public function setInputPayloadFormat(GoogleCloudEventarcV1PipelineMessagePayloadFormat $inputPayloadFormat)
|
---|
| 158 | {
|
---|
| 159 | $this->inputPayloadFormat = $inputPayloadFormat;
|
---|
| 160 | }
|
---|
| 161 | /**
|
---|
| 162 | * @return GoogleCloudEventarcV1PipelineMessagePayloadFormat
|
---|
| 163 | */
|
---|
| 164 | public function getInputPayloadFormat()
|
---|
| 165 | {
|
---|
| 166 | return $this->inputPayloadFormat;
|
---|
| 167 | }
|
---|
| 168 | /**
|
---|
| 169 | * @param string[]
|
---|
| 170 | */
|
---|
| 171 | public function setLabels($labels)
|
---|
| 172 | {
|
---|
| 173 | $this->labels = $labels;
|
---|
| 174 | }
|
---|
| 175 | /**
|
---|
| 176 | * @return string[]
|
---|
| 177 | */
|
---|
| 178 | public function getLabels()
|
---|
| 179 | {
|
---|
| 180 | return $this->labels;
|
---|
| 181 | }
|
---|
| 182 | /**
|
---|
| 183 | * @param LoggingConfig
|
---|
| 184 | */
|
---|
| 185 | public function setLoggingConfig(LoggingConfig $loggingConfig)
|
---|
| 186 | {
|
---|
| 187 | $this->loggingConfig = $loggingConfig;
|
---|
| 188 | }
|
---|
| 189 | /**
|
---|
| 190 | * @return LoggingConfig
|
---|
| 191 | */
|
---|
| 192 | public function getLoggingConfig()
|
---|
| 193 | {
|
---|
| 194 | return $this->loggingConfig;
|
---|
| 195 | }
|
---|
| 196 | /**
|
---|
| 197 | * @param GoogleCloudEventarcV1PipelineMediation[]
|
---|
| 198 | */
|
---|
| 199 | public function setMediations($mediations)
|
---|
| 200 | {
|
---|
| 201 | $this->mediations = $mediations;
|
---|
| 202 | }
|
---|
| 203 | /**
|
---|
| 204 | * @return GoogleCloudEventarcV1PipelineMediation[]
|
---|
| 205 | */
|
---|
| 206 | public function getMediations()
|
---|
| 207 | {
|
---|
| 208 | return $this->mediations;
|
---|
| 209 | }
|
---|
| 210 | /**
|
---|
| 211 | * @param string
|
---|
| 212 | */
|
---|
| 213 | public function setName($name)
|
---|
| 214 | {
|
---|
| 215 | $this->name = $name;
|
---|
| 216 | }
|
---|
| 217 | /**
|
---|
| 218 | * @return string
|
---|
| 219 | */
|
---|
| 220 | public function getName()
|
---|
| 221 | {
|
---|
| 222 | return $this->name;
|
---|
| 223 | }
|
---|
| 224 | /**
|
---|
| 225 | * @param GoogleCloudEventarcV1PipelineRetryPolicy
|
---|
| 226 | */
|
---|
| 227 | public function setRetryPolicy(GoogleCloudEventarcV1PipelineRetryPolicy $retryPolicy)
|
---|
| 228 | {
|
---|
| 229 | $this->retryPolicy = $retryPolicy;
|
---|
| 230 | }
|
---|
| 231 | /**
|
---|
| 232 | * @return GoogleCloudEventarcV1PipelineRetryPolicy
|
---|
| 233 | */
|
---|
| 234 | public function getRetryPolicy()
|
---|
| 235 | {
|
---|
| 236 | return $this->retryPolicy;
|
---|
| 237 | }
|
---|
| 238 | /**
|
---|
| 239 | * @param string
|
---|
| 240 | */
|
---|
| 241 | public function setUid($uid)
|
---|
| 242 | {
|
---|
| 243 | $this->uid = $uid;
|
---|
| 244 | }
|
---|
| 245 | /**
|
---|
| 246 | * @return string
|
---|
| 247 | */
|
---|
| 248 | public function getUid()
|
---|
| 249 | {
|
---|
| 250 | return $this->uid;
|
---|
| 251 | }
|
---|
| 252 | /**
|
---|
| 253 | * @param string
|
---|
| 254 | */
|
---|
| 255 | public function setUpdateTime($updateTime)
|
---|
| 256 | {
|
---|
| 257 | $this->updateTime = $updateTime;
|
---|
| 258 | }
|
---|
| 259 | /**
|
---|
| 260 | * @return string
|
---|
| 261 | */
|
---|
| 262 | public function getUpdateTime()
|
---|
| 263 | {
|
---|
| 264 | return $this->updateTime;
|
---|
| 265 | }
|
---|
| 266 | }
|
---|
| 267 |
|
---|
| 268 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 269 | class_alias(Pipeline::class, 'Google_Service_Eventarc_Pipeline');
|
---|