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
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
Google\Cloud\Deploy\V1\KubernetesConfig|null |
hasKubernetes
setKubernetes
Kubernetes runtime configuration.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Deploy\V1\KubernetesConfig
|
Returns | |
---|---|
Type | Description |
$this |
getCloudRun
Cloud Run runtime configuration.
Returns | |
---|---|
Type | Description |
Google\Cloud\Deploy\V1\CloudRunConfig|null |
hasCloudRun
setCloudRun
Cloud Run runtime configuration.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Deploy\V1\CloudRunConfig
|
Returns | |
---|---|
Type | Description |
$this |
getRuntimeConfig
Returns | |
---|---|
Type | Description |
string |