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
#extended_metadata
def extended_metadata() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::AppHub::V1::ExtendedMetadata}
Returns
-
(::Google::Protobuf::Map{::String => ::Google::Cloud::AppHub::V1::ExtendedMetadata}) — Output only. Additional metadata specific to the resource type.
The key is a string that identifies the type of metadata and the value is
the metadata contents specific to that type.
Key format:
apphub.googleapis.com/{metadataType}
#functional_type
def functional_type() -> ::Google::Cloud::AppHub::V1::FunctionalType
Returns
- (::Google::Cloud::AppHub::V1::FunctionalType) — Output only. The type of the workload.
#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.
#identity
def identity() -> ::Google::Cloud::AppHub::V1::Identity
Returns
- (::Google::Cloud::AppHub::V1::Identity) — Output only. The identity associated with the workload.
#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).