Skip to content

Commit

Permalink
fix: update GKE Hub event type to match API (#536)
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 540361708

Co-authored-by: Copybara Bot <yoshi-code-bot@google.com>
  • Loading branch information
copybara-service[bot] and yoshi-code-bot authored Jun 15, 2023
1 parent 1300be8 commit 2ffe245
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions proto/google/events/cloud/gkehub/v1/data.proto
Original file line number Diff line number Diff line change
Expand Up @@ -32,26 +32,6 @@ message Feature {
// Output only. State of the Feature resource itself.
FeatureResourceState resource_state = 3;

// 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.
map<string, MembershipFeatureSpec> membership_specs = 5;

// Output only. The Hub-wide Feature state.
CommonFeatureState state = 6;

Expand Down Expand Up @@ -167,13 +147,6 @@ message ScopeFeatureState {
FeatureState state = 1;
}

// MembershipFeatureSpec contains configuration information for a single
// Membership.
message MembershipFeatureSpec {
// True if value of `feature_spec` was inherited from a fleet-level default.
bool fleet_inherited = 1;
}

// MembershipFeatureState contains Feature status information for a single
// Membership.
message MembershipFeatureState {
Expand Down

0 comments on commit 2ffe245

Please sign in to comment.