gkehubv1

package
v1.36.11-2024050211440... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: unknown License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const MembershipBinding_Fleet_case case_MembershipBinding_Target = 4
View Source
const MembershipBinding_Scope_case case_MembershipBinding_Target = 3
View Source
const MembershipBinding_Target_not_set_case case_MembershipBinding_Target = 0
View Source
const MembershipEndpoint_ApplianceCluster_case case_MembershipEndpoint_Type = 7
View Source
const MembershipEndpoint_EdgeCluster_case case_MembershipEndpoint_Type = 6
View Source
const MembershipEndpoint_GkeCluster_case case_MembershipEndpoint_Type = 1
View Source
const MembershipEndpoint_MultiCloudCluster_case case_MembershipEndpoint_Type = 5
View Source
const MembershipEndpoint_OnPremCluster_case case_MembershipEndpoint_Type = 4
View Source
const MembershipEndpoint_Type_not_set_case case_MembershipEndpoint_Type = 0
View Source
const Membership_Endpoint_case case_Membership_Type = 4
View Source
const Membership_Type_not_set_case case_Membership_Type = 0

Variables

View Source
var (
	FeatureResourceState_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "ENABLING",
		2: "ACTIVE",
		3: "DISABLING",
		4: "UPDATING",
		5: "SERVICE_UPDATING",
	}
	FeatureResourceState_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"ENABLING":          1,
		"ACTIVE":            2,
		"DISABLING":         3,
		"UPDATING":          4,
		"SERVICE_UPDATING":  5,
	}
)

Enum value maps for FeatureResourceState_State.

View Source
var (
	FeatureState_Code_name = map[int32]string{
		0: "CODE_UNSPECIFIED",
		1: "OK",
		2: "WARNING",
		3: "ERROR",
	}
	FeatureState_Code_value = map[string]int32{
		"CODE_UNSPECIFIED": 0,
		"OK":               1,
		"WARNING":          2,
		"ERROR":            3,
	}
)

Enum value maps for FeatureState_Code.

View Source
var (
	ScopeLifecycleState_Code_name = map[int32]string{
		0: "CODE_UNSPECIFIED",
		1: "CREATING",
		2: "READY",
		3: "DELETING",
		4: "UPDATING",
	}
	ScopeLifecycleState_Code_value = map[string]int32{
		"CODE_UNSPECIFIED": 0,
		"CREATING":         1,
		"READY":            2,
		"DELETING":         3,
		"UPDATING":         4,
	}
)

Enum value maps for ScopeLifecycleState_Code.

View Source
var (
	MembershipBindingLifecycleState_Code_name = map[int32]string{
		0: "CODE_UNSPECIFIED",
		1: "CREATING",
		2: "READY",
		3: "DELETING",
		4: "UPDATING",
	}
	MembershipBindingLifecycleState_Code_value = map[string]int32{
		"CODE_UNSPECIFIED": 0,
		"CREATING":         1,
		"READY":            2,
		"DELETING":         3,
		"UPDATING":         4,
	}
)

Enum value maps for MembershipBindingLifecycleState_Code.

View Source
var (
	OnPremCluster_ClusterType_name = map[int32]string{
		0: "CLUSTERTYPE_UNSPECIFIED",
		1: "BOOTSTRAP",
		2: "HYBRID",
		3: "STANDALONE",
		4: "USER",
	}
	OnPremCluster_ClusterType_value = map[string]int32{
		"CLUSTERTYPE_UNSPECIFIED": 0,
		"BOOTSTRAP":               1,
		"HYBRID":                  2,
		"STANDALONE":              3,
		"USER":                    4,
	}
)

Enum value maps for OnPremCluster_ClusterType.

View Source
var (
	MembershipState_Code_name = map[int32]string{
		0: "CODE_UNSPECIFIED",
		1: "CREATING",
		2: "READY",
		3: "DELETING",
		4: "UPDATING",
		5: "SERVICE_UPDATING",
	}
	MembershipState_Code_value = map[string]int32{
		"CODE_UNSPECIFIED": 0,
		"CREATING":         1,
		"READY":            2,
		"DELETING":         3,
		"UPDATING":         4,
		"SERVICE_UPDATING": 5,
	}
)

Enum value maps for MembershipState_Code.

View Source
var File_google_events_cloud_gkehub_v1_data_proto protoreflect.FileDescriptor
View Source
var File_google_events_cloud_gkehub_v1_events_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ApplianceCluster

type ApplianceCluster struct {

	// Immutable. Self-link of the GCP resource for the Appliance Cluster. For
	// example:
	//
	// //transferappliance.googleapis.com/projects/my-project/locations/us-west1-a/appliances/my-appliance
	ResourceLink string `protobuf:"bytes,1,opt,name=resource_link,json=resourceLink,proto3" json:"resource_link,omitempty"`
	// contains filtered or unexported fields
}

ApplianceCluster contains information specific to GDC Edge Appliance Clusters.

func (x *ApplianceCluster) GetResourceLink() string

func (*ApplianceCluster) ProtoMessage

func (*ApplianceCluster) ProtoMessage()

func (*ApplianceCluster) ProtoReflect

func (x *ApplianceCluster) ProtoReflect() protoreflect.Message

func (*ApplianceCluster) Reset

func (x *ApplianceCluster) Reset()
func (x *ApplianceCluster) SetResourceLink(v string)

func (*ApplianceCluster) String

func (x *ApplianceCluster) String() string

type ApplianceCluster_builder

type ApplianceCluster_builder struct {

	// Immutable. Self-link of the GCP resource for the Appliance Cluster. For
	// example:
	//
	// //transferappliance.googleapis.com/projects/my-project/locations/us-west1-a/appliances/my-appliance
	ResourceLink string
	// contains filtered or unexported fields
}

func (ApplianceCluster_builder) Build

type Authority

type Authority struct {

	// Optional. A JSON Web Token (JWT) issuer URI. `issuer` must start with
	// `https://` and be a valid URL with length <2000 characters.
	//
	// If set, then Google will allow valid OIDC tokens from this issuer to
	// authenticate within the workload_identity_pool. OIDC discovery will be
	// performed on this URI to validate tokens from the issuer.
	//
	// Clearing `issuer` disables Workload Identity. `issuer` cannot be directly
	// modified; it must be cleared (and Workload Identity disabled) before using
	// a new issuer (and re-enabling Workload Identity).
	Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"`
	// Output only. The name of the workload identity pool in which `issuer` will
	// be recognized.
	//
	// There is a single Workload Identity Pool per Hub that is shared
	// between all Memberships that belong to that Hub. For a Hub hosted in
	// {PROJECT_ID}, the workload pool format is `{PROJECT_ID}.hub.id.goog`,
	// although this is subject to change in newer versions of this API.
	WorkloadIdentityPool string `protobuf:"bytes,2,opt,name=workload_identity_pool,json=workloadIdentityPool,proto3" json:"workload_identity_pool,omitempty"`
	// Output only. An identity provider that reflects the `issuer` in the
	// workload identity pool.
	IdentityProvider string `protobuf:"bytes,3,opt,name=identity_provider,json=identityProvider,proto3" json:"identity_provider,omitempty"`
	// Optional. OIDC verification keys for this Membership in JWKS format (RFC
	// 7517).
	//
	// When this field is set, OIDC discovery will NOT be performed on `issuer`,
	// and instead OIDC tokens will be validated using this field.
	OidcJwks []byte `protobuf:"bytes,4,opt,name=oidc_jwks,json=oidcJwks,proto3" json:"oidc_jwks,omitempty"`
	// contains filtered or unexported fields
}

Authority encodes how Google will recognize identities from this Membership. See the workload identity documentation for more details: https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity

func (*Authority) GetIdentityProvider

func (x *Authority) GetIdentityProvider() string

func (*Authority) GetIssuer

func (x *Authority) GetIssuer() string

func (*Authority) GetOidcJwks

func (x *Authority) GetOidcJwks() []byte

func (*Authority) GetWorkloadIdentityPool

func (x *Authority) GetWorkloadIdentityPool() string

func (*Authority) ProtoMessage

func (*Authority) ProtoMessage()

func (*Authority) ProtoReflect

func (x *Authority) ProtoReflect() protoreflect.Message

func (*Authority) Reset

func (x *Authority) Reset()

func (*Authority) SetIdentityProvider

func (x *Authority) SetIdentityProvider(v string)

func (*Authority) SetIssuer

func (x *Authority) SetIssuer(v string)

func (*Authority) SetOidcJwks

func (x *Authority) SetOidcJwks(v []byte)

func (*Authority) SetWorkloadIdentityPool

func (x *Authority) SetWorkloadIdentityPool(v string)

func (*Authority) String

func (x *Authority) String() string

type Authority_builder

type Authority_builder struct {

	// Optional. A JSON Web Token (JWT) issuer URI. `issuer` must start with
	// `https://` and be a valid URL with length <2000 characters.
	//
	// If set, then Google will allow valid OIDC tokens from this issuer to
	// authenticate within the workload_identity_pool. OIDC discovery will be
	// performed on this URI to validate tokens from the issuer.
	//
	// Clearing `issuer` disables Workload Identity. `issuer` cannot be directly
	// modified; it must be cleared (and Workload Identity disabled) before using
	// a new issuer (and re-enabling Workload Identity).
	Issuer string
	// Output only. The name of the workload identity pool in which `issuer` will
	// be recognized.
	//
	// There is a single Workload Identity Pool per Hub that is shared
	// between all Memberships that belong to that Hub. For a Hub hosted in
	// {PROJECT_ID}, the workload pool format is `{PROJECT_ID}.hub.id.goog`,
	// although this is subject to change in newer versions of this API.
	WorkloadIdentityPool string
	// Output only. An identity provider that reflects the `issuer` in the
	// workload identity pool.
	IdentityProvider string
	// Optional. OIDC verification keys for this Membership in JWKS format (RFC
	// 7517).
	//
	// When this field is set, OIDC discovery will NOT be performed on `issuer`,
	// and instead OIDC tokens will be validated using this field.
	OidcJwks []byte
	// contains filtered or unexported fields
}

func (Authority_builder) Build

func (b0 Authority_builder) Build() *Authority

type CommonFeatureState

