GoogleApi.WorkloadManager.V1.Model.SapDiscoveryResource (google_api_workload_manager v0.12.0)

View Source

Message describing a resource.

Attributes

  • instanceProperties (type: GoogleApi.WorkloadManager.V1.Model.SapDiscoveryResourceInstanceProperties.t, default: nil) - Optional. A set of properties only applying to instance type resources.
  • relatedResources (type: list(String.t), default: nil) - Optional. A list of resource URIs related to this resource.
  • resourceKind (type: String.t, default: nil) - Required. ComputeInstance, ComputeDisk, VPC, Bare Metal server, etc.
  • resourceType (type: String.t, default: nil) - Required. The type of this resource.
  • resourceUri (type: String.t, default: nil) - Required. URI of the resource, includes project, location, and name.
  • updateTime (type: DateTime.t, default: nil) - Required. Unix timestamp of when this resource last had its discovery data updated.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.WorkloadManager.V1.Model.SapDiscoveryResource{
  instanceProperties:
    GoogleApi.WorkloadManager.V1.Model.SapDiscoveryResourceInstanceProperties.t()
    | nil,
  relatedResources: [String.t()] | nil,
  resourceKind: String.t() | nil,
  resourceType: String.t() | nil,
  resourceUri: String.t() | nil,
  updateTime: DateTime.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.