Constants
EdgeContainer_ListClusters_FullMethodName, EdgeContainer_GetCluster_FullMethodName, EdgeContainer_CreateCluster_FullMethodName, EdgeContainer_UpdateCluster_FullMethodName, EdgeContainer_UpgradeCluster_FullMethodName, EdgeContainer_DeleteCluster_FullMethodName, EdgeContainer_GenerateAccessToken_FullMethodName, EdgeContainer_GenerateOfflineCredential_FullMethodName, EdgeContainer_ListNodePools_FullMethodName, EdgeContainer_GetNodePool_FullMethodName, EdgeContainer_CreateNodePool_FullMethodName, EdgeContainer_UpdateNodePool_FullMethodName, EdgeContainer_DeleteNodePool_FullMethodName, EdgeContainer_ListMachines_FullMethodName, EdgeContainer_GetMachine_FullMethodName, EdgeContainer_ListVpnConnections_FullMethodName, EdgeContainer_GetVpnConnection_FullMethodName, EdgeContainer_CreateVpnConnection_FullMethodName, EdgeContainer_DeleteVpnConnection_FullMethodName, EdgeContainer_GetServerConfig_FullMethodName
const (
EdgeContainer_ListClusters_FullMethodName = "/google.cloud.edgecontainer.v1.EdgeContainer/ListClusters"
EdgeContainer_GetCluster_FullMethodName = "/google.cloud.edgecontainer.v1.EdgeContainer/GetCluster"
EdgeContainer_CreateCluster_FullMethodName = "/google.cloud.edgecontainer.v1.EdgeContainer/CreateCluster"
EdgeContainer_UpdateCluster_FullMethodName = "/google.cloud.edgecontainer.v1.EdgeContainer/UpdateCluster"
EdgeContainer_UpgradeCluster_FullMethodName = "/google.cloud.edgecontainer.v1.EdgeContainer/UpgradeCluster"
EdgeContainer_DeleteCluster_FullMethodName = "/google.cloud.edgecontainer.v1.EdgeContainer/DeleteCluster"
EdgeContainer_GenerateAccessToken_FullMethodName = "/google.cloud.edgecontainer.v1.EdgeContainer/GenerateAccessToken"
EdgeContainer_GenerateOfflineCredential_FullMethodName = "/google.cloud.edgecontainer.v1.EdgeContainer/GenerateOfflineCredential"
EdgeContainer_ListNodePools_FullMethodName = "/google.cloud.edgecontainer.v1.EdgeContainer/ListNodePools"
EdgeContainer_GetNodePool_FullMethodName = "/google.cloud.edgecontainer.v1.EdgeContainer/GetNodePool"
EdgeContainer_CreateNodePool_FullMethodName = "/google.cloud.edgecontainer.v1.EdgeContainer/CreateNodePool"
EdgeContainer_UpdateNodePool_FullMethodName = "/google.cloud.edgecontainer.v1.EdgeContainer/UpdateNodePool"
EdgeContainer_DeleteNodePool_FullMethodName = "/google.cloud.edgecontainer.v1.EdgeContainer/DeleteNodePool"
EdgeContainer_ListMachines_FullMethodName = "/google.cloud.edgecontainer.v1.EdgeContainer/ListMachines"
EdgeContainer_GetMachine_FullMethodName = "/google.cloud.edgecontainer.v1.EdgeContainer/GetMachine"
EdgeContainer_ListVpnConnections_FullMethodName = "/google.cloud.edgecontainer.v1.EdgeContainer/ListVpnConnections"
EdgeContainer_GetVpnConnection_FullMethodName = "/google.cloud.edgecontainer.v1.EdgeContainer/GetVpnConnection"
EdgeContainer_CreateVpnConnection_FullMethodName = "/google.cloud.edgecontainer.v1.EdgeContainer/CreateVpnConnection"
EdgeContainer_DeleteVpnConnection_FullMethodName = "/google.cloud.edgecontainer.v1.EdgeContainer/DeleteVpnConnection"
EdgeContainer_GetServerConfig_FullMethodName = "/google.cloud.edgecontainer.v1.EdgeContainer/GetServerConfig"
)Variables
KmsKeyState_name, KmsKeyState_value
var (
KmsKeyState_name = map[int32]string{
0: "KMS_KEY_STATE_UNSPECIFIED",
1: "KMS_KEY_STATE_KEY_AVAILABLE",
2: "KMS_KEY_STATE_KEY_UNAVAILABLE",
}
KmsKeyState_value = map[string]int32{
"KMS_KEY_STATE_UNSPECIFIED": 0,
"KMS_KEY_STATE_KEY_AVAILABLE": 1,
"KMS_KEY_STATE_KEY_UNAVAILABLE": 2,
}
)Enum value maps for KmsKeyState.
ResourceState_name, ResourceState_value
var (
ResourceState_name = map[int32]string{
0: "RESOURCE_STATE_UNSPECIFIED",
1: "RESOURCE_STATE_LOCK_DOWN",
2: "RESOURCE_STATE_LOCK_DOWN_PENDING",
}
ResourceState_value = map[string]int32{
"RESOURCE_STATE_UNSPECIFIED": 0,
"RESOURCE_STATE_LOCK_DOWN": 1,
"RESOURCE_STATE_LOCK_DOWN_PENDING": 2,
}
)Enum value maps for ResourceState.
Cluster_Status_name, Cluster_Status_value
var (
Cluster_Status_name = map[int32]string{
0: "STATUS_UNSPECIFIED",
1: "PROVISIONING",
2: "RUNNING",
3: "DELETING",
4: "ERROR",
5: "RECONCILING",
}
Cluster_Status_value = map[string]int32{
"STATUS_UNSPECIFIED": 0,
"PROVISIONING": 1,
"RUNNING": 2,
"DELETING": 3,
"ERROR": 4,
"RECONCILING": 5,
}
)Enum value maps for Cluster_Status.
Cluster_ReleaseChannel_name, Cluster_ReleaseChannel_value
var (
Cluster_ReleaseChannel_name = map[int32]string{
0: "RELEASE_CHANNEL_UNSPECIFIED",
1: "NONE",
2: "REGULAR",
}
Cluster_ReleaseChannel_value = map[string]int32{
"RELEASE_CHANNEL_UNSPECIFIED": 0,
"NONE": 1,
"REGULAR": 2,
}
)Enum value maps for Cluster_ReleaseChannel.
Cluster_ControlPlane_SharedDeploymentPolicy_name, Cluster_ControlPlane_SharedDeploymentPolicy_value
var (
Cluster_ControlPlane_SharedDeploymentPolicy_name = map[int32]string{
0: "SHARED_DEPLOYMENT_POLICY_UNSPECIFIED",
1: "ALLOWED",
2: "DISALLOWED",
}
Cluster_ControlPlane_SharedDeploymentPolicy_value = map[string]int32{
"SHARED_DEPLOYMENT_POLICY_UNSPECIFIED": 0,
"ALLOWED": 1,
"DISALLOWED": 2,
}
)Enum value maps for Cluster_ControlPlane_SharedDeploymentPolicy.
Cluster_MaintenanceEvent_Type_name, Cluster_MaintenanceEvent_Type_value
var (
Cluster_MaintenanceEvent_Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "USER_INITIATED_UPGRADE",
2: "GOOGLE_DRIVEN_UPGRADE",
}
Cluster_MaintenanceEvent_Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"USER_INITIATED_UPGRADE": 1,
"GOOGLE_DRIVEN_UPGRADE": 2,
}
)Enum value maps for Cluster_MaintenanceEvent_Type.
Cluster_MaintenanceEvent_Schedule_name, Cluster_MaintenanceEvent_Schedule_value
var (
Cluster_MaintenanceEvent_Schedule_name = map[int32]string{
0: "SCHEDULE_UNSPECIFIED",
1: "IMMEDIATELY",
}
Cluster_MaintenanceEvent_Schedule_value = map[string]int32{
"SCHEDULE_UNSPECIFIED": 0,
"IMMEDIATELY": 1,
}
)Enum value maps for Cluster_MaintenanceEvent_Schedule.
Cluster_MaintenanceEvent_State_name, Cluster_MaintenanceEvent_State_value
var (
Cluster_MaintenanceEvent_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "RECONCILING",
2: "SUCCEEDED",
3: "FAILED",
}
Cluster_MaintenanceEvent_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"RECONCILING": 1,
"SUCCEEDED": 2,
"FAILED": 3,
}
)Enum value maps for Cluster_MaintenanceEvent_State.
Cluster_ConnectionState_State_name, Cluster_ConnectionState_State_value
var (
Cluster_ConnectionState_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "DISCONNECTED",
2: "CONNECTED",
3: "CONNECTED_AND_SYNCING",
}
Cluster_ConnectionState_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"DISCONNECTED": 1,
"CONNECTED": 2,
"CONNECTED_AND_SYNCING": 3,
}
)Enum value maps for Cluster_ConnectionState_State.
VpnConnection_BgpRoutingMode_name, VpnConnection_BgpRoutingMode_value
var (
VpnConnection_BgpRoutingMode_name = map[int32]string{
0: "BGP_ROUTING_MODE_UNSPECIFIED",
1: "REGIONAL",
2: "GLOBAL",
}
VpnConnection_BgpRoutingMode_value = map[string]int32{
"BGP_ROUTING_MODE_UNSPECIFIED": 0,
"REGIONAL": 1,
"GLOBAL": 2,
}
)Enum value maps for VpnConnection_BgpRoutingMode.
VpnConnection_Details_State_name, VpnConnection_Details_State_value
var (
VpnConnection_Details_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "STATE_CONNECTED",
2: "STATE_CONNECTING",
3: "STATE_ERROR",
}
VpnConnection_Details_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"STATE_CONNECTED": 1,
"STATE_CONNECTING": 2,
"STATE_ERROR": 3,
}
)Enum value maps for VpnConnection_Details_State.
ZoneMetadata_RackType_name, ZoneMetadata_RackType_value
var (
ZoneMetadata_RackType_name = map[int32]string{
0: "RACK_TYPE_UNSPECIFIED",
1: "BASE",
2: "EXPANSION",
}
ZoneMetadata_RackType_value = map[string]int32{
"RACK_TYPE_UNSPECIFIED": 0,
"BASE": 1,
"EXPANSION": 2,
}
)Enum value maps for ZoneMetadata_RackType.
OperationMetadata_StatusReason_name, OperationMetadata_StatusReason_value
var (
OperationMetadata_StatusReason_name = map[int32]string{
0: "STATUS_REASON_UNSPECIFIED",
1: "UPGRADE_PAUSED",
}
OperationMetadata_StatusReason_value = map[string]int32{
"STATUS_REASON_UNSPECIFIED": 0,
"UPGRADE_PAUSED": 1,
}
)Enum value maps for OperationMetadata_StatusReason.
UpgradeClusterRequest_Schedule_name, UpgradeClusterRequest_Schedule_value
var (
UpgradeClusterRequest_Schedule_name = map[int32]string{
0: "SCHEDULE_UNSPECIFIED",
1: "IMMEDIATELY",
}
UpgradeClusterRequest_Schedule_value = map[string]int32{
"SCHEDULE_UNSPECIFIED": 0,
"IMMEDIATELY": 1,
}
)Enum value maps for UpgradeClusterRequest_Schedule.
EdgeContainer_ServiceDesc
var EdgeContainer_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.edgecontainer.v1.EdgeContainer",
HandlerType: (*EdgeContainerServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListClusters",
Handler: _EdgeContainer_ListClusters_Handler,
},
{
MethodName: "GetCluster",
Handler: _EdgeContainer_GetCluster_Handler,
},
{
MethodName: "CreateCluster",
Handler: _EdgeContainer_CreateCluster_Handler,
},
{
MethodName: "UpdateCluster",
Handler: _EdgeContainer_UpdateCluster_Handler,
},
{
MethodName: "UpgradeCluster",
Handler: _EdgeContainer_UpgradeCluster_Handler,
},
{
MethodName: "DeleteCluster",
Handler: _EdgeContainer_DeleteCluster_Handler,
},
{
MethodName: "GenerateAccessToken",
Handler: _EdgeContainer_GenerateAccessToken_Handler,
},
{
MethodName: "GenerateOfflineCredential",
Handler: _EdgeContainer_GenerateOfflineCredential_Handler,
},
{
MethodName: "ListNodePools",
Handler: _EdgeContainer_ListNodePools_Handler,
},
{
MethodName: "GetNodePool",
Handler: _EdgeContainer_GetNodePool_Handler,
},
{
MethodName: "CreateNodePool",
Handler: _EdgeContainer_CreateNodePool_Handler,
},
{
MethodName: "UpdateNodePool",
Handler: _EdgeContainer_UpdateNodePool_Handler,
},
{
MethodName: "DeleteNodePool",
Handler: _EdgeContainer_DeleteNodePool_Handler,
},
{
MethodName: "ListMachines",
Handler: _EdgeContainer_ListMachines_Handler,
},
{
MethodName: "GetMachine",
Handler: _EdgeContainer_GetMachine_Handler,
},
{
MethodName: "ListVpnConnections",
Handler: _EdgeContainer_ListVpnConnections_Handler,
},
{
MethodName: "GetVpnConnection",
Handler: _EdgeContainer_GetVpnConnection_Handler,
},
{
MethodName: "CreateVpnConnection",
Handler: _EdgeContainer_CreateVpnConnection_Handler,
},
{
MethodName: "DeleteVpnConnection",
Handler: _EdgeContainer_DeleteVpnConnection_Handler,
},
{
MethodName: "GetServerConfig",
Handler: _EdgeContainer_GetServerConfig_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/edgecontainer/v1/service.proto",
}EdgeContainer_ServiceDesc is the grpc.ServiceDesc for EdgeContainer service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
File_google_cloud_edgecontainer_v1_resources_proto
var File_google_cloud_edgecontainer_v1_resources_proto protoreflect.FileDescriptorFile_google_cloud_edgecontainer_v1_service_proto
var File_google_cloud_edgecontainer_v1_service_proto protoreflect.FileDescriptorFunctions
func RegisterEdgeContainerServer
func RegisterEdgeContainerServer(s grpc.ServiceRegistrar, srv EdgeContainerServer)Authorization
type Authorization struct {
// Required. User that will be granted the cluster-admin role on the cluster,
// providing full access to the cluster. Currently, this is a singular field,
// but will be expanded to allow multiple admins in the future.
AdminUsers *ClusterUser `protobuf:"bytes,1,opt,name=admin_users,json=adminUsers,proto3" json:"admin_users,omitempty"`
// contains filtered or unexported fields
}RBAC policy that will be applied and managed by GEC.
func (*Authorization) Descriptor
func (*Authorization) Descriptor() ([]byte, []int)Deprecated: Use Authorization.ProtoReflect.Descriptor instead.
func (*Authorization) GetAdminUsers
func (x *Authorization) GetAdminUsers() *ClusterUserfunc (*Authorization) ProtoMessage
func (*Authorization) ProtoMessage()func (*Authorization) ProtoReflect
func (x *Authorization) ProtoReflect() protoreflect.Messagefunc (*Authorization) Reset
func (x *Authorization) Reset()func (*Authorization) String
func (x *Authorization) String() stringChannelConfig
type ChannelConfig struct {
// Output only. Default version for this release channel, e.g.: "1.4.0".
DefaultVersion string `protobuf:"bytes,1,opt,name=default_version,json=defaultVersion,proto3" json:"default_version,omitempty"`
// contains filtered or unexported fields
}Configuration for a release channel.
func (*ChannelConfig) Descriptor
func (*ChannelConfig) Descriptor() ([]byte, []int)Deprecated: Use ChannelConfig.ProtoReflect.Descriptor instead.
func (*ChannelConfig) GetDefaultVersion
func (x *ChannelConfig) GetDefaultVersion() stringfunc (*ChannelConfig) ProtoMessage
func (*ChannelConfig) ProtoMessage()func (*ChannelConfig) ProtoReflect
func (x *ChannelConfig) ProtoReflect() protoreflect.Messagefunc (*ChannelConfig) Reset
func (x *ChannelConfig) Reset()func (*ChannelConfig) String
func (x *ChannelConfig) String() stringCluster
type Cluster struct {
// Required. The resource name of the cluster.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The time when the cluster was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time when the cluster was last updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Labels associated with this resource.
Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Required. Fleet configuration.
Fleet *Fleet `protobuf:"bytes,11,opt,name=fleet,proto3" json:"fleet,omitempty"`
// Required. Cluster-wide networking configuration.
Networking *ClusterNetworking `protobuf:"bytes,7,opt,name=networking,proto3" json:"networking,omitempty"`
// Required. Immutable. RBAC policy that will be applied and managed by GEC.
Authorization *Authorization `protobuf:"bytes,9,opt,name=authorization,proto3" json:"authorization,omitempty"`
// Optional. The default maximum number of pods per node used if a maximum
// value is not specified explicitly for a node pool in this cluster. If
// unspecified, the Kubernetes default value will be used.
DefaultMaxPodsPerNode int32 `protobuf:"varint,8,opt,name=default_max_pods_per_node,json=defaultMaxPodsPerNode,proto3" json:"default_max_pods_per_node,omitempty"`
// Output only. The IP address of the Kubernetes API server.
Endpoint string `protobuf:"bytes,6,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
// Output only. The port number of the Kubernetes API server.
Port int32 `protobuf:"varint,19,opt,name=port,proto3" json:"port,omitempty"`
// Output only. The PEM-encoded public certificate of the cluster's CA.
ClusterCaCertificate string `protobuf:"bytes,10,opt,name=cluster_ca_certificate,json=clusterCaCertificate,proto3" json:"cluster_ca_certificate,omitempty"`
// Optional. Cluster-wide maintenance policy configuration.
MaintenancePolicy *MaintenancePolicy `protobuf:"bytes,12,opt,name=maintenance_policy,json=maintenancePolicy,proto3" json:"maintenance_policy,omitempty"`
// Output only. The control plane release version
ControlPlaneVersion string `protobuf:"bytes,13,opt,name=control_plane_version,json=controlPlaneVersion,proto3" json:"control_plane_version,omitempty"`
// Output only. The lowest release version among all worker nodes. This field
// can be empty if the cluster does not have any worker nodes.
NodeVersion string `protobuf:"bytes,14,opt,name=node_version,json=nodeVersion,proto3" json:"node_version,omitempty"`
// Optional. The configuration of the cluster control plane.
ControlPlane *Cluster_ControlPlane `protobuf:"bytes,15,opt,name=control_plane,json=controlPlane,proto3" json:"control_plane,omitempty"`
// Optional. The configuration of the system add-ons.
SystemAddonsConfig *Cluster_SystemAddonsConfig `protobuf:"bytes,16,opt,name=system_addons_config,json=systemAddonsConfig,proto3" json:"system_addons_config,omitempty"`
// Optional. IPv4 address pools for cluster data plane external load
// balancing.
ExternalLoadBalancerIpv4AddressPools []string `protobuf:"bytes,17,rep,name=external_load_balancer_ipv4_address_pools,json=externalLoadBalancerIpv4AddressPools,proto3" json:"external_load_balancer_ipv4_address_pools,omitempty"`
// Optional. Remote control plane disk encryption options. This field is only
// used when enabling CMEK support.
ControlPlaneEncryption *Cluster_ControlPlaneEncryption `protobuf:"bytes,18,opt,name=control_plane_encryption,json=controlPlaneEncryption,proto3" json:"control_plane_encryption,omitempty"`
// Output only. The current status of the cluster.
Status Cluster_Status `protobuf:"varint,20,opt,name=status,proto3,enum=google.cloud.edgecontainer.v1.Cluster_Status" json:"status,omitempty"`
// Output only. All the maintenance events scheduled for the cluster,
// including the ones ongoing, planned for the future and done in the past (up
// to 90 days).
MaintenanceEvents []*Cluster_MaintenanceEvent `protobuf:"bytes,21,rep,name=maintenance_events,json=maintenanceEvents,proto3" json:"maintenance_events,omitempty"`
// Optional. The target cluster version. For example: "1.5.0".
TargetVersion string `protobuf:"bytes,22,opt,name=target_version,json=targetVersion,proto3" json:"target_version,omitempty"`
// Optional. The release channel a cluster is subscribed to.
ReleaseChannel Cluster_ReleaseChannel `protobuf:"varint,23,opt,name=release_channel,json=releaseChannel,proto3,enum=google.cloud.edgecontainer.v1.Cluster_ReleaseChannel" json:"release_channel,omitempty"`
// Optional. Configuration of the cluster survivability, e.g., for the case
// when network connectivity is lost. Note: This only applies to local control
// plane clusters.
SurvivabilityConfig *Cluster_SurvivabilityConfig `protobuf:"bytes,24,opt,name=survivability_config,json=survivabilityConfig,proto3" json:"survivability_config,omitempty"`
// Optional. IPv6 address pools for cluster data plane external load
// balancing.
ExternalLoadBalancerIpv6AddressPools []string `protobuf:"bytes,25,rep,name=external_load_balancer_ipv6_address_pools,json=externalLoadBalancerIpv6AddressPools,proto3" json:"external_load_balancer_ipv6_address_pools,omitempty"`
// Output only. The current connection state of the cluster.
ConnectionState *Cluster_ConnectionState `protobuf:"bytes,27,opt,name=connection_state,json=connectionState,proto3" json:"connection_state,omitempty"`
// contains filtered or unexported fields
}A Google Distributed Cloud Edge Kubernetes cluster.
func (*Cluster) Descriptor
Deprecated: Use Cluster.ProtoReflect.Descriptor instead.
func (*Cluster) GetAuthorization
func (x *Cluster) GetAuthorization() *Authorizationfunc (*Cluster) GetClusterCaCertificate
func (*Cluster) GetConnectionState
func (x *Cluster) GetConnectionState() *Cluster_ConnectionStatefunc (*Cluster) GetControlPlane
func (x *Cluster) GetControlPlane() *Cluster_ControlPlanefunc (*Cluster) GetControlPlaneEncryption
func (x *Cluster) GetControlPlaneEncryption() *Cluster_ControlPlaneEncryptionfunc (*Cluster) GetControlPlaneVersion
func (*Cluster) GetCreateTime
func (x *Cluster) GetCreateTime() *timestamppb.Timestampfunc (*Cluster) GetDefaultMaxPodsPerNode
func (*Cluster) GetEndpoint
func (*Cluster) GetExternalLoadBalancerIpv4AddressPools
func (*Cluster) GetExternalLoadBalancerIpv6AddressPools
func (*Cluster) GetFleet
func (*Cluster) GetLabels
func (*Cluster) GetMaintenanceEvents
func (x *Cluster) GetMaintenanceEvents() []*Cluster_MaintenanceEventfunc (*Cluster) GetMaintenancePolicy
func (x *Cluster) GetMaintenancePolicy() *MaintenancePolicyfunc (*Cluster) GetName
func (*Cluster) GetNetworking
func (x *Cluster) GetNetworking() *ClusterNetworkingfunc (*Cluster) GetNodeVersion
func (*Cluster) GetPort
func (*Cluster) GetReleaseChannel
func (x *Cluster) GetReleaseChannel() Cluster_ReleaseChannelfunc (*Cluster) GetStatus
func (x *Cluster) GetStatus() Cluster_Statusfunc (*Cluster) GetSurvivabilityConfig
func (x *Cluster) GetSurvivabilityConfig() *Cluster_SurvivabilityConfigfunc (*Cluster) GetSystemAddonsConfig
func (x *Cluster) GetSystemAddonsConfig() *Cluster_SystemAddonsConfigfunc (*Cluster) GetTargetVersion
func (*Cluster) GetUpdateTime
func (x *Cluster) GetUpdateTime() *timestamppb.Timestampfunc (*Cluster) ProtoMessage
func (*Cluster) ProtoMessage()func (*Cluster) ProtoReflect
func (x *Cluster) ProtoReflect() protoreflect.Messagefunc (*Cluster) Reset
func (x *Cluster) Reset()func (*Cluster) String
ClusterNetworking
type ClusterNetworking struct {
// Required. All pods in the cluster are assigned an RFC1918 IPv4 address from
// these blocks. Only a single block is supported. This field cannot be
// changed after creation.
ClusterIpv4CidrBlocks []string `protobuf:"bytes,1,rep,name=cluster_ipv4_cidr_blocks,json=clusterIpv4CidrBlocks,proto3" json:"cluster_ipv4_cidr_blocks,omitempty"`
// Required. All services in the cluster are assigned an RFC1918 IPv4 address
// from these blocks. Only a single block is supported. This field cannot be
// changed after creation.
ServicesIpv4CidrBlocks []string `protobuf:"bytes,2,rep,name=services_ipv4_cidr_blocks,json=servicesIpv4CidrBlocks,proto3" json:"services_ipv4_cidr_blocks,omitempty"`
// contains filtered or unexported fields
}Cluster-wide networking configuration.
func (*ClusterNetworking) Descriptor
func (*ClusterNetworking) Descriptor() ([]byte, []int)Deprecated: Use ClusterNetworking.ProtoReflect.Descriptor instead.
func (*ClusterNetworking) GetClusterIpv4CidrBlocks
func (x *ClusterNetworking) GetClusterIpv4CidrBlocks() []stringfunc (*ClusterNetworking) GetServicesIpv4CidrBlocks
func (x *ClusterNetworking) GetServicesIpv4CidrBlocks() []stringfunc (*ClusterNetworking) ProtoMessage
func (*ClusterNetworking) ProtoMessage()func (*ClusterNetworking) ProtoReflect
func (x *ClusterNetworking) ProtoReflect() protoreflect.Messagefunc (*ClusterNetworking) Reset
func (x *ClusterNetworking) Reset()func (*ClusterNetworking) String
func (x *ClusterNetworking) String() stringClusterUser
type ClusterUser struct {
// Required. An active Google username.
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
// contains filtered or unexported fields
}A user principal for an RBAC policy.
func (*ClusterUser) Descriptor
func (*ClusterUser) Descriptor() ([]byte, []int)Deprecated: Use ClusterUser.ProtoReflect.Descriptor instead.
func (*ClusterUser) GetUsername
func (x *ClusterUser) GetUsername() stringfunc (*ClusterUser) ProtoMessage
func (*ClusterUser) ProtoMessage()func (*ClusterUser) ProtoReflect
func (x *ClusterUser) ProtoReflect() protoreflect.Messagefunc (*ClusterUser) Reset
func (x *ClusterUser) Reset()func (*ClusterUser) String
func (x *ClusterUser) String() stringCluster_ConnectionState
type Cluster_ConnectionState struct {
// Output only. The current connection state.
State Cluster_ConnectionState_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.edgecontainer.v1.Cluster_ConnectionState_State" json:"state,omitempty"`
// Output only. The time when the connection state was last changed.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// contains filtered or unexported fields
}ConnectionState holds the current connection state from the cluster to Google.
func (*Cluster_ConnectionState) Descriptor
func (*Cluster_ConnectionState) Descriptor() ([]byte, []int)Deprecated: Use Cluster_ConnectionState.ProtoReflect.Descriptor instead.
func (*Cluster_ConnectionState) GetState
func (x *Cluster_ConnectionState) GetState() Cluster_ConnectionState_Statefunc (*Cluster_ConnectionState) GetUpdateTime
func (x *Cluster_ConnectionState) GetUpdateTime() *timestamppb.Timestampfunc (*Cluster_ConnectionState) ProtoMessage
func (*Cluster_ConnectionState) ProtoMessage()func (*Cluster_ConnectionState) ProtoReflect
func (x *Cluster_ConnectionState) ProtoReflect() protoreflect.Messagefunc (*Cluster_ConnectionState) Reset
func (x *Cluster_ConnectionState) Reset()func (*Cluster_ConnectionState) String
func (x *Cluster_ConnectionState) String() stringCluster_ConnectionState_State
type Cluster_ConnectionState_State int32The connection state.
Cluster_ConnectionState_STATE_UNSPECIFIED, Cluster_ConnectionState_DISCONNECTED, Cluster_ConnectionState_CONNECTED, Cluster_ConnectionState_CONNECTED_AND_SYNCING
const (
// Unknown connection state.
Cluster_ConnectionState_STATE_UNSPECIFIED Cluster_ConnectionState_State = 0
// This cluster is currently disconnected from Google.
Cluster_ConnectionState_DISCONNECTED Cluster_ConnectionState_State = 1
// This cluster is currently connected to Google.
Cluster_ConnectionState_CONNECTED Cluster_ConnectionState_State = 2
// This cluster is currently connected to Google, but may have recently
// reconnected after a disconnection. It is still syncing back.
Cluster_ConnectionState_CONNECTED_AND_SYNCING Cluster_ConnectionState_State = 3
)func (Cluster_ConnectionState_State) Descriptor
func (Cluster_ConnectionState_State) Descriptor() protoreflect.EnumDescriptorfunc (Cluster_ConnectionState_State) Enum
func (x Cluster_ConnectionState_State) Enum() *Cluster_ConnectionState_Statefunc (Cluster_ConnectionState_State) EnumDescriptor
func (Cluster_ConnectionState_State) EnumDescriptor() ([]byte, []int)Deprecated: Use Cluster_ConnectionState_State.Descriptor instead.
func (Cluster_ConnectionState_State) Number
func (x Cluster_ConnectionState_State) Number() protoreflect.EnumNumberfunc (Cluster_ConnectionState_State) String
func (x Cluster_ConnectionState_State) String() stringfunc (Cluster_ConnectionState_State) Type
func (Cluster_ConnectionState_State) Type() protoreflect.EnumTypeCluster_ControlPlane
type Cluster_ControlPlane struct {
// Types that are valid to be assigned to Config:
//
// *Cluster_ControlPlane_Remote_
// *Cluster_ControlPlane_Local_
Config isCluster_ControlPlane_Config `protobuf_oneof:"config"`
// contains filtered or unexported fields
}Configuration of the cluster control plane.
func (*Cluster_ControlPlane) Descriptor
func (*Cluster_ControlPlane) Descriptor() ([]byte, []int)Deprecated: Use Cluster_ControlPlane.ProtoReflect.Descriptor instead.
func (*Cluster_ControlPlane) GetConfig
func (x *Cluster_ControlPlane) GetConfig() isCluster_ControlPlane_Configfunc (*Cluster_ControlPlane) GetLocal
func (x *Cluster_ControlPlane) GetLocal() *Cluster_ControlPlane_Localfunc (*Cluster_ControlPlane) GetRemote
func (x *Cluster_ControlPlane) GetRemote() *Cluster_ControlPlane_Remotefunc (*Cluster_ControlPlane) ProtoMessage
func (*Cluster_ControlPlane) ProtoMessage()func (*Cluster_ControlPlane) ProtoReflect
func (x *Cluster_ControlPlane) ProtoReflect() protoreflect.Messagefunc (*Cluster_ControlPlane) Reset
func (x *Cluster_ControlPlane) Reset()func (*Cluster_ControlPlane) String
func (x *Cluster_ControlPlane) String() stringCluster_ControlPlaneEncryption
type Cluster_ControlPlaneEncryption struct {
// Optional. The Cloud KMS CryptoKey e.g.
// projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey}
// to use for protecting control plane disks. If not specified, a
// Google-managed key will be used instead.
KmsKey string `protobuf:"bytes,1,opt,name=kms_key,json=kmsKey,proto3" json:"kms_key,omitempty"`
// Output only. The Cloud KMS CryptoKeyVersion currently in use for
// protecting control plane disks. Only applicable if kms_key is set.
KmsKeyActiveVersion string `protobuf:"bytes,2,opt,name=kms_key_active_version,json=kmsKeyActiveVersion,proto3" json:"kms_key_active_version,omitempty"`
// Output only. Availability of the Cloud KMS CryptoKey. If not
// `KEY_AVAILABLE`, then nodes may go offline as they cannot access their
// local data. This can be caused by a lack of permissions to use the key,
// or if the key is disabled or deleted.
KmsKeyState KmsKeyState `protobuf:"varint,3,opt,name=kms_key_state,json=kmsKeyState,proto3,enum=google.cloud.edgecontainer.v1.KmsKeyState" json:"kms_key_state,omitempty"`
// Output only. Error status returned by Cloud KMS when using this key. This
// field may be populated only if `kms_key_state` is not
// `KMS_KEY_STATE_KEY_AVAILABLE`. If populated, this field contains the
// error status reported by Cloud KMS.
KmsStatus *status.Status `protobuf:"bytes,4,opt,name=kms_status,json=kmsStatus,proto3" json:"kms_status,omitempty"`
// Output only. The current resource state associated with the cmek.
ResourceState ResourceState `protobuf:"varint,5,opt,name=resource_state,json=resourceState,proto3,enum=google.cloud.edgecontainer.v1.ResourceState" json:"resource_state,omitempty"`
// contains filtered or unexported fields
}Configuration for Customer-managed KMS key support for control plane nodes.
func (*Cluster_ControlPlaneEncryption) Descriptor
func (*Cluster_ControlPlaneEncryption) Descriptor() ([]byte, []int)Deprecated: Use Cluster_ControlPlaneEncryption.ProtoReflect.Descriptor instead.
func (*Cluster_ControlPlaneEncryption) GetKmsKey
func (x *Cluster_ControlPlaneEncryption) GetKmsKey() stringfunc (*Cluster_ControlPlaneEncryption) GetKmsKeyActiveVersion
func (x *Cluster_ControlPlaneEncryption) GetKmsKeyActiveVersion() stringfunc (*Cluster_ControlPlaneEncryption) GetKmsKeyState
func (x *Cluster_ControlPlaneEncryption) GetKmsKeyState() KmsKeyStatefunc (*Cluster_ControlPlaneEncryption) GetKmsStatus
func (x *Cluster_ControlPlaneEncryption) GetKmsStatus() *status.Statusfunc (*Cluster_ControlPlaneEncryption) GetResourceState
func (x *Cluster_ControlPlaneEncryption) GetResourceState() ResourceStatefunc (*Cluster_ControlPlaneEncryption) ProtoMessage
func (*Cluster_ControlPlaneEncryption) ProtoMessage()func (*Cluster_ControlPlaneEncryption) ProtoReflect
func (x *Cluster_ControlPlaneEncryption) ProtoReflect() protoreflect.Messagefunc (*Cluster_ControlPlaneEncryption) Reset
func (x *Cluster_ControlPlaneEncryption) Reset()func (*Cluster_ControlPlaneEncryption) String
func (x *Cluster_ControlPlaneEncryption) String() stringCluster_ControlPlane_Local
type Cluster_ControlPlane_Local struct {
// Name of the Google Distributed Cloud Edge zones where this node pool
// will be created. For example: `us-central1-edge-customer-a`.
NodeLocation string `protobuf:"bytes,1,opt,name=node_location,json=nodeLocation,proto3" json:"node_location,omitempty"`
// The number of nodes to serve as replicas of the Control Plane.
NodeCount int32 `protobuf:"varint,2,opt,name=node_count,json=nodeCount,proto3" json:"node_count,omitempty"`
// Only machines matching this filter will be allowed to host control
// plane nodes. The filtering language accepts strings like "name=Configuration specific to clusters with a control plane hosted locally.
Warning: Local control plane clusters must be created in their own project. Local control plane clusters cannot coexist in the same project with any other type of clusters, including non-GDCE clusters. Mixing local control plane GDCE clusters with any other type of clusters in the same project can result in data loss.
func (*Cluster_ControlPlane_Local) Descriptor
func (*Cluster_ControlPlane_Local) Descriptor() ([]byte, []int)Deprecated: Use Cluster_ControlPlane_Local.ProtoReflect.Descriptor instead.
func (*Cluster_ControlPlane_Local) GetControlPlaneNodeStorageSchema
func (x *Cluster_ControlPlane_Local) GetControlPlaneNodeStorageSchema() stringfunc (*Cluster_ControlPlane_Local) GetMachineFilter
func (x *Cluster_ControlPlane_Local) GetMachineFilter() stringfunc (*Cluster_ControlPlane_Local) GetNodeCount
func (x *Cluster_ControlPlane_Local) GetNodeCount() int32func (*Cluster_ControlPlane_Local) GetNodeLocation
func (x *Cluster_ControlPlane_Local) GetNodeLocation() stringfunc (*Cluster_ControlPlane_Local) GetSharedDeploymentPolicy
func (x *Cluster_ControlPlane_Local) GetSharedDeploymentPolicy() Cluster_ControlPlane_SharedDeploymentPolicyfunc (*Cluster_ControlPlane_Local) ProtoMessage
func (*Cluster_ControlPlane_Local) ProtoMessage()func (*Cluster_ControlPlane_Local) ProtoReflect
func (x *Cluster_ControlPlane_Local) ProtoReflect() protoreflect.Messagefunc (*Cluster_ControlPlane_Local) Reset
func (x *Cluster_ControlPlane_Local) Reset()func (*Cluster_ControlPlane_Local) String
func (x *Cluster_ControlPlane_Local) String() stringCluster_ControlPlane_Local_
type Cluster_ControlPlane_Local_ struct {
// Local control plane configuration.
//
// Warning: Local control plane clusters must be created in their own
// project. Local control plane clusters cannot coexist in the same
// project with any other type of clusters, including non-GDCE clusters.
// Mixing local control plane GDCE clusters with any other type of
// clusters in the same project can result in data loss.
Local *Cluster_ControlPlane_Local `protobuf:"bytes,2,opt,name=local,proto3,oneof"`
}Cluster_ControlPlane_Remote
type Cluster_ControlPlane_Remote struct {
// contains filtered or unexported fields
}Configuration specific to clusters with a control plane hosted remotely.
func (*Cluster_ControlPlane_Remote) Descriptor
func (*Cluster_ControlPlane_Remote) Descriptor() ([]byte, []int)Deprecated: Use Cluster_ControlPlane_Remote.ProtoReflect.Descriptor instead.
func (*Cluster_ControlPlane_Remote) ProtoMessage
func (*Cluster_ControlPlane_Remote) ProtoMessage()func (*Cluster_ControlPlane_Remote) ProtoReflect
func (x *Cluster_ControlPlane_Remote) ProtoReflect() protoreflect.Messagefunc (*Cluster_ControlPlane_Remote) Reset
func (x *Cluster_ControlPlane_Remote) Reset()func (*Cluster_ControlPlane_Remote) String
func (x *Cluster_ControlPlane_Remote) String() stringCluster_ControlPlane_Remote_
type Cluster_ControlPlane_Remote_ struct {
// Remote control plane configuration.
Remote *Cluster_ControlPlane_Remote `protobuf:"bytes,1,opt,name=remote,proto3,oneof"`
}Cluster_ControlPlane_SharedDeploymentPolicy
type Cluster_ControlPlane_SharedDeploymentPolicy int32Represents the policy configuration about how user applications are deployed.
Cluster_ControlPlane_SHARED_DEPLOYMENT_POLICY_UNSPECIFIED, Cluster_ControlPlane_ALLOWED, Cluster_ControlPlane_DISALLOWED
const (
// Unspecified.
Cluster_ControlPlane_SHARED_DEPLOYMENT_POLICY_UNSPECIFIED Cluster_ControlPlane_SharedDeploymentPolicy = 0
// User applications can be deployed both on control plane and worker
// nodes.
Cluster_ControlPlane_ALLOWED Cluster_ControlPlane_SharedDeploymentPolicy = 1
// User applications can not be deployed on control plane nodes and can
// only be deployed on worker nodes.
Cluster_ControlPlane_DISALLOWED Cluster_ControlPlane_SharedDeploymentPolicy = 2
)func (Cluster_ControlPlane_SharedDeploymentPolicy) Descriptor
func (Cluster_ControlPlane_SharedDeploymentPolicy) Descriptor() protoreflect.EnumDescriptorfunc (Cluster_ControlPlane_SharedDeploymentPolicy) Enum
func (x Cluster_ControlPlane_SharedDeploymentPolicy) Enum() *Cluster_ControlPlane_SharedDeploymentPolicyfunc (Cluster_ControlPlane_SharedDeploymentPolicy) EnumDescriptor
func (Cluster_ControlPlane_SharedDeploymentPolicy) EnumDescriptor() ([]byte, []int)Deprecated: Use Cluster_ControlPlane_SharedDeploymentPolicy.Descriptor instead.
func (Cluster_ControlPlane_SharedDeploymentPolicy) Number
func (x Cluster_ControlPlane_SharedDeploymentPolicy) Number() protoreflect.EnumNumberfunc (Cluster_ControlPlane_SharedDeploymentPolicy) String
func (x Cluster_ControlPlane_SharedDeploymentPolicy) String() stringfunc (Cluster_ControlPlane_SharedDeploymentPolicy) Type
func (Cluster_ControlPlane_SharedDeploymentPolicy) Type() protoreflect.EnumTypeCluster_MaintenanceEvent
type Cluster_MaintenanceEvent struct {
// Output only. UUID of the maintenance event.
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
// Output only. The target version of the cluster.
TargetVersion string `protobuf:"bytes,2,opt,name=target_version,json=targetVersion,proto3" json:"target_version,omitempty"`
// Output only. The operation for running the maintenance event. Specified
// in the format projects/*/locations/*/operations/*. If the maintenance
// event is split into multiple operations (e.g. due to maintenance
// windows), the latest one is recorded.
Operation string `protobuf:"bytes,3,opt,name=operation,proto3" json:"operation,omitempty"`
// Output only. The type of the maintenance event.
Type Cluster_MaintenanceEvent_Type `protobuf:"varint,4,opt,name=type,proto3,enum=google.cloud.edgecontainer.v1.Cluster_MaintenanceEvent_Type" json:"type,omitempty"`
// Output only. The schedule of the maintenance event.
Schedule Cluster_MaintenanceEvent_Schedule `protobuf:"varint,5,opt,name=schedule,proto3,enum=google.cloud.edgecontainer.v1.Cluster_MaintenanceEvent_Schedule" json:"schedule,omitempty"`
// Output only. The state of the maintenance event.
State Cluster_MaintenanceEvent_State `protobuf:"varint,6,opt,name=state,proto3,enum=google.cloud.edgecontainer.v1.Cluster_MaintenanceEvent_State" json:"state,omitempty"`
// Output only. The time when the maintenance event request was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time when the maintenance event started.
StartTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// Output only. The time when the maintenance event ended, either
// successfully or not. If the maintenance event is split into multiple
// maintenance windows, end_time is only updated when the whole flow ends.
EndTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// Output only. The time when the maintenance event message was updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// contains filtered or unexported fields
}A Maintenance Event is an operation that could cause temporary disruptions to the cluster workloads, including Google-driven or user-initiated cluster upgrades, user-initiated cluster configuration changes that require restarting nodes, etc.
func (*Cluster_MaintenanceEvent) Descriptor
func (*Cluster_MaintenanceEvent) Descriptor() ([]byte, []int)Deprecated: Use Cluster_MaintenanceEvent.ProtoReflect.Descriptor instead.
func (*Cluster_MaintenanceEvent) GetCreateTime
func (x *Cluster_MaintenanceEvent) GetCreateTime() *timestamppb.Timestampfunc (*Cluster_MaintenanceEvent) GetEndTime
func (x *Cluster_MaintenanceEvent) GetEndTime() *timestamppb.Timestampfunc (*Cluster_MaintenanceEvent) GetOperation
func (x *Cluster_MaintenanceEvent) GetOperation() stringfunc (*Cluster_MaintenanceEvent) GetSchedule
func (x *Cluster_MaintenanceEvent) GetSchedule() Cluster_MaintenanceEvent_Schedulefunc (*Cluster_MaintenanceEvent) GetStartTime
func (x *Cluster_MaintenanceEvent) GetStartTime() *timestamppb.Timestampfunc (*Cluster_MaintenanceEvent) GetState
func (x *Cluster_MaintenanceEvent) GetState() Cluster_MaintenanceEvent_Statefunc (*Cluster_MaintenanceEvent) GetTargetVersion
func (x *Cluster_MaintenanceEvent) GetTargetVersion() stringfunc (*Cluster_MaintenanceEvent) GetType
func (x *Cluster_MaintenanceEvent) GetType() Cluster_MaintenanceEvent_Typefunc (*Cluster_MaintenanceEvent) GetUpdateTime
func (x *Cluster_MaintenanceEvent) GetUpdateTime() *timestamppb.Timestampfunc (*Cluster_MaintenanceEvent) GetUuid
func (x *Cluster_MaintenanceEvent) GetUuid() stringfunc (*Cluster_MaintenanceEvent) ProtoMessage
func (*Cluster_MaintenanceEvent) ProtoMessage()func (*Cluster_MaintenanceEvent) ProtoReflect
func (x *Cluster_MaintenanceEvent) ProtoReflect() protoreflect.Messagefunc (*Cluster_MaintenanceEvent) Reset
func (x *Cluster_MaintenanceEvent) Reset()func (*Cluster_MaintenanceEvent) String
func (x *Cluster_MaintenanceEvent) String() stringCluster_MaintenanceEvent_Schedule
type Cluster_MaintenanceEvent_Schedule int32Indicates when the maintenance event should be performed.
Cluster_MaintenanceEvent_SCHEDULE_UNSPECIFIED, Cluster_MaintenanceEvent_IMMEDIATELY
const (
// Unspecified.
Cluster_MaintenanceEvent_SCHEDULE_UNSPECIFIED Cluster_MaintenanceEvent_Schedule = 0
// Immediately after receiving the request.
Cluster_MaintenanceEvent_IMMEDIATELY Cluster_MaintenanceEvent_Schedule = 1
)func (Cluster_MaintenanceEvent_Schedule) Descriptor
func (Cluster_MaintenanceEvent_Schedule) Descriptor() protoreflect.EnumDescriptorfunc (Cluster_MaintenanceEvent_Schedule) Enum
func (x Cluster_MaintenanceEvent_Schedule) Enum() *Cluster_MaintenanceEvent_Schedulefunc (Cluster_MaintenanceEvent_Schedule) EnumDescriptor
func (Cluster_MaintenanceEvent_Schedule) EnumDescriptor() ([]byte, []int)Deprecated: Use Cluster_MaintenanceEvent_Schedule.Descriptor instead.
func (Cluster_MaintenanceEvent_Schedule) Number
func (x Cluster_MaintenanceEvent_Schedule) Number() protoreflect.EnumNumberfunc (Cluster_MaintenanceEvent_Schedule) String
func (x Cluster_MaintenanceEvent_Schedule) String() stringfunc (Cluster_MaintenanceEvent_Schedule) Type
func (Cluster_MaintenanceEvent_Schedule) Type() protoreflect.EnumTypeCluster_MaintenanceEvent_State
type Cluster_MaintenanceEvent_State int32Indicates the maintenance event state.
Cluster_MaintenanceEvent_STATE_UNSPECIFIED, Cluster_MaintenanceEvent_RECONCILING, Cluster_MaintenanceEvent_SUCCEEDED, Cluster_MaintenanceEvent_FAILED
const (
// Unspecified.
Cluster_MaintenanceEvent_STATE_UNSPECIFIED Cluster_MaintenanceEvent_State = 0
// The maintenance event is ongoing. The cluster might be unusable.
Cluster_MaintenanceEvent_RECONCILING Cluster_MaintenanceEvent_State = 1
// The maintenance event succeeded.
Cluster_MaintenanceEvent_SUCCEEDED Cluster_MaintenanceEvent_State = 2
// The maintenance event failed.
Cluster_MaintenanceEvent_FAILED Cluster_MaintenanceEvent_State = 3
)func (Cluster_MaintenanceEvent_State) Descriptor
func (Cluster_MaintenanceEvent_State) Descriptor() protoreflect.EnumDescriptorfunc (Cluster_MaintenanceEvent_State) Enum
func (x Cluster_MaintenanceEvent_State) Enum() *Cluster_MaintenanceEvent_Statefunc (Cluster_MaintenanceEvent_State) EnumDescriptor
func (Cluster_MaintenanceEvent_State) EnumDescriptor() ([]byte, []int)Deprecated: Use Cluster_MaintenanceEvent_State.Descriptor instead.
func (Cluster_MaintenanceEvent_State) Number
func (x Cluster_MaintenanceEvent_State) Number() protoreflect.EnumNumberfunc (Cluster_MaintenanceEvent_State) String
func (x Cluster_MaintenanceEvent_State) String() stringfunc (Cluster_MaintenanceEvent_State) Type
func (Cluster_MaintenanceEvent_State) Type() protoreflect.EnumTypeCluster_MaintenanceEvent_Type
type Cluster_MaintenanceEvent_Type int32Indicates the maintenance event type.
Cluster_MaintenanceEvent_TYPE_UNSPECIFIED, Cluster_MaintenanceEvent_USER_INITIATED_UPGRADE, Cluster_MaintenanceEvent_GOOGLE_DRIVEN_UPGRADE
const (
// Unspecified.
Cluster_MaintenanceEvent_TYPE_UNSPECIFIED Cluster_MaintenanceEvent_Type = 0
// Upgrade initiated by users.
Cluster_MaintenanceEvent_USER_INITIATED_UPGRADE Cluster_MaintenanceEvent_Type = 1
// Upgrade driven by Google.
Cluster_MaintenanceEvent_GOOGLE_DRIVEN_UPGRADE Cluster_MaintenanceEvent_Type = 2
)func (Cluster_MaintenanceEvent_Type) Descriptor
func (Cluster_MaintenanceEvent_Type) Descriptor() protoreflect.EnumDescriptorfunc (Cluster_MaintenanceEvent_Type) Enum
func (x Cluster_MaintenanceEvent_Type) Enum() *Cluster_MaintenanceEvent_Typefunc (Cluster_MaintenanceEvent_Type) EnumDescriptor
func (Cluster_MaintenanceEvent_Type) EnumDescriptor() ([]byte, []int)Deprecated: Use Cluster_MaintenanceEvent_Type.Descriptor instead.
func (Cluster_MaintenanceEvent_Type) Number
func (x Cluster_MaintenanceEvent_Type) Number() protoreflect.EnumNumberfunc (Cluster_MaintenanceEvent_Type) String
func (x Cluster_MaintenanceEvent_Type) String() stringfunc (Cluster_MaintenanceEvent_Type) Type
func (Cluster_MaintenanceEvent_Type) Type() protoreflect.EnumTypeCluster_ReleaseChannel
type Cluster_ReleaseChannel int32The release channel a cluster is subscribed to.
Cluster_RELEASE_CHANNEL_UNSPECIFIED, Cluster_NONE, Cluster_REGULAR
const (
// Unspecified release channel. This will default to the REGULAR channel.
Cluster_RELEASE_CHANNEL_UNSPECIFIED Cluster_ReleaseChannel = 0
// No release channel.
Cluster_NONE Cluster_ReleaseChannel = 1
// Regular release channel.
Cluster_REGULAR Cluster_ReleaseChannel = 2
)func (Cluster_ReleaseChannel) Descriptor
func (Cluster_ReleaseChannel) Descriptor() protoreflect.EnumDescriptorfunc (Cluster_ReleaseChannel) Enum
func (x Cluster_ReleaseChannel) Enum() *Cluster_ReleaseChannelfunc (Cluster_ReleaseChannel) EnumDescriptor
func (Cluster_ReleaseChannel) EnumDescriptor() ([]byte, []int)Deprecated: Use Cluster_ReleaseChannel.Descriptor instead.
func (Cluster_ReleaseChannel) Number
func (x Cluster_ReleaseChannel) Number() protoreflect.EnumNumberfunc (Cluster_ReleaseChannel) String
func (x Cluster_ReleaseChannel) String() stringfunc (Cluster_ReleaseChannel) Type
func (Cluster_ReleaseChannel) Type() protoreflect.EnumTypeCluster_Status
type Cluster_Status int32Indicates the status of the cluster.
Cluster_STATUS_UNSPECIFIED, Cluster_PROVISIONING, Cluster_RUNNING, Cluster_DELETING, Cluster_ERROR, Cluster_RECONCILING
const (
// Status unknown.
Cluster_STATUS_UNSPECIFIED Cluster_Status = 0
// The cluster is being created.
Cluster_PROVISIONING Cluster_Status = 1
// The cluster is created and fully usable.
Cluster_RUNNING Cluster_Status = 2
// The cluster is being deleted.
Cluster_DELETING Cluster_Status = 3
// The status indicates that some errors occurred while reconciling/deleting
// the cluster.
Cluster_ERROR Cluster_Status = 4
// The cluster is undergoing some work such as version upgrades, etc.
Cluster_RECONCILING Cluster_Status = 5
)func (Cluster_Status) Descriptor
func (Cluster_Status) Descriptor() protoreflect.EnumDescriptorfunc (Cluster_Status) Enum
func (x Cluster_Status) Enum() *Cluster_Statusfunc (Cluster_Status) EnumDescriptor
func (Cluster_Status) EnumDescriptor() ([]byte, []int)Deprecated: Use Cluster_Status.Descriptor instead.
func (Cluster_Status) Number
func (x Cluster_Status) Number() protoreflect.EnumNumberfunc (Cluster_Status) String
func (x Cluster_Status) String() stringfunc (Cluster_Status) Type
func (Cluster_Status) Type() protoreflect.EnumTypeCluster_SurvivabilityConfig
type Cluster_SurvivabilityConfig struct {
// Optional. Time period that allows the cluster nodes to be rebooted and
// become functional without network connectivity to Google. The default 0
// means not allowed. The maximum is 7 days.
OfflineRebootTtl *durationpb.Duration `protobuf:"bytes,1,opt,name=offline_reboot_ttl,json=offlineRebootTtl,proto3" json:"offline_reboot_ttl,omitempty"`
// contains filtered or unexported fields
}Configuration of the cluster survivability, e.g., for the case when network connectivity is lost.
func (*Cluster_SurvivabilityConfig) Descriptor
func (*Cluster_SurvivabilityConfig) Descriptor() ([]byte, []int)Deprecated: Use Cluster_SurvivabilityConfig.ProtoReflect.Descriptor instead.
func (*Cluster_SurvivabilityConfig) GetOfflineRebootTtl
func (x *Cluster_SurvivabilityConfig) GetOfflineRebootTtl() *durationpb.Durationfunc (*Cluster_SurvivabilityConfig) ProtoMessage
func (*Cluster_SurvivabilityConfig) ProtoMessage()func (*Cluster_SurvivabilityConfig) ProtoReflect
func (x *Cluster_SurvivabilityConfig) ProtoReflect() protoreflect.Messagefunc (*Cluster_SurvivabilityConfig) Reset
func (x *Cluster_SurvivabilityConfig) Reset()func (*Cluster_SurvivabilityConfig) String
func (x *Cluster_SurvivabilityConfig) String() stringCluster_SystemAddonsConfig
type Cluster_SystemAddonsConfig struct {
// Optional. Config for Ingress.
Ingress *Cluster_SystemAddonsConfig_Ingress `protobuf:"bytes,1,opt,name=ingress,proto3" json:"ingress,omitempty"`
// Optional. Config for VM Service.
VmServiceConfig *Cluster_SystemAddonsConfig_VMServiceConfig `protobuf:"bytes,4,opt,name=vm_service_config,json=vmServiceConfig,proto3" json:"vm_service_config,omitempty"`
// contains filtered or unexported fields
}Config that customers are allowed to define for GDCE system add-ons.
func (*Cluster_SystemAddonsConfig) Descriptor
func (*Cluster_SystemAddonsConfig) Descriptor() ([]byte, []int)Deprecated: Use Cluster_SystemAddonsConfig.ProtoReflect.Descriptor instead.
func (*Cluster_SystemAddonsConfig) GetIngress
func (x *Cluster_SystemAddonsConfig) GetIngress() *Cluster_SystemAddonsConfig_Ingressfunc (*Cluster_SystemAddonsConfig) GetVmServiceConfig
func (x *Cluster_SystemAddonsConfig) GetVmServiceConfig() *Cluster_SystemAddonsConfig_VMServiceConfigfunc (*Cluster_SystemAddonsConfig) ProtoMessage
func (*Cluster_SystemAddonsConfig) ProtoMessage()func (*Cluster_SystemAddonsConfig) ProtoReflect
func (x *Cluster_SystemAddonsConfig) ProtoReflect() protoreflect.Messagefunc (*Cluster_SystemAddonsConfig) Reset
func (x *Cluster_SystemAddonsConfig) Reset()func (*Cluster_SystemAddonsConfig) String
func (x *Cluster_SystemAddonsConfig) String() stringCluster_SystemAddonsConfig_Ingress
type Cluster_SystemAddonsConfig_Ingress struct {
// Optional. Whether Ingress is disabled.
Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
// Optional. Ingress VIP.
Ipv4Vip string `protobuf:"bytes,2,opt,name=ipv4_vip,json=ipv4Vip,proto3" json:"ipv4_vip,omitempty"`
// contains filtered or unexported fields
}Config for the Ingress add-on which allows customers to create an Ingress object to manage external access to the servers in a cluster. The add-on consists of istiod and istio-ingress.
func (*Cluster_SystemAddonsConfig_Ingress) Descriptor
func (*Cluster_SystemAddonsConfig_Ingress) Descriptor() ([]byte, []int)Deprecated: Use Cluster_SystemAddonsConfig_Ingress.ProtoReflect.Descriptor instead.
func (*Cluster_SystemAddonsConfig_Ingress) GetDisabled
func (x *Cluster_SystemAddonsConfig_Ingress) GetDisabled() boolfunc (*Cluster_SystemAddonsConfig_Ingress) GetIpv4Vip
func (x *Cluster_SystemAddonsConfig_Ingress) GetIpv4Vip() stringfunc (*Cluster_SystemAddonsConfig_Ingress) ProtoMessage
func (*Cluster_SystemAddonsConfig_Ingress) ProtoMessage()func (*Cluster_SystemAddonsConfig_Ingress) ProtoReflect
func (x *Cluster_SystemAddonsConfig_Ingress) ProtoReflect() protoreflect.Messagefunc (*Cluster_SystemAddonsConfig_Ingress) Reset
func (x *Cluster_SystemAddonsConfig_Ingress) Reset()func (*Cluster_SystemAddonsConfig_Ingress) String
func (x *Cluster_SystemAddonsConfig_Ingress) String() stringCluster_SystemAddonsConfig_VMServiceConfig
type Cluster_SystemAddonsConfig_VMServiceConfig struct {
// Optional. Whether VMM is enabled.
VmmEnabled bool `protobuf:"varint,1,opt,name=vmm_enabled,json=vmmEnabled,proto3" json:"vmm_enabled,omitempty"`
// contains filtered or unexported fields
}VMServiceConfig defines the configuration for GDCE VM Service.
func (*Cluster_SystemAddonsConfig_VMServiceConfig) Descriptor
func (*Cluster_SystemAddonsConfig_VMServiceConfig) Descriptor() ([]byte, []int)Deprecated: Use Cluster_SystemAddonsConfig_VMServiceConfig.ProtoReflect.Descriptor instead.
func (*Cluster_SystemAddonsConfig_VMServiceConfig) GetVmmEnabled
func (x *Cluster_SystemAddonsConfig_VMServiceConfig) GetVmmEnabled() boolfunc (*Cluster_SystemAddonsConfig_VMServiceConfig) ProtoMessage
func (*Cluster_SystemAddonsConfig_VMServiceConfig) ProtoMessage()func (*Cluster_SystemAddonsConfig_VMServiceConfig) ProtoReflect
func (x *Cluster_SystemAddonsConfig_VMServiceConfig) ProtoReflect() protoreflect.Messagefunc (*Cluster_SystemAddonsConfig_VMServiceConfig) Reset
func (x *Cluster_SystemAddonsConfig_VMServiceConfig) Reset()func (*Cluster_SystemAddonsConfig_VMServiceConfig) String
func (x *Cluster_SystemAddonsConfig_VMServiceConfig) String() stringConfigData
type ConfigData struct {
// list of available v4 ip pools for external loadbalancer
AvailableExternalLbPoolsIpv4 []string `protobuf:"bytes,1,rep,name=available_external_lb_pools_ipv4,json=availableExternalLbPoolsIpv4,proto3" json:"available_external_lb_pools_ipv4,omitempty"`
// list of available v6 ip pools for external loadbalancer
AvailableExternalLbPoolsIpv6 []string `protobuf:"bytes,2,rep,name=available_external_lb_pools_ipv6,json=availableExternalLbPoolsIpv6,proto3" json:"available_external_lb_pools_ipv6,omitempty"`
// contains filtered or unexported fields
}Config data holds all the config related data for the zone.
func (*ConfigData) Descriptor
func (*ConfigData) Descriptor() ([]byte, []int)Deprecated: Use ConfigData.ProtoReflect.Descriptor instead.
func (*ConfigData) GetAvailableExternalLbPoolsIpv4
func (x *ConfigData) GetAvailableExternalLbPoolsIpv4() []stringfunc (*ConfigData) GetAvailableExternalLbPoolsIpv6
func (x *ConfigData) GetAvailableExternalLbPoolsIpv6() []stringfunc (*ConfigData) ProtoMessage
func (*ConfigData) ProtoMessage()func (*ConfigData) ProtoReflect
func (x *ConfigData) ProtoReflect() protoreflect.Messagefunc (*ConfigData) Reset
func (x *ConfigData) Reset()func (*ConfigData) String
func (x *ConfigData) String() stringCreateClusterRequest
type CreateClusterRequest struct {
// Required. The parent location where this cluster will be created.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. A client-specified unique identifier for the cluster.
ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
// Required. The cluster to create.
Cluster *Cluster `protobuf:"bytes,3,opt,name=cluster,proto3" json:"cluster,omitempty"`
// A unique identifier for this request. Restricted to 36 ASCII characters. A
// random UUID is recommended. This request is only idempotent if
// `request_id` is provided.
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Creates a cluster.
func (*CreateClusterRequest) Descriptor
func (*CreateClusterRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateClusterRequest.ProtoReflect.Descriptor instead.
func (*CreateClusterRequest) GetCluster
func (x *CreateClusterRequest) GetCluster() *Clusterfunc (*CreateClusterRequest) GetClusterId
func (x *CreateClusterRequest) GetClusterId() stringfunc (*CreateClusterRequest) GetParent
func (x *CreateClusterRequest) GetParent() stringfunc (*CreateClusterRequest) GetRequestId
func (x *CreateClusterRequest) GetRequestId() stringfunc (*CreateClusterRequest) ProtoMessage
func (*CreateClusterRequest) ProtoMessage()func (*CreateClusterRequest) ProtoReflect
func (x *CreateClusterRequest) ProtoReflect() protoreflect.Messagefunc (*CreateClusterRequest) Reset
func (x *CreateClusterRequest) Reset()func (*CreateClusterRequest) String
func (x *CreateClusterRequest) String() stringCreateNodePoolRequest
type CreateNodePoolRequest struct {
// Required. The parent cluster where this node pool will be created.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. A client-specified unique identifier for the node pool.
NodePoolId string `protobuf:"bytes,2,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"`
// Required. The node pool to create.
NodePool *NodePool `protobuf:"bytes,3,opt,name=node_pool,json=nodePool,proto3" json:"node_pool,omitempty"`
// A unique identifier for this request. Restricted to 36 ASCII characters. A
// random UUID is recommended. This request is only idempotent if
// `request_id` is provided.
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Creates a node pool.
func (*CreateNodePoolRequest) Descriptor
func (*CreateNodePoolRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateNodePoolRequest.ProtoReflect.Descriptor instead.
func (*CreateNodePoolRequest) GetNodePool
func (x *CreateNodePoolRequest) GetNodePool() *NodePoolfunc (*CreateNodePoolRequest) GetNodePoolId
func (x *CreateNodePoolRequest) GetNodePoolId() stringfunc (*CreateNodePoolRequest) GetParent
func (x *CreateNodePoolRequest) GetParent() stringfunc (*CreateNodePoolRequest) GetRequestId
func (x *CreateNodePoolRequest) GetRequestId() stringfunc (*CreateNodePoolRequest) ProtoMessage
func (*CreateNodePoolRequest) ProtoMessage()func (*CreateNodePoolRequest) ProtoReflect
func (x *CreateNodePoolRequest) ProtoReflect() protoreflect.Messagefunc (*CreateNodePoolRequest) Reset
func (x *CreateNodePoolRequest) Reset()func (*CreateNodePoolRequest) String
func (x *CreateNodePoolRequest) String() stringCreateVpnConnectionRequest
type CreateVpnConnectionRequest struct {
// Required. The parent location where this vpn connection will be created.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The VPN connection identifier.
VpnConnectionId string `protobuf:"bytes,2,opt,name=vpn_connection_id,json=vpnConnectionId,proto3" json:"vpn_connection_id,omitempty"`
// Required. The VPN connection to create.
VpnConnection *VpnConnection `protobuf:"bytes,3,opt,name=vpn_connection,json=vpnConnection,proto3" json:"vpn_connection,omitempty"`
// A unique identifier for this request. Restricted to 36 ASCII characters. A
// random UUID is recommended. This request is only idempotent if
// `request_id` is provided.
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Creates a VPN connection.
func (*CreateVpnConnectionRequest) Descriptor
func (*CreateVpnConnectionRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateVpnConnectionRequest.ProtoReflect.Descriptor instead.
func (*CreateVpnConnectionRequest) GetParent
func (x *CreateVpnConnectionRequest) GetParent() stringfunc (*CreateVpnConnectionRequest) GetRequestId
func (x *CreateVpnConnectionRequest) GetRequestId() stringfunc (*CreateVpnConnectionRequest) GetVpnConnection
func (x *CreateVpnConnectionRequest) GetVpnConnection() *VpnConnectionfunc (*CreateVpnConnectionRequest) GetVpnConnectionId
func (x *CreateVpnConnectionRequest) GetVpnConnectionId() stringfunc (*CreateVpnConnectionRequest) ProtoMessage
func (*CreateVpnConnectionRequest) ProtoMessage()func (*CreateVpnConnectionRequest) ProtoReflect
func (x *CreateVpnConnectionRequest) ProtoReflect() protoreflect.Messagefunc (*CreateVpnConnectionRequest) Reset
func (x *CreateVpnConnectionRequest) Reset()func (*CreateVpnConnectionRequest) String
func (x *CreateVpnConnectionRequest) String() stringDeleteClusterRequest
type DeleteClusterRequest struct {
// Required. The resource name of the cluster.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// A unique identifier for this request. Restricted to 36 ASCII characters. A
// random UUID is recommended. This request is only idempotent if
// `request_id` is provided.
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Deletes a cluster.
func (*DeleteClusterRequest) Descriptor
func (*DeleteClusterRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteClusterRequest.ProtoReflect.Descriptor instead.
func (*DeleteClusterRequest) GetName
func (x *DeleteClusterRequest) GetName() stringfunc (*DeleteClusterRequest) GetRequestId
func (x *DeleteClusterRequest) GetRequestId() stringfunc (*DeleteClusterRequest) ProtoMessage
func (*DeleteClusterRequest) ProtoMessage()func (*DeleteClusterRequest) ProtoReflect
func (x *DeleteClusterRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteClusterRequest) Reset
func (x *DeleteClusterRequest) Reset()func (*DeleteClusterRequest) String
func (x *DeleteClusterRequest) String() stringDeleteNodePoolRequest
type DeleteNodePoolRequest struct {
// Required. The resource name of the node pool.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// A unique identifier for this request. Restricted to 36 ASCII characters. A
// random UUID is recommended. This request is only idempotent if
// `request_id` is provided.
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Deletes a node pool.
func (*DeleteNodePoolRequest) Descriptor
func (*DeleteNodePoolRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteNodePoolRequest.ProtoReflect.Descriptor instead.
func (*DeleteNodePoolRequest) GetName
func (x *DeleteNodePoolRequest) GetName() stringfunc (*DeleteNodePoolRequest) GetRequestId
func (x *DeleteNodePoolRequest) GetRequestId() stringfunc (*DeleteNodePoolRequest) ProtoMessage
func (*DeleteNodePoolRequest) ProtoMessage()func (*DeleteNodePoolRequest) ProtoReflect
func (x *DeleteNodePoolRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteNodePoolRequest) Reset
func (x *DeleteNodePoolRequest) Reset()func (*DeleteNodePoolRequest) String
func (x *DeleteNodePoolRequest) String() stringDeleteVpnConnectionRequest
type DeleteVpnConnectionRequest struct {
// Required. The resource name of the vpn connection.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// A unique identifier for this request. Restricted to 36 ASCII characters. A
// random UUID is recommended. This request is only idempotent if
// `request_id` is provided.
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Deletes a vpn connection.
func (*DeleteVpnConnectionRequest) Descriptor
func (*DeleteVpnConnectionRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteVpnConnectionRequest.ProtoReflect.Descriptor instead.
func (*DeleteVpnConnectionRequest) GetName
func (x *DeleteVpnConnectionRequest) GetName() stringfunc (*DeleteVpnConnectionRequest) GetRequestId
func (x *DeleteVpnConnectionRequest) GetRequestId() stringfunc (*DeleteVpnConnectionRequest) ProtoMessage
func (*DeleteVpnConnectionRequest) ProtoMessage()func (*DeleteVpnConnectionRequest) ProtoReflect
func (x *DeleteVpnConnectionRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteVpnConnectionRequest) Reset
func (x *DeleteVpnConnectionRequest) Reset()func (*DeleteVpnConnectionRequest) String
func (x *DeleteVpnConnectionRequest) String() stringEdgeContainerClient
type EdgeContainerClient interface {
// Lists Clusters in a given project and location.
ListClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error)
// Gets details of a single Cluster.
GetCluster(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*Cluster, error)
// Creates a new Cluster in a given project and location.
CreateCluster(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the parameters of a single Cluster.
UpdateCluster(ctx context.Context, in *UpdateClusterRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Upgrades a single cluster.
UpgradeCluster(ctx context.Context, in *UpgradeClusterRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single Cluster.
DeleteCluster(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Generates an access token for a Cluster.
GenerateAccessToken(ctx context.Context, in *GenerateAccessTokenRequest, opts ...grpc.CallOption) (*GenerateAccessTokenResponse, error)
// Generates an offline credential for a Cluster.
GenerateOfflineCredential(ctx context.Context, in *GenerateOfflineCredentialRequest, opts ...grpc.CallOption) (*GenerateOfflineCredentialResponse, error)
// Lists NodePools in a given project and location.
ListNodePools(ctx context.Context, in *ListNodePoolsRequest, opts ...grpc.CallOption) (*ListNodePoolsResponse, error)
// Gets details of a single NodePool.
GetNodePool(ctx context.Context, in *GetNodePoolRequest, opts ...grpc.CallOption) (*NodePool, error)
// Creates a new NodePool in a given project and location.
CreateNodePool(ctx context.Context, in *CreateNodePoolRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the parameters of a single NodePool.
UpdateNodePool(ctx context.Context, in *UpdateNodePoolRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single NodePool.
DeleteNodePool(ctx context.Context, in *DeleteNodePoolRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Lists Machines in a given project and location.
ListMachines(ctx context.Context, in *ListMachinesRequest, opts ...grpc.CallOption) (*ListMachinesResponse, error)
// Gets details of a single Machine.
GetMachine(ctx context.Context, in *GetMachineRequest, opts ...grpc.CallOption) (*Machine, error)
// Lists VPN connections in a given project and location.
ListVpnConnections(ctx context.Context, in *ListVpnConnectionsRequest, opts ...grpc.CallOption) (*ListVpnConnectionsResponse, error)
// Gets details of a single VPN connection.
GetVpnConnection(ctx context.Context, in *GetVpnConnectionRequest, opts ...grpc.CallOption) (*VpnConnection, error)
// Creates a new VPN connection in a given project and location.
CreateVpnConnection(ctx context.Context, in *CreateVpnConnectionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single VPN connection.
DeleteVpnConnection(ctx context.Context, in *DeleteVpnConnectionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Gets the server config.
GetServerConfig(ctx context.Context, in *GetServerConfigRequest, opts ...grpc.CallOption) (*ServerConfig, error)
}EdgeContainerClient is the client API for EdgeContainer service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewEdgeContainerClient
func NewEdgeContainerClient(cc grpc.ClientConnInterface) EdgeContainerClientEdgeContainerServer
type EdgeContainerServer interface {
// Lists Clusters in a given project and location.
ListClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error)
// Gets details of a single Cluster.
GetCluster(context.Context, *GetClusterRequest) (*Cluster, error)
// Creates a new Cluster in a given project and location.
CreateCluster(context.Context, *CreateClusterRequest) (*longrunningpb.Operation, error)
// Updates the parameters of a single Cluster.
UpdateCluster(context.Context, *UpdateClusterRequest) (*longrunningpb.Operation, error)
// Upgrades a single cluster.
UpgradeCluster(context.Context, *UpgradeClusterRequest) (*longrunningpb.Operation, error)
// Deletes a single Cluster.
DeleteCluster(context.Context, *DeleteClusterRequest) (*longrunningpb.Operation, error)
// Generates an access token for a Cluster.
GenerateAccessToken(context.Context, *GenerateAccessTokenRequest) (*GenerateAccessTokenResponse, error)
// Generates an offline credential for a Cluster.
GenerateOfflineCredential(context.Context, *GenerateOfflineCredentialRequest) (*GenerateOfflineCredentialResponse, error)
// Lists NodePools in a given project and location.
ListNodePools(context.Context, *ListNodePoolsRequest) (*ListNodePoolsResponse, error)
// Gets details of a single NodePool.
GetNodePool(context.Context, *GetNodePoolRequest) (*NodePool, error)
// Creates a new NodePool in a given project and location.
CreateNodePool(context.Context, *CreateNodePoolRequest) (*longrunningpb.Operation, error)
// Updates the parameters of a single NodePool.
UpdateNodePool(context.Context, *UpdateNodePoolRequest) (*longrunningpb.Operation, error)
// Deletes a single NodePool.
DeleteNodePool(context.Context, *DeleteNodePoolRequest) (*longrunningpb.Operation, error)
// Lists Machines in a given project and location.
ListMachines(context.Context, *ListMachinesRequest) (*ListMachinesResponse, error)
// Gets details of a single Machine.
GetMachine(context.Context, *GetMachineRequest) (*Machine, error)
// Lists VPN connections in a given project and location.
ListVpnConnections(context.Context, *ListVpnConnectionsRequest) (*ListVpnConnectionsResponse, error)
// Gets details of a single VPN connection.
GetVpnConnection(context.Context, *GetVpnConnectionRequest) (*VpnConnection, error)
// Creates a new VPN connection in a given project and location.
CreateVpnConnection(context.Context, *CreateVpnConnectionRequest) (*longrunningpb.Operation, error)
// Deletes a single VPN connection.
DeleteVpnConnection(context.Context, *DeleteVpnConnectionRequest) (*longrunningpb.Operation, error)
// Gets the server config.
GetServerConfig(context.Context, *GetServerConfigRequest) (*ServerConfig, error)
}EdgeContainerServer is the server API for EdgeContainer service. All implementations should embed UnimplementedEdgeContainerServer for forward compatibility
Fleet
type Fleet struct {
// Required. The name of the Fleet host project where this cluster will be
// registered.
//
// Project names are formatted as
// `projects/Fleet related configuration.
Fleets are a Google Cloud concept for logically organizing clusters, letting you use and manage multi-cluster capabilities and apply consistent policies across your systems.
func (*Fleet) Descriptor
Deprecated: Use Fleet.ProtoReflect.Descriptor instead.
func (*Fleet) GetMembership
func (*Fleet) GetProject
func (*Fleet) ProtoMessage
func (*Fleet) ProtoMessage()func (*Fleet) ProtoReflect
func (x *Fleet) ProtoReflect() protoreflect.Messagefunc (*Fleet) Reset
func (x *Fleet) Reset()func (*Fleet) String
GenerateAccessTokenRequest
type GenerateAccessTokenRequest struct {
// Required. The resource name of the cluster.
Cluster string `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"`
// contains filtered or unexported fields
}Generates an access token for a cluster.
func (*GenerateAccessTokenRequest) Descriptor
func (*GenerateAccessTokenRequest) Descriptor() ([]byte, []int)Deprecated: Use GenerateAccessTokenRequest.ProtoReflect.Descriptor instead.
func (*GenerateAccessTokenRequest) GetCluster
func (x *GenerateAccessTokenRequest) GetCluster() stringfunc (*GenerateAccessTokenRequest) ProtoMessage
func (*GenerateAccessTokenRequest) ProtoMessage()func (*GenerateAccessTokenRequest) ProtoReflect
func (x *GenerateAccessTokenRequest) ProtoReflect() protoreflect.Messagefunc (*GenerateAccessTokenRequest) Reset
func (x *GenerateAccessTokenRequest) Reset()func (*GenerateAccessTokenRequest) String
func (x *GenerateAccessTokenRequest) String() stringGenerateAccessTokenResponse
type GenerateAccessTokenResponse struct {
// Output only. Access token to authenticate to k8s api-server.
AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
// Output only. Timestamp at which the token will expire.
ExpireTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
// contains filtered or unexported fields
}An access token for a cluster.
func (*GenerateAccessTokenResponse) Descriptor
func (*GenerateAccessTokenResponse) Descriptor() ([]byte, []int)Deprecated: Use GenerateAccessTokenResponse.ProtoReflect.Descriptor instead.
func (*GenerateAccessTokenResponse) GetAccessToken
func (x *GenerateAccessTokenResponse) GetAccessToken() stringfunc (*GenerateAccessTokenResponse) GetExpireTime
func (x *GenerateAccessTokenResponse) GetExpireTime() *timestamppb.Timestampfunc (*GenerateAccessTokenResponse) ProtoMessage
func (*GenerateAccessTokenResponse) ProtoMessage()func (*GenerateAccessTokenResponse) ProtoReflect
func (x *GenerateAccessTokenResponse) ProtoReflect() protoreflect.Messagefunc (*GenerateAccessTokenResponse) Reset
func (x *GenerateAccessTokenResponse) Reset()func (*GenerateAccessTokenResponse) String
func (x *GenerateAccessTokenResponse) String() stringGenerateOfflineCredentialRequest
type GenerateOfflineCredentialRequest struct {
// Required. The resource name of the cluster.
Cluster string `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"`
// contains filtered or unexported fields
}Generates an offline credential(offline) for a cluster.
func (*GenerateOfflineCredentialRequest) Descriptor
func (*GenerateOfflineCredentialRequest) Descriptor() ([]byte, []int)Deprecated: Use GenerateOfflineCredentialRequest.ProtoReflect.Descriptor instead.
func (*GenerateOfflineCredentialRequest) GetCluster
func (x *GenerateOfflineCredentialRequest) GetCluster() stringfunc (*GenerateOfflineCredentialRequest) ProtoMessage
func (*GenerateOfflineCredentialRequest) ProtoMessage()func (*GenerateOfflineCredentialRequest) ProtoReflect
func (x *GenerateOfflineCredentialRequest) ProtoReflect() protoreflect.Messagefunc (*GenerateOfflineCredentialRequest) Reset
func (x *GenerateOfflineCredentialRequest) Reset()func (*GenerateOfflineCredentialRequest) String
func (x *GenerateOfflineCredentialRequest) String() stringGenerateOfflineCredentialResponse
type GenerateOfflineCredentialResponse struct {
// Output only. Client certificate to authenticate to k8s api-server.
ClientCertificate string `protobuf:"bytes,1,opt,name=client_certificate,json=clientCertificate,proto3" json:"client_certificate,omitempty"`
// Output only. Client private key to authenticate to k8s api-server.
ClientKey string `protobuf:"bytes,2,opt,name=client_key,json=clientKey,proto3" json:"client_key,omitempty"`
// Output only. Client's identity.
UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
// Output only. Timestamp at which this credential will expire.
ExpireTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
// contains filtered or unexported fields
}An offline credential for a cluster.
func (*GenerateOfflineCredentialResponse) Descriptor
func (*GenerateOfflineCredentialResponse) Descriptor() ([]byte, []int)Deprecated: Use GenerateOfflineCredentialResponse.ProtoReflect.Descriptor instead.
func (*GenerateOfflineCredentialResponse) GetClientCertificate
func (x *GenerateOfflineCredentialResponse) GetClientCertificate() stringfunc (*GenerateOfflineCredentialResponse) GetClientKey
func (x *GenerateOfflineCredentialResponse) GetClientKey() stringfunc (*GenerateOfflineCredentialResponse) GetExpireTime
func (x *GenerateOfflineCredentialResponse) GetExpireTime() *timestamppb.Timestampfunc (*GenerateOfflineCredentialResponse) GetUserId
func (x *GenerateOfflineCredentialResponse) GetUserId() stringfunc (*GenerateOfflineCredentialResponse) ProtoMessage
func (*GenerateOfflineCredentialResponse) ProtoMessage()func (*GenerateOfflineCredentialResponse) ProtoReflect
func (x *GenerateOfflineCredentialResponse) ProtoReflect() protoreflect.Messagefunc (*GenerateOfflineCredentialResponse) Reset
func (x *GenerateOfflineCredentialResponse) Reset()func (*GenerateOfflineCredentialResponse) String
func (x *GenerateOfflineCredentialResponse) String() stringGetClusterRequest
type GetClusterRequest struct {
// Required. The resource name of the cluster.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Gets a cluster.
func (*GetClusterRequest) Descriptor
func (*GetClusterRequest) Descriptor() ([]byte, []int)Deprecated: Use GetClusterRequest.ProtoReflect.Descriptor instead.
func (*GetClusterRequest) GetName
func (x *GetClusterRequest) GetName() stringfunc (*GetClusterRequest) ProtoMessage
func (*GetClusterRequest) ProtoMessage()func (*GetClusterRequest) ProtoReflect
func (x *GetClusterRequest) ProtoReflect() protoreflect.Messagefunc (*GetClusterRequest) Reset
func (x *GetClusterRequest) Reset()func (*GetClusterRequest) String
func (x *GetClusterRequest) String() stringGetMachineRequest
type GetMachineRequest struct {
// Required. The resource name of the machine.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Gets a machine.
func (*GetMachineRequest) Descriptor
func (*GetMachineRequest) Descriptor() ([]byte, []int)Deprecated: Use GetMachineRequest.ProtoReflect.Descriptor instead.
func (*GetMachineRequest) GetName
func (x *GetMachineRequest) GetName() stringfunc (*GetMachineRequest) ProtoMessage
func (*GetMachineRequest) ProtoMessage()func (*GetMachineRequest) ProtoReflect
func (x *GetMachineRequest) ProtoReflect() protoreflect.Messagefunc (*GetMachineRequest) Reset
func (x *GetMachineRequest) Reset()func (*GetMachineRequest) String
func (x *GetMachineRequest) String() stringGetNodePoolRequest
type GetNodePoolRequest struct {
// Required. The resource name of the node pool.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Gets a node pool.
func (*GetNodePoolRequest) Descriptor
func (*GetNodePoolRequest) Descriptor() ([]byte, []int)Deprecated: Use GetNodePoolRequest.ProtoReflect.Descriptor instead.
func (*GetNodePoolRequest) GetName
func (x *GetNodePoolRequest) GetName() stringfunc (*GetNodePoolRequest) ProtoMessage
func (*GetNodePoolRequest) ProtoMessage()func (*GetNodePoolRequest) ProtoReflect
func (x *GetNodePoolRequest) ProtoReflect() protoreflect.Messagefunc (*GetNodePoolRequest) Reset
func (x *GetNodePoolRequest) Reset()func (*GetNodePoolRequest) String
func (x *GetNodePoolRequest) String() stringGetServerConfigRequest
type GetServerConfigRequest struct {
// Required. The name (project and location) of the server config to get,
// specified in the format `projects/*/locations/*`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Gets the server config.
func (*GetServerConfigRequest) Descriptor
func (*GetServerConfigRequest) Descriptor() ([]byte, []int)Deprecated: Use GetServerConfigRequest.ProtoReflect.Descriptor instead.
func (*GetServerConfigRequest) GetName
func (x *GetServerConfigRequest) GetName() stringfunc (*GetServerConfigRequest) ProtoMessage
func (*GetServerConfigRequest) ProtoMessage()func (*GetServerConfigRequest) ProtoReflect
func (x *GetServerConfigRequest) ProtoReflect() protoreflect.Messagefunc (*GetServerConfigRequest) Reset
func (x *GetServerConfigRequest) Reset()func (*GetServerConfigRequest) String
func (x *GetServerConfigRequest) String() stringGetVpnConnectionRequest
type GetVpnConnectionRequest struct {
// Required. The resource name of the vpn connection.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Gets a VPN connection.
func (*GetVpnConnectionRequest) Descriptor
func (*GetVpnConnectionRequest) Descriptor() ([]byte, []int)Deprecated: Use GetVpnConnectionRequest.ProtoReflect.Descriptor instead.
func (*GetVpnConnectionRequest) GetName
func (x *GetVpnConnectionRequest) GetName() stringfunc (*GetVpnConnectionRequest) ProtoMessage
func (*GetVpnConnectionRequest) ProtoMessage()func (*GetVpnConnectionRequest) ProtoReflect
func (x *GetVpnConnectionRequest) ProtoReflect() protoreflect.Messagefunc (*GetVpnConnectionRequest) Reset
func (x *GetVpnConnectionRequest) Reset()func (*GetVpnConnectionRequest) String
func (x *GetVpnConnectionRequest) String() stringKmsKeyState
type KmsKeyState int32Represents the accessibility state of a customer-managed KMS key used for CMEK integration.
KmsKeyState_KMS_KEY_STATE_UNSPECIFIED, KmsKeyState_KMS_KEY_STATE_KEY_AVAILABLE, KmsKeyState_KMS_KEY_STATE_KEY_UNAVAILABLE
const (
// Unspecified.
KmsKeyState_KMS_KEY_STATE_UNSPECIFIED KmsKeyState = 0
// The key is available for use, and dependent resources should be accessible.
KmsKeyState_KMS_KEY_STATE_KEY_AVAILABLE KmsKeyState = 1
// The key is unavailable for an unspecified reason. Dependent resources may
// be inaccessible.
KmsKeyState_KMS_KEY_STATE_KEY_UNAVAILABLE KmsKeyState = 2
)func (KmsKeyState) Descriptor
func (KmsKeyState) Descriptor() protoreflect.EnumDescriptorfunc (KmsKeyState) Enum
func (x KmsKeyState) Enum() *KmsKeyStatefunc (KmsKeyState) EnumDescriptor
func (KmsKeyState) EnumDescriptor() ([]byte, []int)Deprecated: Use KmsKeyState.Descriptor instead.
func (KmsKeyState) Number
func (x KmsKeyState) Number() protoreflect.EnumNumberfunc (KmsKeyState) String
func (x KmsKeyState) String() stringfunc (KmsKeyState) Type
func (KmsKeyState) Type() protoreflect.EnumTypeListClustersRequest
type ListClustersRequest struct {
// Required. The parent location, which owns this collection of clusters.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of resources to list.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A page token received from previous list request.
// A page token received from previous list request.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Only resources matching this filter will be listed.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Specifies the order in which resources will be listed.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}Lists clusters in a location.
func (*ListClustersRequest) Descriptor
func (*ListClustersRequest) Descriptor() ([]byte, []int)Deprecated: Use ListClustersRequest.ProtoReflect.Descriptor instead.
func (*ListClustersRequest) GetFilter
func (x *ListClustersRequest) GetFilter() stringfunc (*ListClustersRequest) GetOrderBy
func (x *ListClustersRequest) GetOrderBy() stringfunc (*ListClustersRequest) GetPageSize
func (x *ListClustersRequest) GetPageSize() int32func (*ListClustersRequest) GetPageToken
func (x *ListClustersRequest) GetPageToken() stringfunc (*ListClustersRequest) GetParent
func (x *ListClustersRequest) GetParent() stringfunc (*ListClustersRequest) ProtoMessage
func (*ListClustersRequest) ProtoMessage()func (*ListClustersRequest) ProtoReflect
func (x *ListClustersRequest) ProtoReflect() protoreflect.Messagefunc (*ListClustersRequest) Reset
func (x *ListClustersRequest) Reset()func (*ListClustersRequest) String
func (x *ListClustersRequest) String() stringListClustersResponse
type ListClustersResponse struct {
// Clusters in the location.
Clusters []*Cluster `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"`
// A token to retrieve next page of results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}List of clusters in a location.
func (*ListClustersResponse) Descriptor
func (*ListClustersResponse) Descriptor() ([]byte, []int)Deprecated: Use ListClustersResponse.ProtoReflect.Descriptor instead.
func (*ListClustersResponse) GetClusters
func (x *ListClustersResponse) GetClusters() []*Clusterfunc (*ListClustersResponse) GetNextPageToken
func (x *ListClustersResponse) GetNextPageToken() stringfunc (*ListClustersResponse) GetUnreachable
func (x *ListClustersResponse) GetUnreachable() []stringfunc (*ListClustersResponse) ProtoMessage
func (*ListClustersResponse) ProtoMessage()func (*ListClustersResponse) ProtoReflect
func (x *ListClustersResponse) ProtoReflect() protoreflect.Messagefunc (*ListClustersResponse) Reset
func (x *ListClustersResponse) Reset()func (*ListClustersResponse) String
func (x *ListClustersResponse) String() stringListMachinesRequest
type ListMachinesRequest struct {
// Required. The parent site, which owns this collection of machines.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of resources to list.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A page token received from previous list request.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Only resources matching this filter will be listed.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Specifies the order in which resources will be listed.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}Lists machines in a site.
func (*ListMachinesRequest) Descriptor
func (*ListMachinesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListMachinesRequest.ProtoReflect.Descriptor instead.
func (*ListMachinesRequest) GetFilter
func (x *ListMachinesRequest) GetFilter() stringfunc (*ListMachinesRequest) GetOrderBy
func (x *ListMachinesRequest) GetOrderBy() stringfunc (*ListMachinesRequest) GetPageSize
func (x *ListMachinesRequest) GetPageSize() int32func (*ListMachinesRequest) GetPageToken
func (x *ListMachinesRequest) GetPageToken() stringfunc (*ListMachinesRequest) GetParent
func (x *ListMachinesRequest) GetParent() stringfunc (*ListMachinesRequest) ProtoMessage
func (*ListMachinesRequest) ProtoMessage()func (*ListMachinesRequest) ProtoReflect
func (x *ListMachinesRequest) ProtoReflect() protoreflect.Messagefunc (*ListMachinesRequest) Reset
func (x *ListMachinesRequest) Reset()func (*ListMachinesRequest) String
func (x *ListMachinesRequest) String() stringListMachinesResponse
type ListMachinesResponse struct {
// Machines in the site.
Machines []*Machine `protobuf:"bytes,1,rep,name=machines,proto3" json:"machines,omitempty"`
// A token to retrieve next page of results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}List of machines in a site.
func (*ListMachinesResponse) Descriptor
func (*ListMachinesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListMachinesResponse.ProtoReflect.Descriptor instead.
func (*ListMachinesResponse) GetMachines
func (x *ListMachinesResponse) GetMachines() []*Machinefunc (*ListMachinesResponse) GetNextPageToken
func (x *ListMachinesResponse) GetNextPageToken() stringfunc (*ListMachinesResponse) GetUnreachable
func (x *ListMachinesResponse) GetUnreachable() []stringfunc (*ListMachinesResponse) ProtoMessage
func (*ListMachinesResponse) ProtoMessage()func (*ListMachinesResponse) ProtoReflect
func (x *ListMachinesResponse) ProtoReflect() protoreflect.Messagefunc (*ListMachinesResponse) Reset
func (x *ListMachinesResponse) Reset()func (*ListMachinesResponse) String
func (x *ListMachinesResponse) String() stringListNodePoolsRequest
type ListNodePoolsRequest struct {
// Required. The parent cluster, which owns this collection of node pools.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of resources to list.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A page token received from previous list request.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Only resources matching this filter will be listed.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Specifies the order in which resources will be listed.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}Lists node pools in a cluster.
func (*ListNodePoolsRequest) Descriptor
func (*ListNodePoolsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListNodePoolsRequest.ProtoReflect.Descriptor instead.
func (*ListNodePoolsRequest) GetFilter
func (x *ListNodePoolsRequest) GetFilter() stringfunc (*ListNodePoolsRequest) GetOrderBy
func (x *ListNodePoolsRequest) GetOrderBy() stringfunc (*ListNodePoolsRequest) GetPageSize
func (x *ListNodePoolsRequest) GetPageSize() int32func (*ListNodePoolsRequest) GetPageToken
func (x *ListNodePoolsRequest) GetPageToken() stringfunc (*ListNodePoolsRequest) GetParent
func (x *ListNodePoolsRequest) GetParent() stringfunc (*ListNodePoolsRequest) ProtoMessage
func (*ListNodePoolsRequest) ProtoMessage()func (*ListNodePoolsRequest) ProtoReflect
func (x *ListNodePoolsRequest) ProtoReflect() protoreflect.Messagefunc (*ListNodePoolsRequest) Reset
func (x *ListNodePoolsRequest) Reset()func (*ListNodePoolsRequest) String
func (x *ListNodePoolsRequest) String() stringListNodePoolsResponse
type ListNodePoolsResponse struct {
// Node pools in the cluster.
NodePools []*NodePool `protobuf:"bytes,1,rep,name=node_pools,json=nodePools,proto3" json:"node_pools,omitempty"`
// A token to retrieve next page of results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}List of node pools in a cluster.
func (*ListNodePoolsResponse) Descriptor
func (*ListNodePoolsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListNodePoolsResponse.ProtoReflect.Descriptor instead.
func (*ListNodePoolsResponse) GetNextPageToken
func (x *ListNodePoolsResponse) GetNextPageToken() stringfunc (*ListNodePoolsResponse) GetNodePools
func (x *ListNodePoolsResponse) GetNodePools() []*NodePoolfunc (*ListNodePoolsResponse) GetUnreachable
func (x *ListNodePoolsResponse) GetUnreachable() []stringfunc (*ListNodePoolsResponse) ProtoMessage
func (*ListNodePoolsResponse) ProtoMessage()func (*ListNodePoolsResponse) ProtoReflect
func (x *ListNodePoolsResponse) ProtoReflect() protoreflect.Messagefunc (*ListNodePoolsResponse) Reset
func (x *ListNodePoolsResponse) Reset()func (*ListNodePoolsResponse) String
func (x *ListNodePoolsResponse) String() stringListVpnConnectionsRequest
type ListVpnConnectionsRequest struct {
// Required. The parent location, which owns this collection of VPN
// connections.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of resources to list.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A page token received from previous list request.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Only resources matching this filter will be listed.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Specifies the order in which resources will be listed.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}Lists VPN connections.
func (*ListVpnConnectionsRequest) Descriptor
func (*ListVpnConnectionsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListVpnConnectionsRequest.ProtoReflect.Descriptor instead.
func (*ListVpnConnectionsRequest) GetFilter
func (x *ListVpnConnectionsRequest) GetFilter() stringfunc (*ListVpnConnectionsRequest) GetOrderBy
func (x *ListVpnConnectionsRequest) GetOrderBy() stringfunc (*ListVpnConnectionsRequest) GetPageSize
func (x *ListVpnConnectionsRequest) GetPageSize() int32func (*ListVpnConnectionsRequest) GetPageToken
func (x *ListVpnConnectionsRequest) GetPageToken() stringfunc (*ListVpnConnectionsRequest) GetParent
func (x *ListVpnConnectionsRequest) GetParent() stringfunc (*ListVpnConnectionsRequest) ProtoMessage
func (*ListVpnConnectionsRequest) ProtoMessage()func (*ListVpnConnectionsRequest) ProtoReflect
func (x *ListVpnConnectionsRequest) ProtoReflect() protoreflect.Messagefunc (*ListVpnConnectionsRequest) Reset
func (x *ListVpnConnectionsRequest) Reset()func (*ListVpnConnectionsRequest) String
func (x *ListVpnConnectionsRequest) String() stringListVpnConnectionsResponse
type ListVpnConnectionsResponse struct {
// VpnConnections in the location.
VpnConnections []*VpnConnection `protobuf:"bytes,1,rep,name=vpn_connections,json=vpnConnections,proto3" json:"vpn_connections,omitempty"`
// A token to retrieve next page of results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}List of VPN connections in a location.
func (*ListVpnConnectionsResponse) Descriptor
func (*ListVpnConnectionsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListVpnConnectionsResponse.ProtoReflect.Descriptor instead.
func (*ListVpnConnectionsResponse) GetNextPageToken
func (x *ListVpnConnectionsResponse) GetNextPageToken() stringfunc (*ListVpnConnectionsResponse) GetUnreachable
func (x *ListVpnConnectionsResponse) GetUnreachable() []stringfunc (*ListVpnConnectionsResponse) GetVpnConnections
func (x *ListVpnConnectionsResponse) GetVpnConnections() []*VpnConnectionfunc (*ListVpnConnectionsResponse) ProtoMessage
func (*ListVpnConnectionsResponse) ProtoMessage()func (*ListVpnConnectionsResponse) ProtoReflect
func (x *ListVpnConnectionsResponse) ProtoReflect() protoreflect.Messagefunc (*ListVpnConnectionsResponse) Reset
func (x *ListVpnConnectionsResponse) Reset()func (*ListVpnConnectionsResponse) String
func (x *ListVpnConnectionsResponse) String() stringLocationMetadata
type LocationMetadata struct {
// The set of available Google Distributed Cloud Edge zones in the location.
// The map is keyed by the lowercase ID of each zone.
AvailableZones map[string]*ZoneMetadata `protobuf:"bytes,1,rep,name=available_zones,json=availableZones,proto3" json:"available_zones,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// contains filtered or unexported fields
}Metadata for a given [google.cloud.location.Location][google.cloud.location.Location].
func (*LocationMetadata) Descriptor
func (*LocationMetadata) Descriptor() ([]byte, []int)Deprecated: Use LocationMetadata.ProtoReflect.Descriptor instead.
func (*LocationMetadata) GetAvailableZones
func (x *LocationMetadata) GetAvailableZones() map[string]*ZoneMetadatafunc (*LocationMetadata) ProtoMessage
func (*LocationMetadata) ProtoMessage()func (*LocationMetadata) ProtoReflect
func (x *LocationMetadata) ProtoReflect() protoreflect.Messagefunc (*LocationMetadata) Reset
func (x *LocationMetadata) Reset()func (*LocationMetadata) String
func (x *LocationMetadata) String() stringMachine
type Machine struct {
// Required. The resource name of the machine.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The time when the node pool was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time when the node pool was last updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Labels associated with this resource.
Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Canonical resource name of the node that this machine is responsible for
// hosting e.g.
// projects/{project}/locations/{location}/clusters/{cluster_id}/nodePools/{pool_id}/{node},
// Or empty if the machine is not assigned to assume the role of a node.
//
// For control plane nodes hosted on edge machines, this will return
// the following format:
//
// "projects/{project}/locations/{location}/clusters/{cluster_id}/controlPlaneNodes/{node}".
HostedNode string `protobuf:"bytes,5,opt,name=hosted_node,json=hostedNode,proto3" json:"hosted_node,omitempty"`
// The Google Distributed Cloud Edge zone of this machine.
Zone string `protobuf:"bytes,6,opt,name=zone,proto3" json:"zone,omitempty"`
// Output only. The software version of the machine.
Version string `protobuf:"bytes,7,opt,name=version,proto3" json:"version,omitempty"`
// Output only. Whether the machine is disabled. If disabled, the machine is
// unable to enter service.
Disabled bool `protobuf:"varint,8,opt,name=disabled,proto3" json:"disabled,omitempty"`
// contains filtered or unexported fields
}A Google Distributed Cloud Edge machine capable of acting as a Kubernetes node.
func (*Machine) Descriptor
Deprecated: Use Machine.ProtoReflect.Descriptor instead.
func (*Machine) GetCreateTime
func (x *Machine) GetCreateTime() *timestamppb.Timestampfunc (*Machine) GetDisabled
func (*Machine) GetHostedNode
func (*Machine) GetLabels
func (*Machine) GetName
func (*Machine) GetUpdateTime
func (x *Machine) GetUpdateTime() *timestamppb.Timestampfunc (*Machine) GetVersion
func (*Machine) GetZone
func (*Machine) ProtoMessage
func (*Machine) ProtoMessage()func (*Machine) ProtoReflect
func (x *Machine) ProtoReflect() protoreflect.Messagefunc (*Machine) Reset
func (x *Machine) Reset()func (*Machine) String
MaintenanceExclusionWindow
type MaintenanceExclusionWindow struct {
// Optional. The time window.
Window *TimeWindow `protobuf:"bytes,1,opt,name=window,proto3" json:"window,omitempty"`
// Optional. A unique (per cluster) id for the window.
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}Represents a maintenance exclusion window.
func (*MaintenanceExclusionWindow) Descriptor
func (*MaintenanceExclusionWindow) Descriptor() ([]byte, []int)Deprecated: Use MaintenanceExclusionWindow.ProtoReflect.Descriptor instead.
func (*MaintenanceExclusionWindow) GetId
func (x *MaintenanceExclusionWindow) GetId() stringfunc (*MaintenanceExclusionWindow) GetWindow
func (x *MaintenanceExclusionWindow) GetWindow() *TimeWindowfunc (*MaintenanceExclusionWindow) ProtoMessage
func (*MaintenanceExclusionWindow) ProtoMessage()func (*MaintenanceExclusionWindow) ProtoReflect
func (x *MaintenanceExclusionWindow) ProtoReflect() protoreflect.Messagefunc (*MaintenanceExclusionWindow) Reset
func (x *MaintenanceExclusionWindow) Reset()func (*MaintenanceExclusionWindow) String
func (x *MaintenanceExclusionWindow) String() stringMaintenancePolicy
type MaintenancePolicy struct {
// Specifies the maintenance window in which maintenance may be performed.
Window *MaintenanceWindow `protobuf:"bytes,1,opt,name=window,proto3" json:"window,omitempty"`
// Optional. Exclusions to automatic maintenance. Non-emergency maintenance
// should not occur in these windows. Each exclusion has a unique name and may
// be active or expired. The max number of maintenance exclusions allowed at a
// given time is 3.
MaintenanceExclusions []*MaintenanceExclusionWindow `protobuf:"bytes,2,rep,name=maintenance_exclusions,json=maintenanceExclusions,proto3" json:"maintenance_exclusions,omitempty"`
// contains filtered or unexported fields
}Maintenance policy configuration.
func (*MaintenancePolicy) Descriptor
func (*MaintenancePolicy) Descriptor() ([]byte, []int)Deprecated: Use MaintenancePolicy.ProtoReflect.Descriptor instead.
func (*MaintenancePolicy) GetMaintenanceExclusions
func (x *MaintenancePolicy) GetMaintenanceExclusions() []*MaintenanceExclusionWindowfunc (*MaintenancePolicy) GetWindow
func (x *MaintenancePolicy) GetWindow() *MaintenanceWindowfunc (*MaintenancePolicy) ProtoMessage
func (*MaintenancePolicy) ProtoMessage()func (*MaintenancePolicy) ProtoReflect
func (x *MaintenancePolicy) ProtoReflect() protoreflect.Messagefunc (*MaintenancePolicy) Reset
func (x *MaintenancePolicy) Reset()func (*MaintenancePolicy) String
func (x *MaintenancePolicy) String() stringMaintenanceWindow
type MaintenanceWindow struct {
// Configuration of a recurring maintenance window.
RecurringWindow *RecurringTimeWindow `protobuf:"bytes,1,opt,name=recurring_window,json=recurringWindow,proto3" json:"recurring_window,omitempty"`
// contains filtered or unexported fields
}Maintenance window configuration
func (*MaintenanceWindow) Descriptor
func (*MaintenanceWindow) Descriptor() ([]byte, []int)Deprecated: Use MaintenanceWindow.ProtoReflect.Descriptor instead.
func (*MaintenanceWindow) GetRecurringWindow
func (x *MaintenanceWindow) GetRecurringWindow() *RecurringTimeWindowfunc (*MaintenanceWindow) ProtoMessage
func (*MaintenanceWindow) ProtoMessage()func (*MaintenanceWindow) ProtoReflect
func (x *MaintenanceWindow) ProtoReflect() protoreflect.Messagefunc (*MaintenanceWindow) Reset
func (x *MaintenanceWindow) Reset()func (*MaintenanceWindow) String
func (x *MaintenanceWindow) String() stringNodePool
type NodePool struct {
// Required. The resource name of the node pool.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The time when the node pool was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time when the node pool was last updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Labels associated with this resource.
Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Name of the Google Distributed Cloud Edge zone where this node pool will be
// created. For example: `us-central1-edge-customer-a`.
NodeLocation string `protobuf:"bytes,8,opt,name=node_location,json=nodeLocation,proto3" json:"node_location,omitempty"`
// Required. The number of nodes in the pool.
NodeCount int32 `protobuf:"varint,6,opt,name=node_count,json=nodeCount,proto3" json:"node_count,omitempty"`
// Only machines matching this filter will be allowed to join the node pool.
// The filtering language accepts strings like "name=A set of Kubernetes nodes in a cluster with common configuration and specification.
func (*NodePool) Descriptor
Deprecated: Use NodePool.ProtoReflect.Descriptor instead.
func (*NodePool) GetCreateTime
func (x *NodePool) GetCreateTime() *timestamppb.Timestampfunc (*NodePool) GetLabels
func (*NodePool) GetLocalDiskEncryption
func (x *NodePool) GetLocalDiskEncryption() *NodePool_LocalDiskEncryptionfunc (*NodePool) GetMachineFilter
func (*NodePool) GetName
func (*NodePool) GetNodeConfig
func (x *NodePool) GetNodeConfig() *NodePool_NodeConfigfunc (*NodePool) GetNodeCount
func (*NodePool) GetNodeLocation
func (*NodePool) GetNodeVersion
func (*NodePool) GetUpdateTime
func (x *NodePool) GetUpdateTime() *timestamppb.Timestampfunc (*NodePool) ProtoMessage
func (*NodePool) ProtoMessage()func (*NodePool) ProtoReflect
func (x *NodePool) ProtoReflect() protoreflect.Messagefunc (*NodePool) Reset
func (x *NodePool) Reset()func (*NodePool) String
NodePool_LocalDiskEncryption
type NodePool_LocalDiskEncryption struct {
// Optional. The Cloud KMS CryptoKey e.g.
// projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey}
// to use for protecting node local disks. If not specified, a
// Google-managed key will be used instead.
KmsKey string `protobuf:"bytes,1,opt,name=kms_key,json=kmsKey,proto3" json:"kms_key,omitempty"`
// Output only. The Cloud KMS CryptoKeyVersion currently in use for
// protecting node local disks. Only applicable if kms_key is set.
KmsKeyActiveVersion string `protobuf:"bytes,2,opt,name=kms_key_active_version,json=kmsKeyActiveVersion,proto3" json:"kms_key_active_version,omitempty"`
// Output only. Availability of the Cloud KMS CryptoKey. If not
// `KEY_AVAILABLE`, then nodes may go offline as they cannot access their
// local data. This can be caused by a lack of permissions to use the key,
// or if the key is disabled or deleted.
KmsKeyState KmsKeyState `protobuf:"varint,3,opt,name=kms_key_state,json=kmsKeyState,proto3,enum=google.cloud.edgecontainer.v1.KmsKeyState" json:"kms_key_state,omitempty"`
// Output only. Error status returned by Cloud KMS when using this key. This
// field may be populated only if `kms_key_state` is not
// `KMS_KEY_STATE_KEY_AVAILABLE`. If populated, this field contains the
// error status reported by Cloud KMS.
KmsStatus *status.Status `protobuf:"bytes,4,opt,name=kms_status,json=kmsStatus,proto3" json:"kms_status,omitempty"`
// Output only. The current resource state associated with the cmek.
ResourceState ResourceState `protobuf:"varint,5,opt,name=resource_state,json=resourceState,proto3,enum=google.cloud.edgecontainer.v1.ResourceState" json:"resource_state,omitempty"`
// contains filtered or unexported fields
}Configuration for CMEK support for edge machine local disk encryption.
func (*NodePool_LocalDiskEncryption) Descriptor
func (*NodePool_LocalDiskEncryption) Descriptor() ([]byte, []int)Deprecated: Use NodePool_LocalDiskEncryption.ProtoReflect.Descriptor instead.
func (*NodePool_LocalDiskEncryption) GetKmsKey
func (x *NodePool_LocalDiskEncryption) GetKmsKey() stringfunc (*NodePool_LocalDiskEncryption) GetKmsKeyActiveVersion
func (x *NodePool_LocalDiskEncryption) GetKmsKeyActiveVersion() stringfunc (*NodePool_LocalDiskEncryption) GetKmsKeyState
func (x *NodePool_LocalDiskEncryption) GetKmsKeyState() KmsKeyStatefunc (*NodePool_LocalDiskEncryption) GetKmsStatus
func (x *NodePool_LocalDiskEncryption) GetKmsStatus() *status.Statusfunc (*NodePool_LocalDiskEncryption) GetResourceState
func (x *NodePool_LocalDiskEncryption) GetResourceState() ResourceStatefunc (*NodePool_LocalDiskEncryption) ProtoMessage
func (*NodePool_LocalDiskEncryption) ProtoMessage()func (*NodePool_LocalDiskEncryption) ProtoReflect
func (x *NodePool_LocalDiskEncryption) ProtoReflect() protoreflect.Messagefunc (*NodePool_LocalDiskEncryption) Reset
func (x *NodePool_LocalDiskEncryption) Reset()func (*NodePool_LocalDiskEncryption) String
func (x *NodePool_LocalDiskEncryption) String() stringNodePool_NodeConfig
type NodePool_NodeConfig struct {
// Optional. The Kubernetes node labels
Labels map[string]string `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Optional. Name for the storage schema of worker nodes.
//
// Warning: Configurable node local storage schema feature is an
// experimental feature, and is not recommended for general use
// in production clusters/nodepools.
NodeStorageSchema string `protobuf:"bytes,2,opt,name=node_storage_schema,json=nodeStorageSchema,proto3" json:"node_storage_schema,omitempty"`
// contains filtered or unexported fields
}Configuration for each node in the NodePool
func (*NodePool_NodeConfig) Descriptor
func (*NodePool_NodeConfig) Descriptor() ([]byte, []int)Deprecated: Use NodePool_NodeConfig.ProtoReflect.Descriptor instead.
func (*NodePool_NodeConfig) GetLabels
func (x *NodePool_NodeConfig) GetLabels() map[string]stringfunc (*NodePool_NodeConfig) GetNodeStorageSchema
func (x *NodePool_NodeConfig) GetNodeStorageSchema() stringfunc (*NodePool_NodeConfig) ProtoMessage
func (*NodePool_NodeConfig) ProtoMessage()func (*NodePool_NodeConfig) ProtoReflect
func (x *NodePool_NodeConfig) ProtoReflect() protoreflect.Messagefunc (*NodePool_NodeConfig) Reset
func (x *NodePool_NodeConfig) Reset()func (*NodePool_NodeConfig) String
func (x *NodePool_NodeConfig) String() stringOperationMetadata
type OperationMetadata struct {
// The time the operation was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// The time the operation finished running.
EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// Server-defined resource path for the target of the operation.
Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
// The verb executed by the operation.
Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"`
// Human-readable status of the operation, if any.
StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
// Identifies whether the user has requested cancellation of the operation.
// Operations that have successfully been cancelled have [Operation.error][]
// value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
// corresponding to `Code.CANCELLED`.
RequestedCancellation bool `protobuf:"varint,6,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"`
// API version used to start the operation.
ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
// Warnings that do not block the operation, but still hold relevant
// information for the end user to receive.
Warnings []string `protobuf:"bytes,8,rep,name=warnings,proto3" json:"warnings,omitempty"`
// Machine-readable status of the operation, if any.
StatusReason OperationMetadata_StatusReason `protobuf:"varint,9,opt,name=status_reason,json=statusReason,proto3,enum=google.cloud.edgecontainer.v1.OperationMetadata_StatusReason" json:"status_reason,omitempty"`
// contains filtered or unexported fields
}Long-running operation metadata for Edge Container API methods.
func (*OperationMetadata) Descriptor
func (*OperationMetadata) Descriptor() ([]byte, []int)Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.
func (*OperationMetadata) GetApiVersion
func (x *OperationMetadata) GetApiVersion() stringfunc (*OperationMetadata) GetCreateTime
func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestampfunc (*OperationMetadata) GetEndTime
func (x *OperationMetadata) GetEndTime() *timestamppb.Timestampfunc (*OperationMetadata) GetRequestedCancellation
func (x *OperationMetadata) GetRequestedCancellation() boolfunc (*OperationMetadata) GetStatusMessage
func (x *OperationMetadata) GetStatusMessage() stringfunc (*OperationMetadata) GetStatusReason
func (x *OperationMetadata) GetStatusReason() OperationMetadata_StatusReasonfunc (*OperationMetadata) GetTarget
func (x *OperationMetadata) GetTarget() stringfunc (*OperationMetadata) GetVerb
func (x *OperationMetadata) GetVerb() stringfunc (*OperationMetadata) GetWarnings
func (x *OperationMetadata) GetWarnings() []stringfunc (*OperationMetadata) ProtoMessage
func (*OperationMetadata) ProtoMessage()func (*OperationMetadata) ProtoReflect
func (x *OperationMetadata) ProtoReflect() protoreflect.Messagefunc (*OperationMetadata) Reset
func (x *OperationMetadata) Reset()func (*OperationMetadata) String
func (x *OperationMetadata) String() stringOperationMetadata_StatusReason
type OperationMetadata_StatusReason int32Indicates the reason for the status of the operation.
OperationMetadata_STATUS_REASON_UNSPECIFIED, OperationMetadata_UPGRADE_PAUSED
const (
// Reason unknown.
OperationMetadata_STATUS_REASON_UNSPECIFIED OperationMetadata_StatusReason = 0
// The cluster upgrade is currently paused.
OperationMetadata_UPGRADE_PAUSED OperationMetadata_StatusReason = 1
)func (OperationMetadata_StatusReason) Descriptor
func (OperationMetadata_StatusReason) Descriptor() protoreflect.EnumDescriptorfunc (OperationMetadata_StatusReason) Enum
func (x OperationMetadata_StatusReason) Enum() *OperationMetadata_StatusReasonfunc (OperationMetadata_StatusReason) EnumDescriptor
func (OperationMetadata_StatusReason) EnumDescriptor() ([]byte, []int)Deprecated: Use OperationMetadata_StatusReason.Descriptor instead.
func (OperationMetadata_StatusReason) Number
func (x OperationMetadata_StatusReason) Number() protoreflect.EnumNumberfunc (OperationMetadata_StatusReason) String
func (x OperationMetadata_StatusReason) String() stringfunc (OperationMetadata_StatusReason) Type
func (OperationMetadata_StatusReason) Type() protoreflect.EnumTypeQuota
type Quota struct {
// Name of the quota metric.
Metric string `protobuf:"bytes,1,opt,name=metric,proto3" json:"metric,omitempty"`
// Quota limit for this metric.
Limit float64 `protobuf:"fixed64,2,opt,name=limit,proto3" json:"limit,omitempty"`
// Current usage of this metric.
Usage float64 `protobuf:"fixed64,3,opt,name=usage,proto3" json:"usage,omitempty"`
// contains filtered or unexported fields
}Represents quota for Edge Container resources.
func (*Quota) Descriptor
Deprecated: Use Quota.ProtoReflect.Descriptor instead.
func (*Quota) GetLimit
func (*Quota) GetMetric
func (*Quota) GetUsage
func (*Quota) ProtoMessage
func (*Quota) ProtoMessage()func (*Quota) ProtoReflect
func (x *Quota) ProtoReflect() protoreflect.Messagefunc (*Quota) Reset
func (x *Quota) Reset()func (*Quota) String
RecurringTimeWindow
type RecurringTimeWindow struct {
// The window of the first recurrence.
Window *TimeWindow `protobuf:"bytes,1,opt,name=window,proto3" json:"window,omitempty"`
// An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
// this window recurs. They go on for the span of time between the start and
// end time.
Recurrence string `protobuf:"bytes,2,opt,name=recurrence,proto3" json:"recurrence,omitempty"`
// contains filtered or unexported fields
}Represents an arbitrary window of time that recurs.
func (*RecurringTimeWindow) Descriptor
func (*RecurringTimeWindow) Descriptor() ([]byte, []int)Deprecated: Use RecurringTimeWindow.ProtoReflect.Descriptor instead.
func (*RecurringTimeWindow) GetRecurrence
func (x *RecurringTimeWindow) GetRecurrence() stringfunc (*RecurringTimeWindow) GetWindow
func (x *RecurringTimeWindow) GetWindow() *TimeWindowfunc (*RecurringTimeWindow) ProtoMessage
func (*RecurringTimeWindow) ProtoMessage()func (*RecurringTimeWindow) ProtoReflect
func (x *RecurringTimeWindow) ProtoReflect() protoreflect.Messagefunc (*RecurringTimeWindow) Reset
func (x *RecurringTimeWindow) Reset()func (*RecurringTimeWindow) String
func (x *RecurringTimeWindow) String() stringResourceState
type ResourceState int32Represents if the resource is in lock down state or pending.
ResourceState_RESOURCE_STATE_UNSPECIFIED, ResourceState_RESOURCE_STATE_LOCK_DOWN, ResourceState_RESOURCE_STATE_LOCK_DOWN_PENDING
const (
// Default value.
ResourceState_RESOURCE_STATE_UNSPECIFIED ResourceState = 0
// The resource is in LOCK DOWN state.
ResourceState_RESOURCE_STATE_LOCK_DOWN ResourceState = 1
// The resource is pending lock down.
ResourceState_RESOURCE_STATE_LOCK_DOWN_PENDING ResourceState = 2
)func (ResourceState) Descriptor
func (ResourceState) Descriptor() protoreflect.EnumDescriptorfunc (ResourceState) Enum
func (x ResourceState) Enum() *ResourceStatefunc (ResourceState) EnumDescriptor
func (ResourceState) EnumDescriptor() ([]byte, []int)Deprecated: Use ResourceState.Descriptor instead.
func (ResourceState) Number
func (x ResourceState) Number() protoreflect.EnumNumberfunc (ResourceState) String
func (x ResourceState) String() stringfunc (ResourceState) Type
func (ResourceState) Type() protoreflect.EnumTypeServerConfig
type ServerConfig struct {
// Output only. Mapping from release channel to channel config.
Channels map[string]*ChannelConfig `protobuf:"bytes,1,rep,name=channels,proto3" json:"channels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Output only. Supported versions, e.g.: ["1.4.0", "1.5.0"].
Versions []*Version `protobuf:"bytes,2,rep,name=versions,proto3" json:"versions,omitempty"`
// Output only. Default version, e.g.: "1.4.0".
DefaultVersion string `protobuf:"bytes,3,opt,name=default_version,json=defaultVersion,proto3" json:"default_version,omitempty"`
// contains filtered or unexported fields
}Server configuration for supported versions and release channels.
func (*ServerConfig) Descriptor
func (*ServerConfig) Descriptor() ([]byte, []int)Deprecated: Use ServerConfig.ProtoReflect.Descriptor instead.
func (*ServerConfig) GetChannels
func (x *ServerConfig) GetChannels() map[string]*ChannelConfigfunc (*ServerConfig) GetDefaultVersion
func (x *ServerConfig) GetDefaultVersion() stringfunc (*ServerConfig) GetVersions
func (x *ServerConfig) GetVersions() []*Versionfunc (*ServerConfig) ProtoMessage
func (*ServerConfig) ProtoMessage()func (*ServerConfig) ProtoReflect
func (x *ServerConfig) ProtoReflect() protoreflect.Messagefunc (*ServerConfig) Reset
func (x *ServerConfig) Reset()func (*ServerConfig) String
func (x *ServerConfig) String() stringTimeWindow
type TimeWindow struct {
// The time that the window first starts.
StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// The time that the window ends. The end time must take place after the
// start time.
EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// contains filtered or unexported fields
}Represents an arbitrary window of time.
func (*TimeWindow) Descriptor
func (*TimeWindow) Descriptor() ([]byte, []int)Deprecated: Use TimeWindow.ProtoReflect.Descriptor instead.
func (*TimeWindow) GetEndTime
func (x *TimeWindow) GetEndTime() *timestamppb.Timestampfunc (*TimeWindow) GetStartTime
func (x *TimeWindow) GetStartTime() *timestamppb.Timestampfunc (*TimeWindow) ProtoMessage
func (*TimeWindow) ProtoMessage()func (*TimeWindow) ProtoReflect
func (x *TimeWindow) ProtoReflect() protoreflect.Messagefunc (*TimeWindow) Reset
func (x *TimeWindow) Reset()func (*TimeWindow) String
func (x *TimeWindow) String() stringUnimplementedEdgeContainerServer
type UnimplementedEdgeContainerServer struct {
}UnimplementedEdgeContainerServer should be embedded to have forward compatible implementations.
func (UnimplementedEdgeContainerServer) CreateCluster
func (UnimplementedEdgeContainerServer) CreateCluster(context.Context, *CreateClusterRequest) (*longrunningpb.Operation, error)func (UnimplementedEdgeContainerServer) CreateNodePool
func (UnimplementedEdgeContainerServer) CreateNodePool(context.Context, *CreateNodePoolRequest) (*longrunningpb.Operation, error)func (UnimplementedEdgeContainerServer) CreateVpnConnection
func (UnimplementedEdgeContainerServer) CreateVpnConnection(context.Context, *CreateVpnConnectionRequest) (*longrunningpb.Operation, error)func (UnimplementedEdgeContainerServer) DeleteCluster
func (UnimplementedEdgeContainerServer) DeleteCluster(context.Context, *DeleteClusterRequest) (*longrunningpb.Operation, error)func (UnimplementedEdgeContainerServer) DeleteNodePool
func (UnimplementedEdgeContainerServer) DeleteNodePool(context.Context, *DeleteNodePoolRequest) (*longrunningpb.Operation, error)func (UnimplementedEdgeContainerServer) DeleteVpnConnection
func (UnimplementedEdgeContainerServer) DeleteVpnConnection(context.Context, *DeleteVpnConnectionRequest) (*longrunningpb.Operation, error)func (UnimplementedEdgeContainerServer) GenerateAccessToken
func (UnimplementedEdgeContainerServer) GenerateAccessToken(context.Context, *GenerateAccessTokenRequest) (*GenerateAccessTokenResponse, error)func (UnimplementedEdgeContainerServer) GenerateOfflineCredential
func (UnimplementedEdgeContainerServer) GenerateOfflineCredential(context.Context, *GenerateOfflineCredentialRequest) (*GenerateOfflineCredentialResponse, error)func (UnimplementedEdgeContainerServer) GetCluster
func (UnimplementedEdgeContainerServer) GetCluster(context.Context, *GetClusterRequest) (*Cluster, error)func (UnimplementedEdgeContainerServer) GetMachine
func (UnimplementedEdgeContainerServer) GetMachine(context.Context, *GetMachineRequest) (*Machine, error)func (UnimplementedEdgeContainerServer) GetNodePool
func (UnimplementedEdgeContainerServer) GetNodePool(context.Context, *GetNodePoolRequest) (*NodePool, error)func (UnimplementedEdgeContainerServer) GetServerConfig
func (UnimplementedEdgeContainerServer) GetServerConfig(context.Context, *GetServerConfigRequest) (*ServerConfig, error)func (UnimplementedEdgeContainerServer) GetVpnConnection
func (UnimplementedEdgeContainerServer) GetVpnConnection(context.Context, *GetVpnConnectionRequest) (*VpnConnection, error)func (UnimplementedEdgeContainerServer) ListClusters
func (UnimplementedEdgeContainerServer) ListClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error)func (UnimplementedEdgeContainerServer) ListMachines
func (UnimplementedEdgeContainerServer) ListMachines(context.Context, *ListMachinesRequest) (*ListMachinesResponse, error)func (UnimplementedEdgeContainerServer) ListNodePools
func (UnimplementedEdgeContainerServer) ListNodePools(context.Context, *ListNodePoolsRequest) (*ListNodePoolsResponse, error)func (UnimplementedEdgeContainerServer) ListVpnConnections
func (UnimplementedEdgeContainerServer) ListVpnConnections(context.Context, *ListVpnConnectionsRequest) (*ListVpnConnectionsResponse, error)func (UnimplementedEdgeContainerServer) UpdateCluster
func (UnimplementedEdgeContainerServer) UpdateCluster(context.Context, *UpdateClusterRequest) (*longrunningpb.Operation, error)func (UnimplementedEdgeContainerServer) UpdateNodePool
func (UnimplementedEdgeContainerServer) UpdateNodePool(context.Context, *UpdateNodePoolRequest) (*longrunningpb.Operation, error)func (UnimplementedEdgeContainerServer) UpgradeCluster
func (UnimplementedEdgeContainerServer) UpgradeCluster(context.Context, *UpgradeClusterRequest) (*longrunningpb.Operation, error)UnsafeEdgeContainerServer
type UnsafeEdgeContainerServer interface {
// contains filtered or unexported methods
}UnsafeEdgeContainerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EdgeContainerServer will result in compilation errors.
UpdateClusterRequest
type UpdateClusterRequest struct {
// Field mask is used to specify the fields to be overwritten in the
// Cluster resource by the update.
// The fields specified in the update_mask are relative to the resource, not
// the full request. A field will be overwritten if it is in the mask. If the
// user does not provide a mask then all fields will be overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// The updated cluster.
Cluster *Cluster `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"`
// A unique identifier for this request. Restricted to 36 ASCII characters.
// A random UUID is recommended.
// This request is only idempotent if `request_id` is provided.
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Updates a cluster.
func (*UpdateClusterRequest) Descriptor
func (*UpdateClusterRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateClusterRequest.ProtoReflect.Descriptor instead.
func (*UpdateClusterRequest) GetCluster
func (x *UpdateClusterRequest) GetCluster() *Clusterfunc (*UpdateClusterRequest) GetRequestId
func (x *UpdateClusterRequest) GetRequestId() stringfunc (*UpdateClusterRequest) GetUpdateMask
func (x *UpdateClusterRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateClusterRequest) ProtoMessage
func (*UpdateClusterRequest) ProtoMessage()func (*UpdateClusterRequest) ProtoReflect
func (x *UpdateClusterRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateClusterRequest) Reset
func (x *UpdateClusterRequest) Reset()func (*UpdateClusterRequest) String
func (x *UpdateClusterRequest) String() stringUpdateNodePoolRequest
type UpdateNodePoolRequest struct {
// Field mask is used to specify the fields to be overwritten in the
// NodePool resource by the update.
// The fields specified in the update_mask are relative to the resource, not
// the full request. A field will be overwritten if it is in the mask. If the
// user does not provide a mask then all fields will be overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// The updated node pool.
NodePool *NodePool `protobuf:"bytes,2,opt,name=node_pool,json=nodePool,proto3" json:"node_pool,omitempty"`
// A unique identifier for this request. Restricted to 36 ASCII characters. A
// random UUID is recommended. This request is only idempotent if
// `request_id` is provided.
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Updates a node pool.
func (*UpdateNodePoolRequest) Descriptor
func (*UpdateNodePoolRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateNodePoolRequest.ProtoReflect.Descriptor instead.
func (*UpdateNodePoolRequest) GetNodePool
func (x *UpdateNodePoolRequest) GetNodePool() *NodePoolfunc (*UpdateNodePoolRequest) GetRequestId
func (x *UpdateNodePoolRequest) GetRequestId() stringfunc (*UpdateNodePoolRequest) GetUpdateMask
func (x *UpdateNodePoolRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateNodePoolRequest) ProtoMessage
func (*UpdateNodePoolRequest) ProtoMessage()func (*UpdateNodePoolRequest) ProtoReflect
func (x *UpdateNodePoolRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateNodePoolRequest) Reset
func (x *UpdateNodePoolRequest) Reset()func (*UpdateNodePoolRequest) String
func (x *UpdateNodePoolRequest) String() stringUpgradeClusterRequest
type UpgradeClusterRequest struct {
// Required. The resource name of the cluster.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The version the cluster is going to be upgraded to.
TargetVersion string `protobuf:"bytes,2,opt,name=target_version,json=targetVersion,proto3" json:"target_version,omitempty"`
// The schedule for the upgrade.
Schedule UpgradeClusterRequest_Schedule `protobuf:"varint,3,opt,name=schedule,proto3,enum=google.cloud.edgecontainer.v1.UpgradeClusterRequest_Schedule" json:"schedule,omitempty"`
// A unique identifier for this request. Restricted to 36 ASCII characters. A
// random UUID is recommended. This request is only idempotent if
// `request_id` is provided.
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Upgrades a cluster.
func (*UpgradeClusterRequest) Descriptor
func (*UpgradeClusterRequest) Descriptor() ([]byte, []int)Deprecated: Use UpgradeClusterRequest.ProtoReflect.Descriptor instead.
func (*UpgradeClusterRequest) GetName
func (x *UpgradeClusterRequest) GetName() stringfunc (*UpgradeClusterRequest) GetRequestId
func (x *UpgradeClusterRequest) GetRequestId() stringfunc (*UpgradeClusterRequest) GetSchedule
func (x *UpgradeClusterRequest) GetSchedule() UpgradeClusterRequest_Schedulefunc (*UpgradeClusterRequest) GetTargetVersion
func (x *UpgradeClusterRequest) GetTargetVersion() stringfunc (*UpgradeClusterRequest) ProtoMessage
func (*UpgradeClusterRequest) ProtoMessage()func (*UpgradeClusterRequest) ProtoReflect
func (x *UpgradeClusterRequest) ProtoReflect() protoreflect.Messagefunc (*UpgradeClusterRequest) Reset
func (x *UpgradeClusterRequest) Reset()func (*UpgradeClusterRequest) String
func (x *UpgradeClusterRequest) String() stringUpgradeClusterRequest_Schedule
type UpgradeClusterRequest_Schedule int32Represents the schedule about when the cluster is going to be upgraded.
UpgradeClusterRequest_SCHEDULE_UNSPECIFIED, UpgradeClusterRequest_IMMEDIATELY
const (
// Unspecified. The default is to upgrade the cluster immediately which is
// the only option today.
UpgradeClusterRequest_SCHEDULE_UNSPECIFIED UpgradeClusterRequest_Schedule = 0
// The cluster is going to be upgraded immediately after receiving the
// request.
UpgradeClusterRequest_IMMEDIATELY UpgradeClusterRequest_Schedule = 1
)func (UpgradeClusterRequest_Schedule) Descriptor
func (UpgradeClusterRequest_Schedule) Descriptor() protoreflect.EnumDescriptorfunc (UpgradeClusterRequest_Schedule) Enum
func (x UpgradeClusterRequest_Schedule) Enum() *UpgradeClusterRequest_Schedulefunc (UpgradeClusterRequest_Schedule) EnumDescriptor
func (UpgradeClusterRequest_Schedule) EnumDescriptor() ([]byte, []int)Deprecated: Use UpgradeClusterRequest_Schedule.Descriptor instead.
func (UpgradeClusterRequest_Schedule) Number
func (x UpgradeClusterRequest_Schedule) Number() protoreflect.EnumNumberfunc (UpgradeClusterRequest_Schedule) String
func (x UpgradeClusterRequest_Schedule) String() stringfunc (UpgradeClusterRequest_Schedule) Type
func (UpgradeClusterRequest_Schedule) Type() protoreflect.EnumTypeVersion
type Version struct {
// Output only. Name of the version, e.g.: "1.4.0".
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Version of a cluster.
func (*Version) Descriptor
Deprecated: Use Version.ProtoReflect.Descriptor instead.
func (*Version) GetName
func (*Version) ProtoMessage
func (*Version) ProtoMessage()func (*Version) ProtoReflect
func (x *Version) ProtoReflect() protoreflect.Messagefunc (*Version) Reset
func (x *Version) Reset()func (*Version) String
VpnConnection
type VpnConnection struct {
// Required. The resource name of VPN connection
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The time when the VPN connection was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time when the VPN connection was last updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Labels associated with this resource.
Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// NAT gateway IP, or WAN IP address. If a customer has multiple NAT IPs, the
// customer needs to configure NAT such that only one external IP maps to the
// GMEC Anthos cluster. This is empty if NAT is not used.
NatGatewayIp string `protobuf:"bytes,5,opt,name=nat_gateway_ip,json=natGatewayIp,proto3" json:"nat_gateway_ip,omitempty"`
// Dynamic routing mode of the VPC network, `regional` or `global`.
//
// Deprecated: Marked as deprecated in google/cloud/edgecontainer/v1/resources.proto.
BgpRoutingMode VpnConnection_BgpRoutingMode `protobuf:"varint,6,opt,name=bgp_routing_mode,json=bgpRoutingMode,proto3,enum=google.cloud.edgecontainer.v1.VpnConnection_BgpRoutingMode" json:"bgp_routing_mode,omitempty"`
// The canonical Cluster name to connect to. It is in the form of
// projects/{project}/locations/{location}/clusters/{cluster}.
Cluster string `protobuf:"bytes,7,opt,name=cluster,proto3" json:"cluster,omitempty"`
// The network ID of VPC to connect to.
Vpc string `protobuf:"bytes,8,opt,name=vpc,proto3" json:"vpc,omitempty"`
// Optional. Project detail of the VPC network. Required if VPC is in a
// different project than the cluster project.
VpcProject *VpnConnection_VpcProject `protobuf:"bytes,11,opt,name=vpc_project,json=vpcProject,proto3" json:"vpc_project,omitempty"`
// Whether this VPN connection has HA enabled on cluster side. If enabled,
// when creating VPN connection we will attempt to use 2 ANG floating IPs.
EnableHighAvailability bool `protobuf:"varint,9,opt,name=enable_high_availability,json=enableHighAvailability,proto3" json:"enable_high_availability,omitempty"`
// Optional. The VPN connection Cloud Router name.
Router string `protobuf:"bytes,12,opt,name=router,proto3" json:"router,omitempty"`
// Output only. The created connection details.
Details *VpnConnection_Details `protobuf:"bytes,10,opt,name=details,proto3" json:"details,omitempty"`
// contains filtered or unexported fields
}A VPN connection .
func (*VpnConnection) Descriptor
func (*VpnConnection) Descriptor() ([]byte, []int)Deprecated: Use VpnConnection.ProtoReflect.Descriptor instead.
func (*VpnConnection) GetBgpRoutingMode
func (x *VpnConnection) GetBgpRoutingMode() VpnConnection_BgpRoutingModeDeprecated: Marked as deprecated in google/cloud/edgecontainer/v1/resources.proto.
func (*VpnConnection) GetCluster
func (x *VpnConnection) GetCluster() stringfunc (*VpnConnection) GetCreateTime
func (x *VpnConnection) GetCreateTime() *timestamppb.Timestampfunc (*VpnConnection) GetDetails
func (x *VpnConnection) GetDetails() *VpnConnection_Detailsfunc (*VpnConnection) GetEnableHighAvailability
func (x *VpnConnection) GetEnableHighAvailability() boolfunc (*VpnConnection) GetLabels
func (x *VpnConnection) GetLabels() map[string]stringfunc (*VpnConnection) GetName
func (x *VpnConnection) GetName() stringfunc (*VpnConnection) GetNatGatewayIp
func (x *VpnConnection) GetNatGatewayIp() stringfunc (*VpnConnection) GetRouter
func (x *VpnConnection) GetRouter() stringfunc (*VpnConnection) GetUpdateTime
func (x *VpnConnection) GetUpdateTime() *timestamppb.Timestampfunc (*VpnConnection) GetVpc
func (x *VpnConnection) GetVpc() stringfunc (*VpnConnection) GetVpcProject
func (x *VpnConnection) GetVpcProject() *VpnConnection_VpcProjectfunc (*VpnConnection) ProtoMessage
func (*VpnConnection) ProtoMessage()func (*VpnConnection) ProtoReflect
func (x *VpnConnection) ProtoReflect() protoreflect.Messagefunc (*VpnConnection) Reset
func (x *VpnConnection) Reset()func (*VpnConnection) String
func (x *VpnConnection) String() stringVpnConnection_BgpRoutingMode
type VpnConnection_BgpRoutingMode int32Routing mode.
VpnConnection_BGP_ROUTING_MODE_UNSPECIFIED, VpnConnection_REGIONAL, VpnConnection_GLOBAL
const (
// Unknown.
VpnConnection_BGP_ROUTING_MODE_UNSPECIFIED VpnConnection_BgpRoutingMode = 0
// Regional mode.
VpnConnection_REGIONAL VpnConnection_BgpRoutingMode = 1
// Global mode.
VpnConnection_GLOBAL VpnConnection_BgpRoutingMode = 2
)func (VpnConnection_BgpRoutingMode) Descriptor
func (VpnConnection_BgpRoutingMode) Descriptor() protoreflect.EnumDescriptorfunc (VpnConnection_BgpRoutingMode) Enum
func (x VpnConnection_BgpRoutingMode) Enum() *VpnConnection_BgpRoutingModefunc (VpnConnection_BgpRoutingMode) EnumDescriptor
func (VpnConnection_BgpRoutingMode) EnumDescriptor() ([]byte, []int)Deprecated: Use VpnConnection_BgpRoutingMode.Descriptor instead.
func (VpnConnection_BgpRoutingMode) Number
func (x VpnConnection_BgpRoutingMode) Number() protoreflect.EnumNumberfunc (VpnConnection_BgpRoutingMode) String
func (x VpnConnection_BgpRoutingMode) String() stringfunc (VpnConnection_BgpRoutingMode) Type
func (VpnConnection_BgpRoutingMode) Type() protoreflect.EnumTypeVpnConnection_Details
type VpnConnection_Details struct {
// The state of this connection.
State VpnConnection_Details_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.edgecontainer.v1.VpnConnection_Details_State" json:"state,omitempty"`
// The error message. This is only populated when state=ERROR.
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// The Cloud Router info.
CloudRouter *VpnConnection_Details_CloudRouter `protobuf:"bytes,3,opt,name=cloud_router,json=cloudRouter,proto3" json:"cloud_router,omitempty"`
// Each connection has multiple Cloud VPN gateways.
CloudVpns []*VpnConnection_Details_CloudVpn `protobuf:"bytes,4,rep,name=cloud_vpns,json=cloudVpns,proto3" json:"cloud_vpns,omitempty"`
// contains filtered or unexported fields
}The created connection details.
func (*VpnConnection_Details) Descriptor
func (*VpnConnection_Details) Descriptor() ([]byte, []int)Deprecated: Use VpnConnection_Details.ProtoReflect.Descriptor instead.
func (*VpnConnection_Details) GetCloudRouter
func (x *VpnConnection_Details) GetCloudRouter() *VpnConnection_Details_CloudRouterfunc (*VpnConnection_Details) GetCloudVpns
func (x *VpnConnection_Details) GetCloudVpns() []*VpnConnection_Details_CloudVpnfunc (*VpnConnection_Details) GetError
func (x *VpnConnection_Details) GetError() stringfunc (*VpnConnection_Details) GetState
func (x *VpnConnection_Details) GetState() VpnConnection_Details_Statefunc (*VpnConnection_Details) ProtoMessage
func (*VpnConnection_Details) ProtoMessage()func (*VpnConnection_Details) ProtoReflect
func (x *VpnConnection_Details) ProtoReflect() protoreflect.Messagefunc (*VpnConnection_Details) Reset
func (x *VpnConnection_Details) Reset()func (*VpnConnection_Details) String
func (x *VpnConnection_Details) String() stringVpnConnection_Details_CloudRouter
type VpnConnection_Details_CloudRouter struct {
// The associated Cloud Router name.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}The Cloud Router info.
func (*VpnConnection_Details_CloudRouter) Descriptor
func (*VpnConnection_Details_CloudRouter) Descriptor() ([]byte, []int)Deprecated: Use VpnConnection_Details_CloudRouter.ProtoReflect.Descriptor instead.
func (*VpnConnection_Details_CloudRouter) GetName
func (x *VpnConnection_Details_CloudRouter) GetName() stringfunc (*VpnConnection_Details_CloudRouter) ProtoMessage
func (*VpnConnection_Details_CloudRouter) ProtoMessage()func (*VpnConnection_Details_CloudRouter) ProtoReflect
func (x *VpnConnection_Details_CloudRouter) ProtoReflect() protoreflect.Messagefunc (*VpnConnection_Details_CloudRouter) Reset
func (x *VpnConnection_Details_CloudRouter) Reset()func (*VpnConnection_Details_CloudRouter) String
func (x *VpnConnection_Details_CloudRouter) String() stringVpnConnection_Details_CloudVpn
type VpnConnection_Details_CloudVpn struct {
// The created Cloud VPN gateway name.
Gateway string `protobuf:"bytes,1,opt,name=gateway,proto3" json:"gateway,omitempty"`
// contains filtered or unexported fields
}The Cloud VPN info.
func (*VpnConnection_Details_CloudVpn) Descriptor
func (*VpnConnection_Details_CloudVpn) Descriptor() ([]byte, []int)Deprecated: Use VpnConnection_Details_CloudVpn.ProtoReflect.Descriptor instead.
func (*VpnConnection_Details_CloudVpn) GetGateway
func (x *VpnConnection_Details_CloudVpn) GetGateway() stringfunc (*VpnConnection_Details_CloudVpn) ProtoMessage
func (*VpnConnection_Details_CloudVpn) ProtoMessage()func (*VpnConnection_Details_CloudVpn) ProtoReflect
func (x *VpnConnection_Details_CloudVpn) ProtoReflect() protoreflect.Messagefunc (*VpnConnection_Details_CloudVpn) Reset
func (x *VpnConnection_Details_CloudVpn) Reset()func (*VpnConnection_Details_CloudVpn) String
func (x *VpnConnection_Details_CloudVpn) String() stringVpnConnection_Details_State
type VpnConnection_Details_State int32The current connection state.
VpnConnection_Details_STATE_UNSPECIFIED, VpnConnection_Details_STATE_CONNECTED, VpnConnection_Details_STATE_CONNECTING, VpnConnection_Details_STATE_ERROR
const (
// Unknown.
VpnConnection_Details_STATE_UNSPECIFIED VpnConnection_Details_State = 0
// Connected.
VpnConnection_Details_STATE_CONNECTED VpnConnection_Details_State = 1
// Still connecting.
VpnConnection_Details_STATE_CONNECTING VpnConnection_Details_State = 2
// Error occurred.
VpnConnection_Details_STATE_ERROR VpnConnection_Details_State = 3
)func (VpnConnection_Details_State) Descriptor
func (VpnConnection_Details_State) Descriptor() protoreflect.EnumDescriptorfunc (VpnConnection_Details_State) Enum
func (x VpnConnection_Details_State) Enum() *VpnConnection_Details_Statefunc (VpnConnection_Details_State) EnumDescriptor
func (VpnConnection_Details_State) EnumDescriptor() ([]byte, []int)Deprecated: Use VpnConnection_Details_State.Descriptor instead.
func (VpnConnection_Details_State) Number
func (x VpnConnection_Details_State) Number() protoreflect.EnumNumberfunc (VpnConnection_Details_State) String
func (x VpnConnection_Details_State) String() stringfunc (VpnConnection_Details_State) Type
func (VpnConnection_Details_State) Type() protoreflect.EnumTypeVpnConnection_VpcProject
type VpnConnection_VpcProject struct {
// The project of the VPC to connect to. If not specified, it is the same as
// the cluster project.
ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
// Optional. Deprecated: do not use.
//
// Deprecated: Marked as deprecated in google/cloud/edgecontainer/v1/resources.proto.
ServiceAccount string `protobuf:"bytes,2,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
// contains filtered or unexported fields
}Project detail of the VPC network.
func (*VpnConnection_VpcProject) Descriptor
func (*VpnConnection_VpcProject) Descriptor() ([]byte, []int)Deprecated: Use VpnConnection_VpcProject.ProtoReflect.Descriptor instead.
func (*VpnConnection_VpcProject) GetProjectId
func (x *VpnConnection_VpcProject) GetProjectId() stringfunc (*VpnConnection_VpcProject) GetServiceAccount
func (x *VpnConnection_VpcProject) GetServiceAccount() stringDeprecated: Marked as deprecated in google/cloud/edgecontainer/v1/resources.proto.
func (*VpnConnection_VpcProject) ProtoMessage
func (*VpnConnection_VpcProject) ProtoMessage()func (*VpnConnection_VpcProject) ProtoReflect
func (x *VpnConnection_VpcProject) ProtoReflect() protoreflect.Messagefunc (*VpnConnection_VpcProject) Reset
func (x *VpnConnection_VpcProject) Reset()func (*VpnConnection_VpcProject) String
func (x *VpnConnection_VpcProject) String() stringZoneMetadata
type ZoneMetadata struct {
// Quota for resources in this zone.
Quota []*Quota `protobuf:"bytes,1,rep,name=quota,proto3" json:"quota,omitempty"`
// The map keyed by rack name and has value of RackType.
RackTypes map[string]ZoneMetadata_RackType `protobuf:"bytes,2,rep,name=rack_types,json=rackTypes,proto3" json:"rack_types,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=google.cloud.edgecontainer.v1.ZoneMetadata_RackType"`
// Config data for the zone.
ConfigData *ConfigData `protobuf:"bytes,3,opt,name=config_data,json=configData,proto3" json:"config_data,omitempty"`
// contains filtered or unexported fields
}A Google Distributed Cloud Edge zone where edge machines are located.
func (*ZoneMetadata) Descriptor
func (*ZoneMetadata) Descriptor() ([]byte, []int)Deprecated: Use ZoneMetadata.ProtoReflect.Descriptor instead.
func (*ZoneMetadata) GetConfigData
func (x *ZoneMetadata) GetConfigData() *ConfigDatafunc (*ZoneMetadata) GetQuota
func (x *ZoneMetadata) GetQuota() []*Quotafunc (*ZoneMetadata) GetRackTypes
func (x *ZoneMetadata) GetRackTypes() map[string]ZoneMetadata_RackTypefunc (*ZoneMetadata) ProtoMessage
func (*ZoneMetadata) ProtoMessage()func (*ZoneMetadata) ProtoReflect
func (x *ZoneMetadata) ProtoReflect() protoreflect.Messagefunc (*ZoneMetadata) Reset
func (x *ZoneMetadata) Reset()func (*ZoneMetadata) String
func (x *ZoneMetadata) String() stringZoneMetadata_RackType
type ZoneMetadata_RackType int32Type of the rack.
ZoneMetadata_RACK_TYPE_UNSPECIFIED, ZoneMetadata_BASE, ZoneMetadata_EXPANSION
const (
// Unspecified rack type, single rack also belongs to this type.
ZoneMetadata_RACK_TYPE_UNSPECIFIED ZoneMetadata_RackType = 0
// Base rack type, a pair of two modified Config-1 racks containing
// Aggregation switches.
ZoneMetadata_BASE ZoneMetadata_RackType = 1
// Expansion rack type, also known as standalone racks,
// added by customers on demand.
ZoneMetadata_EXPANSION ZoneMetadata_RackType = 2
)func (ZoneMetadata_RackType) Descriptor
func (ZoneMetadata_RackType) Descriptor() protoreflect.EnumDescriptorfunc (ZoneMetadata_RackType) Enum
func (x ZoneMetadata_RackType) Enum() *ZoneMetadata_RackTypefunc (ZoneMetadata_RackType) EnumDescriptor
func (ZoneMetadata_RackType) EnumDescriptor() ([]byte, []int)Deprecated: Use ZoneMetadata_RackType.Descriptor instead.
func (ZoneMetadata_RackType) Number
func (x ZoneMetadata_RackType) Number() protoreflect.EnumNumberfunc (ZoneMetadata_RackType) String
func (x ZoneMetadata_RackType) String() stringfunc (ZoneMetadata_RackType) Type
func (ZoneMetadata_RackType) Type() protoreflect.EnumType