Google Cloud Deploy V1 Client - Class SkaffoldModules (1.4.0)

Reference documentation and code samples for the Google Cloud Deploy V1 Client class SkaffoldModules.

Skaffold Config modules and their remote source.

Generated from protobuf message google.cloud.deploy.v1.SkaffoldModules

Namespace

Google \ Cloud \ Deploy \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ configs array

Optional. The Skaffold Config modules to use from the specified source.

↳ git SkaffoldModules\SkaffoldGitSource

Remote git repository containing the Skaffold Config modules.

↳ google_cloud_storage SkaffoldModules\SkaffoldGCSSource

Cloud Storage bucket containing the Skaffold Config modules.

↳ google_cloud_build_repo SkaffoldModules\SkaffoldGCBRepoSource

Cloud Build V2 repository containing the Skaffold Config modules.

getConfigs

Optional. The Skaffold Config modules to use from the specified source.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setConfigs

Optional. The Skaffold Config modules to use from the specified source.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getGit

Remote git repository containing the Skaffold Config modules.

Returns
Type Description
SkaffoldModules\SkaffoldGitSource|null

hasGit

setGit

Remote git repository containing the Skaffold Config modules.

Parameter
Name Description
var SkaffoldModules\SkaffoldGitSource
Returns
Type Description
$this

getGoogleCloudStorage

Cloud Storage bucket containing the Skaffold Config modules.

Returns
Type Description
SkaffoldModules\SkaffoldGCSSource|null

hasGoogleCloudStorage

setGoogleCloudStorage

Cloud Storage bucket containing the Skaffold Config modules.

Parameter
Name Description
var SkaffoldModules\SkaffoldGCSSource
Returns
Type Description
$this

getGoogleCloudBuildRepo

Cloud Build V2 repository containing the Skaffold Config modules.

Returns
Type Description
SkaffoldModules\SkaffoldGCBRepoSource|null

hasGoogleCloudBuildRepo

setGoogleCloudBuildRepo

Cloud Build V2 repository containing the Skaffold Config modules.

Parameter
Name Description
var SkaffoldModules\SkaffoldGCBRepoSource
Returns
Type Description
$this

getSource

Returns
Type Description
string