Reference documentation and code samples for the Google Cloud Developer Connect V1 Client class AppHubWorkload.
AppHubWorkload represents the App Hub Workload.
Generated from protobuf message google.cloud.developerconnect.v1.AppHubWorkload
Namespace
Google \ Cloud \ DeveloperConnect \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ workload |
string
Required. Output only. Immutable. The name of the App Hub Workload. Format: |
↳ criticality |
string
Output only. The criticality of the App Hub Workload. |
↳ environment |
string
Output only. The environment of the App Hub Workload. |
getWorkload
Required. Output only. Immutable. The name of the App Hub Workload.
Format:
projects/{project}/locations/{location}/applications/{application}/workloads/{workload}
.
Returns | |
---|---|
Type | Description |
string |
setWorkload
Required. Output only. Immutable. The name of the App Hub Workload.
Format:
projects/{project}/locations/{location}/applications/{application}/workloads/{workload}
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getCriticality
Output only. The criticality of the App Hub Workload.
Returns | |
---|---|
Type | Description |
string |
setCriticality
Output only. The criticality of the App Hub Workload.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getEnvironment
Output only. The environment of the App Hub Workload.
Returns | |
---|---|
Type | Description |
string |
setEnvironment
Output only. The environment of the App Hub Workload.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |