Skip to content

Commit

Permalink
Regenerate containeranalysis client (#5101)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-code-bot authored May 11, 2024
1 parent 7155031 commit 235e6a4
Show file tree
Hide file tree
Showing 6 changed files with 214 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/ContainerAnalysis/ComplianceOccurrence.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ class ComplianceOccurrence extends \Google\Collection
public $nonComplianceReason;
protected $nonCompliantFilesType = NonCompliantFile::class;
protected $nonCompliantFilesDataType = 'array';
protected $versionType = ComplianceVersion::class;
protected $versionDataType = '';

/**
* @param string
Expand Down Expand Up @@ -55,6 +57,20 @@ public function getNonCompliantFiles()
{
return $this->nonCompliantFiles;
}
/**
* @param ComplianceVersion
*/
public function setVersion(ComplianceVersion $version)
{
$this->version = $version;
}
/**
* @return ComplianceVersion
*/
public function getVersion()
{
return $this->version;
}
}

// Adding a class alias for backwards compatibility with the previous class name.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1Build extends \Google\Collectio
* @var string
*/
public $finishTime;
protected $gitConfigType = ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig::class;
protected $gitConfigDataType = '';
/**
* @var string
*/
Expand Down Expand Up @@ -211,6 +213,20 @@ public function getFinishTime()
{
return $this->finishTime;
}
/**
* @param ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig
*/
public function setGitConfig(ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig $gitConfig)
{
$this->gitConfig = $gitConfig;
}
/**
* @return ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig
*/
public function getGitConfig()
{
return $this->gitConfig;
}
/**
* @param string
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
<?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 ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig extends \Google\Model
{
/**
* @var string
*/
public $dir;
/**
* @var string
*/
public $gitRepositoryLink;
/**
* @var string
*/
public $revision;

/**
* @param string
*/
public function setDir($dir)
{
$this->dir = $dir;
}
/**
* @return string
*/
public function getDir()
{
return $this->dir;
}
/**
* @param string
*/
public function setGitRepositoryLink($gitRepositoryLink)
{
$this->gitRepositoryLink = $gitRepositoryLink;
}
/**
* @return string
*/
public function getGitRepositoryLink()
{
return $this->gitRepositoryLink;
}
/**
* @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(ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig::class, 'Google_Service_ContainerAnalysis_ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig');
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<?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 ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig extends \Google\Model
{
protected $httpType = ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig::class;
protected $httpDataType = '';

/**
* @param ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig
*/
public function setHttp(ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig $http)
{
$this->http = $http;
}
/**
* @return ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig
*/
public function getHttp()
{
return $this->http;
}
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig::class, 'Google_Service_ContainerAnalysis_ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig');
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<?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 ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig extends \Google\Model
{
/**
* @var string
*/
public $proxySecretVersionName;

/**
* @param string
*/
public function setProxySecretVersionName($proxySecretVersionName)
{
$this->proxySecretVersionName = $proxySecretVersionName;
}
/**
* @return string
*/
public function getProxySecretVersionName()
{
return $this->proxySecretVersionName;
}
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig::class, 'Google_Service_ContainerAnalysis_ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig');
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1Source extends \Google\Model
{
protected $connectedRepositoryType = ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository::class;
protected $connectedRepositoryDataType = '';
protected $developerConnectConfigType = ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig::class;
protected $developerConnectConfigDataType = '';
protected $gitSourceType = ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource::class;
protected $gitSourceDataType = '';
protected $repoSourceType = ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource::class;
Expand All @@ -44,6 +46,20 @@ public function getConnectedRepository()
{
return $this->connectedRepository;
}
/**
* @param ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig
*/
public function setDeveloperConnectConfig(ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig $developerConnectConfig)
{
$this->developerConnectConfig = $developerConnectConfig;
}
/**
* @return ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig
*/
public function getDeveloperConnectConfig()
{
return $this->developerConnectConfig;
}
/**
* @param ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource
*/
Expand Down

0 comments on commit 235e6a4

Please sign in to comment.