Skip to content

Commit

Permalink
Regenerate clouddeploy client
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-code-bot committed Apr 29, 2024
1 parent a053f7d commit 731ee67
Show file tree
Hide file tree
Showing 2 changed files with 96 additions and 0 deletions.
80 changes: 80 additions & 0 deletions src/CloudDeploy/SkaffoldGCBRepoSource.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/

namespace Google\Service\CloudDeploy;

class SkaffoldGCBRepoSource extends \Google\Model
{
/**
* @var string
*/
public $path;
/**
* @var string
*/
public $ref;
/**
* @var string
*/
public $repository;

/**
* @param string
*/
public function setPath($path)
{
$this->path = $path;
}
/**
* @return string
*/
public function getPath()
{
return $this->path;
}
/**
* @param string
*/
public function setRef($ref)
{
$this->ref = $ref;
}
/**
* @return string
*/
public function getRef()
{
return $this->ref;
}
/**
* @param string
*/
public function setRepository($repository)
{
$this->repository = $repository;
}
/**
* @return string
*/
public function getRepository()
{
return $this->repository;
}
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SkaffoldGCBRepoSource::class, 'Google_Service_CloudDeploy_SkaffoldGCBRepoSource');
16 changes: 16 additions & 0 deletions src/CloudDeploy/SkaffoldModules.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ class SkaffoldModules extends \Google\Collection
public $configs;
protected $gitType = SkaffoldGitSource::class;
protected $gitDataType = '';
protected $googleCloudBuildRepoType = SkaffoldGCBRepoSource::class;
protected $googleCloudBuildRepoDataType = '';
protected $googleCloudStorageType = SkaffoldGCSSource::class;
protected $googleCloudStorageDataType = '';

Expand Down Expand Up @@ -57,6 +59,20 @@ public function getGit()
{
return $this->git;
}
/**
* @param SkaffoldGCBRepoSource
*/
public function setGoogleCloudBuildRepo(SkaffoldGCBRepoSource $googleCloudBuildRepo)
{
$this->googleCloudBuildRepo = $googleCloudBuildRepo;
}
/**
* @return SkaffoldGCBRepoSource
*/
public function getGoogleCloudBuildRepo()
{
return $this->googleCloudBuildRepo;
}
/**
* @param SkaffoldGCSSource
*/
Expand Down

0 comments on commit 731ee67

Please sign in to comment.