Google Cloud Developer Connect V1 Client - Class RuntimeConfig (0.4.1)

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

RuntimeConfig represents the runtimes where the application is deployed.

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

Namespace

Google \ Cloud \ DeveloperConnect \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ gke_workload
GKEWorkload

Output only. Google Kubernetes Engine runtime.

↳ app_hub_workload
AppHubWorkload

Output only. App Hub Workload.

↳ uri
string

Required. Immutable. The URI of the runtime configuration. For GKE, this is the cluster name. For Cloud Run, this is the service name.

↳ state
int

Output only. The state of the Runtime.

getGkeWorkload

Output only. Google Kubernetes Engine runtime.

Returns
Type
Description
GKEWorkload |null

hasGkeWorkload

setGkeWorkload

Output only. Google Kubernetes Engine runtime.

Parameter
Name
Description
Returns
Type
Description
$this

getAppHubWorkload

Output only. App Hub Workload.

Returns
Type
Description

hasAppHubWorkload

setAppHubWorkload

Output only. App Hub Workload.

Parameter
Name
Description
Returns
Type
Description
$this

getUri

Required. Immutable. The URI of the runtime configuration.

For GKE, this is the cluster name. For Cloud Run, this is the service name.

Returns
Type
Description
string

setUri

Required. Immutable. The URI of the runtime configuration.

For GKE, this is the cluster name. For Cloud Run, this is the service name.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getState

Output only. The state of the Runtime.

Returns
Type
Description
int

setState

Output only. The state of the Runtime.

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getRuntime

Returns
Type
Description
string

getDerivedFrom

Returns
Type
Description
string
Create a Mobile Website
View Site in Mobile | Classic
Share by: