Skip to main content

features

Overview

Namefeatures
TypeResource
Idgoogle.gkehub.features

Fields

NameDatatypeDescription
namestringOutput only. The full, unique name of this Feature resource in the format projects/*/locations/*/features/*.
createTimestringOutput only. When the Feature resource was created.
deleteTimestringOutput only. When the Feature resource was deleted.
fleetDefaultMemberConfigobjectCommonFleetDefaultMemberConfigSpec contains default configuration information for memberships of a fleet
labelsobjectLabels for this Feature.
membershipSpecsobjectOptional. 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.
membershipStatesobjectOutput 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.
resourceStateobjectFeatureResourceState describes the state of a Feature resource in the GkeHub API. See FeatureState for the "running state" of the Feature in the Hub and across Memberships.
scopeSpecsobjectOptional. Scope-specific configuration for this Feature. If this Feature does not support any per-Scope configuration, this field may be unused. The keys indicate which Scope the configuration is for, in the form: projects/{p}/locations/global/scopes/{s} Where {p} is the project, {s} is a valid Scope in this project. {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 Scope 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.
scopeStatesobjectOutput only. Scope-specific Feature status. If this Feature does report any per-Scope status, this field may be unused. The keys indicate which Scope the state is for, in the form: projects/{p}/locations/global/scopes/{s} Where {p} is the project, {s} is a valid Scope in this project. {p} WILL match the Feature's project.
specobjectCommonFeatureSpec contains Hub-wide configuration information
stateobjectCommonFeatureState contains Hub-wide Feature status information.
updateTimestringOutput only. When the Feature resource was last updated.

Methods

NameAccessible byRequired ParamsDescription
projects_locations_features_getSELECTfeaturesId, locationsId, projectsIdGets details of a single Feature.
projects_locations_features_listSELECTlocationsId, projectsIdLists Features in a given project and location.
projects_locations_features_createINSERTlocationsId, projectsIdAdds a new Feature.
projects_locations_features_deleteDELETEfeaturesId, locationsId, projectsIdRemoves a Feature.
_projects_locations_features_listEXEClocationsId, projectsIdLists Features in a given project and location.
projects_locations_features_patchEXECfeaturesId, locationsId, projectsIdUpdates an existing Feature.