Google Cloud Deploy V1 Client - Class RuntimeConfig (1.4.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
Name Description
data array

Optional. Data for populating the Message object.

↳ kubernetes KubernetesConfig

Kubernetes runtime configuration.

↳ cloud_run CloudRunConfig

Cloud Run runtime configuration.

getKubernetes

Kubernetes runtime configuration.

Returns
Type Description
KubernetesConfig|null

hasKubernetes

setKubernetes

Kubernetes runtime configuration.

Parameter
Name Description
var KubernetesConfig
Returns
Type Description
$this

getCloudRun

Cloud Run runtime configuration.

Returns
Type Description
CloudRunConfig|null

hasCloudRun

setCloudRun

Cloud Run runtime configuration.

Parameter
Name Description
var CloudRunConfig
Returns
Type Description
$this

getRuntimeConfig

Returns
Type Description
string