Reference documentation and code samples for the Google Cloud App Hub V1 Client class WorkloadProperties.
Properties of an underlying compute resource represented by the Workload.
Generated from protobuf message google.cloud.apphub.v1.WorkloadProperties
Namespace
Google \ Cloud \ AppHub \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ gcp_project
string
Output only. The service project identifier that the underlying cloud resource resides in. Empty for non cloud resources.
↳ location
string
Output only. The location that the underlying compute resource resides in (e.g us-west1).
↳ zone
string
Output only. The location that the underlying compute resource resides in if it is zonal (e.g us-west1-a).
getGcpProject
Output only. The service project identifier that the underlying cloud resource resides in. Empty for non cloud resources.
string
setGcpProject
Output only. The service project identifier that the underlying cloud resource resides in. Empty for non cloud resources.
var
string
$this
getLocation
Output only. The location that the underlying compute resource resides in (e.g us-west1).
string
setLocation
Output only. The location that the underlying compute resource resides in (e.g us-west1).
var
string
$this
getZone
Output only. The location that the underlying compute resource resides in if it is zonal (e.g us-west1-a).
string
setZone
Output only. The location that the underlying compute resource resides in if it is zonal (e.g us-west1-a).
var
string
$this