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
- (::Google::Protobuf::Timestamp) — Output only. When the Feature resource was created.
#delete_time
def delete_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. When the Feature resource was deleted.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
- (::Google::Protobuf::Map{::String => ::String}) — GCP labels for this Feature.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
- value (::Google::Protobuf::Map{::String => ::String}) — GCP labels for this Feature.
- (::Google::Protobuf::Map{::String => ::String}) — GCP labels for this Feature.
#membership_specs
def membership_specs() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::GkeHub::V1::MembershipFeatureSpec}
-
(::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}
-
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.
-
(::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}
-
(::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
-
(::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
- (::Google::Cloud::GkeHub::V1::FeatureResourceState) — Output only. State of the Feature resource itself.
#spec
def spec() -> ::Google::Cloud::GkeHub::V1::CommonFeatureSpec
- (::Google::Cloud::GkeHub::V1::CommonFeatureSpec) — Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused.
#spec=
def spec=(value) -> ::Google::Cloud::GkeHub::V1::CommonFeatureSpec
- value (::Google::Cloud::GkeHub::V1::CommonFeatureSpec) — Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused.
- (::Google::Cloud::GkeHub::V1::CommonFeatureSpec) — Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused.
#state
def state() -> ::Google::Cloud::GkeHub::V1::CommonFeatureState
- (::Google::Cloud::GkeHub::V1::CommonFeatureState) — Output only. The Hub-wide Feature state.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. When the Feature resource was last updated.