View Source GoogleApi.AppHub.V1.Model.Workload (google_api_app_hub v0.3.0)

Workload is an App Hub data model that contains a discovered workload, which represents a binary deployment (such as managed instance groups (MIGs) and GKE deployments) that performs the smallest logical subset of business functionality.

Attributes

  • attributes (type: GoogleApi.AppHub.V1.Model.Attributes.t, default: nil) - Optional. Consumer provided attributes.
  • createTime (type: DateTime.t, default: nil) - Output only. Create time.
  • description (type: String.t, default: nil) - Optional. User-defined description of a Workload. Can have a maximum length of 2048 characters.
  • discoveredWorkload (type: String.t, default: nil) - Required. Immutable. The resource name of the original discovered workload.
  • displayName (type: String.t, default: nil) - Optional. User-defined name for the Workload. Can have a maximum length of 63 characters.
  • name (type: String.t, default: nil) - Identifier. The resource name of the Workload. Format: "projects/{host-project-id}/locations/{location}/applications/{application-id}/workloads/{workload-id}"
  • state (type: String.t, default: nil) - Output only. Workload state.
  • uid (type: String.t, default: nil) - Output only. A universally unique identifier (UUID) for the Workload in the UUID4 format.
  • updateTime (type: DateTime.t, default: nil) - Output only. Update time.
  • 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.Workload{
  attributes: GoogleApi.AppHub.V1.Model.Attributes.t() | nil,
  createTime: DateTime.t() | nil,
  description: String.t() | nil,
  discoveredWorkload: String.t() | nil,
  displayName: String.t() | nil,
  name: String.t() | nil,
  state: String.t() | nil,
  uid: String.t() | nil,
  updateTime: DateTime.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.