Google Cloud Deploy V1 Client - Class Config (1.2.0)

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

Service-wide configuration.

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

Namespace

Google \ Cloud \ Deploy \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Name of the configuration.

↳ supported_versions array<Google\Cloud\Deploy\V1\SkaffoldVersion>

All supported versions of Skaffold.

↳ default_skaffold_version string

Default Skaffold version that is assigned when a Release is created without specifying a Skaffold version.

getName

Name of the configuration.

Returns
Type Description
string

setName

Name of the configuration.

Parameter
Name Description
var string
Returns
Type Description
$this

getSupportedVersions

All supported versions of Skaffold.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSupportedVersions

All supported versions of Skaffold.

Parameter
Name Description
var array<Google\Cloud\Deploy\V1\SkaffoldVersion>
Returns
Type Description
$this

getDefaultSkaffoldVersion

Default Skaffold version that is assigned when a Release is created without specifying a Skaffold version.

Returns
Type Description
string

setDefaultSkaffoldVersion

Default Skaffold version that is assigned when a Release is created without specifying a Skaffold version.

Parameter
Name Description
var string
Returns
Type Description
$this