View Source GoogleApi.GKEHub.V1.Model.Feature (google_api_gke_hub v0.3.1)

Feature represents the settings and status of any Hub Feature.

Attributes

  • createTime (type: DateTime.t, default: nil) - Output only. When the Feature resource was created.
  • deleteTime (type: DateTime.t, default: nil) - Output only. When the Feature resource was deleted.
  • labels (type: map(), default: nil) - GCP labels for this Feature.
  • membershipSpecs (type: %{optional(String.t) => GoogleApi.GKEHub.V1.Model.MembershipFeatureSpec.t}, default: nil) - Optional. Membership-specific configuration for this Feature. If this Feature does not support any per-Membership configuration, this field may be unused. The keys indicate which Membership the configuration is for, in the form: projects/{p}/locations/{l}/memberships/{m} Where {p} is the project, {l} is a valid location and {m} is a valid Membership in this project at that location. {p} WILL match the Feature's project. {p} will always be returned as the project number, but the project ID is also accepted during input. If the same Membership is specified in the map twice (using the project ID form, and the project number form), exactly ONE of the entries will be saved, with no guarantees as to which. For this reason, it is recommended the same format be used for all entries when mutating a Feature.
  • membershipStates (type: %{optional(String.t) => GoogleApi.GKEHub.V1.Model.MembershipFeatureState.t}, default: nil) - Output only. Membership-specific Feature status. If this Feature does report any per-Membership status, this field may be unused. The keys indicate which Membership the state is for, in the form: projects/{p}/locations/{l}/memberships/{m} Where {p} is the project number, {l} is a valid location and {m} is a valid Membership in this project at that location. {p} MUST match the Feature's project number.
  • name (type: String.t, default: nil) - Output only. The full, unique name of this Feature resource in the format projects/*/locations/*/features/*.
  • resourceState (type: GoogleApi.GKEHub.V1.Model.FeatureResourceState.t, default: nil) - Output only. State of the Feature resource itself.
  • spec (type: GoogleApi.GKEHub.V1.Model.CommonFeatureSpec.t, default: nil) - Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused.
  • state (type: GoogleApi.GKEHub.V1.Model.CommonFeatureState.t, default: nil) - Output only. The Hub-wide Feature state.
  • updateTime (type: DateTime.t, default: nil) - Output only. When the Feature resource was last updated.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.GKEHub.V1.Model.Feature{
  createTime: DateTime.t() | nil,
  deleteTime: DateTime.t() | nil,
  labels: map() | nil,
  membershipSpecs:
    %{
      optional(String.t()) =>
        GoogleApi.GKEHub.V1.Model.MembershipFeatureSpec.t()
    }
    | nil,
  membershipStates:
    %{
      optional(String.t()) =>
        GoogleApi.GKEHub.V1.Model.MembershipFeatureState.t()
    }
    | nil,
  name: String.t() | nil,
  resourceState: GoogleApi.GKEHub.V1.Model.FeatureResourceState.t() | nil,
  spec: GoogleApi.GKEHub.V1.Model.CommonFeatureSpec.t() | nil,
  state: GoogleApi.GKEHub.V1.Model.CommonFeatureState.t() | nil,
  updateTime: DateTime.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.