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
18namespace Google\Service\ContainerAnalysis;
19
20class BuildStep extends \Google\Collection
21{
22  protected $collection_key = 'waitFor';
23  public $args;
24  public $dir;
25  public $entrypoint;
26  public $env;
27  public $id;
28  public $name;
29  protected $pullTimingType = TimeSpan::class;
30  protected $pullTimingDataType = '';
31  public $script;
32  public $secretEnv;
33  public $status;
34  public $timeout;
35  protected $timingType = TimeSpan::class;
36  protected $timingDataType = '';
37  protected $volumesType = Volume::class;
38  protected $volumesDataType = 'array';
39  public $waitFor;
40
41  public function setArgs($args)
42  {
43    $this->args = $args;
44  }
45  public function getArgs()
46  {
47    return $this->args;
48  }
49  public function setDir($dir)
50  {
51    $this->dir = $dir;
52  }
53  public function getDir()
54  {
55    return $this->dir;
56  }
57  public function setEntrypoint($entrypoint)
58  {
59    $this->entrypoint = $entrypoint;
60  }
61  public function getEntrypoint()
62  {
63    return $this->entrypoint;
64  }
65  public function setEnv($env)
66  {
67    $this->env = $env;
68  }
69  public function getEnv()
70  {
71    return $this->env;
72  }
73  public function setId($id)
74  {
75    $this->id = $id;
76  }
77  public function getId()
78  {
79    return $this->id;
80  }
81  public function setName($name)
82  {
83    $this->name = $name;
84  }
85  public function getName()
86  {
87    return $this->name;
88  }
89  /**
90   * @param TimeSpan
91   */
92  public function setPullTiming(TimeSpan $pullTiming)
93  {
94    $this->pullTiming = $pullTiming;
95  }
96  /**
97   * @return TimeSpan
98   */
99  public function getPullTiming()
100  {
101    return $this->pullTiming;
102  }
103  public function setScript($script)
104  {
105    $this->script = $script;
106  }
107  public function getScript()
108  {
109    return $this->script;
110  }
111  public function setSecretEnv($secretEnv)
112  {
113    $this->secretEnv = $secretEnv;
114  }
115  public function getSecretEnv()
116  {
117    return $this->secretEnv;
118  }
119  public function setStatus($status)
120  {
121    $this->status = $status;
122  }
123  public function getStatus()
124  {
125    return $this->status;
126  }
127  public function setTimeout($timeout)
128  {
129    $this->timeout = $timeout;
130  }
131  public function getTimeout()
132  {
133    return $this->timeout;
134  }
135  /**
136   * @param TimeSpan
137   */
138  public function setTiming(TimeSpan $timing)
139  {
140    $this->timing = $timing;
141  }
142  /**
143   * @return TimeSpan
144   */
145  public function getTiming()
146  {
147    return $this->timing;
148  }
149  /**
150   * @param Volume[]
151   */
152  public function setVolumes($volumes)
153  {
154    $this->volumes = $volumes;
155  }
156  /**
157   * @return Volume[]
158   */
159  public function getVolumes()
160  {
161    return $this->volumes;
162  }
163  public function setWaitFor($waitFor)
164  {
165    $this->waitFor = $waitFor;
166  }
167  public function getWaitFor()
168  {
169    return $this->waitFor;
170  }
171}
172
173// Adding a class alias for backwards compatibility with the previous class name.
174class_alias(BuildStep::class, 'Google_Service_ContainerAnalysis_BuildStep');
175