View Source GoogleApi.GKEHub.V1.Model.Namespace (google_api_gke_hub v0.16.0)

Namespace represents a namespace across the Fleet

Attributes

  • createTime (type: DateTime.t, default: nil) - Output only. When the namespace was created.
  • deleteTime (type: DateTime.t, default: nil) - Output only. When the namespace was deleted.
  • labels (type: map(), default: nil) - Optional. Labels for this Namespace.
  • name (type: String.t, default: nil) - The resource name for the namespace projects/{project}/locations/{location}/namespaces/{namespace}
  • namespaceLabels (type: map(), default: nil) - Optional. Namespace-level cluster namespace labels. These labels are applied to the related namespace of the member clusters bound to the parent Scope. Scope-level labels (namespace_labels in the Fleet Scope resource) take precedence over Namespace-level labels if they share a key. Keys and values must be Kubernetes-conformant.
  • scope (type: String.t, default: nil) - Required. Scope associated with the namespace
  • state (type: GoogleApi.GKEHub.V1.Model.NamespaceLifecycleState.t, default: nil) - Output only. State of the namespace resource.
  • uid (type: String.t, default: nil) - Output only. Google-generated UUID for this resource. This is unique across all namespace resources. If a namespace resource is deleted and another resource with the same name is created, it gets a different uid.
  • updateTime (type: DateTime.t, default: nil) - Output only. When the namespace was last updated.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.GKEHub.V1.Model.Namespace{
  createTime: DateTime.t() | nil,
  deleteTime: DateTime.t() | nil,
  labels: map() | nil,
  name: String.t() | nil,
  namespaceLabels: map() | nil,
  scope: String.t() | nil,
  state: GoogleApi.GKEHub.V1.Model.NamespaceLifecycleState.t() | nil,
  uid: String.t() | nil,
  updateTime: DateTime.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.