Skip to content

Commit f31170a

Browse files
1 parent eb945bd commit f31170a

5 files changed

Lines changed: 260 additions & 0 deletions

src/ContainerAnalysis/ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
class ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts extends \Google\Collection
2121
{
2222
protected $collection_key = 'pythonPackages';
23+
protected $goModulesType = ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule::class;
24+
protected $goModulesDataType = 'array';
2325
/**
2426
* @var string[]
2527
*/
@@ -33,6 +35,20 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts extends \Google\Colle
3335
protected $pythonPackagesType = ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage::class;
3436
protected $pythonPackagesDataType = 'array';
3537

38+
/**
39+
* @param ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule[]
40+
*/
41+
public function setGoModules($goModules)
42+
{
43+
$this->goModules = $goModules;
44+
}
45+
/**
46+
* @return ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule[]
47+
*/
48+
public function getGoModules()
49+
{
50+
return $this->goModules;
51+
}
3652
/**
3753
* @param string[]
3854
*/
Lines changed: 134 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,134 @@
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\ContainerAnalysis;
19+
20+
class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule extends \Google\Model
21+
{
22+
/**
23+
* @var string
24+
*/
25+
public $modulePath;
26+
/**
27+
* @var string
28+
*/
29+
public $moduleVersion;
30+
/**
31+
* @var string
32+
*/
33+
public $repositoryLocation;
34+
/**
35+
* @var string
36+
*/
37+
public $repositoryName;
38+
/**
39+
* @var string
40+
*/
41+
public $repositoryProjectId;
42+
/**
43+
* @var string
44+
*/
45+
public $sourcePath;
46+
47+
/**
48+
* @param string
49+
*/
50+
public function setModulePath($modulePath)
51+
{
52+
$this->modulePath = $modulePath;
53+
}
54+
/**
55+
* @return string
56+
*/
57+
public function getModulePath()
58+
{
59+
return $this->modulePath;
60+
}
61+
/**
62+
* @param string
63+
*/
64+
public function setModuleVersion($moduleVersion)
65+
{
66+
$this->moduleVersion = $moduleVersion;
67+
}
68+
/**
69+
* @return string
70+
*/
71+
public function getModuleVersion()
72+
{
73+
return $this->moduleVersion;
74+
}
75+
/**
76+
* @param string
77+
*/
78+
public function setRepositoryLocation($repositoryLocation)
79+
{
80+
$this->repositoryLocation = $repositoryLocation;
81+
}
82+
/**
83+
* @return string
84+
*/
85+
public function getRepositoryLocation()
86+
{
87+
return $this->repositoryLocation;
88+
}
89+
/**
90+
* @param string
91+
*/
92+
public function setRepositoryName($repositoryName)
93+
{
94+
$this->repositoryName = $repositoryName;
95+
}
96+
/**
97+
* @return string
98+
*/
99+
public function getRepositoryName()
100+
{
101+
return $this->repositoryName;
102+
}
103+
/**
104+
* @param string
105+
*/
106+
public function setRepositoryProjectId($repositoryProjectId)
107+
{
108+
$this->repositoryProjectId = $repositoryProjectId;
109+
}
110+
/**
111+
* @return string
112+
*/
113+
public function getRepositoryProjectId()
114+
{
115+
return $this->repositoryProjectId;
116+
}
117+
/**
118+
* @param string
119+
*/
120+
public function setSourcePath($sourcePath)
121+
{
122+
$this->sourcePath = $sourcePath;
123+
}
124+
/**
125+
* @return string
126+
*/
127+
public function getSourcePath()
128+
{
129+
return $this->sourcePath;
130+
}
131+
}
132+
133+
// Adding a class alias for backwards compatibility with the previous class name.
134+
class_alias(ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule::class, 'Google_Service_ContainerAnalysis_ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule');

src/ContainerAnalysis/ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions extends \Google\Co
3636
* @var bool
3737
*/
3838
public $dynamicSubstitutions;
39+
/**
40+
* @var bool
41+
*/
42+
public $enableStructuredLogging;
3943
/**
4044
* @var string[]
4145
*/
@@ -133,6 +137,20 @@ public function getDynamicSubstitutions()
133137
{
134138
return $this->dynamicSubstitutions;
135139
}
140+
/**
141+
* @param bool
142+
*/
143+
public function setEnableStructuredLogging($enableStructuredLogging)
144+
{
145+
$this->enableStructuredLogging = $enableStructuredLogging;
146+
}
147+
/**
148+
* @return bool
149+
*/
150+
public function getEnableStructuredLogging()
151+
{
152+
return $this->enableStructuredLogging;
153+
}
136154
/**
137155
* @param string[]
138156
*/

src/ContainerAnalysis/ContaineranalysisGoogleDevtoolsCloudbuildV1Results.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1Results extends \Google\Collect
3434
* @var string[]
3535
*/
3636
public $buildStepOutputs;
37+
protected $goModulesType = ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule::class;
38+
protected $goModulesDataType = 'array';
3739
protected $imagesType = ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage::class;
3840
protected $imagesDataType = 'array';
3941
protected $mavenArtifactsType = ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact::class;
@@ -103,6 +105,20 @@ public function getBuildStepOutputs()
103105
{
104106
return $this->buildStepOutputs;
105107
}
108+
/**
109+
* @param ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule[]
110+
*/
111+
public function setGoModules($goModules)
112+
{
113+
$this->goModules = $goModules;
114+
}
115+
/**
116+
* @return ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule[]
117+
*/
118+
public function getGoModules()
119+
{
120+
return $this->goModules;
121+
}
106122
/**
107123
* @param ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage[]
108124
*/
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
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\ContainerAnalysis;
19+
20+
class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule extends \Google\Model
21+
{
22+
protected $fileHashesType = ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes::class;
23+
protected $fileHashesDataType = '';
24+
protected $pushTimingType = ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan::class;
25+
protected $pushTimingDataType = '';
26+
/**
27+
* @var string
28+
*/
29+
public $uri;
30+
31+
/**
32+
* @param ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes
33+
*/
34+
public function setFileHashes(ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes $fileHashes)
35+
{
36+
$this->fileHashes = $fileHashes;
37+
}
38+
/**
39+
* @return ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes
40+
*/
41+
public function getFileHashes()
42+
{
43+
return $this->fileHashes;
44+
}
45+
/**
46+
* @param ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan
47+
*/
48+
public function setPushTiming(ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan $pushTiming)
49+
{
50+
$this->pushTiming = $pushTiming;
51+
}
52+
/**
53+
* @return ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan
54+
*/
55+
public function getPushTiming()
56+
{
57+
return $this->pushTiming;
58+
}
59+
/**
60+
* @param string
61+
*/
62+
public function setUri($uri)
63+
{
64+
$this->uri = $uri;
65+
}
66+
/**
67+
* @return string
68+
*/
69+
public function getUri()
70+
{
71+
return $this->uri;
72+
}
73+
}
74+
75+
// Adding a class alias for backwards compatibility with the previous class name.
76+
class_alias(ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule::class, 'Google_Service_ContainerAnalysis_ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule');

0 commit comments

Comments
 (0)