Skip to content

Commit

Permalink
Regenerate containeranalysis client (#6229)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-code-bot authored Feb 17, 2025
1 parent 136737b commit e023429
Show file tree
Hide file tree
Showing 5 changed files with 270 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1Build extends \Google\Collectio
* @var string
*/
public $createTime;
protected $dependenciesType = ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency::class;
protected $dependenciesDataType = 'array';
protected $failureInfoType = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo::class;
protected $failureInfoDataType = '';
/**
Expand Down Expand Up @@ -185,6 +187,20 @@ public function getCreateTime()
{
return $this->createTime;
}
/**
* @param ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency[]
*/
public function setDependencies($dependencies)
{
$this->dependencies = $dependencies;
}
/**
* @return ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency[]
*/
public function getDependencies()
{
return $this->dependencies;
}
/**
* @param ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions extends \Google\Co
public $machineType;
protected $poolType = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption::class;
protected $poolDataType = '';
/**
* @var string
*/
public $pubsubTopic;
/**
* @var string
*/
Expand Down Expand Up @@ -221,6 +225,20 @@ public function getPool()
{
return $this->pool;
}
/**
* @param string
*/
public function setPubsubTopic($pubsubTopic)
{
$this->pubsubTopic = $pubsubTopic;
}
/**
* @return string
*/
public function getPubsubTopic()
{
return $this->pubsubTopic;
}
/**
* @param string
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/

namespace Google\Service\ContainerAnalysis;

class ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency extends \Google\Model
{
/**
* @var bool
*/
public $empty;
protected $gitSourceType = ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency::class;
protected $gitSourceDataType = '';

/**
* @param bool
*/
public function setEmpty($empty)
{
$this->empty = $empty;
}
/**
* @return bool
*/
public function getEmpty()
{
return $this->empty;
}
/**
* @param ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency
*/
public function setGitSource(ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency $gitSource)
{
$this->gitSource = $gitSource;
}
/**
* @return ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency
*/
public function getGitSource()
{
return $this->gitSource;
}
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency::class, 'Google_Service_ContainerAnalysis_ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency');
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/

namespace Google\Service\ContainerAnalysis;

class ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency extends \Google\Model
{
/**
* @var string
*/
public $depth;
/**
* @var string
*/
public $destPath;
/**
* @var bool
*/
public $recurseSubmodules;
protected $repositoryType = ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository::class;
protected $repositoryDataType = '';
/**
* @var string
*/
public $revision;

/**
* @param string
*/
public function setDepth($depth)
{
$this->depth = $depth;
}
/**
* @return string
*/
public function getDepth()
{
return $this->depth;
}
/**
* @param string
*/
public function setDestPath($destPath)
{
$this->destPath = $destPath;
}
/**
* @return string
*/
public function getDestPath()
{
return $this->destPath;
}
/**
* @param bool
*/
public function setRecurseSubmodules($recurseSubmodules)
{
$this->recurseSubmodules = $recurseSubmodules;
}
/**
* @return bool
*/
public function getRecurseSubmodules()
{
return $this->recurseSubmodules;
}
/**
* @param ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository
*/
public function setRepository(ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository $repository)
{
$this->repository = $repository;
}
/**
* @return ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository
*/
public function getRepository()
{
return $this->repository;
}
/**
* @param string
*/
public function setRevision($revision)
{
$this->revision = $revision;
}
/**
* @return string
*/
public function getRevision()
{
return $this->revision;
}
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency::class, 'Google_Service_ContainerAnalysis_ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency');
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/

namespace Google\Service\ContainerAnalysis;

class ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository extends \Google\Model
{
/**
* @var string
*/
public $developerConnect;
/**
* @var string
*/
public $url;

/**
* @param string
*/
public function setDeveloperConnect($developerConnect)
{
$this->developerConnect = $developerConnect;
}
/**
* @return string
*/
public function getDeveloperConnect()
{
return $this->developerConnect;
}
/**
* @param string
*/
public function setUrl($url)
{
$this->url = $url;
}
/**
* @return string
*/
public function getUrl()
{
return $this->url;
}
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository::class, 'Google_Service_ContainerAnalysis_ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository');

0 comments on commit e023429

Please sign in to comment.