Skip to content

Commit 103450a

Browse files
1 parent 86224bf commit 103450a

10 files changed

+1064
-0
lines changed

src/DeveloperConnect.php

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ class DeveloperConnect extends \Google\Service
4444
public $projects_locations_connections;
4545
public $projects_locations_connections_gitRepositoryLinks;
4646
public $projects_locations_insightsConfigs;
47+
public $projects_locations_insightsConfigs_deploymentEvents;
4748
public $projects_locations_operations;
4849
public $rootUrlTemplate;
4950

@@ -289,6 +290,37 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
289290
'required' => true,
290291
],
291292
],
293+
],'finishOAuthFlow' => [
294+
'path' => 'v1/{+accountConnector}/users:finishOAuthFlow',
295+
'httpMethod' => 'GET',
296+
'parameters' => [
297+
'accountConnector' => [
298+
'location' => 'path',
299+
'type' => 'string',
300+
'required' => true,
301+
],
302+
'googleOauthParams.scopes' => [
303+
'location' => 'query',
304+
'type' => 'string',
305+
'repeated' => true,
306+
],
307+
'googleOauthParams.ticket' => [
308+
'location' => 'query',
309+
'type' => 'string',
310+
],
311+
'googleOauthParams.versionInfo' => [
312+
'location' => 'query',
313+
'type' => 'string',
314+
],
315+
'oauthParams.code' => [
316+
'location' => 'query',
317+
'type' => 'string',
318+
],
319+
'oauthParams.ticket' => [
320+
'location' => 'query',
321+
'type' => 'string',
322+
],
323+
],
292324
],'list' => [
293325
'path' => 'v1/{+parent}/users',
294326
'httpMethod' => 'GET',
@@ -315,6 +347,16 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
315347
'type' => 'string',
316348
],
317349
],
350+
],'startOAuthFlow' => [
351+
'path' => 'v1/{+accountConnector}/users:startOAuthFlow',
352+
'httpMethod' => 'GET',
353+
'parameters' => [
354+
'accountConnector' => [
355+
'location' => 'path',
356+
'type' => 'string',
357+
'required' => true,
358+
],
359+
],
318360
],
319361
]
320362
]
@@ -753,6 +795,48 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
753795
]
754796
]
755797
);
798+
$this->projects_locations_insightsConfigs_deploymentEvents = new DeveloperConnect\Resource\ProjectsLocationsInsightsConfigsDeploymentEvents(
799+
$this,
800+
$this->serviceName,
801+
'deploymentEvents',
802+
[
803+
'methods' => [
804+
'get' => [
805+
'path' => 'v1/{+name}',
806+
'httpMethod' => 'GET',
807+
'parameters' => [
808+
'name' => [
809+
'location' => 'path',
810+
'type' => 'string',
811+
'required' => true,
812+
],
813+
],
814+
],'list' => [
815+
'path' => 'v1/{+parent}/deploymentEvents',
816+
'httpMethod' => 'GET',
817+
'parameters' => [
818+
'parent' => [
819+
'location' => 'path',
820+
'type' => 'string',
821+
'required' => true,
822+
],
823+
'filter' => [
824+
'location' => 'query',
825+
'type' => 'string',
826+
],
827+
'pageSize' => [
828+
'location' => 'query',
829+
'type' => 'integer',
830+
],
831+
'pageToken' => [
832+
'location' => 'query',
833+
'type' => 'string',
834+
],
835+
],
836+
],
837+
]
838+
]
839+
);
756840
$this->projects_locations_operations = new DeveloperConnect\Resource\ProjectsLocationsOperations(
757841
$this,
758842
$this->serviceName,
Lines changed: 191 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,191 @@
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\DeveloperConnect;
19+
20+
class ArtifactDeployment extends \Google\Collection
21+
{
22+
protected $collection_key = 'sourceCommitUris';
23+
/**
24+
* Output only. The artifact alias in the deployment spec, with Tag/SHA. e.g.
25+
* us-docker.pkg.dev/my-project/my-repo/image:1.0.0
26+
*
27+
* @var string
28+
*/
29+
public $artifactAlias;
30+
/**
31+
* Output only. The artifact that is deployed.
32+
*
33+
* @var string
34+
*/
35+
public $artifactReference;
36+
/**
37+
* Output only. The summary of container status of the artifact deployment.
38+
* Format as `ContainerStatusState-Reason : restartCount` e.g. "Waiting-
39+
* ImagePullBackOff : 3"
40+
*
41+
* @var string
42+
*/
43+
public $containerStatusSummary;
44+
/**
45+
* Output only. The time at which the deployment was deployed.
46+
*
47+
* @var string
48+
*/
49+
public $deployTime;
50+
/**
51+
* Output only. Unique identifier of `ArtifactDeployment`.
52+
*
53+
* @var string
54+
*/
55+
public $id;
56+
/**
57+
* Output only. The source commits at which this artifact was built. Extracted
58+
* from provenance.
59+
*
60+
* @var string[]
61+
*/
62+
public $sourceCommitUris;
63+
/**
64+
* Output only. The time at which the deployment was undeployed, all artifacts
65+
* are considered undeployed once this time is set.
66+
*
67+
* @var string
68+
*/
69+
public $undeployTime;
70+
71+
/**
72+
* Output only. The artifact alias in the deployment spec, with Tag/SHA. e.g.
73+
* us-docker.pkg.dev/my-project/my-repo/image:1.0.0
74+
*
75+
* @param string $artifactAlias
76+
*/
77+
public function setArtifactAlias($artifactAlias)
78+
{
79+
$this->artifactAlias = $artifactAlias;
80+
}
81+
/**
82+
* @return string
83+
*/
84+
public function getArtifactAlias()
85+
{
86+
return $this->artifactAlias;
87+
}
88+
/**
89+
* Output only. The artifact that is deployed.
90+
*
91+
* @param string $artifactReference
92+
*/
93+
public function setArtifactReference($artifactReference)
94+
{
95+
$this->artifactReference = $artifactReference;
96+
}
97+
/**
98+
* @return string
99+
*/
100+
public function getArtifactReference()
101+
{
102+
return $this->artifactReference;
103+
}
104+
/**
105+
* Output only. The summary of container status of the artifact deployment.
106+
* Format as `ContainerStatusState-Reason : restartCount` e.g. "Waiting-
107+
* ImagePullBackOff : 3"
108+
*
109+
* @param string $containerStatusSummary
110+
*/
111+
public function setContainerStatusSummary($containerStatusSummary)
112+
{
113+
$this->containerStatusSummary = $containerStatusSummary;
114+
}
115+
/**
116+
* @return string
117+
*/
118+
public function getContainerStatusSummary()
119+
{
120+
return $this->containerStatusSummary;
121+
}
122+
/**
123+
* Output only. The time at which the deployment was deployed.
124+
*
125+
* @param string $deployTime
126+
*/
127+
public function setDeployTime($deployTime)
128+
{
129+
$this->deployTime = $deployTime;
130+
}
131+
/**
132+
* @return string
133+
*/
134+
public function getDeployTime()
135+
{
136+
return $this->deployTime;
137+
}
138+
/**
139+
* Output only. Unique identifier of `ArtifactDeployment`.
140+
*
141+
* @param string $id
142+
*/
143+
public function setId($id)
144+
{
145+
$this->id = $id;
146+
}
147+
/**
148+
* @return string
149+
*/
150+
public function getId()
151+
{
152+
return $this->id;
153+
}
154+
/**
155+
* Output only. The source commits at which this artifact was built. Extracted
156+
* from provenance.
157+
*
158+
* @param string[] $sourceCommitUris
159+
*/
160+
public function setSourceCommitUris($sourceCommitUris)
161+
{
162+
$this->sourceCommitUris = $sourceCommitUris;
163+
}
164+
/**
165+
* @return string[]
166+
*/
167+
public function getSourceCommitUris()
168+
{
169+
return $this->sourceCommitUris;
170+
}
171+
/**
172+
* Output only. The time at which the deployment was undeployed, all artifacts
173+
* are considered undeployed once this time is set.
174+
*
175+
* @param string $undeployTime
176+
*/
177+
public function setUndeployTime($undeployTime)
178+
{
179+
$this->undeployTime = $undeployTime;
180+
}
181+
/**
182+
* @return string
183+
*/
184+
public function getUndeployTime()
185+
{
186+
return $this->undeployTime;
187+
}
188+
}
189+
190+
// Adding a class alias for backwards compatibility with the previous class name.
191+
class_alias(ArtifactDeployment::class, 'Google_Service_DeveloperConnect_ArtifactDeployment');

0 commit comments

Comments
 (0)