Google Cloud Container V1 Client - Class CloudRunConfig (1.18.0)

Reference documentation and code samples for the Google Cloud Container V1 Client class CloudRunConfig.

Configuration options for the Cloud Run feature.

Generated from protobuf message google.container.v1.CloudRunConfig

Namespace

Google \ Cloud \ Container \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ disabled bool

Whether Cloud Run addon is enabled for this cluster.

↳ load_balancer_type int

Which load balancer type is installed for Cloud Run.

getDisabled

Whether Cloud Run addon is enabled for this cluster.

Returns
TypeDescription
bool

setDisabled

Whether Cloud Run addon is enabled for this cluster.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getLoadBalancerType

Which load balancer type is installed for Cloud Run.

Returns
TypeDescription
int

setLoadBalancerType

Which load balancer type is installed for Cloud Run.

Parameter
NameDescription
var int
Returns
TypeDescription
$this