GKE Hub V1 API - Class Google::Cloud::GkeHub::V1::Feature (v0.5.0)

Reference documentation and code samples for the GKE Hub V1 API class Google::Cloud::GkeHub::V1::Feature.

Feature represents the settings and status of any Hub Feature.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#delete_time

def delete_time() -> ::Google::Protobuf::Timestamp
Returns

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — GCP labels for this Feature.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — GCP labels for this Feature.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — GCP labels for this Feature.

#membership_specs

def membership_specs() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::GkeHub::V1::MembershipFeatureSpec}
Returns
  • (::Google::Protobuf::Map{::String => ::Google::Cloud::GkeHub::V1::MembershipFeatureSpec}) — 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.

#membership_specs=

def membership_specs=(value) -> ::Google::Protobuf::Map{::String => ::Google::Cloud::GkeHub::V1::MembershipFeatureSpec}
Parameter
  • value (::Google::Protobuf::Map{::String => ::Google::Cloud::GkeHub::V1::MembershipFeatureSpec}) — 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.

Returns
  • (::Google::Protobuf::Map{::String => ::Google::Cloud::GkeHub::V1::MembershipFeatureSpec}) — 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.

#membership_states

def membership_states() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::GkeHub::V1::MembershipFeatureState}
Returns
  • (::Google::Protobuf::Map{::String => ::Google::Cloud::GkeHub::V1::MembershipFeatureState}) — 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

def name() -> ::String
Returns
  • (::String) — Output only. The full, unique name of this Feature resource in the format projects/*/locations/*/features/*.

#resource_state

def resource_state() -> ::Google::Cloud::GkeHub::V1::FeatureResourceState
Returns

#spec

def spec() -> ::Google::Cloud::GkeHub::V1::CommonFeatureSpec
Returns

#spec=

def spec=(value) -> ::Google::Cloud::GkeHub::V1::CommonFeatureSpec
Parameter
Returns

#state

def state() -> ::Google::Cloud::GkeHub::V1::CommonFeatureState
Returns

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns