Google Cloud Deploy V1 Client - Class RuntimeConfig (0.8.0)

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

RuntimeConfig contains the runtime specific configurations for a deployment strategy.

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

Namespace

Google \ Cloud \ Deploy \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ kubernetes Google\Cloud\Deploy\V1\KubernetesConfig

Kubernetes runtime configuration.

↳ cloud_run Google\Cloud\Deploy\V1\CloudRunConfig

Cloud Run runtime configuration.

getKubernetes

Kubernetes runtime configuration.

Returns
TypeDescription
Google\Cloud\Deploy\V1\KubernetesConfig|null

hasKubernetes

setKubernetes

Kubernetes runtime configuration.

Parameter
NameDescription
var Google\Cloud\Deploy\V1\KubernetesConfig
Returns
TypeDescription
$this

getCloudRun

Cloud Run runtime configuration.

Returns
TypeDescription
Google\Cloud\Deploy\V1\CloudRunConfig|null

hasCloudRun

setCloudRun

Cloud Run runtime configuration.

Parameter
NameDescription
var Google\Cloud\Deploy\V1\CloudRunConfig
Returns
TypeDescription
$this

getRuntimeConfig

Returns
TypeDescription
string