Skip to content

Commit d6126bb

Browse files
1 parent e764b8d commit d6126bb

5 files changed

Lines changed: 224 additions & 4 deletions

src/CloudRun/GoogleCloudRunV2Execution.php

Lines changed: 46 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,18 @@ class GoogleCloudRunV2Execution extends \Google\Collection
8787
* @var int
8888
*/
8989
public $cancelledCount;
90+
/**
91+
* Output only. Arbitrary identifier for the API client.
92+
*
93+
* @var string
94+
*/
95+
public $client;
96+
/**
97+
* Output only. Arbitrary version identifier for the API client.
98+
*
99+
* @var string
100+
*/
101+
public $clientVersion;
90102
/**
91103
* Output only. Represents time when the execution was completed. It is not
92104
* guaranteed to be set in happens-before order across separate operations.
@@ -168,7 +180,7 @@ class GoogleCloudRunV2Execution extends \Google\Collection
168180
* Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports
169181
* `ALPHA`, `BETA`, and `GA`. Note that this value might not be what was used
170182
* as input. For example, if ALPHA was provided as input in the parent
171-
* resource, but only BETA and GA-level features are were, this field will be
183+
* resource, but only BETA and GA-level features are used, this field will be
172184
* BETA.
173185
*
174186
* @var string
@@ -303,6 +315,38 @@ public function getCancelledCount()
303315
{
304316
return $this->cancelledCount;
305317
}
318+
/**
319+
* Output only. Arbitrary identifier for the API client.
320+
*
321+
* @param string $client
322+
*/
323+
public function setClient($client)
324+
{
325+
$this->client = $client;
326+
}
327+
/**
328+
* @return string
329+
*/
330+
public function getClient()
331+
{
332+
return $this->client;
333+
}
334+
/**
335+
* Output only. Arbitrary version identifier for the API client.
336+
*
337+
* @param string $clientVersion
338+
*/
339+
public function setClientVersion($clientVersion)
340+
{
341+
$this->clientVersion = $clientVersion;
342+
}
343+
/**
344+
* @return string
345+
*/
346+
public function getClientVersion()
347+
{
348+
return $this->clientVersion;
349+
}
306350
/**
307351
* Output only. Represents time when the execution was completed. It is not
308352
* guaranteed to be set in happens-before order across separate operations.
@@ -500,7 +544,7 @@ public function getLabels()
500544
* Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports
501545
* `ALPHA`, `BETA`, and `GA`. Note that this value might not be what was used
502546
* as input. For example, if ALPHA was provided as input in the parent
503-
* resource, but only BETA and GA-level features are were, this field will be
547+
* resource, but only BETA and GA-level features are used, this field will be
504548
* BETA.
505549
*
506550
* Accepted values: LAUNCH_STAGE_UNSPECIFIED, UNIMPLEMENTED, PRELAUNCH,

src/CloudRun/GoogleCloudRunV2ExecutionTemplate.php

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,18 @@ class GoogleCloudRunV2ExecutionTemplate extends \Google\Model
3131
* @var string[]
3232
*/
3333
public $annotations;
34+
/**
35+
* Optional. Arbitrary identifier for the API client.
36+
*
37+
* @var string
38+
*/
39+
public $client;
40+
/**
41+
* Optional. Arbitrary version identifier for the API client.
42+
*
43+
* @var string
44+
*/
45+
public $clientVersion;
3446
/**
3547
* Unstructured key value map that can be used to organize and categorize
3648
* objects. User-provided labels are shared with Google's billing system, so
@@ -90,6 +102,38 @@ public function getAnnotations()
90102
{
91103
return $this->annotations;
92104
}
105+
/**
106+
* Optional. Arbitrary identifier for the API client.
107+
*
108+
* @param string $client
109+
*/
110+
public function setClient($client)
111+
{
112+
$this->client = $client;
113+
}
114+
/**
115+
* @return string
116+
*/
117+
public function getClient()
118+
{
119+
return $this->client;
120+
}
121+
/**
122+
* Optional. Arbitrary version identifier for the API client.
123+
*
124+
* @param string $clientVersion
125+
*/
126+
public function setClientVersion($clientVersion)
127+
{
128+
$this->clientVersion = $clientVersion;
129+
}
130+
/**
131+
* @return string
132+
*/
133+
public function getClientVersion()
134+
{
135+
return $this->clientVersion;
136+
}
93137
/**
94138
* Unstructured key value map that can be used to organize and categorize
95139
* objects. User-provided labels are shared with Google's billing system, so

src/CloudRun/GoogleCloudRunV2Revision.php

Lines changed: 46 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,18 @@ class GoogleCloudRunV2Revision extends \Google\Collection
105105
* @var string[]
106106
*/
107107
public $annotations;
108+
/**
109+
* Output only. Arbitrary identifier for the API client.
110+
*
111+
* @var string
112+
*/
113+
public $client;
114+
/**
115+
* Output only. Arbitrary version identifier for the API client.
116+
*
117+
* @var string
118+
*/
119+
public $clientVersion;
108120
protected $conditionsType = GoogleCloudRunV2Condition::class;
109121
protected $conditionsDataType = 'array';
110122
protected $containersType = GoogleCloudRunV2Container::class;
@@ -201,7 +213,7 @@ class GoogleCloudRunV2Revision extends \Google\Collection
201213
* Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports
202214
* `ALPHA`, `BETA`, and `GA`. Note that this value might not be what was used
203215
* as input. For example, if ALPHA was provided as input in the parent
204-
* resource, but only BETA and GA-level features are were, this field will be
216+
* resource, but only BETA and GA-level features are used, this field will be
205217
* BETA.
206218
*
207219
* @var string
@@ -318,6 +330,38 @@ public function getAnnotations()
318330
{
319331
return $this->annotations;
320332
}
333+
/**
334+
* Output only. Arbitrary identifier for the API client.
335+
*
336+
* @param string $client
337+
*/
338+
public function setClient($client)
339+
{
340+
$this->client = $client;
341+
}
342+
/**
343+
* @return string
344+
*/
345+
public function getClient()
346+
{
347+
return $this->client;
348+
}
349+
/**
350+
* Output only. Arbitrary version identifier for the API client.
351+
*
352+
* @param string $clientVersion
353+
*/
354+
public function setClientVersion($clientVersion)
355+
{
356+
$this->clientVersion = $clientVersion;
357+
}
358+
/**
359+
* @return string
360+
*/
361+
public function getClientVersion()
362+
{
363+
return $this->clientVersion;
364+
}
321365
/**
322366
* Output only. The Condition of this Revision, containing its readiness
323367
* status, and detailed error information in case it did not reach a serving
@@ -571,7 +615,7 @@ public function getLabels()
571615
* Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports
572616
* `ALPHA`, `BETA`, and `GA`. Note that this value might not be what was used
573617
* as input. For example, if ALPHA was provided as input in the parent
574-
* resource, but only BETA and GA-level features are were, this field will be
618+
* resource, but only BETA and GA-level features are used, this field will be
575619
* BETA.
576620
*
577621
* Accepted values: LAUNCH_STAGE_UNSPECIFIED, UNIMPLEMENTED, PRELAUNCH,

src/CloudRun/GoogleCloudRunV2RevisionTemplate.php

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,18 @@ class GoogleCloudRunV2RevisionTemplate extends \Google\Collection
5757
* @var string[]
5858
*/
5959
public $annotations;
60+
/**
61+
* Optional. Arbitrary identifier for the API client.
62+
*
63+
* @var string
64+
*/
65+
public $client;
66+
/**
67+
* Optional. Arbitrary version identifier for the API client.
68+
*
69+
* @var string
70+
*/
71+
public $clientVersion;
6072
protected $containersType = GoogleCloudRunV2Container::class;
6173
protected $containersDataType = 'array';
6274
/**
@@ -183,6 +195,38 @@ public function getAnnotations()
183195
{
184196
return $this->annotations;
185197
}
198+
/**
199+
* Optional. Arbitrary identifier for the API client.
200+
*
201+
* @param string $client
202+
*/
203+
public function setClient($client)
204+
{
205+
$this->client = $client;
206+
}
207+
/**
208+
* @return string
209+
*/
210+
public function getClient()
211+
{
212+
return $this->client;
213+
}
214+
/**
215+
* Optional. Arbitrary version identifier for the API client.
216+
*
217+
* @param string $clientVersion
218+
*/
219+
public function setClientVersion($clientVersion)
220+
{
221+
$this->clientVersion = $clientVersion;
222+
}
223+
/**
224+
* @return string
225+
*/
226+
public function getClientVersion()
227+
{
228+
return $this->clientVersion;
229+
}
186230
/**
187231
* Holds the single container that defines the unit of execution for this
188232
* Revision.

src/CloudRun/GoogleCloudRunV2WorkerPoolRevisionTemplate.php

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,18 @@ class GoogleCloudRunV2WorkerPoolRevisionTemplate extends \Google\Collection
4545
* @var string[]
4646
*/
4747
public $annotations;
48+
/**
49+
* Optional. Arbitrary identifier for the API client.
50+
*
51+
* @var string
52+
*/
53+
public $client;
54+
/**
55+
* Optional. Arbitrary version identifier for the API client.
56+
*
57+
* @var string
58+
*/
59+
public $clientVersion;
4860
protected $containersType = GoogleCloudRunV2Container::class;
4961
protected $containersDataType = 'array';
5062
/**
@@ -137,6 +149,38 @@ public function getAnnotations()
137149
{
138150
return $this->annotations;
139151
}
152+
/**
153+
* Optional. Arbitrary identifier for the API client.
154+
*
155+
* @param string $client
156+
*/
157+
public function setClient($client)
158+
{
159+
$this->client = $client;
160+
}
161+
/**
162+
* @return string
163+
*/
164+
public function getClient()
165+
{
166+
return $this->client;
167+
}
168+
/**
169+
* Optional. Arbitrary version identifier for the API client.
170+
*
171+
* @param string $clientVersion
172+
*/
173+
public function setClientVersion($clientVersion)
174+
{
175+
$this->clientVersion = $clientVersion;
176+
}
177+
/**
178+
* @return string
179+
*/
180+
public function getClientVersion()
181+
{
182+
return $this->clientVersion;
183+
}
140184
/**
141185
* Holds list of the containers that defines the unit of execution for this
142186
* Revision.

0 commit comments

Comments
 (0)