# App Hub V1 API - Class Google::Cloud::AppHub::V1::WorkloadProperties (v1.7.0)

1.7.0 (latest) 1.6.0 1.5.0 1.4.1 1.3.0 1.2.0 1.1.1 1.0.0 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the App Hub V1 API class Google::Cloud::AppHub::V1::WorkloadProperties.

Properties of an underlying compute resource represented by the Workload.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #gcp_project

    def gcp_project() -> ::String

**Returns**

- (::String) --- Output only. The service project identifier that the underlying cloud resource resides in. Empty for non-cloud resources.

### #location

    def location() -> ::String

**Returns**

- (::String) --- Output only. The location that the underlying compute resource resides in (for example, us-west1).

### #zone

    def zone() -> ::String

**Returns**

- (::String) --- Output only. The location that the underlying compute resource resides in if it is zonal (for example, us-west1-a).