GoogleApi.AppHub.V1.Model.ServiceProjectAttachment (google_api_app_hub v0.4.0)

View Source

ServiceProjectAttachment represents an attachment from a service project to a host project. Service projects contain the underlying cloud infrastructure resources, and expose these resources to the host project through a ServiceProjectAttachment. With the attachments, the host project can provide an aggregated view of resources across all service projects.

Attributes

  • createTime (type: DateTime.t, default: nil) - Output only. Create time.
  • name (type: String.t, default: nil) - Identifier. The resource name of a ServiceProjectAttachment. Format: "projects/{host-project-id}/locations/global/serviceProjectAttachments/{service-project-id}."
  • serviceProject (type: String.t, default: nil) - Required. Immutable. Service project name in the format: "projects/abc" or "projects/123". As input, project name with either project id or number are accepted. As output, this field will contain project number.
  • state (type: String.t, default: nil) - Output only. ServiceProjectAttachment state.
  • uid (type: String.t, default: nil) - Output only. A globally unique identifier (in UUID4 format) for the ServiceProjectAttachment.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.AppHub.V1.Model.ServiceProjectAttachment{
  createTime: DateTime.t() | nil,
  name: String.t() | nil,
  serviceProject: String.t() | nil,
  state: String.t() | nil,
  uid: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.