Google Cloud Deploy V1 Client - Class Config (0.3.4)

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

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>

Output only. All supported versions of Skaffold.

↳ default_skaffold_version string

Output only. 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

Output only. All supported versions of Skaffold.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setSupportedVersions

Output only. All supported versions of Skaffold.

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

getDefaultSkaffoldVersion

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

Returns
TypeDescription
string

setDefaultSkaffoldVersion

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this