Initial commit

This commit is contained in:
Local Administrator
2025-04-18 10:32:42 +02:00
commit b83134aca3
29643 changed files with 3045897 additions and 0 deletions

View File

@@ -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\CloudBuild;
class AddBitbucketServerConnectedRepositoryRequest extends \Google\Model
{
protected $connectedRepositoryType = BitbucketServerRepositoryId::class;
protected $connectedRepositoryDataType = '';
/**
* @param BitbucketServerRepositoryId
*/
public function setConnectedRepository(BitbucketServerRepositoryId $connectedRepository)
{
$this->connectedRepository = $connectedRepository;
}
/**
* @return BitbucketServerRepositoryId
*/
public function getConnectedRepository()
{
return $this->connectedRepository;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AddBitbucketServerConnectedRepositoryRequest::class, 'Google_Service_CloudBuild_AddBitbucketServerConnectedRepositoryRequest');

View File

@@ -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\CloudBuild;
class AddBitbucketServerConnectedRepositoryResponse extends \Google\Model
{
/**
* @var string
*/
public $config;
protected $connectedRepositoryType = BitbucketServerRepositoryId::class;
protected $connectedRepositoryDataType = '';
/**
* @param string
*/
public function setConfig($config)
{
$this->config = $config;
}
/**
* @return string
*/
public function getConfig()
{
return $this->config;
}
/**
* @param BitbucketServerRepositoryId
*/
public function setConnectedRepository(BitbucketServerRepositoryId $connectedRepository)
{
$this->connectedRepository = $connectedRepository;
}
/**
* @return BitbucketServerRepositoryId
*/
public function getConnectedRepository()
{
return $this->connectedRepository;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AddBitbucketServerConnectedRepositoryResponse::class, 'Google_Service_CloudBuild_AddBitbucketServerConnectedRepositoryResponse');

View File

@@ -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\CloudBuild;
class ApprovalConfig extends \Google\Model
{
/**
* @var bool
*/
public $approvalRequired;
/**
* @param bool
*/
public function setApprovalRequired($approvalRequired)
{
$this->approvalRequired = $approvalRequired;
}
/**
* @return bool
*/
public function getApprovalRequired()
{
return $this->approvalRequired;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ApprovalConfig::class, 'Google_Service_CloudBuild_ApprovalConfig');

View File

@@ -0,0 +1,116 @@
<?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\CloudBuild;
class ApprovalResult extends \Google\Model
{
/**
* @var string
*/
public $approvalTime;
/**
* @var string
*/
public $approverAccount;
/**
* @var string
*/
public $comment;
/**
* @var string
*/
public $decision;
/**
* @var string
*/
public $url;
/**
* @param string
*/
public function setApprovalTime($approvalTime)
{
$this->approvalTime = $approvalTime;
}
/**
* @return string
*/
public function getApprovalTime()
{
return $this->approvalTime;
}
/**
* @param string
*/
public function setApproverAccount($approverAccount)
{
$this->approverAccount = $approverAccount;
}
/**
* @return string
*/
public function getApproverAccount()
{
return $this->approverAccount;
}
/**
* @param string
*/
public function setComment($comment)
{
$this->comment = $comment;
}
/**
* @return string
*/
public function getComment()
{
return $this->comment;
}
/**
* @param string
*/
public function setDecision($decision)
{
$this->decision = $decision;
}
/**
* @return string
*/
public function getDecision()
{
return $this->decision;
}
/**
* @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(ApprovalResult::class, 'Google_Service_CloudBuild_ApprovalResult');

View File

@@ -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\CloudBuild;
class ApproveBuildRequest extends \Google\Model
{
protected $approvalResultType = ApprovalResult::class;
protected $approvalResultDataType = '';
/**
* @param ApprovalResult
*/
public function setApprovalResult(ApprovalResult $approvalResult)
{
$this->approvalResult = $approvalResult;
}
/**
* @return ApprovalResult
*/
public function getApprovalResult()
{
return $this->approvalResult;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ApproveBuildRequest::class, 'Google_Service_CloudBuild_ApproveBuildRequest');

View File

@@ -0,0 +1,79 @@
<?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\CloudBuild;
class ArtifactObjects extends \Google\Collection
{
protected $collection_key = 'paths';
/**
* @var string
*/
public $location;
/**
* @var string[]
*/
public $paths;
protected $timingType = TimeSpan::class;
protected $timingDataType = '';
/**
* @param string
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* @param string[]
*/
public function setPaths($paths)
{
$this->paths = $paths;
}
/**
* @return string[]
*/
public function getPaths()
{
return $this->paths;
}
/**
* @param TimeSpan
*/
public function setTiming(TimeSpan $timing)
{
$this->timing = $timing;
}
/**
* @return TimeSpan
*/
public function getTiming()
{
return $this->timing;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ArtifactObjects::class, 'Google_Service_CloudBuild_ArtifactObjects');

View File

@@ -0,0 +1,61 @@
<?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\CloudBuild;
class ArtifactResult extends \Google\Collection
{
protected $collection_key = 'fileHash';
protected $fileHashType = FileHashes::class;
protected $fileHashDataType = 'array';
/**
* @var string
*/
public $location;
/**
* @param FileHashes[]
*/
public function setFileHash($fileHash)
{
$this->fileHash = $fileHash;
}
/**
* @return FileHashes[]
*/
public function getFileHash()
{
return $this->fileHash;
}
/**
* @param string
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ArtifactResult::class, 'Google_Service_CloudBuild_ArtifactResult');

View File

@@ -0,0 +1,109 @@
<?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\CloudBuild;
class Artifacts extends \Google\Collection
{
protected $collection_key = 'pythonPackages';
/**
* @var string[]
*/
public $images;
protected $mavenArtifactsType = MavenArtifact::class;
protected $mavenArtifactsDataType = 'array';
protected $npmPackagesType = NpmPackage::class;
protected $npmPackagesDataType = 'array';
protected $objectsType = ArtifactObjects::class;
protected $objectsDataType = '';
protected $pythonPackagesType = PythonPackage::class;
protected $pythonPackagesDataType = 'array';
/**
* @param string[]
*/
public function setImages($images)
{
$this->images = $images;
}
/**
* @return string[]
*/
public function getImages()
{
return $this->images;
}
/**
* @param MavenArtifact[]
*/
public function setMavenArtifacts($mavenArtifacts)
{
$this->mavenArtifacts = $mavenArtifacts;
}
/**
* @return MavenArtifact[]
*/
public function getMavenArtifacts()
{
return $this->mavenArtifacts;
}
/**
* @param NpmPackage[]
*/
public function setNpmPackages($npmPackages)
{
$this->npmPackages = $npmPackages;
}
/**
* @return NpmPackage[]
*/
public function getNpmPackages()
{
return $this->npmPackages;
}
/**
* @param ArtifactObjects
*/
public function setObjects(ArtifactObjects $objects)
{
$this->objects = $objects;
}
/**
* @return ArtifactObjects
*/
public function getObjects()
{
return $this->objects;
}
/**
* @param PythonPackage[]
*/
public function setPythonPackages($pythonPackages)
{
$this->pythonPackages = $pythonPackages;
}
/**
* @return PythonPackage[]
*/
public function getPythonPackages()
{
return $this->pythonPackages;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Artifacts::class, 'Google_Service_CloudBuild_Artifacts');

View File

@@ -0,0 +1,61 @@
<?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\CloudBuild;
class AuditConfig extends \Google\Collection
{
protected $collection_key = 'auditLogConfigs';
protected $auditLogConfigsType = AuditLogConfig::class;
protected $auditLogConfigsDataType = 'array';
/**
* @var string
*/
public $service;
/**
* @param AuditLogConfig[]
*/
public function setAuditLogConfigs($auditLogConfigs)
{
$this->auditLogConfigs = $auditLogConfigs;
}
/**
* @return AuditLogConfig[]
*/
public function getAuditLogConfigs()
{
return $this->auditLogConfigs;
}
/**
* @param string
*/
public function setService($service)
{
$this->service = $service;
}
/**
* @return string
*/
public function getService()
{
return $this->service;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AuditConfig::class, 'Google_Service_CloudBuild_AuditConfig');

View File

@@ -0,0 +1,63 @@
<?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\CloudBuild;
class AuditLogConfig extends \Google\Collection
{
protected $collection_key = 'exemptedMembers';
/**
* @var string[]
*/
public $exemptedMembers;
/**
* @var string
*/
public $logType;
/**
* @param string[]
*/
public function setExemptedMembers($exemptedMembers)
{
$this->exemptedMembers = $exemptedMembers;
}
/**
* @return string[]
*/
public function getExemptedMembers()
{
return $this->exemptedMembers;
}
/**
* @param string
*/
public function setLogType($logType)
{
$this->logType = $logType;
}
/**
* @return string
*/
public function getLogType()
{
return $this->logType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AuditLogConfig::class, 'Google_Service_CloudBuild_AuditLogConfig');

View File

@@ -0,0 +1,43 @@
<?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\CloudBuild;
class BatchCreateBitbucketServerConnectedRepositoriesRequest extends \Google\Collection
{
protected $collection_key = 'requests';
protected $requestsType = CreateBitbucketServerConnectedRepositoryRequest::class;
protected $requestsDataType = 'array';
/**
* @param CreateBitbucketServerConnectedRepositoryRequest[]
*/
public function setRequests($requests)
{
$this->requests = $requests;
}
/**
* @return CreateBitbucketServerConnectedRepositoryRequest[]
*/
public function getRequests()
{
return $this->requests;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BatchCreateBitbucketServerConnectedRepositoriesRequest::class, 'Google_Service_CloudBuild_BatchCreateBitbucketServerConnectedRepositoriesRequest');

View File

@@ -0,0 +1,43 @@
<?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\CloudBuild;
class BatchCreateBitbucketServerConnectedRepositoriesResponse extends \Google\Collection
{
protected $collection_key = 'bitbucketServerConnectedRepositories';
protected $bitbucketServerConnectedRepositoriesType = BitbucketServerConnectedRepository::class;
protected $bitbucketServerConnectedRepositoriesDataType = 'array';
/**
* @param BitbucketServerConnectedRepository[]
*/
public function setBitbucketServerConnectedRepositories($bitbucketServerConnectedRepositories)
{
$this->bitbucketServerConnectedRepositories = $bitbucketServerConnectedRepositories;
}
/**
* @return BitbucketServerConnectedRepository[]
*/
public function getBitbucketServerConnectedRepositories()
{
return $this->bitbucketServerConnectedRepositories;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BatchCreateBitbucketServerConnectedRepositoriesResponse::class, 'Google_Service_CloudBuild_BatchCreateBitbucketServerConnectedRepositoriesResponse');

View File

@@ -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\CloudBuild;
class BatchCreateBitbucketServerConnectedRepositoriesResponseMetadata extends \Google\Model
{
/**
* @var string
*/
public $completeTime;
/**
* @var string
*/
public $config;
/**
* @var string
*/
public $createTime;
/**
* @param string
*/
public function setCompleteTime($completeTime)
{
$this->completeTime = $completeTime;
}
/**
* @return string
*/
public function getCompleteTime()
{
return $this->completeTime;
}
/**
* @param string
*/
public function setConfig($config)
{
$this->config = $config;
}
/**
* @return string
*/
public function getConfig()
{
return $this->config;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BatchCreateBitbucketServerConnectedRepositoriesResponseMetadata::class, 'Google_Service_CloudBuild_BatchCreateBitbucketServerConnectedRepositoriesResponseMetadata');

View File

@@ -0,0 +1,43 @@
<?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\CloudBuild;
class BatchCreateGitLabConnectedRepositoriesRequest extends \Google\Collection
{
protected $collection_key = 'requests';
protected $requestsType = CreateGitLabConnectedRepositoryRequest::class;
protected $requestsDataType = 'array';
/**
* @param CreateGitLabConnectedRepositoryRequest[]
*/
public function setRequests($requests)
{
$this->requests = $requests;
}
/**
* @return CreateGitLabConnectedRepositoryRequest[]
*/
public function getRequests()
{
return $this->requests;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BatchCreateGitLabConnectedRepositoriesRequest::class, 'Google_Service_CloudBuild_BatchCreateGitLabConnectedRepositoriesRequest');

View File

@@ -0,0 +1,43 @@
<?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\CloudBuild;
class BatchCreateGitLabConnectedRepositoriesResponse extends \Google\Collection
{
protected $collection_key = 'gitlabConnectedRepositories';
protected $gitlabConnectedRepositoriesType = GitLabConnectedRepository::class;
protected $gitlabConnectedRepositoriesDataType = 'array';
/**
* @param GitLabConnectedRepository[]
*/
public function setGitlabConnectedRepositories($gitlabConnectedRepositories)
{
$this->gitlabConnectedRepositories = $gitlabConnectedRepositories;
}
/**
* @return GitLabConnectedRepository[]
*/
public function getGitlabConnectedRepositories()
{
return $this->gitlabConnectedRepositories;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BatchCreateGitLabConnectedRepositoriesResponse::class, 'Google_Service_CloudBuild_BatchCreateGitLabConnectedRepositoriesResponse');

View File

@@ -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\CloudBuild;
class BatchCreateGitLabConnectedRepositoriesResponseMetadata extends \Google\Model
{
/**
* @var string
*/
public $completeTime;
/**
* @var string
*/
public $config;
/**
* @var string
*/
public $createTime;
/**
* @param string
*/
public function setCompleteTime($completeTime)
{
$this->completeTime = $completeTime;
}
/**
* @return string
*/
public function getCompleteTime()
{
return $this->completeTime;
}
/**
* @param string
*/
public function setConfig($config)
{
$this->config = $config;
}
/**
* @return string
*/
public function getConfig()
{
return $this->config;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BatchCreateGitLabConnectedRepositoriesResponseMetadata::class, 'Google_Service_CloudBuild_BatchCreateGitLabConnectedRepositoriesResponseMetadata');

View File

@@ -0,0 +1,43 @@
<?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\CloudBuild;
class BatchCreateRepositoriesRequest extends \Google\Collection
{
protected $collection_key = 'requests';
protected $requestsType = CreateRepositoryRequest::class;
protected $requestsDataType = 'array';
/**
* @param CreateRepositoryRequest[]
*/
public function setRequests($requests)
{
$this->requests = $requests;
}
/**
* @return CreateRepositoryRequest[]
*/
public function getRequests()
{
return $this->requests;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BatchCreateRepositoriesRequest::class, 'Google_Service_CloudBuild_BatchCreateRepositoriesRequest');

View File

@@ -0,0 +1,43 @@
<?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\CloudBuild;
class BatchCreateRepositoriesResponse extends \Google\Collection
{
protected $collection_key = 'repositories';
protected $repositoriesType = Repository::class;
protected $repositoriesDataType = 'array';
/**
* @param Repository[]
*/
public function setRepositories($repositories)
{
$this->repositories = $repositories;
}
/**
* @return Repository[]
*/
public function getRepositories()
{
return $this->repositories;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BatchCreateRepositoriesResponse::class, 'Google_Service_CloudBuild_BatchCreateRepositoriesResponse');

View File

@@ -0,0 +1,79 @@
<?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\CloudBuild;
class Binding extends \Google\Collection
{
protected $collection_key = 'members';
protected $conditionType = Expr::class;
protected $conditionDataType = '';
/**
* @var string[]
*/
public $members;
/**
* @var string
*/
public $role;
/**
* @param Expr
*/
public function setCondition(Expr $condition)
{
$this->condition = $condition;
}
/**
* @return Expr
*/
public function getCondition()
{
return $this->condition;
}
/**
* @param string[]
*/
public function setMembers($members)
{
$this->members = $members;
}
/**
* @return string[]
*/
public function getMembers()
{
return $this->members;
}
/**
* @param string
*/
public function setRole($role)
{
$this->role = $role;
}
/**
* @return string
*/
public function getRole()
{
return $this->role;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Binding::class, 'Google_Service_CloudBuild_Binding');

View File

@@ -0,0 +1,94 @@
<?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\CloudBuild;
class BitbucketCloudConfig extends \Google\Model
{
protected $authorizerCredentialType = UserCredential::class;
protected $authorizerCredentialDataType = '';
protected $readAuthorizerCredentialType = UserCredential::class;
protected $readAuthorizerCredentialDataType = '';
/**
* @var string
*/
public $webhookSecretSecretVersion;
/**
* @var string
*/
public $workspace;
/**
* @param UserCredential
*/
public function setAuthorizerCredential(UserCredential $authorizerCredential)
{
$this->authorizerCredential = $authorizerCredential;
}
/**
* @return UserCredential
*/
public function getAuthorizerCredential()
{
return $this->authorizerCredential;
}
/**
* @param UserCredential
*/
public function setReadAuthorizerCredential(UserCredential $readAuthorizerCredential)
{
$this->readAuthorizerCredential = $readAuthorizerCredential;
}
/**
* @return UserCredential
*/
public function getReadAuthorizerCredential()
{
return $this->readAuthorizerCredential;
}
/**
* @param string
*/
public function setWebhookSecretSecretVersion($webhookSecretSecretVersion)
{
$this->webhookSecretSecretVersion = $webhookSecretSecretVersion;
}
/**
* @return string
*/
public function getWebhookSecretSecretVersion()
{
return $this->webhookSecretSecretVersion;
}
/**
* @param string
*/
public function setWorkspace($workspace)
{
$this->workspace = $workspace;
}
/**
* @return string
*/
public function getWorkspace()
{
return $this->workspace;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BitbucketCloudConfig::class, 'Google_Service_CloudBuild_BitbucketCloudConfig');

View File

@@ -0,0 +1,146 @@
<?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\CloudBuild;
class BitbucketDataCenterConfig extends \Google\Model
{
protected $authorizerCredentialType = UserCredential::class;
protected $authorizerCredentialDataType = '';
/**
* @var string
*/
public $hostUri;
protected $readAuthorizerCredentialType = UserCredential::class;
protected $readAuthorizerCredentialDataType = '';
/**
* @var string
*/
public $serverVersion;
protected $serviceDirectoryConfigType = GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig::class;
protected $serviceDirectoryConfigDataType = '';
/**
* @var string
*/
public $sslCa;
/**
* @var string
*/
public $webhookSecretSecretVersion;
/**
* @param UserCredential
*/
public function setAuthorizerCredential(UserCredential $authorizerCredential)
{
$this->authorizerCredential = $authorizerCredential;
}
/**
* @return UserCredential
*/
public function getAuthorizerCredential()
{
return $this->authorizerCredential;
}
/**
* @param string
*/
public function setHostUri($hostUri)
{
$this->hostUri = $hostUri;
}
/**
* @return string
*/
public function getHostUri()
{
return $this->hostUri;
}
/**
* @param UserCredential
*/
public function setReadAuthorizerCredential(UserCredential $readAuthorizerCredential)
{
$this->readAuthorizerCredential = $readAuthorizerCredential;
}
/**
* @return UserCredential
*/
public function getReadAuthorizerCredential()
{
return $this->readAuthorizerCredential;
}
/**
* @param string
*/
public function setServerVersion($serverVersion)
{
$this->serverVersion = $serverVersion;
}
/**
* @return string
*/
public function getServerVersion()
{
return $this->serverVersion;
}
/**
* @param GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig
*/
public function setServiceDirectoryConfig(GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig $serviceDirectoryConfig)
{
$this->serviceDirectoryConfig = $serviceDirectoryConfig;
}
/**
* @return GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig
*/
public function getServiceDirectoryConfig()
{
return $this->serviceDirectoryConfig;
}
/**
* @param string
*/
public function setSslCa($sslCa)
{
$this->sslCa = $sslCa;
}
/**
* @return string
*/
public function getSslCa()
{
return $this->sslCa;
}
/**
* @param string
*/
public function setWebhookSecretSecretVersion($webhookSecretSecretVersion)
{
$this->webhookSecretSecretVersion = $webhookSecretSecretVersion;
}
/**
* @return string
*/
public function getWebhookSecretSecretVersion()
{
return $this->webhookSecretSecretVersion;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BitbucketDataCenterConfig::class, 'Google_Service_CloudBuild_BitbucketDataCenterConfig');

View File

@@ -0,0 +1,203 @@
<?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\CloudBuild;
class BitbucketServerConfig extends \Google\Collection
{
protected $collection_key = 'connectedRepositories';
/**
* @var string
*/
public $apiKey;
protected $connectedRepositoriesType = BitbucketServerRepositoryId::class;
protected $connectedRepositoriesDataType = 'array';
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $hostUri;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $peeredNetwork;
protected $secretsType = BitbucketServerSecrets::class;
protected $secretsDataType = '';
/**
* @var string
*/
public $sslCa;
/**
* @var string
*/
public $username;
/**
* @var string
*/
public $webhookKey;
/**
* @param string
*/
public function setApiKey($apiKey)
{
$this->apiKey = $apiKey;
}
/**
* @return string
*/
public function getApiKey()
{
return $this->apiKey;
}
/**
* @param BitbucketServerRepositoryId[]
*/
public function setConnectedRepositories($connectedRepositories)
{
$this->connectedRepositories = $connectedRepositories;
}
/**
* @return BitbucketServerRepositoryId[]
*/
public function getConnectedRepositories()
{
return $this->connectedRepositories;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setHostUri($hostUri)
{
$this->hostUri = $hostUri;
}
/**
* @return string
*/
public function getHostUri()
{
return $this->hostUri;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setPeeredNetwork($peeredNetwork)
{
$this->peeredNetwork = $peeredNetwork;
}
/**
* @return string
*/
public function getPeeredNetwork()
{
return $this->peeredNetwork;
}
/**
* @param BitbucketServerSecrets
*/
public function setSecrets(BitbucketServerSecrets $secrets)
{
$this->secrets = $secrets;
}
/**
* @return BitbucketServerSecrets
*/
public function getSecrets()
{
return $this->secrets;
}
/**
* @param string
*/
public function setSslCa($sslCa)
{
$this->sslCa = $sslCa;
}
/**
* @return string
*/
public function getSslCa()
{
return $this->sslCa;
}
/**
* @param string
*/
public function setUsername($username)
{
$this->username = $username;
}
/**
* @return string
*/
public function getUsername()
{
return $this->username;
}
/**
* @param string
*/
public function setWebhookKey($webhookKey)
{
$this->webhookKey = $webhookKey;
}
/**
* @return string
*/
public function getWebhookKey()
{
return $this->webhookKey;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BitbucketServerConfig::class, 'Google_Service_CloudBuild_BitbucketServerConfig');

View File

@@ -0,0 +1,76 @@
<?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\CloudBuild;
class BitbucketServerConnectedRepository extends \Google\Model
{
/**
* @var string
*/
public $parent;
protected $repoType = BitbucketServerRepositoryId::class;
protected $repoDataType = '';
protected $statusType = Status::class;
protected $statusDataType = '';
/**
* @param string
*/
public function setParent($parent)
{
$this->parent = $parent;
}
/**
* @return string
*/
public function getParent()
{
return $this->parent;
}
/**
* @param BitbucketServerRepositoryId
*/
public function setRepo(BitbucketServerRepositoryId $repo)
{
$this->repo = $repo;
}
/**
* @return BitbucketServerRepositoryId
*/
public function getRepo()
{
return $this->repo;
}
/**
* @param Status
*/
public function setStatus(Status $status)
{
$this->status = $status;
}
/**
* @return Status
*/
public function getStatus()
{
return $this->status;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BitbucketServerConnectedRepository::class, 'Google_Service_CloudBuild_BitbucketServerConnectedRepository');

View File

@@ -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\CloudBuild;
class BitbucketServerRepository extends \Google\Model
{
/**
* @var string
*/
public $browseUri;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $name;
protected $repoIdType = BitbucketServerRepositoryId::class;
protected $repoIdDataType = '';
/**
* @param string
*/
public function setBrowseUri($browseUri)
{
$this->browseUri = $browseUri;
}
/**
* @return string
*/
public function getBrowseUri()
{
return $this->browseUri;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param BitbucketServerRepositoryId
*/
public function setRepoId(BitbucketServerRepositoryId $repoId)
{
$this->repoId = $repoId;
}
/**
* @return BitbucketServerRepositoryId
*/
public function getRepoId()
{
return $this->repoId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BitbucketServerRepository::class, 'Google_Service_CloudBuild_BitbucketServerRepository');

View File

@@ -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\CloudBuild;
class BitbucketServerRepositoryId extends \Google\Model
{
/**
* @var string
*/
public $projectKey;
/**
* @var string
*/
public $repoSlug;
/**
* @var int
*/
public $webhookId;
/**
* @param string
*/
public function setProjectKey($projectKey)
{
$this->projectKey = $projectKey;
}
/**
* @return string
*/
public function getProjectKey()
{
return $this->projectKey;
}
/**
* @param string
*/
public function setRepoSlug($repoSlug)
{
$this->repoSlug = $repoSlug;
}
/**
* @return string
*/
public function getRepoSlug()
{
return $this->repoSlug;
}
/**
* @param int
*/
public function setWebhookId($webhookId)
{
$this->webhookId = $webhookId;
}
/**
* @return int
*/
public function getWebhookId()
{
return $this->webhookId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BitbucketServerRepositoryId::class, 'Google_Service_CloudBuild_BitbucketServerRepositoryId');

View File

@@ -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\CloudBuild;
class BitbucketServerSecrets extends \Google\Model
{
/**
* @var string
*/
public $adminAccessTokenVersionName;
/**
* @var string
*/
public $readAccessTokenVersionName;
/**
* @var string
*/
public $webhookSecretVersionName;
/**
* @param string
*/
public function setAdminAccessTokenVersionName($adminAccessTokenVersionName)
{
$this->adminAccessTokenVersionName = $adminAccessTokenVersionName;
}
/**
* @return string
*/
public function getAdminAccessTokenVersionName()
{
return $this->adminAccessTokenVersionName;
}
/**
* @param string
*/
public function setReadAccessTokenVersionName($readAccessTokenVersionName)
{
$this->readAccessTokenVersionName = $readAccessTokenVersionName;
}
/**
* @return string
*/
public function getReadAccessTokenVersionName()
{
return $this->readAccessTokenVersionName;
}
/**
* @param string
*/
public function setWebhookSecretVersionName($webhookSecretVersionName)
{
$this->webhookSecretVersionName = $webhookSecretVersionName;
}
/**
* @return string
*/
public function getWebhookSecretVersionName()
{
return $this->webhookSecretVersionName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BitbucketServerSecrets::class, 'Google_Service_CloudBuild_BitbucketServerSecrets');

View File

@@ -0,0 +1,128 @@
<?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\CloudBuild;
class BitbucketServerTriggerConfig extends \Google\Model
{
protected $bitbucketServerConfigType = BitbucketServerConfig::class;
protected $bitbucketServerConfigDataType = '';
/**
* @var string
*/
public $bitbucketServerConfigResource;
/**
* @var string
*/
public $projectKey;
protected $pullRequestType = PullRequestFilter::class;
protected $pullRequestDataType = '';
protected $pushType = PushFilter::class;
protected $pushDataType = '';
/**
* @var string
*/
public $repoSlug;
/**
* @param BitbucketServerConfig
*/
public function setBitbucketServerConfig(BitbucketServerConfig $bitbucketServerConfig)
{
$this->bitbucketServerConfig = $bitbucketServerConfig;
}
/**
* @return BitbucketServerConfig
*/
public function getBitbucketServerConfig()
{
return $this->bitbucketServerConfig;
}
/**
* @param string
*/
public function setBitbucketServerConfigResource($bitbucketServerConfigResource)
{
$this->bitbucketServerConfigResource = $bitbucketServerConfigResource;
}
/**
* @return string
*/
public function getBitbucketServerConfigResource()
{
return $this->bitbucketServerConfigResource;
}
/**
* @param string
*/
public function setProjectKey($projectKey)
{
$this->projectKey = $projectKey;
}
/**
* @return string
*/
public function getProjectKey()
{
return $this->projectKey;
}
/**
* @param PullRequestFilter
*/
public function setPullRequest(PullRequestFilter $pullRequest)
{
$this->pullRequest = $pullRequest;
}
/**
* @return PullRequestFilter
*/
public function getPullRequest()
{
return $this->pullRequest;
}
/**
* @param PushFilter
*/
public function setPush(PushFilter $push)
{
$this->push = $push;
}
/**
* @return PushFilter
*/
public function getPush()
{
return $this->push;
}
/**
* @param string
*/
public function setRepoSlug($repoSlug)
{
$this->repoSlug = $repoSlug;
}
/**
* @return string
*/
public function getRepoSlug()
{
return $this->repoSlug;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BitbucketServerTriggerConfig::class, 'Google_Service_CloudBuild_BitbucketServerTriggerConfig');

View File

@@ -0,0 +1,525 @@
<?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\CloudBuild;
class Build extends \Google\Collection
{
protected $collection_key = 'warnings';
protected $approvalType = BuildApproval::class;
protected $approvalDataType = '';
protected $artifactsType = Artifacts::class;
protected $artifactsDataType = '';
protected $availableSecretsType = Secrets::class;
protected $availableSecretsDataType = '';
/**
* @var string
*/
public $buildTriggerId;
/**
* @var string
*/
public $createTime;
protected $failureInfoType = FailureInfo::class;
protected $failureInfoDataType = '';
/**
* @var string
*/
public $finishTime;
/**
* @var string
*/
public $id;
/**
* @var string[]
*/
public $images;
/**
* @var string
*/
public $logUrl;
/**
* @var string
*/
public $logsBucket;
/**
* @var string
*/
public $name;
protected $optionsType = BuildOptions::class;
protected $optionsDataType = '';
/**
* @var string
*/
public $projectId;
/**
* @var string
*/
public $queueTtl;
protected $resultsType = Results::class;
protected $resultsDataType = '';
protected $secretsType = Secret::class;
protected $secretsDataType = 'array';
/**
* @var string
*/
public $serviceAccount;
protected $sourceType = Source::class;
protected $sourceDataType = '';
protected $sourceProvenanceType = SourceProvenance::class;
protected $sourceProvenanceDataType = '';
/**
* @var string
*/
public $startTime;
/**
* @var string
*/
public $status;
/**
* @var string
*/
public $statusDetail;
protected $stepsType = BuildStep::class;
protected $stepsDataType = 'array';
/**
* @var string[]
*/
public $substitutions;
/**
* @var string[]
*/
public $tags;
/**
* @var string
*/
public $timeout;
protected $timingType = TimeSpan::class;
protected $timingDataType = 'map';
protected $warningsType = Warning::class;
protected $warningsDataType = 'array';
/**
* @param BuildApproval
*/
public function setApproval(BuildApproval $approval)
{
$this->approval = $approval;
}
/**
* @return BuildApproval
*/
public function getApproval()
{
return $this->approval;
}
/**
* @param Artifacts
*/
public function setArtifacts(Artifacts $artifacts)
{
$this->artifacts = $artifacts;
}
/**
* @return Artifacts
*/
public function getArtifacts()
{
return $this->artifacts;
}
/**
* @param Secrets
*/
public function setAvailableSecrets(Secrets $availableSecrets)
{
$this->availableSecrets = $availableSecrets;
}
/**
* @return Secrets
*/
public function getAvailableSecrets()
{
return $this->availableSecrets;
}
/**
* @param string
*/
public function setBuildTriggerId($buildTriggerId)
{
$this->buildTriggerId = $buildTriggerId;
}
/**
* @return string
*/
public function getBuildTriggerId()
{
return $this->buildTriggerId;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param FailureInfo
*/
public function setFailureInfo(FailureInfo $failureInfo)
{
$this->failureInfo = $failureInfo;
}
/**
* @return FailureInfo
*/
public function getFailureInfo()
{
return $this->failureInfo;
}
/**
* @param string
*/
public function setFinishTime($finishTime)
{
$this->finishTime = $finishTime;
}
/**
* @return string
*/
public function getFinishTime()
{
return $this->finishTime;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string[]
*/
public function setImages($images)
{
$this->images = $images;
}
/**
* @return string[]
*/
public function getImages()
{
return $this->images;
}
/**
* @param string
*/
public function setLogUrl($logUrl)
{
$this->logUrl = $logUrl;
}
/**
* @return string
*/
public function getLogUrl()
{
return $this->logUrl;
}
/**
* @param string
*/
public function setLogsBucket($logsBucket)
{
$this->logsBucket = $logsBucket;
}
/**
* @return string
*/
public function getLogsBucket()
{
return $this->logsBucket;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param BuildOptions
*/
public function setOptions(BuildOptions $options)
{
$this->options = $options;
}
/**
* @return BuildOptions
*/
public function getOptions()
{
return $this->options;
}
/**
* @param string
*/
public function setProjectId($projectId)
{
$this->projectId = $projectId;
}
/**
* @return string
*/
public function getProjectId()
{
return $this->projectId;
}
/**
* @param string
*/
public function setQueueTtl($queueTtl)
{
$this->queueTtl = $queueTtl;
}
/**
* @return string
*/
public function getQueueTtl()
{
return $this->queueTtl;
}
/**
* @param Results
*/
public function setResults(Results $results)
{
$this->results = $results;
}
/**
* @return Results
*/
public function getResults()
{
return $this->results;
}
/**
* @param Secret[]
*/
public function setSecrets($secrets)
{
$this->secrets = $secrets;
}
/**
* @return Secret[]
*/
public function getSecrets()
{
return $this->secrets;
}
/**
* @param string
*/
public function setServiceAccount($serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
/**
* @return string
*/
public function getServiceAccount()
{
return $this->serviceAccount;
}
/**
* @param Source
*/
public function setSource(Source $source)
{
$this->source = $source;
}
/**
* @return Source
*/
public function getSource()
{
return $this->source;
}
/**
* @param SourceProvenance
*/
public function setSourceProvenance(SourceProvenance $sourceProvenance)
{
$this->sourceProvenance = $sourceProvenance;
}
/**
* @return SourceProvenance
*/
public function getSourceProvenance()
{
return $this->sourceProvenance;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* @param string
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return string
*/
public function getStatus()
{
return $this->status;
}
/**
* @param string
*/
public function setStatusDetail($statusDetail)
{
$this->statusDetail = $statusDetail;
}
/**
* @return string
*/
public function getStatusDetail()
{
return $this->statusDetail;
}
/**
* @param BuildStep[]
*/
public function setSteps($steps)
{
$this->steps = $steps;
}
/**
* @return BuildStep[]
*/
public function getSteps()
{
return $this->steps;
}
/**
* @param string[]
*/
public function setSubstitutions($substitutions)
{
$this->substitutions = $substitutions;
}
/**
* @return string[]
*/
public function getSubstitutions()
{
return $this->substitutions;
}
/**
* @param string[]
*/
public function setTags($tags)
{
$this->tags = $tags;
}
/**
* @return string[]
*/
public function getTags()
{
return $this->tags;
}
/**
* @param string
*/
public function setTimeout($timeout)
{
$this->timeout = $timeout;
}
/**
* @return string
*/
public function getTimeout()
{
return $this->timeout;
}
/**
* @param TimeSpan[]
*/
public function setTiming($timing)
{
$this->timing = $timing;
}
/**
* @return TimeSpan[]
*/
public function getTiming()
{
return $this->timing;
}
/**
* @param Warning[]
*/
public function setWarnings($warnings)
{
$this->warnings = $warnings;
}
/**
* @return Warning[]
*/
public function getWarnings()
{
return $this->warnings;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Build::class, 'Google_Service_CloudBuild_Build');

View File

@@ -0,0 +1,76 @@
<?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\CloudBuild;
class BuildApproval extends \Google\Model
{
protected $configType = ApprovalConfig::class;
protected $configDataType = '';
protected $resultType = ApprovalResult::class;
protected $resultDataType = '';
/**
* @var string
*/
public $state;
/**
* @param ApprovalConfig
*/
public function setConfig(ApprovalConfig $config)
{
$this->config = $config;
}
/**
* @return ApprovalConfig
*/
public function getConfig()
{
return $this->config;
}
/**
* @param ApprovalResult
*/
public function setResult(ApprovalResult $result)
{
$this->result = $result;
}
/**
* @return ApprovalResult
*/
public function getResult()
{
return $this->result;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildApproval::class, 'Google_Service_CloudBuild_BuildApproval');

View File

@@ -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\CloudBuild;
class BuildOperationMetadata extends \Google\Model
{
protected $buildType = Build::class;
protected $buildDataType = '';
/**
* @param Build
*/
public function setBuild(Build $build)
{
$this->build = $build;
}
/**
* @return Build
*/
public function getBuild()
{
return $this->build;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildOperationMetadata::class, 'Google_Service_CloudBuild_BuildOperationMetadata');

View File

@@ -0,0 +1,293 @@
<?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\CloudBuild;
class BuildOptions extends \Google\Collection
{
protected $collection_key = 'volumes';
/**
* @var bool
*/
public $automapSubstitutions;
/**
* @var string
*/
public $defaultLogsBucketBehavior;
/**
* @var string
*/
public $diskSizeGb;
/**
* @var bool
*/
public $dynamicSubstitutions;
/**
* @var string[]
*/
public $env;
/**
* @var string
*/
public $logStreamingOption;
/**
* @var string
*/
public $logging;
/**
* @var string
*/
public $machineType;
protected $poolType = PoolOption::class;
protected $poolDataType = '';
/**
* @var string
*/
public $requestedVerifyOption;
/**
* @var string[]
*/
public $secretEnv;
/**
* @var string[]
*/
public $sourceProvenanceHash;
/**
* @var string
*/
public $substitutionOption;
protected $volumesType = Volume::class;
protected $volumesDataType = 'array';
/**
* @var string
*/
public $workerPool;
/**
* @param bool
*/
public function setAutomapSubstitutions($automapSubstitutions)
{
$this->automapSubstitutions = $automapSubstitutions;
}
/**
* @return bool
*/
public function getAutomapSubstitutions()
{
return $this->automapSubstitutions;
}
/**
* @param string
*/
public function setDefaultLogsBucketBehavior($defaultLogsBucketBehavior)
{
$this->defaultLogsBucketBehavior = $defaultLogsBucketBehavior;
}
/**
* @return string
*/
public function getDefaultLogsBucketBehavior()
{
return $this->defaultLogsBucketBehavior;
}
/**
* @param string
*/
public function setDiskSizeGb($diskSizeGb)
{
$this->diskSizeGb = $diskSizeGb;
}
/**
* @return string
*/
public function getDiskSizeGb()
{
return $this->diskSizeGb;
}
/**
* @param bool
*/
public function setDynamicSubstitutions($dynamicSubstitutions)
{
$this->dynamicSubstitutions = $dynamicSubstitutions;
}
/**
* @return bool
*/
public function getDynamicSubstitutions()
{
return $this->dynamicSubstitutions;
}
/**
* @param string[]
*/
public function setEnv($env)
{
$this->env = $env;
}
/**
* @return string[]
*/
public function getEnv()
{
return $this->env;
}
/**
* @param string
*/
public function setLogStreamingOption($logStreamingOption)
{
$this->logStreamingOption = $logStreamingOption;
}
/**
* @return string
*/
public function getLogStreamingOption()
{
return $this->logStreamingOption;
}
/**
* @param string
*/
public function setLogging($logging)
{
$this->logging = $logging;
}
/**
* @return string
*/
public function getLogging()
{
return $this->logging;
}
/**
* @param string
*/
public function setMachineType($machineType)
{
$this->machineType = $machineType;
}
/**
* @return string
*/
public function getMachineType()
{
return $this->machineType;
}
/**
* @param PoolOption
*/
public function setPool(PoolOption $pool)
{
$this->pool = $pool;
}
/**
* @return PoolOption
*/
public function getPool()
{
return $this->pool;
}
/**
* @param string
*/
public function setRequestedVerifyOption($requestedVerifyOption)
{
$this->requestedVerifyOption = $requestedVerifyOption;
}
/**
* @return string
*/
public function getRequestedVerifyOption()
{
return $this->requestedVerifyOption;
}
/**
* @param string[]
*/
public function setSecretEnv($secretEnv)
{
$this->secretEnv = $secretEnv;
}
/**
* @return string[]
*/
public function getSecretEnv()
{
return $this->secretEnv;
}
/**
* @param string[]
*/
public function setSourceProvenanceHash($sourceProvenanceHash)
{
$this->sourceProvenanceHash = $sourceProvenanceHash;
}
/**
* @return string[]
*/
public function getSourceProvenanceHash()
{
return $this->sourceProvenanceHash;
}
/**
* @param string
*/
public function setSubstitutionOption($substitutionOption)
{
$this->substitutionOption = $substitutionOption;
}
/**
* @return string
*/
public function getSubstitutionOption()
{
return $this->substitutionOption;
}
/**
* @param Volume[]
*/
public function setVolumes($volumes)
{
$this->volumes = $volumes;
}
/**
* @return Volume[]
*/
public function getVolumes()
{
return $this->volumes;
}
/**
* @param string
*/
public function setWorkerPool($workerPool)
{
$this->workerPool = $workerPool;
}
/**
* @return string
*/
public function getWorkerPool()
{
return $this->workerPool;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildOptions::class, 'Google_Service_CloudBuild_BuildOptions');

View File

@@ -0,0 +1,345 @@
<?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\CloudBuild;
class BuildStep extends \Google\Collection
{
protected $collection_key = 'waitFor';
/**
* @var int[]
*/
public $allowExitCodes;
/**
* @var bool
*/
public $allowFailure;
/**
* @var string[]
*/
public $args;
/**
* @var bool
*/
public $automapSubstitutions;
/**
* @var string
*/
public $dir;
/**
* @var string
*/
public $entrypoint;
/**
* @var string[]
*/
public $env;
/**
* @var int
*/
public $exitCode;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $name;
protected $pullTimingType = TimeSpan::class;
protected $pullTimingDataType = '';
/**
* @var string
*/
public $script;
/**
* @var string[]
*/
public $secretEnv;
/**
* @var string
*/
public $status;
/**
* @var string
*/
public $timeout;
protected $timingType = TimeSpan::class;
protected $timingDataType = '';
protected $volumesType = Volume::class;
protected $volumesDataType = 'array';
/**
* @var string[]
*/
public $waitFor;
/**
* @param int[]
*/
public function setAllowExitCodes($allowExitCodes)
{
$this->allowExitCodes = $allowExitCodes;
}
/**
* @return int[]
*/
public function getAllowExitCodes()
{
return $this->allowExitCodes;
}
/**
* @param bool
*/
public function setAllowFailure($allowFailure)
{
$this->allowFailure = $allowFailure;
}
/**
* @return bool
*/
public function getAllowFailure()
{
return $this->allowFailure;
}
/**
* @param string[]
*/
public function setArgs($args)
{
$this->args = $args;
}
/**
* @return string[]
*/
public function getArgs()
{
return $this->args;
}
/**
* @param bool
*/
public function setAutomapSubstitutions($automapSubstitutions)
{
$this->automapSubstitutions = $automapSubstitutions;
}
/**
* @return bool
*/
public function getAutomapSubstitutions()
{
return $this->automapSubstitutions;
}
/**
* @param string
*/
public function setDir($dir)
{
$this->dir = $dir;
}
/**
* @return string
*/
public function getDir()
{
return $this->dir;
}
/**
* @param string
*/
public function setEntrypoint($entrypoint)
{
$this->entrypoint = $entrypoint;
}
/**
* @return string
*/
public function getEntrypoint()
{
return $this->entrypoint;
}
/**
* @param string[]
*/
public function setEnv($env)
{
$this->env = $env;
}
/**
* @return string[]
*/
public function getEnv()
{
return $this->env;
}
/**
* @param int
*/
public function setExitCode($exitCode)
{
$this->exitCode = $exitCode;
}
/**
* @return int
*/
public function getExitCode()
{
return $this->exitCode;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param TimeSpan
*/
public function setPullTiming(TimeSpan $pullTiming)
{
$this->pullTiming = $pullTiming;
}
/**
* @return TimeSpan
*/
public function getPullTiming()
{
return $this->pullTiming;
}
/**
* @param string
*/
public function setScript($script)
{
$this->script = $script;
}
/**
* @return string
*/
public function getScript()
{
return $this->script;
}
/**
* @param string[]
*/
public function setSecretEnv($secretEnv)
{
$this->secretEnv = $secretEnv;
}
/**
* @return string[]
*/
public function getSecretEnv()
{
return $this->secretEnv;
}
/**
* @param string
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return string
*/
public function getStatus()
{
return $this->status;
}
/**
* @param string
*/
public function setTimeout($timeout)
{
$this->timeout = $timeout;
}
/**
* @return string
*/
public function getTimeout()
{
return $this->timeout;
}
/**
* @param TimeSpan
*/
public function setTiming(TimeSpan $timing)
{
$this->timing = $timing;
}
/**
* @return TimeSpan
*/
public function getTiming()
{
return $this->timing;
}
/**
* @param Volume[]
*/
public function setVolumes($volumes)
{
$this->volumes = $volumes;
}
/**
* @return Volume[]
*/
public function getVolumes()
{
return $this->volumes;
}
/**
* @param string[]
*/
public function setWaitFor($waitFor)
{
$this->waitFor = $waitFor;
}
/**
* @return string[]
*/
public function getWaitFor()
{
return $this->waitFor;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildStep::class, 'Google_Service_CloudBuild_BuildStep');

View File

@@ -0,0 +1,491 @@
<?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\CloudBuild;
class BuildTrigger extends \Google\Collection
{
protected $collection_key = 'tags';
protected $approvalConfigType = ApprovalConfig::class;
protected $approvalConfigDataType = '';
/**
* @var bool
*/
public $autodetect;
protected $bitbucketServerTriggerConfigType = BitbucketServerTriggerConfig::class;
protected $bitbucketServerTriggerConfigDataType = '';
protected $buildType = Build::class;
protected $buildDataType = '';
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $description;
/**
* @var bool
*/
public $disabled;
/**
* @var string
*/
public $eventType;
/**
* @var string
*/
public $filename;
/**
* @var string
*/
public $filter;
protected $gitFileSourceType = GitFileSource::class;
protected $gitFileSourceDataType = '';
protected $githubType = GitHubEventsConfig::class;
protected $githubDataType = '';
protected $gitlabEnterpriseEventsConfigType = GitLabEventsConfig::class;
protected $gitlabEnterpriseEventsConfigDataType = '';
/**
* @var string
*/
public $id;
/**
* @var string[]
*/
public $ignoredFiles;
/**
* @var string
*/
public $includeBuildLogs;
/**
* @var string[]
*/
public $includedFiles;
/**
* @var string
*/
public $name;
protected $pubsubConfigType = PubsubConfig::class;
protected $pubsubConfigDataType = '';
protected $repositoryEventConfigType = RepositoryEventConfig::class;
protected $repositoryEventConfigDataType = '';
/**
* @var string
*/
public $resourceName;
/**
* @var string
*/
public $serviceAccount;
protected $sourceToBuildType = GitRepoSource::class;
protected $sourceToBuildDataType = '';
/**
* @var string[]
*/
public $substitutions;
/**
* @var string[]
*/
public $tags;
protected $triggerTemplateType = RepoSource::class;
protected $triggerTemplateDataType = '';
protected $webhookConfigType = WebhookConfig::class;
protected $webhookConfigDataType = '';
/**
* @param ApprovalConfig
*/
public function setApprovalConfig(ApprovalConfig $approvalConfig)
{
$this->approvalConfig = $approvalConfig;
}
/**
* @return ApprovalConfig
*/
public function getApprovalConfig()
{
return $this->approvalConfig;
}
/**
* @param bool
*/
public function setAutodetect($autodetect)
{
$this->autodetect = $autodetect;
}
/**
* @return bool
*/
public function getAutodetect()
{
return $this->autodetect;
}
/**
* @param BitbucketServerTriggerConfig
*/
public function setBitbucketServerTriggerConfig(BitbucketServerTriggerConfig $bitbucketServerTriggerConfig)
{
$this->bitbucketServerTriggerConfig = $bitbucketServerTriggerConfig;
}
/**
* @return BitbucketServerTriggerConfig
*/
public function getBitbucketServerTriggerConfig()
{
return $this->bitbucketServerTriggerConfig;
}
/**
* @param Build
*/
public function setBuild(Build $build)
{
$this->build = $build;
}
/**
* @return Build
*/
public function getBuild()
{
return $this->build;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param bool
*/
public function setDisabled($disabled)
{
$this->disabled = $disabled;
}
/**
* @return bool
*/
public function getDisabled()
{
return $this->disabled;
}
/**
* @param string
*/
public function setEventType($eventType)
{
$this->eventType = $eventType;
}
/**
* @return string
*/
public function getEventType()
{
return $this->eventType;
}
/**
* @param string
*/
public function setFilename($filename)
{
$this->filename = $filename;
}
/**
* @return string
*/
public function getFilename()
{
return $this->filename;
}
/**
* @param string
*/
public function setFilter($filter)
{
$this->filter = $filter;
}
/**
* @return string
*/
public function getFilter()
{
return $this->filter;
}
/**
* @param GitFileSource
*/
public function setGitFileSource(GitFileSource $gitFileSource)
{
$this->gitFileSource = $gitFileSource;
}
/**
* @return GitFileSource
*/
public function getGitFileSource()
{
return $this->gitFileSource;
}
/**
* @param GitHubEventsConfig
*/
public function setGithub(GitHubEventsConfig $github)
{
$this->github = $github;
}
/**
* @return GitHubEventsConfig
*/
public function getGithub()
{
return $this->github;
}
/**
* @param GitLabEventsConfig
*/
public function setGitlabEnterpriseEventsConfig(GitLabEventsConfig $gitlabEnterpriseEventsConfig)
{
$this->gitlabEnterpriseEventsConfig = $gitlabEnterpriseEventsConfig;
}
/**
* @return GitLabEventsConfig
*/
public function getGitlabEnterpriseEventsConfig()
{
return $this->gitlabEnterpriseEventsConfig;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string[]
*/
public function setIgnoredFiles($ignoredFiles)
{
$this->ignoredFiles = $ignoredFiles;
}
/**
* @return string[]
*/
public function getIgnoredFiles()
{
return $this->ignoredFiles;
}
/**
* @param string
*/
public function setIncludeBuildLogs($includeBuildLogs)
{
$this->includeBuildLogs = $includeBuildLogs;
}
/**
* @return string
*/
public function getIncludeBuildLogs()
{
return $this->includeBuildLogs;
}
/**
* @param string[]
*/
public function setIncludedFiles($includedFiles)
{
$this->includedFiles = $includedFiles;
}
/**
* @return string[]
*/
public function getIncludedFiles()
{
return $this->includedFiles;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param PubsubConfig
*/
public function setPubsubConfig(PubsubConfig $pubsubConfig)
{
$this->pubsubConfig = $pubsubConfig;
}
/**
* @return PubsubConfig
*/
public function getPubsubConfig()
{
return $this->pubsubConfig;
}
/**
* @param RepositoryEventConfig
*/
public function setRepositoryEventConfig(RepositoryEventConfig $repositoryEventConfig)
{
$this->repositoryEventConfig = $repositoryEventConfig;
}
/**
* @return RepositoryEventConfig
*/
public function getRepositoryEventConfig()
{
return $this->repositoryEventConfig;
}
/**
* @param string
*/
public function setResourceName($resourceName)
{
$this->resourceName = $resourceName;
}
/**
* @return string
*/
public function getResourceName()
{
return $this->resourceName;
}
/**
* @param string
*/
public function setServiceAccount($serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
/**
* @return string
*/
public function getServiceAccount()
{
return $this->serviceAccount;
}
/**
* @param GitRepoSource
*/
public function setSourceToBuild(GitRepoSource $sourceToBuild)
{
$this->sourceToBuild = $sourceToBuild;
}
/**
* @return GitRepoSource
*/
public function getSourceToBuild()
{
return $this->sourceToBuild;
}
/**
* @param string[]
*/
public function setSubstitutions($substitutions)
{
$this->substitutions = $substitutions;
}
/**
* @return string[]
*/
public function getSubstitutions()
{
return $this->substitutions;
}
/**
* @param string[]
*/
public function setTags($tags)
{
$this->tags = $tags;
}
/**
* @return string[]
*/
public function getTags()
{
return $this->tags;
}
/**
* @param RepoSource
*/
public function setTriggerTemplate(RepoSource $triggerTemplate)
{
$this->triggerTemplate = $triggerTemplate;
}
/**
* @return RepoSource
*/
public function getTriggerTemplate()
{
return $this->triggerTemplate;
}
/**
* @param WebhookConfig
*/
public function setWebhookConfig(WebhookConfig $webhookConfig)
{
$this->webhookConfig = $webhookConfig;
}
/**
* @return WebhookConfig
*/
public function getWebhookConfig()
{
return $this->webhookConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildTrigger::class, 'Google_Service_CloudBuild_BuildTrigger');

View File

@@ -0,0 +1,78 @@
<?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\CloudBuild;
class BuiltImage extends \Google\Model
{
/**
* @var string
*/
public $digest;
/**
* @var string
*/
public $name;
protected $pushTimingType = TimeSpan::class;
protected $pushTimingDataType = '';
/**
* @param string
*/
public function setDigest($digest)
{
$this->digest = $digest;
}
/**
* @return string
*/
public function getDigest()
{
return $this->digest;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param TimeSpan
*/
public function setPushTiming(TimeSpan $pushTiming)
{
$this->pushTiming = $pushTiming;
}
/**
* @return TimeSpan
*/
public function getPushTiming()
{
return $this->pushTiming;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuiltImage::class, 'Google_Service_CloudBuild_BuiltImage');

View File

@@ -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\CloudBuild;
class CancelBuildRequest extends \Google\Model
{
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $projectId;
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setProjectId($projectId)
{
$this->projectId = $projectId;
}
/**
* @return string
*/
public function getProjectId()
{
return $this->projectId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CancelBuildRequest::class, 'Google_Service_CloudBuild_CancelBuildRequest');

View File

@@ -0,0 +1,25 @@
<?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\CloudBuild;
class CancelOperationRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CancelOperationRequest::class, 'Google_Service_CloudBuild_CancelOperationRequest');

View File

@@ -0,0 +1,63 @@
<?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\CloudBuild;
class Capabilities extends \Google\Collection
{
protected $collection_key = 'drop';
/**
* @var string[]
*/
public $add;
/**
* @var string[]
*/
public $drop;
/**
* @param string[]
*/
public function setAdd($add)
{
$this->add = $add;
}
/**
* @return string[]
*/
public function getAdd()
{
return $this->add;
}
/**
* @param string[]
*/
public function setDrop($drop)
{
$this->drop = $drop;
}
/**
* @return string[]
*/
public function getDrop()
{
return $this->drop;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Capabilities::class, 'Google_Service_CloudBuild_Capabilities');

View File

@@ -0,0 +1,97 @@
<?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\CloudBuild;
class ChildStatusReference extends \Google\Collection
{
protected $collection_key = 'whenExpressions';
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $pipelineTaskName;
/**
* @var string
*/
public $type;
protected $whenExpressionsType = WhenExpression::class;
protected $whenExpressionsDataType = 'array';
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setPipelineTaskName($pipelineTaskName)
{
$this->pipelineTaskName = $pipelineTaskName;
}
/**
* @return string
*/
public function getPipelineTaskName()
{
return $this->pipelineTaskName;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* @param WhenExpression[]
*/
public function setWhenExpressions($whenExpressions)
{
$this->whenExpressions = $whenExpressions;
}
/**
* @return WhenExpression[]
*/
public function getWhenExpressions()
{
return $this->whenExpressions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ChildStatusReference::class, 'Google_Service_CloudBuild_ChildStatusReference');

View File

@@ -0,0 +1,25 @@
<?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\CloudBuild;
class CloudbuildEmpty extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudbuildEmpty::class, 'Google_Service_CloudBuild_CloudbuildEmpty');

View File

@@ -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\CloudBuild;
class ConnectedRepository extends \Google\Model
{
/**
* @var string
*/
public $dir;
/**
* @var string
*/
public $repository;
/**
* @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 setRepository($repository)
{
$this->repository = $repository;
}
/**
* @return string
*/
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(ConnectedRepository::class, 'Google_Service_CloudBuild_ConnectedRepository');

View File

@@ -0,0 +1,248 @@
<?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\CloudBuild;
class Connection extends \Google\Model
{
/**
* @var string[]
*/
public $annotations;
protected $bitbucketCloudConfigType = BitbucketCloudConfig::class;
protected $bitbucketCloudConfigDataType = '';
protected $bitbucketDataCenterConfigType = BitbucketDataCenterConfig::class;
protected $bitbucketDataCenterConfigDataType = '';
/**
* @var string
*/
public $createTime;
/**
* @var bool
*/
public $disabled;
/**
* @var string
*/
public $etag;
protected $githubConfigType = GitHubConfig::class;
protected $githubConfigDataType = '';
protected $githubEnterpriseConfigType = GoogleDevtoolsCloudbuildV2GitHubEnterpriseConfig::class;
protected $githubEnterpriseConfigDataType = '';
protected $gitlabConfigType = GoogleDevtoolsCloudbuildV2GitLabConfig::class;
protected $gitlabConfigDataType = '';
protected $installationStateType = InstallationState::class;
protected $installationStateDataType = '';
/**
* @var string
*/
public $name;
/**
* @var bool
*/
public $reconciling;
/**
* @var string
*/
public $updateTime;
/**
* @param string[]
*/
public function setAnnotations($annotations)
{
$this->annotations = $annotations;
}
/**
* @return string[]
*/
public function getAnnotations()
{
return $this->annotations;
}
/**
* @param BitbucketCloudConfig
*/
public function setBitbucketCloudConfig(BitbucketCloudConfig $bitbucketCloudConfig)
{
$this->bitbucketCloudConfig = $bitbucketCloudConfig;
}
/**
* @return BitbucketCloudConfig
*/
public function getBitbucketCloudConfig()
{
return $this->bitbucketCloudConfig;
}
/**
* @param BitbucketDataCenterConfig
*/
public function setBitbucketDataCenterConfig(BitbucketDataCenterConfig $bitbucketDataCenterConfig)
{
$this->bitbucketDataCenterConfig = $bitbucketDataCenterConfig;
}
/**
* @return BitbucketDataCenterConfig
*/
public function getBitbucketDataCenterConfig()
{
return $this->bitbucketDataCenterConfig;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param bool
*/
public function setDisabled($disabled)
{
$this->disabled = $disabled;
}
/**
* @return bool
*/
public function getDisabled()
{
return $this->disabled;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param GitHubConfig
*/
public function setGithubConfig(GitHubConfig $githubConfig)
{
$this->githubConfig = $githubConfig;
}
/**
* @return GitHubConfig
*/
public function getGithubConfig()
{
return $this->githubConfig;
}
/**
* @param GoogleDevtoolsCloudbuildV2GitHubEnterpriseConfig
*/
public function setGithubEnterpriseConfig(GoogleDevtoolsCloudbuildV2GitHubEnterpriseConfig $githubEnterpriseConfig)
{
$this->githubEnterpriseConfig = $githubEnterpriseConfig;
}
/**
* @return GoogleDevtoolsCloudbuildV2GitHubEnterpriseConfig
*/
public function getGithubEnterpriseConfig()
{
return $this->githubEnterpriseConfig;
}
/**
* @param GoogleDevtoolsCloudbuildV2GitLabConfig
*/
public function setGitlabConfig(GoogleDevtoolsCloudbuildV2GitLabConfig $gitlabConfig)
{
$this->gitlabConfig = $gitlabConfig;
}
/**
* @return GoogleDevtoolsCloudbuildV2GitLabConfig
*/
public function getGitlabConfig()
{
return $this->gitlabConfig;
}
/**
* @param InstallationState
*/
public function setInstallationState(InstallationState $installationState)
{
$this->installationState = $installationState;
}
/**
* @return InstallationState
*/
public function getInstallationState()
{
return $this->installationState;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param bool
*/
public function setReconciling($reconciling)
{
$this->reconciling = $reconciling;
}
/**
* @return bool
*/
public function getReconciling()
{
return $this->reconciling;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Connection::class, 'Google_Service_CloudBuild_Connection');

View File

@@ -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\CloudBuild;
class CreateBitbucketServerConfigOperationMetadata extends \Google\Model
{
/**
* @var string
*/
public $bitbucketServerConfig;
/**
* @var string
*/
public $completeTime;
/**
* @var string
*/
public $createTime;
/**
* @param string
*/
public function setBitbucketServerConfig($bitbucketServerConfig)
{
$this->bitbucketServerConfig = $bitbucketServerConfig;
}
/**
* @return string
*/
public function getBitbucketServerConfig()
{
return $this->bitbucketServerConfig;
}
/**
* @param string
*/
public function setCompleteTime($completeTime)
{
$this->completeTime = $completeTime;
}
/**
* @return string
*/
public function getCompleteTime()
{
return $this->completeTime;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreateBitbucketServerConfigOperationMetadata::class, 'Google_Service_CloudBuild_CreateBitbucketServerConfigOperationMetadata');

View File

@@ -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\CloudBuild;
class CreateBitbucketServerConnectedRepositoryRequest extends \Google\Model
{
protected $bitbucketServerConnectedRepositoryType = BitbucketServerConnectedRepository::class;
protected $bitbucketServerConnectedRepositoryDataType = '';
/**
* @var string
*/
public $parent;
/**
* @param BitbucketServerConnectedRepository
*/
public function setBitbucketServerConnectedRepository(BitbucketServerConnectedRepository $bitbucketServerConnectedRepository)
{
$this->bitbucketServerConnectedRepository = $bitbucketServerConnectedRepository;
}
/**
* @return BitbucketServerConnectedRepository
*/
public function getBitbucketServerConnectedRepository()
{
return $this->bitbucketServerConnectedRepository;
}
/**
* @param string
*/
public function setParent($parent)
{
$this->parent = $parent;
}
/**
* @return string
*/
public function getParent()
{
return $this->parent;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreateBitbucketServerConnectedRepositoryRequest::class, 'Google_Service_CloudBuild_CreateBitbucketServerConnectedRepositoryRequest');

View File

@@ -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\CloudBuild;
class CreateGitHubEnterpriseConfigOperationMetadata extends \Google\Model
{
/**
* @var string
*/
public $completeTime;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $githubEnterpriseConfig;
/**
* @param string
*/
public function setCompleteTime($completeTime)
{
$this->completeTime = $completeTime;
}
/**
* @return string
*/
public function getCompleteTime()
{
return $this->completeTime;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setGithubEnterpriseConfig($githubEnterpriseConfig)
{
$this->githubEnterpriseConfig = $githubEnterpriseConfig;
}
/**
* @return string
*/
public function getGithubEnterpriseConfig()
{
return $this->githubEnterpriseConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreateGitHubEnterpriseConfigOperationMetadata::class, 'Google_Service_CloudBuild_CreateGitHubEnterpriseConfigOperationMetadata');

View File

@@ -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\CloudBuild;
class CreateGitLabConfigOperationMetadata extends \Google\Model
{
/**
* @var string
*/
public $completeTime;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $gitlabConfig;
/**
* @param string
*/
public function setCompleteTime($completeTime)
{
$this->completeTime = $completeTime;
}
/**
* @return string
*/
public function getCompleteTime()
{
return $this->completeTime;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setGitlabConfig($gitlabConfig)
{
$this->gitlabConfig = $gitlabConfig;
}
/**
* @return string
*/
public function getGitlabConfig()
{
return $this->gitlabConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreateGitLabConfigOperationMetadata::class, 'Google_Service_CloudBuild_CreateGitLabConfigOperationMetadata');

View File

@@ -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\CloudBuild;
class CreateGitLabConnectedRepositoryRequest extends \Google\Model
{
protected $gitlabConnectedRepositoryType = GitLabConnectedRepository::class;
protected $gitlabConnectedRepositoryDataType = '';
/**
* @var string
*/
public $parent;
/**
* @param GitLabConnectedRepository
*/
public function setGitlabConnectedRepository(GitLabConnectedRepository $gitlabConnectedRepository)
{
$this->gitlabConnectedRepository = $gitlabConnectedRepository;
}
/**
* @return GitLabConnectedRepository
*/
public function getGitlabConnectedRepository()
{
return $this->gitlabConnectedRepository;
}
/**
* @param string
*/
public function setParent($parent)
{
$this->parent = $parent;
}
/**
* @return string
*/
public function getParent()
{
return $this->parent;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreateGitLabConnectedRepositoryRequest::class, 'Google_Service_CloudBuild_CreateGitLabConnectedRepositoryRequest');

View File

@@ -0,0 +1,78 @@
<?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\CloudBuild;
class CreateRepositoryRequest extends \Google\Model
{
/**
* @var string
*/
public $parent;
protected $repositoryType = Repository::class;
protected $repositoryDataType = '';
/**
* @var string
*/
public $repositoryId;
/**
* @param string
*/
public function setParent($parent)
{
$this->parent = $parent;
}
/**
* @return string
*/
public function getParent()
{
return $this->parent;
}
/**
* @param Repository
*/
public function setRepository(Repository $repository)
{
$this->repository = $repository;
}
/**
* @return Repository
*/
public function getRepository()
{
return $this->repository;
}
/**
* @param string
*/
public function setRepositoryId($repositoryId)
{
$this->repositoryId = $repositoryId;
}
/**
* @return string
*/
public function getRepositoryId()
{
return $this->repositoryId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreateRepositoryRequest::class, 'Google_Service_CloudBuild_CreateRepositoryRequest');

View File

@@ -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\CloudBuild;
class CreateWorkerPoolOperationMetadata extends \Google\Model
{
/**
* @var string
*/
public $completeTime;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $workerPool;
/**
* @param string
*/
public function setCompleteTime($completeTime)
{
$this->completeTime = $completeTime;
}
/**
* @return string
*/
public function getCompleteTime()
{
return $this->completeTime;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setWorkerPool($workerPool)
{
$this->workerPool = $workerPool;
}
/**
* @return string
*/
public function getWorkerPool()
{
return $this->workerPool;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreateWorkerPoolOperationMetadata::class, 'Google_Service_CloudBuild_CreateWorkerPoolOperationMetadata');

View File

@@ -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\CloudBuild;
class DeleteBitbucketServerConfigOperationMetadata extends \Google\Model
{
/**
* @var string
*/
public $bitbucketServerConfig;
/**
* @var string
*/
public $completeTime;
/**
* @var string
*/
public $createTime;
/**
* @param string
*/
public function setBitbucketServerConfig($bitbucketServerConfig)
{
$this->bitbucketServerConfig = $bitbucketServerConfig;
}
/**
* @return string
*/
public function getBitbucketServerConfig()
{
return $this->bitbucketServerConfig;
}
/**
* @param string
*/
public function setCompleteTime($completeTime)
{
$this->completeTime = $completeTime;
}
/**
* @return string
*/
public function getCompleteTime()
{
return $this->completeTime;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeleteBitbucketServerConfigOperationMetadata::class, 'Google_Service_CloudBuild_DeleteBitbucketServerConfigOperationMetadata');

View File

@@ -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\CloudBuild;
class DeleteGitHubEnterpriseConfigOperationMetadata extends \Google\Model
{
/**
* @var string
*/
public $completeTime;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $githubEnterpriseConfig;
/**
* @param string
*/
public function setCompleteTime($completeTime)
{
$this->completeTime = $completeTime;
}
/**
* @return string
*/
public function getCompleteTime()
{
return $this->completeTime;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setGithubEnterpriseConfig($githubEnterpriseConfig)
{
$this->githubEnterpriseConfig = $githubEnterpriseConfig;
}
/**
* @return string
*/
public function getGithubEnterpriseConfig()
{
return $this->githubEnterpriseConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeleteGitHubEnterpriseConfigOperationMetadata::class, 'Google_Service_CloudBuild_DeleteGitHubEnterpriseConfigOperationMetadata');

View File

@@ -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\CloudBuild;
class DeleteGitLabConfigOperationMetadata extends \Google\Model
{
/**
* @var string
*/
public $completeTime;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $gitlabConfig;
/**
* @param string
*/
public function setCompleteTime($completeTime)
{
$this->completeTime = $completeTime;
}
/**
* @return string
*/
public function getCompleteTime()
{
return $this->completeTime;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setGitlabConfig($gitlabConfig)
{
$this->gitlabConfig = $gitlabConfig;
}
/**
* @return string
*/
public function getGitlabConfig()
{
return $this->gitlabConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeleteGitLabConfigOperationMetadata::class, 'Google_Service_CloudBuild_DeleteGitLabConfigOperationMetadata');

View File

@@ -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\CloudBuild;
class DeleteWorkerPoolOperationMetadata extends \Google\Model
{
/**
* @var string
*/
public $completeTime;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $workerPool;
/**
* @param string
*/
public function setCompleteTime($completeTime)
{
$this->completeTime = $completeTime;
}
/**
* @return string
*/
public function getCompleteTime()
{
return $this->completeTime;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setWorkerPool($workerPool)
{
$this->workerPool = $workerPool;
}
/**
* @return string
*/
public function getWorkerPool()
{
return $this->workerPool;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeleteWorkerPoolOperationMetadata::class, 'Google_Service_CloudBuild_DeleteWorkerPoolOperationMetadata');

View File

@@ -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\CloudBuild;
class EmbeddedTask extends \Google\Model
{
/**
* @var string[]
*/
public $annotations;
protected $taskSpecType = TaskSpec::class;
protected $taskSpecDataType = '';
/**
* @param string[]
*/
public function setAnnotations($annotations)
{
$this->annotations = $annotations;
}
/**
* @return string[]
*/
public function getAnnotations()
{
return $this->annotations;
}
/**
* @param TaskSpec
*/
public function setTaskSpec(TaskSpec $taskSpec)
{
$this->taskSpec = $taskSpec;
}
/**
* @return TaskSpec
*/
public function getTaskSpec()
{
return $this->taskSpec;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EmbeddedTask::class, 'Google_Service_CloudBuild_EmbeddedTask');

View File

@@ -0,0 +1,25 @@
<?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\CloudBuild;
class EmptyDirVolumeSource extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EmptyDirVolumeSource::class, 'Google_Service_CloudBuild_EmptyDirVolumeSource');

View File

@@ -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\CloudBuild;
class EnvVar extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnvVar::class, 'Google_Service_CloudBuild_EnvVar');

View File

@@ -0,0 +1,45 @@
<?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\CloudBuild;
class ExecAction extends \Google\Collection
{
protected $collection_key = 'command';
/**
* @var string[]
*/
public $command;
/**
* @param string[]
*/
public function setCommand($command)
{
$this->command = $command;
}
/**
* @return string[]
*/
public function getCommand()
{
return $this->command;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExecAction::class, 'Google_Service_CloudBuild_ExecAction');

View File

@@ -0,0 +1,98 @@
<?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\CloudBuild;
class Expr extends \Google\Model
{
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $expression;
/**
* @var string
*/
public $location;
/**
* @var string
*/
public $title;
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setExpression($expression)
{
$this->expression = $expression;
}
/**
* @return string
*/
public function getExpression()
{
return $this->expression;
}
/**
* @param string
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Expr::class, 'Google_Service_CloudBuild_Expr');

View File

@@ -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\CloudBuild;
class FailureInfo extends \Google\Model
{
/**
* @var string
*/
public $detail;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setDetail($detail)
{
$this->detail = $detail;
}
/**
* @return string
*/
public function getDetail()
{
return $this->detail;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FailureInfo::class, 'Google_Service_CloudBuild_FailureInfo');

View File

@@ -0,0 +1,63 @@
<?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\CloudBuild;
class FetchGitRefsResponse extends \Google\Collection
{
protected $collection_key = 'refNames';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $refNames;
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string[]
*/
public function setRefNames($refNames)
{
$this->refNames = $refNames;
}
/**
* @return string[]
*/
public function getRefNames()
{
return $this->refNames;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FetchGitRefsResponse::class, 'Google_Service_CloudBuild_FetchGitRefsResponse');

View File

@@ -0,0 +1,61 @@
<?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\CloudBuild;
class FetchLinkableRepositoriesResponse extends \Google\Collection
{
protected $collection_key = 'repositories';
/**
* @var string
*/
public $nextPageToken;
protected $repositoriesType = Repository::class;
protected $repositoriesDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Repository[]
*/
public function setRepositories($repositories)
{
$this->repositories = $repositories;
}
/**
* @return Repository[]
*/
public function getRepositories()
{
return $this->repositories;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FetchLinkableRepositoriesResponse::class, 'Google_Service_CloudBuild_FetchLinkableRepositoriesResponse');

View File

@@ -0,0 +1,25 @@
<?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\CloudBuild;
class FetchReadTokenRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FetchReadTokenRequest::class, 'Google_Service_CloudBuild_FetchReadTokenRequest');

View File

@@ -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\CloudBuild;
class FetchReadTokenResponse extends \Google\Model
{
/**
* @var string
*/
public $expirationTime;
/**
* @var string
*/
public $token;
/**
* @param string
*/
public function setExpirationTime($expirationTime)
{
$this->expirationTime = $expirationTime;
}
/**
* @return string
*/
public function getExpirationTime()
{
return $this->expirationTime;
}
/**
* @param string
*/
public function setToken($token)
{
$this->token = $token;
}
/**
* @return string
*/
public function getToken()
{
return $this->token;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FetchReadTokenResponse::class, 'Google_Service_CloudBuild_FetchReadTokenResponse');

View File

@@ -0,0 +1,25 @@
<?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\CloudBuild;
class FetchReadWriteTokenRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FetchReadWriteTokenRequest::class, 'Google_Service_CloudBuild_FetchReadWriteTokenRequest');

View File

@@ -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\CloudBuild;
class FetchReadWriteTokenResponse extends \Google\Model
{
/**
* @var string
*/
public $expirationTime;
/**
* @var string
*/
public $token;
/**
* @param string
*/
public function setExpirationTime($expirationTime)
{
$this->expirationTime = $expirationTime;
}
/**
* @return string
*/
public function getExpirationTime()
{
return $this->expirationTime;
}
/**
* @param string
*/
public function setToken($token)
{
$this->token = $token;
}
/**
* @return string
*/
public function getToken()
{
return $this->token;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FetchReadWriteTokenResponse::class, 'Google_Service_CloudBuild_FetchReadWriteTokenResponse');

View File

@@ -0,0 +1,43 @@
<?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\CloudBuild;
class FileHashes extends \Google\Collection
{
protected $collection_key = 'fileHash';
protected $fileHashType = Hash::class;
protected $fileHashDataType = 'array';
/**
* @param Hash[]
*/
public function setFileHash($fileHash)
{
$this->fileHash = $fileHash;
}
/**
* @return Hash[]
*/
public function getFileHash()
{
return $this->fileHash;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FileHashes::class, 'Google_Service_CloudBuild_FileHashes');

View File

@@ -0,0 +1,152 @@
<?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\CloudBuild;
class GitFileSource extends \Google\Model
{
/**
* @var string
*/
public $bitbucketServerConfig;
/**
* @var string
*/
public $githubEnterpriseConfig;
/**
* @var string
*/
public $path;
/**
* @var string
*/
public $repoType;
/**
* @var string
*/
public $repository;
/**
* @var string
*/
public $revision;
/**
* @var string
*/
public $uri;
/**
* @param string
*/
public function setBitbucketServerConfig($bitbucketServerConfig)
{
$this->bitbucketServerConfig = $bitbucketServerConfig;
}
/**
* @return string
*/
public function getBitbucketServerConfig()
{
return $this->bitbucketServerConfig;
}
/**
* @param string
*/
public function setGithubEnterpriseConfig($githubEnterpriseConfig)
{
$this->githubEnterpriseConfig = $githubEnterpriseConfig;
}
/**
* @return string
*/
public function getGithubEnterpriseConfig()
{
return $this->githubEnterpriseConfig;
}
/**
* @param string
*/
public function setPath($path)
{
$this->path = $path;
}
/**
* @return string
*/
public function getPath()
{
return $this->path;
}
/**
* @param string
*/
public function setRepoType($repoType)
{
$this->repoType = $repoType;
}
/**
* @return string
*/
public function getRepoType()
{
return $this->repoType;
}
/**
* @param string
*/
public function setRepository($repository)
{
$this->repository = $repository;
}
/**
* @return string
*/
public function getRepository()
{
return $this->repository;
}
/**
* @param string
*/
public function setRevision($revision)
{
$this->revision = $revision;
}
/**
* @return string
*/
public function getRevision()
{
return $this->revision;
}
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GitFileSource::class, 'Google_Service_CloudBuild_GitFileSource');

View File

@@ -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\CloudBuild;
class GitHubConfig extends \Google\Model
{
/**
* @var string
*/
public $appInstallationId;
protected $authorizerCredentialType = OAuthCredential::class;
protected $authorizerCredentialDataType = '';
/**
* @param string
*/
public function setAppInstallationId($appInstallationId)
{
$this->appInstallationId = $appInstallationId;
}
/**
* @return string
*/
public function getAppInstallationId()
{
return $this->appInstallationId;
}
/**
* @param OAuthCredential
*/
public function setAuthorizerCredential(OAuthCredential $authorizerCredential)
{
$this->authorizerCredential = $authorizerCredential;
}
/**
* @return OAuthCredential
*/
public function getAuthorizerCredential()
{
return $this->authorizerCredential;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GitHubConfig::class, 'Google_Service_CloudBuild_GitHubConfig');

View File

@@ -0,0 +1,186 @@
<?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\CloudBuild;
class GitHubEnterpriseConfig extends \Google\Model
{
/**
* @var string
*/
public $appId;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $hostUrl;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $peeredNetwork;
protected $secretsType = GitHubEnterpriseSecrets::class;
protected $secretsDataType = '';
/**
* @var string
*/
public $sslCa;
/**
* @var string
*/
public $webhookKey;
/**
* @param string
*/
public function setAppId($appId)
{
$this->appId = $appId;
}
/**
* @return string
*/
public function getAppId()
{
return $this->appId;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setHostUrl($hostUrl)
{
$this->hostUrl = $hostUrl;
}
/**
* @return string
*/
public function getHostUrl()
{
return $this->hostUrl;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setPeeredNetwork($peeredNetwork)
{
$this->peeredNetwork = $peeredNetwork;
}
/**
* @return string
*/
public function getPeeredNetwork()
{
return $this->peeredNetwork;
}
/**
* @param GitHubEnterpriseSecrets
*/
public function setSecrets(GitHubEnterpriseSecrets $secrets)
{
$this->secrets = $secrets;
}
/**
* @return GitHubEnterpriseSecrets
*/
public function getSecrets()
{
return $this->secrets;
}
/**
* @param string
*/
public function setSslCa($sslCa)
{
$this->sslCa = $sslCa;
}
/**
* @return string
*/
public function getSslCa()
{
return $this->sslCa;
}
/**
* @param string
*/
public function setWebhookKey($webhookKey)
{
$this->webhookKey = $webhookKey;
}
/**
* @return string
*/
public function getWebhookKey()
{
return $this->webhookKey;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GitHubEnterpriseConfig::class, 'Google_Service_CloudBuild_GitHubEnterpriseConfig');

View File

@@ -0,0 +1,170 @@
<?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\CloudBuild;
class GitHubEnterpriseSecrets extends \Google\Model
{
/**
* @var string
*/
public $oauthClientIdName;
/**
* @var string
*/
public $oauthClientIdVersionName;
/**
* @var string
*/
public $oauthSecretName;
/**
* @var string
*/
public $oauthSecretVersionName;
/**
* @var string
*/
public $privateKeyName;
/**
* @var string
*/
public $privateKeyVersionName;
/**
* @var string
*/
public $webhookSecretName;
/**
* @var string
*/
public $webhookSecretVersionName;
/**
* @param string
*/
public function setOauthClientIdName($oauthClientIdName)
{
$this->oauthClientIdName = $oauthClientIdName;
}
/**
* @return string
*/
public function getOauthClientIdName()
{
return $this->oauthClientIdName;
}
/**
* @param string
*/
public function setOauthClientIdVersionName($oauthClientIdVersionName)
{
$this->oauthClientIdVersionName = $oauthClientIdVersionName;
}
/**
* @return string
*/
public function getOauthClientIdVersionName()
{
return $this->oauthClientIdVersionName;
}
/**
* @param string
*/
public function setOauthSecretName($oauthSecretName)
{
$this->oauthSecretName = $oauthSecretName;
}
/**
* @return string
*/
public function getOauthSecretName()
{
return $this->oauthSecretName;
}
/**
* @param string
*/
public function setOauthSecretVersionName($oauthSecretVersionName)
{
$this->oauthSecretVersionName = $oauthSecretVersionName;
}
/**
* @return string
*/
public function getOauthSecretVersionName()
{
return $this->oauthSecretVersionName;
}
/**
* @param string
*/
public function setPrivateKeyName($privateKeyName)
{
$this->privateKeyName = $privateKeyName;
}
/**
* @return string
*/
public function getPrivateKeyName()
{
return $this->privateKeyName;
}
/**
* @param string
*/
public function setPrivateKeyVersionName($privateKeyVersionName)
{
$this->privateKeyVersionName = $privateKeyVersionName;
}
/**
* @return string
*/
public function getPrivateKeyVersionName()
{
return $this->privateKeyVersionName;
}
/**
* @param string
*/
public function setWebhookSecretName($webhookSecretName)
{
$this->webhookSecretName = $webhookSecretName;
}
/**
* @return string
*/
public function getWebhookSecretName()
{
return $this->webhookSecretName;
}
/**
* @param string
*/
public function setWebhookSecretVersionName($webhookSecretVersionName)
{
$this->webhookSecretVersionName = $webhookSecretVersionName;
}
/**
* @return string
*/
public function getWebhookSecretVersionName()
{
return $this->webhookSecretVersionName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GitHubEnterpriseSecrets::class, 'Google_Service_CloudBuild_GitHubEnterpriseSecrets');

View File

@@ -0,0 +1,130 @@
<?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\CloudBuild;
class GitHubEventsConfig extends \Google\Model
{
/**
* @var string
*/
public $enterpriseConfigResourceName;
/**
* @var string
*/
public $installationId;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $owner;
protected $pullRequestType = PullRequestFilter::class;
protected $pullRequestDataType = '';
protected $pushType = PushFilter::class;
protected $pushDataType = '';
/**
* @param string
*/
public function setEnterpriseConfigResourceName($enterpriseConfigResourceName)
{
$this->enterpriseConfigResourceName = $enterpriseConfigResourceName;
}
/**
* @return string
*/
public function getEnterpriseConfigResourceName()
{
return $this->enterpriseConfigResourceName;
}
/**
* @param string
*/
public function setInstallationId($installationId)
{
$this->installationId = $installationId;
}
/**
* @return string
*/
public function getInstallationId()
{
return $this->installationId;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setOwner($owner)
{
$this->owner = $owner;
}
/**
* @return string
*/
public function getOwner()
{
return $this->owner;
}
/**
* @param PullRequestFilter
*/
public function setPullRequest(PullRequestFilter $pullRequest)
{
$this->pullRequest = $pullRequest;
}
/**
* @return PullRequestFilter
*/
public function getPullRequest()
{
return $this->pullRequest;
}
/**
* @param PushFilter
*/
public function setPush(PushFilter $push)
{
$this->push = $push;
}
/**
* @return PushFilter
*/
public function getPush()
{
return $this->push;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GitHubEventsConfig::class, 'Google_Service_CloudBuild_GitHubEventsConfig');

View File

@@ -0,0 +1,147 @@
<?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\CloudBuild;
class GitLabConfig extends \Google\Collection
{
protected $collection_key = 'connectedRepositories';
protected $connectedRepositoriesType = GitLabRepositoryId::class;
protected $connectedRepositoriesDataType = 'array';
/**
* @var string
*/
public $createTime;
protected $enterpriseConfigType = GitLabEnterpriseConfig::class;
protected $enterpriseConfigDataType = '';
/**
* @var string
*/
public $name;
protected $secretsType = GitLabSecrets::class;
protected $secretsDataType = '';
/**
* @var string
*/
public $username;
/**
* @var string
*/
public $webhookKey;
/**
* @param GitLabRepositoryId[]
*/
public function setConnectedRepositories($connectedRepositories)
{
$this->connectedRepositories = $connectedRepositories;
}
/**
* @return GitLabRepositoryId[]
*/
public function getConnectedRepositories()
{
return $this->connectedRepositories;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param GitLabEnterpriseConfig
*/
public function setEnterpriseConfig(GitLabEnterpriseConfig $enterpriseConfig)
{
$this->enterpriseConfig = $enterpriseConfig;
}
/**
* @return GitLabEnterpriseConfig
*/
public function getEnterpriseConfig()
{
return $this->enterpriseConfig;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param GitLabSecrets
*/
public function setSecrets(GitLabSecrets $secrets)
{
$this->secrets = $secrets;
}
/**
* @return GitLabSecrets
*/
public function getSecrets()
{
return $this->secrets;
}
/**
* @param string
*/
public function setUsername($username)
{
$this->username = $username;
}
/**
* @return string
*/
public function getUsername()
{
return $this->username;
}
/**
* @param string
*/
public function setWebhookKey($webhookKey)
{
$this->webhookKey = $webhookKey;
}
/**
* @return string
*/
public function getWebhookKey()
{
return $this->webhookKey;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GitLabConfig::class, 'Google_Service_CloudBuild_GitLabConfig');

View File

@@ -0,0 +1,76 @@
<?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\CloudBuild;
class GitLabConnectedRepository extends \Google\Model
{
/**
* @var string
*/
public $parent;
protected $repoType = GitLabRepositoryId::class;
protected $repoDataType = '';
protected $statusType = Status::class;
protected $statusDataType = '';
/**
* @param string
*/
public function setParent($parent)
{
$this->parent = $parent;
}
/**
* @return string
*/
public function getParent()
{
return $this->parent;
}
/**
* @param GitLabRepositoryId
*/
public function setRepo(GitLabRepositoryId $repo)
{
$this->repo = $repo;
}
/**
* @return GitLabRepositoryId
*/
public function getRepo()
{
return $this->repo;
}
/**
* @param Status
*/
public function setStatus(Status $status)
{
$this->status = $status;
}
/**
* @return Status
*/
public function getStatus()
{
return $this->status;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GitLabConnectedRepository::class, 'Google_Service_CloudBuild_GitLabConnectedRepository');

View File

@@ -0,0 +1,78 @@
<?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\CloudBuild;
class GitLabEnterpriseConfig extends \Google\Model
{
/**
* @var string
*/
public $hostUri;
protected $serviceDirectoryConfigType = ServiceDirectoryConfig::class;
protected $serviceDirectoryConfigDataType = '';
/**
* @var string
*/
public $sslCa;
/**
* @param string
*/
public function setHostUri($hostUri)
{
$this->hostUri = $hostUri;
}
/**
* @return string
*/
public function getHostUri()
{
return $this->hostUri;
}
/**
* @param ServiceDirectoryConfig
*/
public function setServiceDirectoryConfig(ServiceDirectoryConfig $serviceDirectoryConfig)
{
$this->serviceDirectoryConfig = $serviceDirectoryConfig;
}
/**
* @return ServiceDirectoryConfig
*/
public function getServiceDirectoryConfig()
{
return $this->serviceDirectoryConfig;
}
/**
* @param string
*/
public function setSslCa($sslCa)
{
$this->sslCa = $sslCa;
}
/**
* @return string
*/
public function getSslCa()
{
return $this->sslCa;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GitLabEnterpriseConfig::class, 'Google_Service_CloudBuild_GitLabEnterpriseConfig');

View File

@@ -0,0 +1,110 @@
<?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\CloudBuild;
class GitLabEventsConfig extends \Google\Model
{
protected $gitlabConfigType = GitLabConfig::class;
protected $gitlabConfigDataType = '';
/**
* @var string
*/
public $gitlabConfigResource;
/**
* @var string
*/
public $projectNamespace;
protected $pullRequestType = PullRequestFilter::class;
protected $pullRequestDataType = '';
protected $pushType = PushFilter::class;
protected $pushDataType = '';
/**
* @param GitLabConfig
*/
public function setGitlabConfig(GitLabConfig $gitlabConfig)
{
$this->gitlabConfig = $gitlabConfig;
}
/**
* @return GitLabConfig
*/
public function getGitlabConfig()
{
return $this->gitlabConfig;
}
/**
* @param string
*/
public function setGitlabConfigResource($gitlabConfigResource)
{
$this->gitlabConfigResource = $gitlabConfigResource;
}
/**
* @return string
*/
public function getGitlabConfigResource()
{
return $this->gitlabConfigResource;
}
/**
* @param string
*/
public function setProjectNamespace($projectNamespace)
{
$this->projectNamespace = $projectNamespace;
}
/**
* @return string
*/
public function getProjectNamespace()
{
return $this->projectNamespace;
}
/**
* @param PullRequestFilter
*/
public function setPullRequest(PullRequestFilter $pullRequest)
{
$this->pullRequest = $pullRequest;
}
/**
* @return PullRequestFilter
*/
public function getPullRequest()
{
return $this->pullRequest;
}
/**
* @param PushFilter
*/
public function setPush(PushFilter $push)
{
$this->push = $push;
}
/**
* @return PushFilter
*/
public function getPush()
{
return $this->push;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GitLabEventsConfig::class, 'Google_Service_CloudBuild_GitLabEventsConfig');

View File

@@ -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\CloudBuild;
class GitLabRepository extends \Google\Model
{
/**
* @var string
*/
public $browseUri;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $name;
protected $repositoryIdType = GitLabRepositoryId::class;
protected $repositoryIdDataType = '';
/**
* @param string
*/
public function setBrowseUri($browseUri)
{
$this->browseUri = $browseUri;
}
/**
* @return string
*/
public function getBrowseUri()
{
return $this->browseUri;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param GitLabRepositoryId
*/
public function setRepositoryId(GitLabRepositoryId $repositoryId)
{
$this->repositoryId = $repositoryId;
}
/**
* @return GitLabRepositoryId
*/
public function getRepositoryId()
{
return $this->repositoryId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GitLabRepository::class, 'Google_Service_CloudBuild_GitLabRepository');

View File

@@ -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\CloudBuild;
class GitLabRepositoryId extends \Google\Model
{
/**
* @var string
*/
public $id;
/**
* @var int
*/
public $webhookId;
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param int
*/
public function setWebhookId($webhookId)
{
$this->webhookId = $webhookId;
}
/**
* @return int
*/
public function getWebhookId()
{
return $this->webhookId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GitLabRepositoryId::class, 'Google_Service_CloudBuild_GitLabRepositoryId');

View File

@@ -0,0 +1,98 @@
<?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\CloudBuild;
class GitLabSecrets extends \Google\Model
{
/**
* @var string
*/
public $apiAccessTokenVersion;
/**
* @var string
*/
public $apiKeyVersion;
/**
* @var string
*/
public $readAccessTokenVersion;
/**
* @var string
*/
public $webhookSecretVersion;
/**
* @param string
*/
public function setApiAccessTokenVersion($apiAccessTokenVersion)
{
$this->apiAccessTokenVersion = $apiAccessTokenVersion;
}
/**
* @return string
*/
public function getApiAccessTokenVersion()
{
return $this->apiAccessTokenVersion;
}
/**
* @param string
*/
public function setApiKeyVersion($apiKeyVersion)
{
$this->apiKeyVersion = $apiKeyVersion;
}
/**
* @return string
*/
public function getApiKeyVersion()
{
return $this->apiKeyVersion;
}
/**
* @param string
*/
public function setReadAccessTokenVersion($readAccessTokenVersion)
{
$this->readAccessTokenVersion = $readAccessTokenVersion;
}
/**
* @return string
*/
public function getReadAccessTokenVersion()
{
return $this->readAccessTokenVersion;
}
/**
* @param string
*/
public function setWebhookSecretVersion($webhookSecretVersion)
{
$this->webhookSecretVersion = $webhookSecretVersion;
}
/**
* @return string
*/
public function getWebhookSecretVersion()
{
return $this->webhookSecretVersion;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GitLabSecrets::class, 'Google_Service_CloudBuild_GitLabSecrets');

View File

@@ -0,0 +1,134 @@
<?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\CloudBuild;
class GitRepoSource extends \Google\Model
{
/**
* @var string
*/
public $bitbucketServerConfig;
/**
* @var string
*/
public $githubEnterpriseConfig;
/**
* @var string
*/
public $ref;
/**
* @var string
*/
public $repoType;
/**
* @var string
*/
public $repository;
/**
* @var string
*/
public $uri;
/**
* @param string
*/
public function setBitbucketServerConfig($bitbucketServerConfig)
{
$this->bitbucketServerConfig = $bitbucketServerConfig;
}
/**
* @return string
*/
public function getBitbucketServerConfig()
{
return $this->bitbucketServerConfig;
}
/**
* @param string
*/
public function setGithubEnterpriseConfig($githubEnterpriseConfig)
{
$this->githubEnterpriseConfig = $githubEnterpriseConfig;
}
/**
* @return string
*/
public function getGithubEnterpriseConfig()
{
return $this->githubEnterpriseConfig;
}
/**
* @param string
*/
public function setRef($ref)
{
$this->ref = $ref;
}
/**
* @return string
*/
public function getRef()
{
return $this->ref;
}
/**
* @param string
*/
public function setRepoType($repoType)
{
$this->repoType = $repoType;
}
/**
* @return string
*/
public function getRepoType()
{
return $this->repoType;
}
/**
* @param string
*/
public function setRepository($repository)
{
$this->repository = $repository;
}
/**
* @return string
*/
public function getRepository()
{
return $this->repository;
}
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GitRepoSource::class, 'Google_Service_CloudBuild_GitRepoSource');

View File

@@ -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\CloudBuild;
class GitSource extends \Google\Model
{
/**
* @var string
*/
public $dir;
/**
* @var string
*/
public $revision;
/**
* @var string
*/
public $url;
/**
* @param string
*/
public function setDir($dir)
{
$this->dir = $dir;
}
/**
* @return string
*/
public function getDir()
{
return $this->dir;
}
/**
* @param string
*/
public function setRevision($revision)
{
$this->revision = $revision;
}
/**
* @return string
*/
public function getRevision()
{
return $this->revision;
}
/**
* @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(GitSource::class, 'Google_Service_CloudBuild_GitSource');

View File

@@ -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\CloudBuild;
class GoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig extends \Google\Model
{
/**
* @var string
*/
public $diskSizeGb;
/**
* @var float
*/
public $memoryGb;
/**
* @var float
*/
public $vcpuCount;
/**
* @param string
*/
public function setDiskSizeGb($diskSizeGb)
{
$this->diskSizeGb = $diskSizeGb;
}
/**
* @return string
*/
public function getDiskSizeGb()
{
return $this->diskSizeGb;
}
/**
* @param float
*/
public function setMemoryGb($memoryGb)
{
$this->memoryGb = $memoryGb;
}
/**
* @return float
*/
public function getMemoryGb()
{
return $this->memoryGb;
}
/**
* @param float
*/
public function setVcpuCount($vcpuCount)
{
$this->vcpuCount = $vcpuCount;
}
/**
* @return float
*/
public function getVcpuCount()
{
return $this->vcpuCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig::class, 'Google_Service_CloudBuild_GoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig');

View File

@@ -0,0 +1,134 @@
<?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\CloudBuild;
class GoogleDevtoolsCloudbuildV2Condition extends \Google\Model
{
/**
* @var string
*/
public $lastTransitionTime;
/**
* @var string
*/
public $message;
/**
* @var string
*/
public $reason;
/**
* @var string
*/
public $severity;
/**
* @var string
*/
public $status;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setLastTransitionTime($lastTransitionTime)
{
$this->lastTransitionTime = $lastTransitionTime;
}
/**
* @return string
*/
public function getLastTransitionTime()
{
return $this->lastTransitionTime;
}
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
/**
* @param string
*/
public function setReason($reason)
{
$this->reason = $reason;
}
/**
* @return string
*/
public function getReason()
{
return $this->reason;
}
/**
* @param string
*/
public function setSeverity($severity)
{
$this->severity = $severity;
}
/**
* @return string
*/
public function getSeverity()
{
return $this->severity;
}
/**
* @param string
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return string
*/
public function getStatus()
{
return $this->status;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleDevtoolsCloudbuildV2Condition::class, 'Google_Service_CloudBuild_GoogleDevtoolsCloudbuildV2Condition');

View File

@@ -0,0 +1,204 @@
<?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\CloudBuild;
class GoogleDevtoolsCloudbuildV2GitHubEnterpriseConfig extends \Google\Model
{
/**
* @var string
*/
public $apiKey;
/**
* @var string
*/
public $appId;
/**
* @var string
*/
public $appInstallationId;
/**
* @var string
*/
public $appSlug;
/**
* @var string
*/
public $hostUri;
/**
* @var string
*/
public $privateKeySecretVersion;
/**
* @var string
*/
public $serverVersion;
protected $serviceDirectoryConfigType = GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig::class;
protected $serviceDirectoryConfigDataType = '';
/**
* @var string
*/
public $sslCa;
/**
* @var string
*/
public $webhookSecretSecretVersion;
/**
* @param string
*/
public function setApiKey($apiKey)
{
$this->apiKey = $apiKey;
}
/**
* @return string
*/
public function getApiKey()
{
return $this->apiKey;
}
/**
* @param string
*/
public function setAppId($appId)
{
$this->appId = $appId;
}
/**
* @return string
*/
public function getAppId()
{
return $this->appId;
}
/**
* @param string
*/
public function setAppInstallationId($appInstallationId)
{
$this->appInstallationId = $appInstallationId;
}
/**
* @return string
*/
public function getAppInstallationId()
{
return $this->appInstallationId;
}
/**
* @param string
*/
public function setAppSlug($appSlug)
{
$this->appSlug = $appSlug;
}
/**
* @return string
*/
public function getAppSlug()
{
return $this->appSlug;
}
/**
* @param string
*/
public function setHostUri($hostUri)
{
$this->hostUri = $hostUri;
}
/**
* @return string
*/
public function getHostUri()
{
return $this->hostUri;
}
/**
* @param string
*/
public function setPrivateKeySecretVersion($privateKeySecretVersion)
{
$this->privateKeySecretVersion = $privateKeySecretVersion;
}
/**
* @return string
*/
public function getPrivateKeySecretVersion()
{
return $this->privateKeySecretVersion;
}
/**
* @param string
*/
public function setServerVersion($serverVersion)
{
$this->serverVersion = $serverVersion;
}
/**
* @return string
*/
public function getServerVersion()
{
return $this->serverVersion;
}
/**
* @param GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig
*/
public function setServiceDirectoryConfig(GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig $serviceDirectoryConfig)
{
$this->serviceDirectoryConfig = $serviceDirectoryConfig;
}
/**
* @return GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig
*/
public function getServiceDirectoryConfig()
{
return $this->serviceDirectoryConfig;
}
/**
* @param string
*/
public function setSslCa($sslCa)
{
$this->sslCa = $sslCa;
}
/**
* @return string
*/
public function getSslCa()
{
return $this->sslCa;
}
/**
* @param string
*/
public function setWebhookSecretSecretVersion($webhookSecretSecretVersion)
{
$this->webhookSecretSecretVersion = $webhookSecretSecretVersion;
}
/**
* @return string
*/
public function getWebhookSecretSecretVersion()
{
return $this->webhookSecretSecretVersion;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleDevtoolsCloudbuildV2GitHubEnterpriseConfig::class, 'Google_Service_CloudBuild_GoogleDevtoolsCloudbuildV2GitHubEnterpriseConfig');

View File

@@ -0,0 +1,146 @@
<?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\CloudBuild;
class GoogleDevtoolsCloudbuildV2GitLabConfig extends \Google\Model
{
protected $authorizerCredentialType = UserCredential::class;
protected $authorizerCredentialDataType = '';
/**
* @var string
*/
public $hostUri;
protected $readAuthorizerCredentialType = UserCredential::class;
protected $readAuthorizerCredentialDataType = '';
/**
* @var string
*/
public $serverVersion;
protected $serviceDirectoryConfigType = GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig::class;
protected $serviceDirectoryConfigDataType = '';
/**
* @var string
*/
public $sslCa;
/**
* @var string
*/
public $webhookSecretSecretVersion;
/**
* @param UserCredential
*/
public function setAuthorizerCredential(UserCredential $authorizerCredential)
{
$this->authorizerCredential = $authorizerCredential;
}
/**
* @return UserCredential
*/
public function getAuthorizerCredential()
{
return $this->authorizerCredential;
}
/**
* @param string
*/
public function setHostUri($hostUri)
{
$this->hostUri = $hostUri;
}
/**
* @return string
*/
public function getHostUri()
{
return $this->hostUri;
}
/**
* @param UserCredential
*/
public function setReadAuthorizerCredential(UserCredential $readAuthorizerCredential)
{
$this->readAuthorizerCredential = $readAuthorizerCredential;
}
/**
* @return UserCredential
*/
public function getReadAuthorizerCredential()
{
return $this->readAuthorizerCredential;
}
/**
* @param string
*/
public function setServerVersion($serverVersion)
{
$this->serverVersion = $serverVersion;
}
/**
* @return string
*/
public function getServerVersion()
{
return $this->serverVersion;
}
/**
* @param GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig
*/
public function setServiceDirectoryConfig(GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig $serviceDirectoryConfig)
{
$this->serviceDirectoryConfig = $serviceDirectoryConfig;
}
/**
* @return GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig
*/
public function getServiceDirectoryConfig()
{
return $this->serviceDirectoryConfig;
}
/**
* @param string
*/
public function setSslCa($sslCa)
{
$this->sslCa = $sslCa;
}
/**
* @return string
*/
public function getSslCa()
{
return $this->sslCa;
}
/**
* @param string
*/
public function setWebhookSecretSecretVersion($webhookSecretSecretVersion)
{
$this->webhookSecretSecretVersion = $webhookSecretSecretVersion;
}
/**
* @return string
*/
public function getWebhookSecretSecretVersion()
{
return $this->webhookSecretSecretVersion;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleDevtoolsCloudbuildV2GitLabConfig::class, 'Google_Service_CloudBuild_GoogleDevtoolsCloudbuildV2GitLabConfig');

View File

@@ -0,0 +1,152 @@
<?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\CloudBuild;
class GoogleDevtoolsCloudbuildV2OperationMetadata extends \Google\Model
{
/**
* @var string
*/
public $apiVersion;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $endTime;
/**
* @var bool
*/
public $requestedCancellation;
/**
* @var string
*/
public $statusMessage;
/**
* @var string
*/
public $target;
/**
* @var string
*/
public $verb;
/**
* @param string
*/
public function setApiVersion($apiVersion)
{
$this->apiVersion = $apiVersion;
}
/**
* @return string
*/
public function getApiVersion()
{
return $this->apiVersion;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param bool
*/
public function setRequestedCancellation($requestedCancellation)
{
$this->requestedCancellation = $requestedCancellation;
}
/**
* @return bool
*/
public function getRequestedCancellation()
{
return $this->requestedCancellation;
}
/**
* @param string
*/
public function setStatusMessage($statusMessage)
{
$this->statusMessage = $statusMessage;
}
/**
* @return string
*/
public function getStatusMessage()
{
return $this->statusMessage;
}
/**
* @param string
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
/**
* @param string
*/
public function setVerb($verb)
{
$this->verb = $verb;
}
/**
* @return string
*/
public function getVerb()
{
return $this->verb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleDevtoolsCloudbuildV2OperationMetadata::class, 'Google_Service_CloudBuild_GoogleDevtoolsCloudbuildV2OperationMetadata');

View File

@@ -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\CloudBuild;
class GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig extends \Google\Model
{
/**
* @var string
*/
public $service;
/**
* @param string
*/
public function setService($service)
{
$this->service = $service;
}
/**
* @return string
*/
public function getService()
{
return $this->service;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig::class, 'Google_Service_CloudBuild_GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig');

View File

@@ -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\CloudBuild;
class HTTPDelivery extends \Google\Model
{
/**
* @var string
*/
public $uri;
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(HTTPDelivery::class, 'Google_Service_CloudBuild_HTTPDelivery');

View File

@@ -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\CloudBuild;
class Hash extends \Google\Model
{
/**
* @var string
*/
public $type;
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* @param string
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Hash::class, 'Google_Service_CloudBuild_Hash');

View File

@@ -0,0 +1,81 @@
<?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\CloudBuild;
class HttpBody extends \Google\Collection
{
protected $collection_key = 'extensions';
/**
* @var string
*/
public $contentType;
/**
* @var string
*/
public $data;
/**
* @var array[]
*/
public $extensions;
/**
* @param string
*/
public function setContentType($contentType)
{
$this->contentType = $contentType;
}
/**
* @return string
*/
public function getContentType()
{
return $this->contentType;
}
/**
* @param string
*/
public function setData($data)
{
$this->data = $data;
}
/**
* @return string
*/
public function getData()
{
return $this->data;
}
/**
* @param array[]
*/
public function setExtensions($extensions)
{
$this->extensions = $extensions;
}
/**
* @return array[]
*/
public function getExtensions()
{
return $this->extensions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(HttpBody::class, 'Google_Service_CloudBuild_HttpBody');

View File

@@ -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\CloudBuild;
class HybridPoolConfig extends \Google\Model
{
protected $defaultWorkerConfigType = HybridWorkerConfig::class;
protected $defaultWorkerConfigDataType = '';
/**
* @var string
*/
public $membership;
/**
* @param HybridWorkerConfig
*/
public function setDefaultWorkerConfig(HybridWorkerConfig $defaultWorkerConfig)
{
$this->defaultWorkerConfig = $defaultWorkerConfig;
}
/**
* @return HybridWorkerConfig
*/
public function getDefaultWorkerConfig()
{
return $this->defaultWorkerConfig;
}
/**
* @param string
*/
public function setMembership($membership)
{
$this->membership = $membership;
}
/**
* @return string
*/
public function getMembership()
{
return $this->membership;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(HybridPoolConfig::class, 'Google_Service_CloudBuild_HybridPoolConfig');

View File

@@ -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\CloudBuild;
class HybridWorkerConfig extends \Google\Model
{
/**
* @var string
*/
public $diskSizeGb;
/**
* @var float
*/
public $memoryGb;
/**
* @var float
*/
public $vcpuCount;
/**
* @param string
*/
public function setDiskSizeGb($diskSizeGb)
{
$this->diskSizeGb = $diskSizeGb;
}
/**
* @return string
*/
public function getDiskSizeGb()
{
return $this->diskSizeGb;
}
/**
* @param float
*/
public function setMemoryGb($memoryGb)
{
$this->memoryGb = $memoryGb;
}
/**
* @return float
*/
public function getMemoryGb()
{
return $this->memoryGb;
}
/**
* @param float
*/
public function setVcpuCount($vcpuCount)
{
$this->vcpuCount = $vcpuCount;
}
/**
* @return float
*/
public function getVcpuCount()
{
return $this->vcpuCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(HybridWorkerConfig::class, 'Google_Service_CloudBuild_HybridWorkerConfig');

View File

@@ -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\CloudBuild;
class InlineSecret extends \Google\Model
{
/**
* @var string[]
*/
public $envMap;
/**
* @var string
*/
public $kmsKeyName;
/**
* @param string[]
*/
public function setEnvMap($envMap)
{
$this->envMap = $envMap;
}
/**
* @return string[]
*/
public function getEnvMap()
{
return $this->envMap;
}
/**
* @param string
*/
public function setKmsKeyName($kmsKeyName)
{
$this->kmsKeyName = $kmsKeyName;
}
/**
* @return string
*/
public function getKmsKeyName()
{
return $this->kmsKeyName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InlineSecret::class, 'Google_Service_CloudBuild_InlineSecret');

View File

@@ -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\CloudBuild;
class InstallationState extends \Google\Model
{
/**
* @var string
*/
public $actionUri;
/**
* @var string
*/
public $message;
/**
* @var string
*/
public $stage;
/**
* @param string
*/
public function setActionUri($actionUri)
{
$this->actionUri = $actionUri;
}
/**
* @return string
*/
public function getActionUri()
{
return $this->actionUri;
}
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
/**
* @param string
*/
public function setStage($stage)
{
$this->stage = $stage;
}
/**
* @return string
*/
public function getStage()
{
return $this->stage;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InstallationState::class, 'Google_Service_CloudBuild_InstallationState');

View File

@@ -0,0 +1,61 @@
<?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\CloudBuild;
class ListBitbucketServerConfigsResponse extends \Google\Collection
{
protected $collection_key = 'bitbucketServerConfigs';
protected $bitbucketServerConfigsType = BitbucketServerConfig::class;
protected $bitbucketServerConfigsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param BitbucketServerConfig[]
*/
public function setBitbucketServerConfigs($bitbucketServerConfigs)
{
$this->bitbucketServerConfigs = $bitbucketServerConfigs;
}
/**
* @return BitbucketServerConfig[]
*/
public function getBitbucketServerConfigs()
{
return $this->bitbucketServerConfigs;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListBitbucketServerConfigsResponse::class, 'Google_Service_CloudBuild_ListBitbucketServerConfigsResponse');

View File

@@ -0,0 +1,61 @@
<?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\CloudBuild;
class ListBitbucketServerRepositoriesResponse extends \Google\Collection
{
protected $collection_key = 'bitbucketServerRepositories';
protected $bitbucketServerRepositoriesType = BitbucketServerRepository::class;
protected $bitbucketServerRepositoriesDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param BitbucketServerRepository[]
*/
public function setBitbucketServerRepositories($bitbucketServerRepositories)
{
$this->bitbucketServerRepositories = $bitbucketServerRepositories;
}
/**
* @return BitbucketServerRepository[]
*/
public function getBitbucketServerRepositories()
{
return $this->bitbucketServerRepositories;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListBitbucketServerRepositoriesResponse::class, 'Google_Service_CloudBuild_ListBitbucketServerRepositoriesResponse');

View File

@@ -0,0 +1,61 @@
<?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\CloudBuild;
class ListBuildTriggersResponse extends \Google\Collection
{
protected $collection_key = 'triggers';
/**
* @var string
*/
public $nextPageToken;
protected $triggersType = BuildTrigger::class;
protected $triggersDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param BuildTrigger[]
*/
public function setTriggers($triggers)
{
$this->triggers = $triggers;
}
/**
* @return BuildTrigger[]
*/
public function getTriggers()
{
return $this->triggers;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListBuildTriggersResponse::class, 'Google_Service_CloudBuild_ListBuildTriggersResponse');

View File

@@ -0,0 +1,61 @@
<?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\CloudBuild;
class ListBuildsResponse extends \Google\Collection
{
protected $collection_key = 'builds';
protected $buildsType = Build::class;
protected $buildsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param Build[]
*/
public function setBuilds($builds)
{
$this->builds = $builds;
}
/**
* @return Build[]
*/
public function getBuilds()
{
return $this->builds;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListBuildsResponse::class, 'Google_Service_CloudBuild_ListBuildsResponse');

View File

@@ -0,0 +1,61 @@
<?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\CloudBuild;
class ListConnectionsResponse extends \Google\Collection
{
protected $collection_key = 'connections';
protected $connectionsType = Connection::class;
protected $connectionsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param Connection[]
*/
public function setConnections($connections)
{
$this->connections = $connections;
}
/**
* @return Connection[]
*/
public function getConnections()
{
return $this->connections;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListConnectionsResponse::class, 'Google_Service_CloudBuild_ListConnectionsResponse');

View File

@@ -0,0 +1,61 @@
<?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\CloudBuild;
class ListGitLabConfigsResponse extends \Google\Collection
{
protected $collection_key = 'gitlabConfigs';
protected $gitlabConfigsType = GitLabConfig::class;
protected $gitlabConfigsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param GitLabConfig[]
*/
public function setGitlabConfigs($gitlabConfigs)
{
$this->gitlabConfigs = $gitlabConfigs;
}
/**
* @return GitLabConfig[]
*/
public function getGitlabConfigs()
{
return $this->gitlabConfigs;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListGitLabConfigsResponse::class, 'Google_Service_CloudBuild_ListGitLabConfigsResponse');

View File

@@ -0,0 +1,61 @@
<?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\CloudBuild;
class ListGitLabRepositoriesResponse extends \Google\Collection
{
protected $collection_key = 'gitlabRepositories';
protected $gitlabRepositoriesType = GitLabRepository::class;
protected $gitlabRepositoriesDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param GitLabRepository[]
*/
public function setGitlabRepositories($gitlabRepositories)
{
$this->gitlabRepositories = $gitlabRepositories;
}
/**
* @return GitLabRepository[]
*/
public function getGitlabRepositories()
{
return $this->gitlabRepositories;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListGitLabRepositoriesResponse::class, 'Google_Service_CloudBuild_ListGitLabRepositoriesResponse');

View File

@@ -0,0 +1,43 @@
<?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\CloudBuild;
class ListGithubEnterpriseConfigsResponse extends \Google\Collection
{
protected $collection_key = 'configs';
protected $configsType = GitHubEnterpriseConfig::class;
protected $configsDataType = 'array';
/**
* @param GitHubEnterpriseConfig[]
*/
public function setConfigs($configs)
{
$this->configs = $configs;
}
/**
* @return GitHubEnterpriseConfig[]
*/
public function getConfigs()
{
return $this->configs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListGithubEnterpriseConfigsResponse::class, 'Google_Service_CloudBuild_ListGithubEnterpriseConfigsResponse');

Some files were not shown because too many files have changed in this diff Show More