View Source GoogleApi.AppHub.V1.Model.DiscoveredWorkload (google_api_app_hub v0.2.0)

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.

Attributes

  • name (type: String.t, default: nil) - Identifier. The resource name of the discovered workload. Format: "projects/{host-project-id}/locations/{location}/discoveredWorkloads/{uuid}"
  • workloadProperties (type: GoogleApi.AppHub.V1.Model.WorkloadProperties.t, default: nil) - Output only. Properties of an underlying compute resource represented by the Workload. These are immutable.
  • workloadReference (type: GoogleApi.AppHub.V1.Model.WorkloadReference.t, default: nil) - Output only. Reference of an underlying compute resource represented by the Workload. These are immutable.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AppHub.V1.Model.DiscoveredWorkload{
  name: String.t() | nil,
  workloadProperties: GoogleApi.AppHub.V1.Model.WorkloadProperties.t() | nil,
  workloadReference: GoogleApi.AppHub.V1.Model.WorkloadReference.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.