type CommonFeatureState struct {

	// Output only. The "running state" of the Feature in this Hub.
	State *FeatureState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

CommonFeatureState contains Hub-wide Feature status information.

func (*CommonFeatureState) ClearState

func (x *CommonFeatureState) ClearState()

func (*CommonFeatureState) GetState

func (x *CommonFeatureState) GetState() *FeatureState

func (*CommonFeatureState) HasState

func (x *CommonFeatureState) HasState() bool

func (*CommonFeatureState) ProtoMessage

func (*CommonFeatureState) ProtoMessage()

func (*CommonFeatureState) ProtoReflect

func (x *CommonFeatureState) ProtoReflect() protoreflect.Message

func (*CommonFeatureState) Reset

func (x *CommonFeatureState) Reset()

func (*CommonFeatureState) SetState

func (x *CommonFeatureState) SetState(v *FeatureState)

func (*CommonFeatureState) String

func (x *CommonFeatureState) String() string

type CommonFeatureState_builder

type CommonFeatureState_builder struct {

	// Output only. The "running state" of the Feature in this Hub.
	State *FeatureState
	// contains filtered or unexported fields
}

func (CommonFeatureState_builder) Build

type EdgeCluster

type EdgeCluster struct {

	// Immutable. Self-link of the GCP resource for the Edge Cluster. For
	// example:
	//
	// //edgecontainer.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster
	ResourceLink string `protobuf:"bytes,1,opt,name=resource_link,json=resourceLink,proto3" json:"resource_link,omitempty"`
	// contains filtered or unexported fields
}

EdgeCluster contains information specific to Google Edge Clusters.

func (x *EdgeCluster) GetResourceLink() string

func (*EdgeCluster) ProtoMessage

func (*EdgeCluster) ProtoMessage()

func (*EdgeCluster) ProtoReflect

func (x *EdgeCluster) ProtoReflect() protoreflect.Message

func (*EdgeCluster) Reset

func (x *EdgeCluster) Reset()
func (x *EdgeCluster) SetResourceLink(v string)

func (*EdgeCluster) String

func (x *EdgeCluster) String() string

type EdgeCluster_builder

type EdgeCluster_builder struct {

	// Immutable. Self-link of the GCP resource for the Edge Cluster. For
	// example:
	//
	// //edgecontainer.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster
	ResourceLink string
	// contains filtered or unexported fields
}

func (EdgeCluster_builder) Build

func (b0 EdgeCluster_builder) Build() *EdgeCluster

type Feature

type Feature struct {

	// Output only. The full, unique name of this Feature resource in the format
	// `projects/*/locations/*/features/*`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// GCP labels for this Feature.
	Labels map[string]string `` /* 139-byte string literal not displayed */
	// Output only. State of the Feature resource itself.
	ResourceState *FeatureResourceState `protobuf:"bytes,3,opt,name=resource_state,json=resourceState,proto3" json:"resource_state,omitempty"`
	// Output only. The Hub-wide Feature state.
	State *CommonFeatureState `protobuf:"bytes,6,opt,name=state,proto3" json:"state,omitempty"`
	// 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.
	MembershipStates map[string]*MembershipFeatureState `` /* 183-byte string literal not displayed */
	// Output only. When the Feature resource was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. When the Feature resource was last updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Output only. When the Feature resource was deleted.
	DeleteTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`
	// Output 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.
	ScopeStates map[string]*ScopeFeatureState `` /* 169-byte string literal not displayed */
	// contains filtered or unexported fields
}

Feature represents the settings and status of any Hub Feature.

func (*Feature) ClearCreateTime

func (x *Feature) ClearCreateTime()

func (*Feature) ClearDeleteTime

func (x *Feature) ClearDeleteTime()

func (*Feature) ClearResourceState

func (x *Feature) ClearResourceState()

func (*Feature) ClearState

func (x *Feature) ClearState()

func (*Feature) ClearUpdateTime

func (x *Feature) ClearUpdateTime()

func (*Feature) GetCreateTime

func (x *Feature) GetCreateTime() *timestamppb.Timestamp

func (*Feature) GetDeleteTime

func (x *Feature) GetDeleteTime() *timestamppb.Timestamp

func (*Feature) GetLabels

func (x *Feature) GetLabels() map[string]string

func (*Feature) GetMembershipStates

func (x *Feature) GetMembershipStates() map[string]*MembershipFeatureState

func (*Feature) GetName

func (x *Feature) GetName() string

func (*Feature) GetResourceState

func (x *Feature) GetResourceState() *FeatureResourceState

func (*Feature) GetScopeStates

func (x *Feature) GetScopeStates() map[string]*ScopeFeatureState

func (*Feature) GetState

func (x *Feature) GetState() *CommonFeatureState

func (*Feature) GetUpdateTime

func (x *Feature) GetUpdateTime() *timestamppb.Timestamp

func (*Feature) HasCreateTime

func (x *Feature) HasCreateTime() bool

func (*Feature) HasDeleteTime

func (x *Feature) HasDeleteTime() bool

func (*Feature) HasResourceState

func (x *Feature) HasResourceState() bool

func (*Feature) HasState

func (x *Feature) HasState() bool

func (*Feature) HasUpdateTime

func (x *Feature) HasUpdateTime() bool

func (*Feature) ProtoMessage

func (*Feature) ProtoMessage()

func (*Feature) ProtoReflect

func (x *Feature) ProtoReflect() protoreflect.Message

func (*Feature) Reset

func (x *Feature) Reset()

func (*Feature) SetCreateTime

func (x *Feature) SetCreateTime(v *timestamppb.Timestamp)

func (*Feature) SetDeleteTime

func (x *Feature) SetDeleteTime(v *timestamppb.Timestamp)

func (*Feature) SetLabels

func (x *Feature) SetLabels(v map[string]string)

func (*Feature) SetMembershipStates

func (x *Feature) SetMembershipStates(v map[string]*MembershipFeatureState)

func (*Feature) SetName

func (x *Feature) SetName(v string)

func (*Feature) SetResourceState

func (x *Feature) SetResourceState(v *FeatureResourceState)

func (*Feature) SetScopeStates

func (x *Feature) SetScopeStates(v map[string]*ScopeFeatureState)

func (*Feature) SetState

func (x *Feature) SetState(v *CommonFeatureState)

func (*Feature) SetUpdateTime

func (x *Feature) SetUpdateTime(v *timestamppb.Timestamp)

func (*Feature) String

func (x *Feature) String() string

type FeatureCreatedEvent

type FeatureCreatedEvent struct {

	// The data associated with the event.
	Data *FeatureEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a Feature is created.

func (*FeatureCreatedEvent) ClearData

func (x *FeatureCreatedEvent) ClearData()

func (*FeatureCreatedEvent) GetData

func (x *FeatureCreatedEvent) GetData() *FeatureEventData

func (*FeatureCreatedEvent) HasData

func (x *FeatureCreatedEvent) HasData() bool

func (*FeatureCreatedEvent) ProtoMessage

func (*FeatureCreatedEvent) ProtoMessage()

func (*FeatureCreatedEvent) ProtoReflect

func (x *FeatureCreatedEvent) ProtoReflect() protoreflect.Message

func (*FeatureCreatedEvent) Reset

func (x *FeatureCreatedEvent) Reset()

func (*FeatureCreatedEvent) SetData

func (x *FeatureCreatedEvent) SetData(v *FeatureEventData)

func (*FeatureCreatedEvent) String

func (x *FeatureCreatedEvent) String() string

type FeatureCreatedEvent_builder

type FeatureCreatedEvent_builder struct {

	// The data associated with the event.
	Data *FeatureEventData
	// contains filtered or unexported fields
}

func (FeatureCreatedEvent_builder) Build

type FeatureDeletedEvent

type FeatureDeletedEvent struct {

	// The data associated with the event.
	Data *FeatureEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a Feature is deleted.

func (*FeatureDeletedEvent) ClearData

func (x *FeatureDeletedEvent) ClearData()

func (*FeatureDeletedEvent) GetData

func (x *FeatureDeletedEvent) GetData() *FeatureEventData

func (*FeatureDeletedEvent) HasData

func (x *FeatureDeletedEvent) HasData() bool

func (*FeatureDeletedEvent) ProtoMessage

func (*FeatureDeletedEvent) ProtoMessage()

func (*FeatureDeletedEvent) ProtoReflect

func (x *FeatureDeletedEvent) ProtoReflect() protoreflect.Message

func (*FeatureDeletedEvent) Reset

func (x *FeatureDeletedEvent) Reset()

func (*FeatureDeletedEvent) SetData

func (x *FeatureDeletedEvent) SetData(v *FeatureEventData)

func (*FeatureDeletedEvent) String

func (x *FeatureDeletedEvent) String() string

type FeatureDeletedEvent_builder

type FeatureDeletedEvent_builder struct {

	// The data associated with the event.
	Data *FeatureEventData
	// contains filtered or unexported fields
}

func (FeatureDeletedEvent_builder) Build

type FeatureEventData

type FeatureEventData struct {

	// Optional. The Feature event payload. Unset for deletion events.
	Payload *Feature `protobuf:"bytes,1,opt,name=payload,proto3,oneof" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

The data within all Feature events.

func (*FeatureEventData) ClearPayload

func (x *FeatureEventData) ClearPayload()

func (*FeatureEventData) GetPayload

func (x *FeatureEventData) GetPayload() *Feature

func (*FeatureEventData) HasPayload

func (x *FeatureEventData) HasPayload() bool

func (*FeatureEventData) ProtoMessage

func (*FeatureEventData) ProtoMessage()

func (*FeatureEventData) ProtoReflect

func (x *FeatureEventData) ProtoReflect() protoreflect.Message

func (*FeatureEventData) Reset

func (x *FeatureEventData) Reset()

func (*FeatureEventData) SetPayload

func (x *FeatureEventData) SetPayload(v *Feature)

func (*FeatureEventData) String

func (x *FeatureEventData) String() string

type FeatureEventData_builder

type FeatureEventData_builder struct {

	// Optional. The Feature event payload. Unset for deletion events.
	Payload *Feature
	// contains filtered or unexported fields
}

func (FeatureEventData_builder) Build

type FeatureResourceState

type FeatureResourceState struct {

	// The current state of the Feature resource in the Hub API.
	State FeatureResourceState_State `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

FeatureResourceState 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.

func (*FeatureResourceState) GetState

func (*FeatureResourceState) ProtoMessage

func (*FeatureResourceState) ProtoMessage()

func (*FeatureResourceState) ProtoReflect

func (x *FeatureResourceState) ProtoReflect() protoreflect.Message

func (*FeatureResourceState) Reset

func (x *FeatureResourceState) Reset()

func (*FeatureResourceState) SetState

func (*FeatureResourceState) String

func (x *FeatureResourceState) String() string

type FeatureResourceState_State

type FeatureResourceState_State int32

State describes the lifecycle status of a Feature.

const (
	// State is unknown or not set.
	FeatureResourceState_STATE_UNSPECIFIED FeatureResourceState_State = 0
	// The Feature is being enabled, and the Feature resource is being created.
	// Once complete, the corresponding Feature will be enabled in this Hub.
	FeatureResourceState_ENABLING FeatureResourceState_State = 1
	// The Feature is enabled in this Hub, and the Feature resource is fully
	// available.
	FeatureResourceState_ACTIVE FeatureResourceState_State = 2
	// The Feature is being disabled in this Hub, and the Feature resource
	// is being deleted.
	FeatureResourceState_DISABLING FeatureResourceState_State = 3
	// The Feature resource is being updated.
	FeatureResourceState_UPDATING FeatureResourceState_State = 4
	// The Feature resource is being updated by the Hub Service.
	FeatureResourceState_SERVICE_UPDATING FeatureResourceState_State = 5
)

func (FeatureResourceState_State) Descriptor

func (FeatureResourceState_State) Enum

func (FeatureResourceState_State) Number

func (FeatureResourceState_State) String

func (FeatureResourceState_State) Type

type FeatureResourceState_builder

type FeatureResourceState_builder struct {

	// The current state of the Feature resource in the Hub API.
	State FeatureResourceState_State
	// contains filtered or unexported fields
}

func (FeatureResourceState_builder) Build

type FeatureState

type FeatureState struct {

	// The high-level, machine-readable status of this Feature.
	Code FeatureState_Code `protobuf:"varint,1,opt,name=code,proto3,enum=google.events.cloud.gkehub.v1.FeatureState_Code" json:"code,omitempty"`
	// A human-readable description of the current status.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// The time this status and any related Feature-specific details were updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// contains filtered or unexported fields
}

FeatureState describes the high-level state of a Feature. It may be used to describe a Feature's state at the environ-level, or per-membershop, depending on the context.

func (*FeatureState) ClearUpdateTime

func (x *FeatureState) ClearUpdateTime()

func (*FeatureState) GetCode

func (x *FeatureState) GetCode() FeatureState_Code

func (*FeatureState) GetDescription

func (x *FeatureState) GetDescription() string

func (*FeatureState) GetUpdateTime

func (x *FeatureState) GetUpdateTime() *timestamppb.Timestamp

func (*FeatureState) HasUpdateTime

func (x *FeatureState) HasUpdateTime() bool

func (*FeatureState) ProtoMessage

func (*FeatureState) ProtoMessage()

func (*FeatureState) ProtoReflect

func (x *FeatureState) ProtoReflect() protoreflect.Message

func (*FeatureState) Reset

func (x *FeatureState) Reset()

func (*FeatureState) SetCode

func (x *FeatureState) SetCode(v FeatureState_Code)

func (*FeatureState) SetDescription

func (x *FeatureState) SetDescription(v string)

func (*FeatureState) SetUpdateTime

func (x *FeatureState) SetUpdateTime(v *timestamppb.Timestamp)

func (*FeatureState) String

func (x *FeatureState) String() string

type FeatureState_Code

type FeatureState_Code int32

Code represents a machine-readable, high-level status of the Feature.

const (
	// Unknown or not set.
	FeatureState_CODE_UNSPECIFIED FeatureState_Code = 0
	// The Feature is operating normally.
	FeatureState_OK FeatureState_Code = 1
	// The Feature has encountered an issue, and is operating in a degraded
	// state. The Feature may need intervention to return to normal operation.
	// See the description and any associated Feature-specific details for more
	// information.
	FeatureState_WARNING FeatureState_Code = 2
	// The Feature is not operating or is in a severely degraded state.
	// The Feature may need intervention to return to normal operation.
	// See the description and any associated Feature-specific details for more
	// information.
	FeatureState_ERROR FeatureState_Code = 3
)

func (FeatureState_Code) Descriptor

func (FeatureState_Code) Enum

func (FeatureState_Code) Number

func (FeatureState_Code) String

func (x FeatureState_Code) String() string

func (FeatureState_Code) Type

type FeatureState_builder

type FeatureState_builder struct {

	// The high-level, machine-readable status of this Feature.
	Code FeatureState_Code
	// A human-readable description of the current status.
	Description string
	// The time this status and any related Feature-specific details were updated.
	UpdateTime *timestamppb.Timestamp
	// contains filtered or unexported fields
}

func (FeatureState_builder) Build

func (b0 FeatureState_builder) Build() *FeatureState

type FeatureUpdatedEvent

type FeatureUpdatedEvent struct {

	// The data associated with the event.
	Data *FeatureEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a Feature is updated.

func (*FeatureUpdatedEvent) ClearData

func (x *FeatureUpdatedEvent) ClearData()

func (*FeatureUpdatedEvent) GetData

func (x *FeatureUpdatedEvent) GetData() *FeatureEventData

func (*FeatureUpdatedEvent) HasData

func (x *FeatureUpdatedEvent) HasData() bool

func (*FeatureUpdatedEvent) ProtoMessage

func (*FeatureUpdatedEvent) ProtoMessage()

func (*FeatureUpdatedEvent) ProtoReflect

func (x *FeatureUpdatedEvent) ProtoReflect() protoreflect.Message

func (*FeatureUpdatedEvent) Reset

func (x *FeatureUpdatedEvent) Reset()

func (*FeatureUpdatedEvent) SetData

func (x *FeatureUpdatedEvent) SetData(v *FeatureEventData)

func (*FeatureUpdatedEvent) String

func (x *FeatureUpdatedEvent) String() string

type FeatureUpdatedEvent_builder

type FeatureUpdatedEvent_builder struct {

	// The data associated with the event.
	Data *FeatureEventData
	// contains filtered or unexported fields
}

func (FeatureUpdatedEvent_builder) Build

type Feature_builder

type Feature_builder struct {

	// Output only. The full, unique name of this Feature resource in the format
	// `projects/*/locations/*/features/*`.
	Name string
	// GCP labels for this Feature.
	Labels map[string]string
	// Output only. State of the Feature resource itself.
	ResourceState *FeatureResourceState
	// Output only. The Hub-wide Feature state.
	State *CommonFeatureState
	// 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.
	MembershipStates map[string]*MembershipFeatureState
	// Output only. When the Feature resource was created.
	CreateTime *timestamppb.Timestamp
	// Output only. When the Feature resource was last updated.
	UpdateTime *timestamppb.Timestamp
	// Output only. When the Feature resource was deleted.
	DeleteTime *timestamppb.Timestamp
	// Output 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.
	ScopeStates map[string]*ScopeFeatureState
	// contains filtered or unexported fields
}

func (Feature_builder) Build

func (b0 Feature_builder) Build() *Feature

type GkeCluster

type GkeCluster struct {

	// Immutable. Self-link of the GCP resource for the GKE cluster. For example:
	//
	// //container.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster
	//
	// Zonal clusters are also supported.
	ResourceLink string `protobuf:"bytes,1,opt,name=resource_link,json=resourceLink,proto3" json:"resource_link,omitempty"`
	// Output only. If cluster_missing is set then it denotes that the GKE cluster
	// no longer exists in the GKE Control Plane.
	ClusterMissing bool `protobuf:"varint,2,opt,name=cluster_missing,json=clusterMissing,proto3" json:"cluster_missing,omitempty"`
	// contains filtered or unexported fields
}

GkeCluster contains information specific to GKE clusters.

func (*GkeCluster) GetClusterMissing

func (x *GkeCluster) GetClusterMissing() bool
func (x *GkeCluster) GetResourceLink() string

func (*GkeCluster) ProtoMessage

func (*GkeCluster) ProtoMessage()

func (*GkeCluster) ProtoReflect

func (x *GkeCluster) ProtoReflect() protoreflect.Message

func (*GkeCluster) Reset

func (x *GkeCluster) Reset()

func (*GkeCluster) SetClusterMissing

func (x *GkeCluster) SetClusterMissing(v bool)
func (x *GkeCluster) SetResourceLink(v string)

func (*GkeCluster) String

func (x *GkeCluster) String() string

type GkeCluster_builder

type GkeCluster_builder struct {

	// Immutable. Self-link of the GCP resource for the GKE cluster. For example:
	//
	// //container.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster
	//
	// Zonal clusters are also supported.
	ResourceLink string
	// Output only. If cluster_missing is set then it denotes that the GKE cluster
	// no longer exists in the GKE Control Plane.
	ClusterMissing bool
	// contains filtered or unexported fields
}

func (GkeCluster_builder) Build

func (b0 GkeCluster_builder) Build() *GkeCluster

type KubernetesMetadata

type KubernetesMetadata struct {

	// Output only. Kubernetes API server version string as reported by
	// `/version`.
	KubernetesApiServerVersion string `` /* 143-byte string literal not displayed */
	// Output only. Node providerID as reported by the first node in the list of
	// nodes on the Kubernetes endpoint. On Kubernetes platforms that support
	// zero-node clusters (like GKE-on-GCP), the node_count will be zero and the
	// node_provider_id will be empty.
	NodeProviderId string `protobuf:"bytes,2,opt,name=node_provider_id,json=nodeProviderId,proto3" json:"node_provider_id,omitempty"`
	// Output only. Node count as reported by Kubernetes nodes resources.
	NodeCount int32 `protobuf:"varint,3,opt,name=node_count,json=nodeCount,proto3" json:"node_count,omitempty"`
	// Output only. vCPU count as reported by Kubernetes nodes resources.
	VcpuCount int32 `protobuf:"varint,4,opt,name=vcpu_count,json=vcpuCount,proto3" json:"vcpu_count,omitempty"`
	// Output only. The total memory capacity as reported by the sum of all
	// Kubernetes nodes resources, defined in MB.
	MemoryMb int32 `protobuf:"varint,5,opt,name=memory_mb,json=memoryMb,proto3" json:"memory_mb,omitempty"`
	// Output only. The time at which these details were last updated. This
	// update_time is different from the Membership-level update_time since
	// EndpointDetails are updated internally for API consumers.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,100,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// contains filtered or unexported fields
}

KubernetesMetadata provides informational metadata for Memberships representing Kubernetes clusters.

func (*KubernetesMetadata) ClearUpdateTime

func (x *KubernetesMetadata) ClearUpdateTime()

func (*KubernetesMetadata) GetKubernetesApiServerVersion

func (x *KubernetesMetadata) GetKubernetesApiServerVersion() string

func (*KubernetesMetadata) GetMemoryMb

func (x *KubernetesMetadata) GetMemoryMb() int32

func (*KubernetesMetadata) GetNodeCount

func (x *KubernetesMetadata) GetNodeCount() int32

func (*KubernetesMetadata) GetNodeProviderId

func (x *KubernetesMetadata) GetNodeProviderId() string

func (*KubernetesMetadata) GetUpdateTime

func (x *KubernetesMetadata) GetUpdateTime() *timestamppb.Timestamp

func (*KubernetesMetadata) GetVcpuCount

func (x *KubernetesMetadata) GetVcpuCount() int32

func (*KubernetesMetadata) HasUpdateTime

func (x *KubernetesMetadata) HasUpdateTime() bool

func (*KubernetesMetadata) ProtoMessage

func (*KubernetesMetadata) ProtoMessage()

func (*KubernetesMetadata) ProtoReflect

func (x *KubernetesMetadata) ProtoReflect() protoreflect.Message

func (*KubernetesMetadata) Reset

func (x *KubernetesMetadata) Reset()

func (*KubernetesMetadata) SetKubernetesApiServerVersion

func (x *KubernetesMetadata) SetKubernetesApiServerVersion(v string)

func (*KubernetesMetadata) SetMemoryMb

func (x *KubernetesMetadata) SetMemoryMb(v int32)

func (*KubernetesMetadata) SetNodeCount

func (x *KubernetesMetadata) SetNodeCount(v int32)

func (*KubernetesMetadata) SetNodeProviderId

func (x *KubernetesMetadata) SetNodeProviderId(v string)

func (*KubernetesMetadata) SetUpdateTime

func (x *KubernetesMetadata) SetUpdateTime(v *timestamppb.Timestamp)

func (*KubernetesMetadata) SetVcpuCount

func (x *KubernetesMetadata) SetVcpuCount(v int32)

func (*KubernetesMetadata) String

func (x *KubernetesMetadata) String() string

type KubernetesMetadata_builder

type KubernetesMetadata_builder struct {

	// Output only. Kubernetes API server version string as reported by
	// `/version`.
	KubernetesApiServerVersion string
	// Output only. Node providerID as reported by the first node in the list of
	// nodes on the Kubernetes endpoint. On Kubernetes platforms that support
	// zero-node clusters (like GKE-on-GCP), the node_count will be zero and the
	// node_provider_id will be empty.
	NodeProviderId string
	// Output only. Node count as reported by Kubernetes nodes resources.
	NodeCount int32
	// Output only. vCPU count as reported by Kubernetes nodes resources.
	VcpuCount int32
	// Output only. The total memory capacity as reported by the sum of all
	// Kubernetes nodes resources, defined in MB.
	MemoryMb int32
	// Output only. The time at which these details were last updated. This
	// update_time is different from the Membership-level update_time since
	// EndpointDetails are updated internally for API consumers.
	UpdateTime *timestamppb.Timestamp
	// contains filtered or unexported fields
}

func (KubernetesMetadata_builder) Build

type KubernetesResource

type KubernetesResource struct {

	// Output only. Additional Kubernetes resources that need to be applied to the
	// cluster after Membership creation, and after every update.
	//
	// This field is only populated in the Membership returned from a successful
	// long-running operation from CreateMembership or UpdateMembership. It is not
	// populated during normal GetMembership or ListMemberships requests. To get
	// the resource manifest after the initial registration, the caller should
	// make a UpdateMembership call with an empty field mask.
	MembershipResources []*ResourceManifest `protobuf:"bytes,2,rep,name=membership_resources,json=membershipResources,proto3" json:"membership_resources,omitempty"`
	// Output only. The Kubernetes resources for installing the GKE Connect agent
	//
	// This field is only populated in the Membership returned from a successful
	// long-running operation from CreateMembership or UpdateMembership. It is not
	// populated during normal GetMembership or ListMemberships requests. To get
	// the resource manifest after the initial registration, the caller should
	// make a UpdateMembership call with an empty field mask.
	ConnectResources []*ResourceManifest `protobuf:"bytes,3,rep,name=connect_resources,json=connectResources,proto3" json:"connect_resources,omitempty"`
	// Optional. Options for Kubernetes resource generation.
	ResourceOptions *ResourceOptions `protobuf:"bytes,4,opt,name=resource_options,json=resourceOptions,proto3" json:"resource_options,omitempty"`
	// contains filtered or unexported fields
}

KubernetesResource contains the YAML manifests and configuration for Membership Kubernetes resources in the cluster. After CreateMembership or UpdateMembership, these resources should be re-applied in the cluster.

func (*KubernetesResource) ClearResourceOptions

func (x *KubernetesResource) ClearResourceOptions()

func (*KubernetesResource) GetConnectResources

func (x *KubernetesResource) GetConnectResources() []*ResourceManifest

func (*KubernetesResource) GetMembershipResources

func (x *KubernetesResource) GetMembershipResources() []*ResourceManifest

func (*KubernetesResource) GetResourceOptions

func (x *KubernetesResource) GetResourceOptions() *ResourceOptions

func (*KubernetesResource) HasResourceOptions

func (x *KubernetesResource) HasResourceOptions() bool

func (*KubernetesResource) ProtoMessage

func (*KubernetesResource) ProtoMessage()

func (*KubernetesResource) ProtoReflect

func (x *KubernetesResource) ProtoReflect() protoreflect.Message

func (*KubernetesResource) Reset

func (x *KubernetesResource) Reset()

func (*KubernetesResource) SetConnectResources

func (x *KubernetesResource) SetConnectResources(v []*ResourceManifest)

func (*KubernetesResource) SetMembershipResources

func (x *KubernetesResource) SetMembershipResources(v []*ResourceManifest)

func (*KubernetesResource) SetResourceOptions

func (x *KubernetesResource) SetResourceOptions(v *ResourceOptions)

func (*KubernetesResource) String

func (x *KubernetesResource) String() string

type KubernetesResource_builder

type KubernetesResource_builder struct {

	// Output only. Additional Kubernetes resources that need to be applied to the
	// cluster after Membership creation, and after every update.
	//
	// This field is only populated in the Membership returned from a successful
	// long-running operation from CreateMembership or UpdateMembership. It is not
	// populated during normal GetMembership or ListMemberships requests. To get
	// the resource manifest after the initial registration, the caller should
	// make a UpdateMembership call with an empty field mask.
	MembershipResources []*ResourceManifest
	// Output only. The Kubernetes resources for installing the GKE Connect agent
	//
	// This field is only populated in the Membership returned from a successful
	// long-running operation from CreateMembership or UpdateMembership. It is not
	// populated during normal GetMembership or ListMemberships requests. To get
	// the resource manifest after the initial registration, the caller should
	// make a UpdateMembership call with an empty field mask.
	ConnectResources []*ResourceManifest
	// Optional. Options for Kubernetes resource generation.
	ResourceOptions *ResourceOptions
	// contains filtered or unexported fields
}

func (KubernetesResource_builder) Build

type Membership

type Membership struct {

	// Type of resource represented by this Membership
	//
	// Types that are valid to be assigned to Type:
	//
	//	*Membership_Endpoint
	Type isMembership_Type `protobuf_oneof:"type"`
	// Output only. The full, unique name of this Membership resource in the
	// format `projects/*/locations/*/memberships/{membership_id}`, set during
	// creation.
	//
	// `membership_id` must be a valid RFC 1123 compliant DNS label:
	//
	//  1. At most 63 characters in length
	//  2. It must consist of lower case alphanumeric characters or `-`
	//  3. It must start and end with an alphanumeric character
	//
	// Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`,
	// with a maximum length of 63 characters.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. GCP labels for this membership.
	Labels map[string]string `` /* 139-byte string literal not displayed */
	// Output only. Description of this membership, limited to 63 characters.
	// Must match the regex: `[a-zA-Z0-9][a-zA-Z0-9_\-\.\ ]*`
	//
	// This field is present for legacy purposes.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. State of the Membership resource.
	State *MembershipState `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"`
	// Output only. When the Membership was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. When the Membership was last updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Output only. When the Membership was deleted.
	DeleteTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`
	// Optional. An externally-generated and managed ID for this Membership. This
	// ID may be modified after creation, but this is not recommended.
	//
	// The ID must match the regex: `[a-zA-Z0-9][a-zA-Z0-9_\-\.]*`
	//
	// If this Membership represents a Kubernetes cluster, this value should be
	// set to the UID of the `kube-system` namespace object.
	ExternalId string `protobuf:"bytes,9,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
	// Output only. For clusters using Connect, the timestamp of the most recent
	// connection established with Google Cloud. This time is updated every
	// several minutes, not continuously. For clusters that do not use GKE
	// Connect, or that have never connected successfully, this field will be
	// unset.
	LastConnectionTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=last_connection_time,json=lastConnectionTime,proto3" json:"last_connection_time,omitempty"`
	// Output only. Google-generated UUID for this resource. This is unique across
	// all Membership resources. If a Membership resource is deleted and another
	// resource with the same name is created, it gets a different unique_id.
	UniqueId string `protobuf:"bytes,11,opt,name=unique_id,json=uniqueId,proto3" json:"unique_id,omitempty"`
	// Optional. How to identify workloads from this Membership.
	// See the documentation on Workload Identity for more details:
	// https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity
	Authority *Authority `protobuf:"bytes,12,opt,name=authority,proto3" json:"authority,omitempty"`
	// contains filtered or unexported fields
}

Membership contains information about a member cluster.

func (*Membership) ClearAuthority

func (x *Membership) ClearAuthority()

func (*Membership) ClearCreateTime

func (x *Membership) ClearCreateTime()

func (*Membership) ClearDeleteTime

func (x *Membership) ClearDeleteTime()

func (*Membership) ClearEndpoint

func (x *Membership) ClearEndpoint()

func (*Membership) ClearLastConnectionTime

func (x *Membership) ClearLastConnectionTime()

func (*Membership) ClearState

func (x *Membership) ClearState()

func (*Membership) ClearType

func (x *Membership) ClearType()

func (*Membership) ClearUpdateTime

func (x *Membership) ClearUpdateTime()

func (*Membership) GetAuthority

func (x *Membership) GetAuthority() *Authority

func (*Membership) GetCreateTime

func (x *Membership) GetCreateTime() *timestamppb.Timestamp

func (*Membership) GetDeleteTime

func (x *Membership) GetDeleteTime() *timestamppb.Timestamp

func (*Membership) GetDescription

func (x *Membership) GetDescription() string

func (*Membership) GetEndpoint

func (x *Membership) GetEndpoint() *MembershipEndpoint

func (*Membership) GetExternalId

func (x *Membership) GetExternalId() string

func (*Membership) GetLabels

func (x *Membership) GetLabels() map[string]string

func (*Membership) GetLastConnectionTime

func (x *Membership) GetLastConnectionTime() *timestamppb.Timestamp

func (*Membership) GetName

func (x *Membership) GetName() string

func (*Membership) GetState

func (x *Membership) GetState() *MembershipState

func (*Membership) GetType

func (x *Membership) GetType() isMembership_Type

func (*Membership) GetUniqueId

func (x *Membership) GetUniqueId() string

func (*Membership) GetUpdateTime

func (x *Membership) GetUpdateTime() *timestamppb.Timestamp

func (*Membership) HasAuthority

func (x *Membership) HasAuthority() bool

func (*Membership) HasCreateTime

func (x *Membership) HasCreateTime() bool

func (*Membership) HasDeleteTime

func (x *Membership) HasDeleteTime() bool

func (*Membership) HasEndpoint

func (x *Membership) HasEndpoint() bool

func (*Membership) HasLastConnectionTime

func (x *Membership) HasLastConnectionTime() bool

func (*Membership) HasState

func (x *Membership) HasState() bool

func (*Membership) HasType

func (x *Membership) HasType() bool

func (*Membership) HasUpdateTime

func (x *Membership) HasUpdateTime() bool

func (*Membership) ProtoMessage

func (*Membership) ProtoMessage()

func (*Membership) ProtoReflect

func (x *Membership) ProtoReflect() protoreflect.Message

func (*Membership) Reset

func (x *Membership) Reset()

func (*Membership) SetAuthority

func (x *Membership) SetAuthority(v *Authority)

func (*Membership) SetCreateTime

func (x *Membership) SetCreateTime(v *timestamppb.Timestamp)

func (*Membership) SetDeleteTime

func (x *Membership) SetDeleteTime(v *timestamppb.Timestamp)

func (*Membership) SetDescription

func (x *Membership) SetDescription(v string)

func (*Membership) SetEndpoint

func (x *Membership) SetEndpoint(v *MembershipEndpoint)

func (*Membership) SetExternalId

func (x *Membership) SetExternalId(v string)

func (*Membership) SetLabels

func (x *Membership) SetLabels(v map[string]string)

func (*Membership) SetLastConnectionTime

func (x *Membership) SetLastConnectionTime(v *timestamppb.Timestamp)

func (*Membership) SetName

func (x *Membership) SetName(v string)

func (*Membership) SetState

func (x *Membership) SetState(v *MembershipState)

func (*Membership) SetUniqueId

func (x *Membership) SetUniqueId(v string)

func (*Membership) SetUpdateTime

func (x *Membership) SetUpdateTime(v *timestamppb.Timestamp)

func (*Membership) String

func (x *Membership) String() string

func (*Membership) WhichType

func (x *Membership) WhichType() case_Membership_Type

type MembershipBinding

type MembershipBinding struct {

	// What type of membershipbinding this is.
	//
	// Types that are valid to be assigned to Target:
	//
	//	*MembershipBinding_Scope
	//	*MembershipBinding_Fleet
	Target isMembershipBinding_Target `protobuf_oneof:"target"`
	// The resource name for the membershipbinding itself
	// `projects/{project}/locations/{location}/memberships/{membership}/bindings/{membershipbinding}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Google-generated UUID for this resource. This is unique across
	// all membershipbinding resources. If a membershipbinding resource is deleted
	// and another resource with the same name is created, it gets a different
	// uid.
	Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
	// Output only. When the membership binding was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. When the membership binding was last updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Output only. When the membership binding was deleted.
	DeleteTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`
	// Output only. State of the membership binding resource.
	State *MembershipBindingLifecycleState `protobuf:"bytes,8,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

MembershipBinding is a subresource of a Membership, representing what Fleet Scopes (or other, future Fleet resources) a Membership is bound to.

func (*MembershipBinding) ClearCreateTime

func (x *MembershipBinding) ClearCreateTime()

func (*MembershipBinding) ClearDeleteTime

func (x *MembershipBinding) ClearDeleteTime()

func (*MembershipBinding) ClearFleet

func (x *MembershipBinding) ClearFleet()

func (*MembershipBinding) ClearScope

func (x *MembershipBinding) ClearScope()

func (*MembershipBinding) ClearState

func (x *MembershipBinding) ClearState()

func (*MembershipBinding) ClearTarget

func (x *MembershipBinding) ClearTarget()

func (*MembershipBinding) ClearUpdateTime

func (x *MembershipBinding) ClearUpdateTime()

func (*MembershipBinding) GetCreateTime

func (x *MembershipBinding) GetCreateTime() *timestamppb.Timestamp

func (*MembershipBinding) GetDeleteTime

func (x *MembershipBinding) GetDeleteTime() *timestamppb.Timestamp

func (*MembershipBinding) GetFleet

func (x *MembershipBinding) GetFleet() bool

func (*MembershipBinding) GetName

func (x *MembershipBinding) GetName() string

func (*MembershipBinding) GetScope

func (x *MembershipBinding) GetScope() string

func (*MembershipBinding) GetState

func (*MembershipBinding) GetTarget

func (x *MembershipBinding) GetTarget() isMembershipBinding_Target

func (*MembershipBinding) GetUid

func (x *MembershipBinding) GetUid() string

func (*MembershipBinding) GetUpdateTime

func (x *MembershipBinding) GetUpdateTime() *timestamppb.Timestamp

func (*MembershipBinding) HasCreateTime

func (x *MembershipBinding) HasCreateTime() bool

func (*MembershipBinding) HasDeleteTime

func (x *MembershipBinding) HasDeleteTime() bool

func (*MembershipBinding) HasFleet

func (x *MembershipBinding) HasFleet() bool

func (*MembershipBinding) HasScope

func (x *MembershipBinding) HasScope() bool

func (*MembershipBinding) HasState

func (x *MembershipBinding) HasState() bool

func (*MembershipBinding) HasTarget

func (x *MembershipBinding) HasTarget() bool

func (*MembershipBinding) HasUpdateTime

func (x *MembershipBinding) HasUpdateTime() bool

func (*MembershipBinding) ProtoMessage

func (*MembershipBinding) ProtoMessage()

func (*MembershipBinding) ProtoReflect

func (x *MembershipBinding) ProtoReflect() protoreflect.Message

func (*MembershipBinding) Reset

func (x *MembershipBinding) Reset()

func (*MembershipBinding) SetCreateTime

func (x *MembershipBinding) SetCreateTime(v *timestamppb.Timestamp)

func (*MembershipBinding) SetDeleteTime

func (x *MembershipBinding) SetDeleteTime(v *timestamppb.Timestamp)

func (*MembershipBinding) SetFleet

func (x *MembershipBinding) SetFleet(v bool)

func (*MembershipBinding) SetName

func (x *MembershipBinding) SetName(v string)

func (*MembershipBinding) SetScope

func (x *MembershipBinding) SetScope(v string)

func (*MembershipBinding) SetState

func (*MembershipBinding) SetUid

func (x *MembershipBinding) SetUid(v string)

func (*MembershipBinding) SetUpdateTime

func (x *MembershipBinding) SetUpdateTime(v *timestamppb.Timestamp)

func (*MembershipBinding) String

func (x *MembershipBinding) String() string

func (*MembershipBinding) WhichTarget

func (x *MembershipBinding) WhichTarget() case_MembershipBinding_Target

type MembershipBindingCreatedEvent

type MembershipBindingCreatedEvent struct {

	// The data associated with the event.
	Data *MembershipBindingEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a MembershipBinding is created.

func (*MembershipBindingCreatedEvent) ClearData

func (x *MembershipBindingCreatedEvent) ClearData()

func (*MembershipBindingCreatedEvent) GetData

func (*MembershipBindingCreatedEvent) HasData

func (x *MembershipBindingCreatedEvent) HasData() bool

func (*MembershipBindingCreatedEvent) ProtoMessage

func (*MembershipBindingCreatedEvent) ProtoMessage()

func (*MembershipBindingCreatedEvent) ProtoReflect

func (*MembershipBindingCreatedEvent) Reset

func (x *MembershipBindingCreatedEvent) Reset()

func (*MembershipBindingCreatedEvent) SetData

func (*MembershipBindingCreatedEvent) String

type MembershipBindingCreatedEvent_builder

type MembershipBindingCreatedEvent_builder struct {

	// The data associated with the event.
	Data *MembershipBindingEventData
	// contains filtered or unexported fields
}

func (MembershipBindingCreatedEvent_builder) Build

type MembershipBindingDeletedEvent

type MembershipBindingDeletedEvent struct {

	// The data associated with the event.
	Data *MembershipBindingEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a MembershipBinding is deleted.

func (*MembershipBindingDeletedEvent) ClearData

func (x *MembershipBindingDeletedEvent) ClearData()

func (*MembershipBindingDeletedEvent) GetData

func (*MembershipBindingDeletedEvent) HasData

func (x *MembershipBindingDeletedEvent) HasData() bool

func (*MembershipBindingDeletedEvent) ProtoMessage

func (*MembershipBindingDeletedEvent) ProtoMessage()

func (*MembershipBindingDeletedEvent) ProtoReflect

func (*MembershipBindingDeletedEvent) Reset

func (x *MembershipBindingDeletedEvent) Reset()

func (*MembershipBindingDeletedEvent) SetData

func (*MembershipBindingDeletedEvent) String

type MembershipBindingDeletedEvent_builder

type MembershipBindingDeletedEvent_builder struct {

	// The data associated with the event.
	Data *MembershipBindingEventData
	// contains filtered or unexported fields
}

func (MembershipBindingDeletedEvent_builder) Build

type MembershipBindingEventData

type MembershipBindingEventData struct {

	// Optional. The MembershipBinding event payload. Unset for deletion events.
	Payload *MembershipBinding `protobuf:"bytes,1,opt,name=payload,proto3,oneof" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

The data within all MembershipBinding events.

func (*MembershipBindingEventData) ClearPayload

func (x *MembershipBindingEventData) ClearPayload()

func (*MembershipBindingEventData) GetPayload

func (*MembershipBindingEventData) HasPayload

func (x *MembershipBindingEventData) HasPayload() bool

func (*MembershipBindingEventData) ProtoMessage

func (*MembershipBindingEventData) ProtoMessage()

func (*MembershipBindingEventData) ProtoReflect

func (*MembershipBindingEventData) Reset

func (x *MembershipBindingEventData) Reset()

func (*MembershipBindingEventData) SetPayload

func (*MembershipBindingEventData) String

func (x *MembershipBindingEventData) String() string

type MembershipBindingEventData_builder

type MembershipBindingEventData_builder struct {

	// Optional. The MembershipBinding event payload. Unset for deletion events.
	Payload *MembershipBinding
	// contains filtered or unexported fields
}

func (MembershipBindingEventData_builder) Build

type MembershipBindingLifecycleState

type MembershipBindingLifecycleState struct {

	// Output only. The current state of the MembershipBinding resource.
	Code MembershipBindingLifecycleState_Code `` /* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

MembershipBindingLifecycleState describes the state of a Binding resource.

func (*MembershipBindingLifecycleState) GetCode

func (*MembershipBindingLifecycleState) ProtoMessage

func (*MembershipBindingLifecycleState) ProtoMessage()

func (*MembershipBindingLifecycleState) ProtoReflect

func (*MembershipBindingLifecycleState) Reset

func (*MembershipBindingLifecycleState) SetCode

func (*MembershipBindingLifecycleState) String

type MembershipBindingLifecycleState_Code

type MembershipBindingLifecycleState_Code int32

Code describes the state of a MembershipBinding resource.

const (
	// The code is not set.
	MembershipBindingLifecycleState_CODE_UNSPECIFIED MembershipBindingLifecycleState_Code = 0
	// The membershipbinding is being created.
	MembershipBindingLifecycleState_CREATING MembershipBindingLifecycleState_Code = 1
	// The membershipbinding active.
	MembershipBindingLifecycleState_READY MembershipBindingLifecycleState_Code = 2
	// The membershipbinding is being deleted.
	MembershipBindingLifecycleState_DELETING MembershipBindingLifecycleState_Code = 3
	// The membershipbinding is being updated.
	MembershipBindingLifecycleState_UPDATING MembershipBindingLifecycleState_Code = 4
)

func (MembershipBindingLifecycleState_Code) Descriptor

func (MembershipBindingLifecycleState_Code) Enum

func (MembershipBindingLifecycleState_Code) Number

func (MembershipBindingLifecycleState_Code) String

func (MembershipBindingLifecycleState_Code) Type

type MembershipBindingLifecycleState_builder

type MembershipBindingLifecycleState_builder struct {

	// Output only. The current state of the MembershipBinding resource.
	Code MembershipBindingLifecycleState_Code
	// contains filtered or unexported fields
}

func (MembershipBindingLifecycleState_builder) Build

type MembershipBindingUpdatedEvent

type MembershipBindingUpdatedEvent struct {

	// The data associated with the event.
	Data *MembershipBindingEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a MembershipBinding is updated.

func (*MembershipBindingUpdatedEvent) ClearData

func (x *MembershipBindingUpdatedEvent) ClearData()

func (*MembershipBindingUpdatedEvent) GetData

func (*MembershipBindingUpdatedEvent) HasData

func (x *MembershipBindingUpdatedEvent) HasData() bool

func (*MembershipBindingUpdatedEvent) ProtoMessage

func (*MembershipBindingUpdatedEvent) ProtoMessage()

func (*MembershipBindingUpdatedEvent) ProtoReflect

func (*MembershipBindingUpdatedEvent) Reset

func (x *MembershipBindingUpdatedEvent) Reset()

func (*MembershipBindingUpdatedEvent) SetData

func (*MembershipBindingUpdatedEvent) String

type MembershipBindingUpdatedEvent_builder

type MembershipBindingUpdatedEvent_builder struct {

	// The data associated with the event.
	Data *MembershipBindingEventData
	// contains filtered or unexported fields
}

func (MembershipBindingUpdatedEvent_builder) Build

type MembershipBinding_Fleet

type MembershipBinding_Fleet struct {
	// Whether the membershipbinding is Fleet-wide; true means that this
	// Membership should be bound to all Namespaces in this entire Fleet.
	Fleet bool `protobuf:"varint,4,opt,name=fleet,proto3,oneof"`
}

type MembershipBinding_Scope

type MembershipBinding_Scope struct {
	// A Workspace resource name in the format
	// `projects/*/locations/*/scopes/*`.
	Scope string `protobuf:"bytes,3,opt,name=scope,proto3,oneof"`
}

type MembershipBinding_builder

type MembershipBinding_builder struct {

	// Fields of oneof Target:
	// A Workspace resource name in the format
	// `projects/*/locations/*/scopes/*`.
	Scope *string
	// Whether the membershipbinding is Fleet-wide; true means that this
	// Membership should be bound to all Namespaces in this entire Fleet.
	Fleet *bool
	// -- end of Target
	// The resource name for the membershipbinding itself
	// `projects/{project}/locations/{location}/memberships/{membership}/bindings/{membershipbinding}`
	Name string
	// Output only. Google-generated UUID for this resource. This is unique across
	// all membershipbinding resources. If a membershipbinding resource is deleted
	// and another resource with the same name is created, it gets a different
	// uid.
	Uid string
	// Output only. When the membership binding was created.
	CreateTime *timestamppb.Timestamp
	// Output only. When the membership binding was last updated.
	UpdateTime *timestamppb.Timestamp
	// Output only. When the membership binding was deleted.
	DeleteTime *timestamppb.Timestamp
	// Output only. State of the membership binding resource.
	State *MembershipBindingLifecycleState
	// contains filtered or unexported fields
}

func (MembershipBinding_builder) Build

type MembershipCreatedEvent

type MembershipCreatedEvent struct {

	// The data associated with the event.
	Data *MembershipEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a Membership is created.

func (*MembershipCreatedEvent) ClearData

func (x *MembershipCreatedEvent) ClearData()

func (*MembershipCreatedEvent) GetData

func (*MembershipCreatedEvent) HasData

func (x *MembershipCreatedEvent) HasData() bool

func (*MembershipCreatedEvent) ProtoMessage

func (*MembershipCreatedEvent) ProtoMessage()

func (*MembershipCreatedEvent) ProtoReflect

func (x *MembershipCreatedEvent) ProtoReflect() protoreflect.Message

func (*MembershipCreatedEvent) Reset

func (x *MembershipCreatedEvent) Reset()

func (*MembershipCreatedEvent) SetData

func (*MembershipCreatedEvent) String

func (x *MembershipCreatedEvent) String() string

type MembershipCreatedEvent_builder

type MembershipCreatedEvent_builder struct {

	// The data associated with the event.
	Data *MembershipEventData
	// contains filtered or unexported fields
}

func (MembershipCreatedEvent_builder) Build

type MembershipDeletedEvent

type MembershipDeletedEvent struct {

	// The data associated with the event.
	Data *MembershipEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a Membership is deleted.

func (*MembershipDeletedEvent) ClearData

func (x *MembershipDeletedEvent) ClearData()

func (*MembershipDeletedEvent) GetData

func (*MembershipDeletedEvent) HasData

func (x *MembershipDeletedEvent) HasData() bool

func (*MembershipDeletedEvent) ProtoMessage

func (*MembershipDeletedEvent) ProtoMessage()

func (*MembershipDeletedEvent) ProtoReflect

func (x *MembershipDeletedEvent) ProtoReflect() protoreflect.Message

func (*MembershipDeletedEvent) Reset

func (x *MembershipDeletedEvent) Reset()

func (*MembershipDeletedEvent) SetData

func (*MembershipDeletedEvent) String

func (x *MembershipDeletedEvent) String() string

type MembershipDeletedEvent_builder

type MembershipDeletedEvent_builder struct {

	// The data associated with the event.
	Data *MembershipEventData
	// contains filtered or unexported fields
}

func (MembershipDeletedEvent_builder) Build

type MembershipEndpoint

type MembershipEndpoint struct {

	// Cluster information of the registered cluster.
	//
	// Types that are valid to be assigned to Type:
	//
	//	*MembershipEndpoint_GkeCluster
	//	*MembershipEndpoint_OnPremCluster
	//	*MembershipEndpoint_MultiCloudCluster
	//	*MembershipEndpoint_EdgeCluster
	//	*MembershipEndpoint_ApplianceCluster
	Type isMembershipEndpoint_Type `protobuf_oneof:"type"`
	// Output only. Useful Kubernetes-specific metadata.
	KubernetesMetadata *KubernetesMetadata `protobuf:"bytes,2,opt,name=kubernetes_metadata,json=kubernetesMetadata,proto3" json:"kubernetes_metadata,omitempty"`
	// Optional. The in-cluster Kubernetes Resources that should be applied for a
	// correctly registered cluster, in the steady state. These resources:
	//
	//   - Ensure that the cluster is exclusively registered to one and only one
	//     Hub Membership.
	//   - Propagate Workload Pool Information available in the Membership
	//     Authority field.
	//   - Ensure proper initial configuration of default Hub Features.
	KubernetesResource *KubernetesResource `protobuf:"bytes,3,opt,name=kubernetes_resource,json=kubernetesResource,proto3" json:"kubernetes_resource,omitempty"`
	// Output only. Whether the lifecycle of this membership is managed by a
	// google cluster platform service.
	GoogleManaged bool `protobuf:"varint,8,opt,name=google_managed,json=googleManaged,proto3" json:"google_managed,omitempty"`
	// contains filtered or unexported fields
}

MembershipEndpoint contains information needed to contact a Kubernetes API, endpoint and any additional Kubernetes metadata.

func (*MembershipEndpoint) ClearApplianceCluster

func (x *MembershipEndpoint) ClearApplianceCluster()

func (*MembershipEndpoint) ClearEdgeCluster

func (x *MembershipEndpoint) ClearEdgeCluster()

func (*MembershipEndpoint) ClearGkeCluster

func (x *MembershipEndpoint) ClearGkeCluster()

func (*MembershipEndpoint) ClearKubernetesMetadata

func (x *MembershipEndpoint) ClearKubernetesMetadata()

func (*MembershipEndpoint) ClearKubernetesResource

func (x *MembershipEndpoint) ClearKubernetesResource()

func (*MembershipEndpoint) ClearMultiCloudCluster

func (x *MembershipEndpoint) ClearMultiCloudCluster()

func (*MembershipEndpoint) ClearOnPremCluster

func (x *MembershipEndpoint) ClearOnPremCluster()

func (*MembershipEndpoint) ClearType

func (x *MembershipEndpoint) ClearType()

func (*MembershipEndpoint) GetApplianceCluster

func (x *MembershipEndpoint) GetApplianceCluster() *ApplianceCluster

func (*MembershipEndpoint) GetEdgeCluster

func (x *MembershipEndpoint) GetEdgeCluster() *EdgeCluster

func (*MembershipEndpoint) GetGkeCluster

func (x *MembershipEndpoint) GetGkeCluster() *GkeCluster

func (*MembershipEndpoint) GetGoogleManaged

func (x *MembershipEndpoint) GetGoogleManaged() bool

func (*MembershipEndpoint) GetKubernetesMetadata

func (x *MembershipEndpoint) GetKubernetesMetadata() *KubernetesMetadata

func (*MembershipEndpoint) GetKubernetesResource

func (x *MembershipEndpoint) GetKubernetesResource() *KubernetesResource

func (*MembershipEndpoint) GetMultiCloudCluster

func (x *MembershipEndpoint) GetMultiCloudCluster() *MultiCloudCluster

func (*MembershipEndpoint) GetOnPremCluster

func (x *MembershipEndpoint) GetOnPremCluster() *OnPremCluster

func (*MembershipEndpoint) GetType

func (x *MembershipEndpoint) GetType() isMembershipEndpoint_Type

func (*MembershipEndpoint) HasApplianceCluster

func (x *MembershipEndpoint) HasApplianceCluster() bool

func (*MembershipEndpoint) HasEdgeCluster

func (x *MembershipEndpoint) HasEdgeCluster() bool

func (*MembershipEndpoint) HasGkeCluster

func (x *MembershipEndpoint) HasGkeCluster() bool

func (*MembershipEndpoint) HasKubernetesMetadata

func (x *MembershipEndpoint) HasKubernetesMetadata() bool

func (*MembershipEndpoint) HasKubernetesResource

func (x *MembershipEndpoint) HasKubernetesResource() bool

func (*MembershipEndpoint) HasMultiCloudCluster

func (x *MembershipEndpoint) HasMultiCloudCluster() bool

func (*MembershipEndpoint) HasOnPremCluster

func (x *MembershipEndpoint) HasOnPremCluster() bool

func (*MembershipEndpoint) HasType

func (x *MembershipEndpoint) HasType() bool

func (*MembershipEndpoint) ProtoMessage

func (*MembershipEndpoint) ProtoMessage()

func (*MembershipEndpoint) ProtoReflect

func (x *MembershipEndpoint) ProtoReflect() protoreflect.Message

func (*MembershipEndpoint) Reset

func (x *MembershipEndpoint) Reset()

func (*MembershipEndpoint) SetApplianceCluster

func (x *MembershipEndpoint) SetApplianceCluster(v *ApplianceCluster)

func (*MembershipEndpoint) SetEdgeCluster

func (x *MembershipEndpoint) SetEdgeCluster(v *EdgeCluster)

func (*MembershipEndpoint) SetGkeCluster

func (x *MembershipEndpoint) SetGkeCluster(v *GkeCluster)

func (*MembershipEndpoint) SetGoogleManaged

func (x *MembershipEndpoint) SetGoogleManaged(v bool)

func (*MembershipEndpoint) SetKubernetesMetadata

func (x *MembershipEndpoint) SetKubernetesMetadata(v *KubernetesMetadata)

func (*MembershipEndpoint) SetKubernetesResource

func (x *MembershipEndpoint) SetKubernetesResource(v *KubernetesResource)

func (*MembershipEndpoint) SetMultiCloudCluster

func (x *MembershipEndpoint) SetMultiCloudCluster(v *MultiCloudCluster)

func (*MembershipEndpoint) SetOnPremCluster

func (x *MembershipEndpoint) SetOnPremCluster(v *OnPremCluster)

func (*MembershipEndpoint) String

func (x *MembershipEndpoint) String() string

func (*MembershipEndpoint) WhichType

func (x *MembershipEndpoint) WhichType() case_MembershipEndpoint_Type

type MembershipEndpoint_ApplianceCluster

type MembershipEndpoint_ApplianceCluster struct {
	// Optional. Specific information for a GDC Edge Appliance cluster.
	ApplianceCluster *ApplianceCluster `protobuf:"bytes,7,opt,name=appliance_cluster,json=applianceCluster,proto3,oneof"`
}

type MembershipEndpoint_EdgeCluster

type MembershipEndpoint_EdgeCluster struct {
	// Optional. Specific information for a Google Edge cluster.
	EdgeCluster *EdgeCluster `protobuf:"bytes,6,opt,name=edge_cluster,json=edgeCluster,proto3,oneof"`
}

type MembershipEndpoint_GkeCluster

type MembershipEndpoint_GkeCluster struct {
	// Optional. Specific information for a GKE-on-GCP cluster.
	GkeCluster *GkeCluster `protobuf:"bytes,1,opt,name=gke_cluster,json=gkeCluster,proto3,oneof"`
}

type MembershipEndpoint_MultiCloudCluster

type MembershipEndpoint_MultiCloudCluster struct {
	// Optional. Specific information for a GKE Multi-Cloud cluster.
	MultiCloudCluster *MultiCloudCluster `protobuf:"bytes,5,opt,name=multi_cloud_cluster,json=multiCloudCluster,proto3,oneof"`
}

type MembershipEndpoint_OnPremCluster

type MembershipEndpoint_OnPremCluster struct {
	// Optional. Specific information for a GKE On-Prem cluster. An onprem
	// user-cluster who has no resourceLink is not allowed to use this field, it
	// should have a nil "type" instead.
	OnPremCluster *OnPremCluster `protobuf:"bytes,4,opt,name=on_prem_cluster,json=onPremCluster,proto3,oneof"`
}

type MembershipEndpoint_builder

type MembershipEndpoint_builder struct {

	// Fields of oneof Type:
	// Optional. Specific information for a GKE-on-GCP cluster.
	GkeCluster *GkeCluster
	// Optional. Specific information for a GKE On-Prem cluster. An onprem
	// user-cluster who has no resourceLink is not allowed to use this field, it
	// should have a nil "type" instead.
	OnPremCluster *OnPremCluster
	// Optional. Specific information for a GKE Multi-Cloud cluster.
	MultiCloudCluster *MultiCloudCluster
	// Optional. Specific information for a Google Edge cluster.
	EdgeCluster *EdgeCluster
	// Optional. Specific information for a GDC Edge Appliance cluster.
	ApplianceCluster *ApplianceCluster
	// -- end of Type
	// Output only. Useful Kubernetes-specific metadata.
	KubernetesMetadata *KubernetesMetadata
	// Optional. The in-cluster Kubernetes Resources that should be applied for a
	// correctly registered cluster, in the steady state. These resources:
	//
	//   - Ensure that the cluster is exclusively registered to one and only one
	//     Hub Membership.
	//   - Propagate Workload Pool Information available in the Membership
	//     Authority field.
	//   - Ensure proper initial configuration of default Hub Features.
	KubernetesResource *KubernetesResource
	// Output only. Whether the lifecycle of this membership is managed by a
	// google cluster platform service.
	GoogleManaged bool
	// contains filtered or unexported fields
}

func (MembershipEndpoint_builder) Build

type MembershipEventData

type MembershipEventData struct {

	// Optional. The Membership event payload. Unset for deletion events.
	Payload *Membership `protobuf:"bytes,1,opt,name=payload,proto3,oneof" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

The data within all Membership events.

func (*MembershipEventData) ClearPayload

func (x *MembershipEventData) ClearPayload()

func (*MembershipEventData) GetPayload

func (x *MembershipEventData) GetPayload() *Membership

func (*MembershipEventData) HasPayload

func (x *MembershipEventData) HasPayload() bool

func (*MembershipEventData) ProtoMessage

func (*MembershipEventData) ProtoMessage()

func (*MembershipEventData) ProtoReflect

func (x *MembershipEventData) ProtoReflect() protoreflect.Message

func (*MembershipEventData) Reset

func (x *MembershipEventData) Reset()

func (*MembershipEventData) SetPayload

func (x *MembershipEventData) SetPayload(v *Membership)

func (*MembershipEventData) String

func (x *MembershipEventData) String() string

type MembershipEventData_builder

type MembershipEventData_builder struct {

	// Optional. The Membership event payload. Unset for deletion events.
	Payload *Membership
	// contains filtered or unexported fields
}

func (MembershipEventData_builder) Build

type MembershipFeatureState

type MembershipFeatureState struct {

	// The high-level state of this Feature for a single membership.
	State *FeatureState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

MembershipFeatureState contains Feature status information for a single Membership.

func (*MembershipFeatureState) ClearState

func (x *MembershipFeatureState) ClearState()

func (*MembershipFeatureState) GetState

func (x *MembershipFeatureState) GetState() *FeatureState

func (*MembershipFeatureState) HasState

func (x *MembershipFeatureState) HasState() bool

func (*MembershipFeatureState) ProtoMessage

func (*MembershipFeatureState) ProtoMessage()

func (*MembershipFeatureState) ProtoReflect

func (x *MembershipFeatureState) ProtoReflect() protoreflect.Message

func (*MembershipFeatureState) Reset

func (x *MembershipFeatureState) Reset()

func (*MembershipFeatureState) SetState

func (x *MembershipFeatureState) SetState(v *FeatureState)

func (*MembershipFeatureState) String

func (x *MembershipFeatureState) String() string

type MembershipFeatureState_builder

type MembershipFeatureState_builder struct {

	// The high-level state of this Feature for a single membership.
	State *FeatureState
	// contains filtered or unexported fields
}

func (MembershipFeatureState_builder) Build

type MembershipState

type MembershipState struct {

	// Output only. The current state of the Membership resource.
	Code MembershipState_Code `protobuf:"varint,1,opt,name=code,proto3,enum=google.events.cloud.gkehub.v1.MembershipState_Code" json:"code,omitempty"`
	// contains filtered or unexported fields
}

MembershipState describes the state of a Membership resource.

func (*MembershipState) GetCode

func (*MembershipState) ProtoMessage

func (*MembershipState) ProtoMessage()

func (*MembershipState) ProtoReflect

func (x *MembershipState) ProtoReflect() protoreflect.Message

func (*MembershipState) Reset

func (x *MembershipState) Reset()

func (*MembershipState) SetCode

func (x *MembershipState) SetCode(v MembershipState_Code)

func (*MembershipState) String

func (x *MembershipState) String() string

type MembershipState_Code

type MembershipState_Code int32

Code describes the state of a Membership resource.

const (
	// The code is not set.
	MembershipState_CODE_UNSPECIFIED MembershipState_Code = 0
	// The cluster is being registered.
	MembershipState_CREATING MembershipState_Code = 1
	// The cluster is registered.
	MembershipState_READY MembershipState_Code = 2
	// The cluster is being unregistered.
	MembershipState_DELETING MembershipState_Code = 3
	// The Membership is being updated.
	MembershipState_UPDATING MembershipState_Code = 4
	// The Membership is being updated by the Hub Service.
	MembershipState_SERVICE_UPDATING MembershipState_Code = 5
)

func (MembershipState_Code) Descriptor

func (MembershipState_Code) Enum

func (MembershipState_Code) Number

func (MembershipState_Code) String

func (x MembershipState_Code) String() string

func (MembershipState_Code) Type

type MembershipState_builder

type MembershipState_builder struct {

	// Output only. The current state of the Membership resource.
	Code MembershipState_Code
	// contains filtered or unexported fields
}

func (MembershipState_builder) Build

type MembershipUpdatedEvent

type MembershipUpdatedEvent struct {

	// The data associated with the event.
	Data *MembershipEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a Membership is updated.

func (*MembershipUpdatedEvent) ClearData

func (x *MembershipUpdatedEvent) ClearData()

func (*MembershipUpdatedEvent) GetData

func (*MembershipUpdatedEvent) HasData

func (x *MembershipUpdatedEvent) HasData() bool

func (*MembershipUpdatedEvent) ProtoMessage

func (*MembershipUpdatedEvent) ProtoMessage()

func (*MembershipUpdatedEvent) ProtoReflect

func (x *MembershipUpdatedEvent) ProtoReflect() protoreflect.Message

func (*MembershipUpdatedEvent) Reset

func (x *MembershipUpdatedEvent) Reset()

func (*MembershipUpdatedEvent) SetData

func (*MembershipUpdatedEvent) String

func (x *MembershipUpdatedEvent) String() string

type MembershipUpdatedEvent_builder

type MembershipUpdatedEvent_builder struct {

	// The data associated with the event.
	Data *MembershipEventData
	// contains filtered or unexported fields
}

func (MembershipUpdatedEvent_builder) Build

type Membership_Endpoint

type Membership_Endpoint struct {
	// Optional. Endpoint information to reach this member.
	Endpoint *MembershipEndpoint `protobuf:"bytes,4,opt,name=endpoint,proto3,oneof"`
}

type Membership_builder

type Membership_builder struct {

	// Fields of oneof Type:
	// Optional. Endpoint information to reach this member.
	Endpoint *MembershipEndpoint
	// -- end of Type
	// Output only. The full, unique name of this Membership resource in the
	// format `projects/*/locations/*/memberships/{membership_id}`, set during
	// creation.
	//
	// `membership_id` must be a valid RFC 1123 compliant DNS label:
	//
	//  1. At most 63 characters in length
	//  2. It must consist of lower case alphanumeric characters or `-`
	//  3. It must start and end with an alphanumeric character
	//
	// Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`,
	// with a maximum length of 63 characters.
	Name string
	// Optional. GCP labels for this membership.
	Labels map[string]string
	// Output only. Description of this membership, limited to 63 characters.
	// Must match the regex: `[a-zA-Z0-9][a-zA-Z0-9_\-\.\ ]*`
	//
	// This field is present for legacy purposes.
	Description string
	// Output only. State of the Membership resource.
	State *MembershipState
	// Output only. When the Membership was created.
	CreateTime *timestamppb.Timestamp
	// Output only. When the Membership was last updated.
	UpdateTime *timestamppb.Timestamp
	// Output only. When the Membership was deleted.
	DeleteTime *timestamppb.Timestamp
	// Optional. An externally-generated and managed ID for this Membership. This
	// ID may be modified after creation, but this is not recommended.
	//
	// The ID must match the regex: `[a-zA-Z0-9][a-zA-Z0-9_\-\.]*`
	//
	// If this Membership represents a Kubernetes cluster, this value should be
	// set to the UID of the `kube-system` namespace object.
	ExternalId string
	// Output only. For clusters using Connect, the timestamp of the most recent
	// connection established with Google Cloud. This time is updated every
	// several minutes, not continuously. For clusters that do not use GKE
	// Connect, or that have never connected successfully, this field will be
	// unset.
	LastConnectionTime *timestamppb.Timestamp
	// Output only. Google-generated UUID for this resource. This is unique across
	// all Membership resources. If a Membership resource is deleted and another
	// resource with the same name is created, it gets a different unique_id.
	UniqueId string
	// Optional. How to identify workloads from this Membership.
	// See the documentation on Workload Identity for more details:
	// https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity
	Authority *Authority
	// contains filtered or unexported fields
}

func (Membership_builder) Build

func (b0 Membership_builder) Build() *Membership

type MultiCloudCluster

type MultiCloudCluster struct {

	// Immutable. Self-link of the GCP resource for the GKE Multi-Cloud cluster.
	// For example:
	//
	//	//gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/awsClusters/my-cluster
	//	//gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/azureClusters/my-cluster
	//	//gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/attachedClusters/my-cluster
	ResourceLink string `protobuf:"bytes,1,opt,name=resource_link,json=resourceLink,proto3" json:"resource_link,omitempty"`
	// Output only. If cluster_missing is set then it denotes that
	// API(gkemulticloud.googleapis.com) resource for this GKE Multi-Cloud cluster
	// no longer exists.
	ClusterMissing bool `protobuf:"varint,2,opt,name=cluster_missing,json=clusterMissing,proto3" json:"cluster_missing,omitempty"`
	// contains filtered or unexported fields
}

MultiCloudCluster contains information specific to GKE Multi-Cloud clusters.

func (*MultiCloudCluster) GetClusterMissing

func (x *MultiCloudCluster) GetClusterMissing() bool
func (x *MultiCloudCluster) GetResourceLink() string

func (*MultiCloudCluster) ProtoMessage

func (*MultiCloudCluster) ProtoMessage()

func (*MultiCloudCluster) ProtoReflect

func (x *MultiCloudCluster) ProtoReflect() protoreflect.Message

func (*MultiCloudCluster) Reset

func (x *MultiCloudCluster) Reset()

func (*MultiCloudCluster) SetClusterMissing

func (x *MultiCloudCluster) SetClusterMissing(v bool)
func (x *MultiCloudCluster) SetResourceLink(v string)

func (*MultiCloudCluster) String

func (x *MultiCloudCluster) String() string

type MultiCloudCluster_builder

type MultiCloudCluster_builder struct {

	// Immutable. Self-link of the GCP resource for the GKE Multi-Cloud cluster.
	// For example:
	//
	//	//gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/awsClusters/my-cluster
	//	//gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/azureClusters/my-cluster
	//	//gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/attachedClusters/my-cluster
	ResourceLink string
	// Output only. If cluster_missing is set then it denotes that
	// API(gkemulticloud.googleapis.com) resource for this GKE Multi-Cloud cluster
	// no longer exists.
	ClusterMissing bool
	// contains filtered or unexported fields
}

func (MultiCloudCluster_builder) Build

type OnPremCluster

type OnPremCluster struct {

	// Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For
	// example:
	//
	//	//gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/vmwareClusters/my-cluster
	//	//gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/bareMetalClusters/my-cluster
	ResourceLink string `protobuf:"bytes,1,opt,name=resource_link,json=resourceLink,proto3" json:"resource_link,omitempty"`
	// Output only. If cluster_missing is set then it denotes that
	// API(gkeonprem.googleapis.com) resource for this GKE On-Prem cluster no
	// longer exists.
	ClusterMissing bool `protobuf:"varint,2,opt,name=cluster_missing,json=clusterMissing,proto3" json:"cluster_missing,omitempty"`
	// Immutable. Whether the cluster is an admin cluster.
	AdminCluster bool `protobuf:"varint,3,opt,name=admin_cluster,json=adminCluster,proto3" json:"admin_cluster,omitempty"`
	// Immutable. The on prem cluster's type.
	ClusterType OnPremCluster_ClusterType `` /* 156-byte string literal not displayed */
	// contains filtered or unexported fields
}

OnPremCluster contains information specific to GKE On-Prem clusters.

func (*OnPremCluster) GetAdminCluster

func (x *OnPremCluster) GetAdminCluster() bool

func (*OnPremCluster) GetClusterMissing

func (x *OnPremCluster) GetClusterMissing() bool

func (*OnPremCluster) GetClusterType

func (x *OnPremCluster) GetClusterType() OnPremCluster_ClusterType
func (x *OnPremCluster) GetResourceLink() string

func (*OnPremCluster) ProtoMessage

func (*OnPremCluster) ProtoMessage()

func (*OnPremCluster) ProtoReflect

func (x *OnPremCluster) ProtoReflect() protoreflect.Message

func (*OnPremCluster) Reset

func (x *OnPremCluster) Reset()

func (*OnPremCluster) SetAdminCluster

func (x *OnPremCluster) SetAdminCluster(v bool)

func (*OnPremCluster) SetClusterMissing

func (x *OnPremCluster) SetClusterMissing(v bool)

func (*OnPremCluster) SetClusterType

func (x *OnPremCluster) SetClusterType(v OnPremCluster_ClusterType)
func (x *OnPremCluster) SetResourceLink(v string)

func (*OnPremCluster) String

func (x *OnPremCluster) String() string

type OnPremCluster_ClusterType

type OnPremCluster_ClusterType int32

ClusterType describes on prem cluster's type.

const (
	// The ClusterType is not set.
	OnPremCluster_CLUSTERTYPE_UNSPECIFIED OnPremCluster_ClusterType = 0
	// The ClusterType is bootstrap cluster.
	OnPremCluster_BOOTSTRAP OnPremCluster_ClusterType = 1
	// The ClusterType is baremetal hybrid cluster.
	OnPremCluster_HYBRID OnPremCluster_ClusterType = 2
	// The ClusterType is baremetal standalone cluster.
	OnPremCluster_STANDALONE OnPremCluster_ClusterType = 3
	// The ClusterType is user cluster.
	OnPremCluster_USER OnPremCluster_ClusterType = 4
)

func (OnPremCluster_ClusterType) Descriptor

func (OnPremCluster_ClusterType) Enum

func (OnPremCluster_ClusterType) Number

func (OnPremCluster_ClusterType) String

func (x OnPremCluster_ClusterType) String() string

func (OnPremCluster_ClusterType) Type

type OnPremCluster_builder

type OnPremCluster_builder struct {

	// Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For
	// example:
	//
	//	//gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/vmwareClusters/my-cluster
	//	//gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/bareMetalClusters/my-cluster
	ResourceLink string
	// Output only. If cluster_missing is set then it denotes that
	// API(gkeonprem.googleapis.com) resource for this GKE On-Prem cluster no
	// longer exists.
	ClusterMissing bool
	// Immutable. Whether the cluster is an admin cluster.
	AdminCluster bool
	// Immutable. The on prem cluster's type.
	ClusterType OnPremCluster_ClusterType
	// contains filtered or unexported fields
}

func (OnPremCluster_builder) Build

type ResourceManifest

type ResourceManifest struct {

	// YAML manifest of the resource.
	Manifest string `protobuf:"bytes,1,opt,name=manifest,proto3" json:"manifest,omitempty"`
	// Whether the resource provided in the manifest is `cluster_scoped`.
	// If unset, the manifest is assumed to be namespace scoped.
	//
	// This field is used for REST mapping when applying the resource in a
	// cluster.
	ClusterScoped bool `protobuf:"varint,2,opt,name=cluster_scoped,json=clusterScoped,proto3" json:"cluster_scoped,omitempty"`
	// contains filtered or unexported fields
}

ResourceManifest represents a single Kubernetes resource to be applied to the cluster.

func (*ResourceManifest) GetClusterScoped

func (x *ResourceManifest) GetClusterScoped() bool

func (*ResourceManifest) GetManifest

func (x *ResourceManifest) GetManifest() string

func (*ResourceManifest) ProtoMessage

func (*ResourceManifest) ProtoMessage()

func (*ResourceManifest) ProtoReflect

func (x *ResourceManifest) ProtoReflect() protoreflect.Message

func (*ResourceManifest) Reset

func (x *ResourceManifest) Reset()

func (*ResourceManifest) SetClusterScoped

func (x *ResourceManifest) SetClusterScoped(v bool)

func (*ResourceManifest) SetManifest

func (x *ResourceManifest) SetManifest(v string)

func (*ResourceManifest) String

func (x *ResourceManifest) String() string

type ResourceManifest_builder

type ResourceManifest_builder struct {

	// YAML manifest of the resource.
	Manifest string
	// Whether the resource provided in the manifest is `cluster_scoped`.
	// If unset, the manifest is assumed to be namespace scoped.
	//
	// This field is used for REST mapping when applying the resource in a
	// cluster.
	ClusterScoped bool
	// contains filtered or unexported fields
}

func (ResourceManifest_builder) Build

type ResourceOptions

type ResourceOptions struct {

	// Optional. The Connect agent version to use for connect_resources. Defaults
	// to the latest GKE Connect version. The version must be a currently
	// supported version, obsolete versions will be rejected.
	ConnectVersion string `protobuf:"bytes,1,opt,name=connect_version,json=connectVersion,proto3" json:"connect_version,omitempty"`
	// Optional. Use `apiextensions/v1beta1` instead of `apiextensions/v1` for
	// CustomResourceDefinition resources.
	// This option should be set for clusters with Kubernetes apiserver versions
	// <1.16.
	V1Beta1Crd bool `protobuf:"varint,2,opt,name=v1beta1_crd,json=v1beta1Crd,proto3" json:"v1beta1_crd,omitempty"`
	// Optional. Major version of the Kubernetes cluster. This is only used to
	// determine which version to use for the CustomResourceDefinition resources,
	// `apiextensions/v1beta1` or`apiextensions/v1`.
	K8SVersion string `protobuf:"bytes,3,opt,name=k8s_version,json=k8sVersion,proto3" json:"k8s_version,omitempty"`
	// contains filtered or unexported fields
}

ResourceOptions represent options for Kubernetes resource generation.

func (*ResourceOptions) GetConnectVersion

func (x *ResourceOptions) GetConnectVersion() string

func (*ResourceOptions) GetK8SVersion

func (x *ResourceOptions) GetK8SVersion() string

func (*ResourceOptions) GetV1Beta1Crd

func (x *ResourceOptions) GetV1Beta1Crd() bool

func (*ResourceOptions) ProtoMessage

func (*ResourceOptions) ProtoMessage()

func (*ResourceOptions) ProtoReflect

func (x *ResourceOptions) ProtoReflect() protoreflect.Message

func (*ResourceOptions) Reset

func (x *ResourceOptions) Reset()

func (*ResourceOptions) SetConnectVersion

func (x *ResourceOptions) SetConnectVersion(v string)

func (*ResourceOptions) SetK8SVersion

func (x *ResourceOptions) SetK8SVersion(v string)

func (*ResourceOptions) SetV1Beta1Crd

func (x *ResourceOptions) SetV1Beta1Crd(v bool)

func (*ResourceOptions) String

func (x *ResourceOptions) String() string

type ResourceOptions_builder

type ResourceOptions_builder struct {

	// Optional. The Connect agent version to use for connect_resources. Defaults
	// to the latest GKE Connect version. The version must be a currently
	// supported version, obsolete versions will be rejected.
	ConnectVersion string
	// Optional. Use `apiextensions/v1beta1` instead of `apiextensions/v1` for
	// CustomResourceDefinition resources.
	// This option should be set for clusters with Kubernetes apiserver versions
	// <1.16.
	V1Beta1Crd bool
	// Optional. Major version of the Kubernetes cluster. This is only used to
	// determine which version to use for the CustomResourceDefinition resources,
	// `apiextensions/v1beta1` or`apiextensions/v1`.
	K8SVersion string
	// contains filtered or unexported fields
}

func (ResourceOptions_builder) Build

type Scope

type Scope struct {

	// The resource name for the scope
	// `projects/{project}/locations/{location}/scopes/{scope}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Google-generated UUID for this resource. This is unique across
	// all scope resources. If a scope resource is deleted and another resource
	// with the same name is created, it gets a different uid.
	Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
	// Output only. When the scope was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. When the scope was last updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Output only. When the scope was deleted.
	DeleteTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`
	// Output only. State of the scope resource.
	State *ScopeLifecycleState `protobuf:"bytes,6,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

Scope represents a Scope in a Fleet.

func (*Scope) ClearCreateTime

func (x *Scope) ClearCreateTime()

func (*Scope) ClearDeleteTime

func (x *Scope) ClearDeleteTime()

func (*Scope) ClearState

func (x *Scope) ClearState()

func (*Scope) ClearUpdateTime

func (x *Scope) ClearUpdateTime()

func (*Scope) GetCreateTime

func (x *Scope) GetCreateTime() *timestamppb.Timestamp

func (*Scope) GetDeleteTime

func (x *Scope) GetDeleteTime() *timestamppb.Timestamp

func (*Scope) GetName

func (x *Scope) GetName() string

func (*Scope) GetState

func (x *Scope) GetState() *ScopeLifecycleState

func (*Scope) GetUid

func (x *Scope) GetUid() string

func (*Scope) GetUpdateTime

func (x *Scope) GetUpdateTime() *timestamppb.Timestamp

func (*Scope) HasCreateTime

func (x *Scope) HasCreateTime() bool

func (*Scope) HasDeleteTime

func (x *Scope) HasDeleteTime() bool

func (*Scope) HasState

func (x *Scope) HasState() bool

func (*Scope) HasUpdateTime

func (x *Scope) HasUpdateTime() bool

func (*Scope) ProtoMessage

func (*Scope) ProtoMessage()

func (*Scope) ProtoReflect

func (x *Scope) ProtoReflect() protoreflect.Message

func (*Scope) Reset

func (x *Scope) Reset()

func (*Scope) SetCreateTime

func (x *Scope) SetCreateTime(v *timestamppb.Timestamp)

func (*Scope) SetDeleteTime

func (x *Scope) SetDeleteTime(v *timestamppb.Timestamp)

func (*Scope) SetName

func (x *Scope) SetName(v string)

func (*Scope) SetState

func (x *Scope) SetState(v *ScopeLifecycleState)

func (*Scope) SetUid

func (x *Scope) SetUid(v string)

func (*Scope) SetUpdateTime

func (x *Scope) SetUpdateTime(v *timestamppb.Timestamp)

func (*Scope) String

func (x *Scope) String() string

type ScopeCreatedEvent

type ScopeCreatedEvent struct {

	// The data associated with the event.
	Data *ScopeEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a Scope is created.

func (*ScopeCreatedEvent) ClearData

func (x *ScopeCreatedEvent) ClearData()

func (*ScopeCreatedEvent) GetData

func (x *ScopeCreatedEvent) GetData() *ScopeEventData

func (*ScopeCreatedEvent) HasData

func (x *ScopeCreatedEvent) HasData() bool

func (*ScopeCreatedEvent) ProtoMessage

func (*ScopeCreatedEvent) ProtoMessage()

func (*ScopeCreatedEvent) ProtoReflect

func (x *ScopeCreatedEvent) ProtoReflect() protoreflect.Message

func (*ScopeCreatedEvent) Reset

func (x *ScopeCreatedEvent) Reset()

func (*ScopeCreatedEvent) SetData

func (x *ScopeCreatedEvent) SetData(v *ScopeEventData)

func (*ScopeCreatedEvent) String

func (x *ScopeCreatedEvent) String() string

type ScopeCreatedEvent_builder

type ScopeCreatedEvent_builder struct {

	// The data associated with the event.
	Data *ScopeEventData
	// contains filtered or unexported fields
}

func (ScopeCreatedEvent_builder) Build

type ScopeDeletedEvent

type ScopeDeletedEvent struct {

	// The data associated with the event.
	Data *ScopeEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a Scope is deleted.

func (*ScopeDeletedEvent) ClearData

func (x *ScopeDeletedEvent) ClearData()

func (*ScopeDeletedEvent) GetData

func (x *ScopeDeletedEvent) GetData() *ScopeEventData

func (*ScopeDeletedEvent) HasData

func (x *ScopeDeletedEvent) HasData() bool

func (*ScopeDeletedEvent) ProtoMessage

func (*ScopeDeletedEvent) ProtoMessage()

func (*ScopeDeletedEvent) ProtoReflect

func (x *ScopeDeletedEvent) ProtoReflect() protoreflect.Message

func (*ScopeDeletedEvent) Reset

func (x *ScopeDeletedEvent) Reset()

func (*ScopeDeletedEvent) SetData

func (x *ScopeDeletedEvent) SetData(v *ScopeEventData)

func (*ScopeDeletedEvent) String

func (x *ScopeDeletedEvent) String() string

type ScopeDeletedEvent_builder

type ScopeDeletedEvent_builder struct {

	// The data associated with the event.
	Data *ScopeEventData
	// contains filtered or unexported fields
}

func (ScopeDeletedEvent_builder) Build

type ScopeEventData

type ScopeEventData struct {

	// Optional. The Scope event payload. Unset for deletion events.
	Payload *Scope `protobuf:"bytes,1,opt,name=payload,proto3,oneof" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

The data within all Scope events.

func (*ScopeEventData) ClearPayload

func (x *ScopeEventData) ClearPayload()

func (*ScopeEventData) GetPayload

func (x *ScopeEventData) GetPayload() *Scope

func (*ScopeEventData) HasPayload

func (x *ScopeEventData) HasPayload() bool

func (*ScopeEventData) ProtoMessage

func (*ScopeEventData) ProtoMessage()

func (*ScopeEventData) ProtoReflect

func (x *ScopeEventData) ProtoReflect() protoreflect.Message

func (*ScopeEventData) Reset

func (x *ScopeEventData) Reset()

func (*ScopeEventData) SetPayload

func (x *ScopeEventData) SetPayload(v *Scope)

func (*ScopeEventData) String

func (x *ScopeEventData) String() string

type ScopeEventData_builder

type ScopeEventData_builder struct {

	// Optional. The Scope event payload. Unset for deletion events.
	Payload *Scope
	// contains filtered or unexported fields
}

func (ScopeEventData_builder) Build

type ScopeFeatureState

type ScopeFeatureState struct {

	// Output only. The "running state" of the Feature in this Scope.
	State *FeatureState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

ScopeFeatureState contains Scope-wide Feature status information.

func (*ScopeFeatureState) ClearState

func (x *ScopeFeatureState) ClearState()

func (*ScopeFeatureState) GetState

func (x *ScopeFeatureState) GetState() *FeatureState

func (*ScopeFeatureState) HasState

func (x *ScopeFeatureState) HasState() bool

func (*ScopeFeatureState) ProtoMessage

func (*ScopeFeatureState) ProtoMessage()

func (*ScopeFeatureState) ProtoReflect

func (x *ScopeFeatureState) ProtoReflect() protoreflect.Message

func (*ScopeFeatureState) Reset

func (x *ScopeFeatureState) Reset()

func (*ScopeFeatureState) SetState

func (x *ScopeFeatureState) SetState(v *FeatureState)

func (*ScopeFeatureState) String

func (x *ScopeFeatureState) String() string

type ScopeFeatureState_builder

type ScopeFeatureState_builder struct {

	// Output only. The "running state" of the Feature in this Scope.
	State *FeatureState
	// contains filtered or unexported fields
}

func (ScopeFeatureState_builder) Build

type ScopeLifecycleState

type ScopeLifecycleState struct {

	// Output only. The current state of the scope resource.
	Code ScopeLifecycleState_Code `protobuf:"varint,1,opt,name=code,proto3,enum=google.events.cloud.gkehub.v1.ScopeLifecycleState_Code" json:"code,omitempty"`
	// contains filtered or unexported fields
}

ScopeLifecycleState describes the state of a Scope resource.

func (*ScopeLifecycleState) GetCode

func (*ScopeLifecycleState) ProtoMessage

func (*ScopeLifecycleState) ProtoMessage()

func (*ScopeLifecycleState) ProtoReflect

func (x *ScopeLifecycleState) ProtoReflect() protoreflect.Message

func (*ScopeLifecycleState) Reset

func (x *ScopeLifecycleState) Reset()

func (*ScopeLifecycleState) SetCode

func (*ScopeLifecycleState) String

func (x *ScopeLifecycleState) String() string

type ScopeLifecycleState_Code

type ScopeLifecycleState_Code int32

Code describes the state of a Scope resource.

const (
	// The code is not set.
	ScopeLifecycleState_CODE_UNSPECIFIED ScopeLifecycleState_Code = 0
	// The scope is being created.
	ScopeLifecycleState_CREATING ScopeLifecycleState_Code = 1
	// The scope active.
	ScopeLifecycleState_READY ScopeLifecycleState_Code = 2
	// The scope is being deleted.
	ScopeLifecycleState_DELETING ScopeLifecycleState_Code = 3
	// The scope is being updated.
	ScopeLifecycleState_UPDATING ScopeLifecycleState_Code = 4
)

func (ScopeLifecycleState_Code) Descriptor

func (ScopeLifecycleState_Code) Enum

func (ScopeLifecycleState_Code) Number

func (ScopeLifecycleState_Code) String

func (x ScopeLifecycleState_Code) String() string

func (ScopeLifecycleState_Code) Type

type ScopeLifecycleState_builder

type ScopeLifecycleState_builder struct {

	// Output only. The current state of the scope resource.
	Code ScopeLifecycleState_Code
	// contains filtered or unexported fields
}

func (ScopeLifecycleState_builder) Build

type Scope_builder

type Scope_builder struct {

	// The resource name for the scope
	// `projects/{project}/locations/{location}/scopes/{scope}`
	Name string
	// Output only. Google-generated UUID for this resource. This is unique across
	// all scope resources. If a scope resource is deleted and another resource
	// with the same name is created, it gets a different uid.
	Uid string
	// Output only. When the scope was created.
	CreateTime *timestamppb.Timestamp
	// Output only. When the scope was last updated.
	UpdateTime *timestamppb.Timestamp
	// Output only. When the scope was deleted.
	DeleteTime *timestamppb.Timestamp
	// Output only. State of the scope resource.
	State *ScopeLifecycleState
	// contains filtered or unexported fields
}

func (Scope_builder) Build

func (b0 Scope_builder) Build() *Scope

Source Files

  • data.pb.go
  • events.pb.go

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL