Google Cloud Deploy V1 Client - Class Config (0.13.1)

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
NameDescription
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
TypeDescription
string

setName

Name of the configuration.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSupportedVersions

All supported versions of Skaffold.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setSupportedVersions

All supported versions of Skaffold.

Parameter
NameDescription
var array<Google\Cloud\Deploy\V1\SkaffoldVersion>
Returns
TypeDescription
$this

getDefaultSkaffoldVersion

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

Returns
TypeDescription
string

setDefaultSkaffoldVersion

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this