Reference documentation and code samples for the Google Cloud App Hub V1 Client class DiscoveredWorkload.
DiscoveredWorkload is a binary deployment (such as managed instance groups (MIGs) and GKE deployments) that performs the smallest logical subset of business functionality. A discovered workload can be registered to an App Hub Workload.
Generated from protobuf message google.cloud.apphub.v1.DiscoveredWorkload
Namespace
Google \ Cloud \ AppHub \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. The resource name of the discovered workload. Format: "projects/{host-project-id}/locations/{location}/discoveredWorkloads/{uuid}"
↳ workload_reference
WorkloadReference
Output only. Reference of an underlying compute resource represented by the Workload. These are immutable.
↳ workload_properties
WorkloadProperties
Output only. Properties of an underlying compute resource represented by the Workload. These are immutable.
getName
Identifier. The resource name of the discovered workload. Format: "projects/{host-project-id}/locations/{location}/discoveredWorkloads/{uuid}"
string
setName
Identifier. The resource name of the discovered workload. Format: "projects/{host-project-id}/locations/{location}/discoveredWorkloads/{uuid}"
var
string
$this
getWorkloadReference
Output only. Reference of an underlying compute resource represented by the Workload. These are immutable.
hasWorkloadReference
clearWorkloadReference
setWorkloadReference
Output only. Reference of an underlying compute resource represented by the Workload. These are immutable.
$this
getWorkloadProperties
Output only. Properties of an underlying compute resource represented by the Workload. These are immutable.
hasWorkloadProperties
clearWorkloadProperties
setWorkloadProperties
Output only. Properties of an underlying compute resource represented by the Workload. These are immutable.
$this