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.
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.
File_google_cloud_edgecontainer_v1_resources_proto
var File_google_cloud_edgecontainer_v1_resources_proto protoreflect.FileDescriptor
File_google_cloud_edgecontainer_v1_service_proto
var File_google_cloud_edgecontainer_v1_service_proto protoreflect.FileDescriptor
Functions
func RegisterEdgeContainerServer
func RegisterEdgeContainerServer(s *grpc.Server, 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() *ClusterUser
func (*Authorization) ProtoMessage
func (*Authorization) ProtoMessage()
func (*Authorization) ProtoReflect
func (x *Authorization) ProtoReflect() protoreflect.Message
func (*Authorization) Reset
func (x *Authorization) Reset()
func (*Authorization) String
func (x *Authorization) String() string
Cluster
type Cluster struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
Labels map[string]string "" /* 153 byte string literal not displayed */
Fleet *Fleet `protobuf:"bytes,11,opt,name=fleet,proto3" json:"fleet,omitempty"`
Networking *ClusterNetworking `protobuf:"bytes,7,opt,name=networking,proto3" json:"networking,omitempty"`
Authorization *Authorization `protobuf:"bytes,9,opt,name=authorization,proto3" json:"authorization,omitempty"`
DefaultMaxPodsPerNode int32 "" /* 131 byte string literal not displayed */
Endpoint string `protobuf:"bytes,6,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
ClusterCaCertificate string `protobuf:"bytes,10,opt,name=cluster_ca_certificate,json=clusterCaCertificate,proto3" json:"cluster_ca_certificate,omitempty"`
MaintenancePolicy *MaintenancePolicy `protobuf:"bytes,12,opt,name=maintenance_policy,json=maintenancePolicy,proto3" json:"maintenance_policy,omitempty"`
}
A Google Distributed Cloud Edge Kubernetes cluster.
func (*Cluster) Descriptor
Deprecated: Use Cluster.ProtoReflect.Descriptor instead.
func (*Cluster) GetAuthorization
func (x *Cluster) GetAuthorization() *Authorization
func (*Cluster) GetClusterCaCertificate
func (*Cluster) GetCreateTime
func (x *Cluster) GetCreateTime() *timestamppb.Timestamp
func (*Cluster) GetDefaultMaxPodsPerNode
func (*Cluster) GetEndpoint
func (*Cluster) GetFleet
func (*Cluster) GetLabels
func (*Cluster) GetMaintenancePolicy
func (x *Cluster) GetMaintenancePolicy() *MaintenancePolicy
func (*Cluster) GetName
func (*Cluster) GetNetworking
func (x *Cluster) GetNetworking() *ClusterNetworking
func (*Cluster) GetUpdateTime
func (x *Cluster) GetUpdateTime() *timestamppb.Timestamp
func (*Cluster) ProtoMessage
func (*Cluster) ProtoMessage()
func (*Cluster) ProtoReflect
func (x *Cluster) ProtoReflect() protoreflect.Message
func (*Cluster) Reset
func (x *Cluster) Reset()
func (*Cluster) String
ClusterNetworking
type ClusterNetworking struct {
ClusterIpv4CidrBlocks []string "" /* 128 byte string literal not displayed */
ServicesIpv4CidrBlocks []string "" /* 131 byte string literal not displayed */
}
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() []string
func (*ClusterNetworking) GetServicesIpv4CidrBlocks
func (x *ClusterNetworking) GetServicesIpv4CidrBlocks() []string
func (*ClusterNetworking) ProtoMessage
func (*ClusterNetworking) ProtoMessage()
func (*ClusterNetworking) ProtoReflect
func (x *ClusterNetworking) ProtoReflect() protoreflect.Message
func (*ClusterNetworking) Reset
func (x *ClusterNetworking) Reset()
func (*ClusterNetworking) String
func (x *ClusterNetworking) String() string
ClusterUser
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() string
func (*ClusterUser) ProtoMessage
func (*ClusterUser) ProtoMessage()
func (*ClusterUser) ProtoReflect
func (x *ClusterUser) ProtoReflect() protoreflect.Message
func (*ClusterUser) Reset
func (x *ClusterUser) Reset()
func (*ClusterUser) String
func (x *ClusterUser) String() string
CreateClusterRequest
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() *Cluster
func (*CreateClusterRequest) GetClusterId
func (x *CreateClusterRequest) GetClusterId() string
func (*CreateClusterRequest) GetParent
func (x *CreateClusterRequest) GetParent() string
func (*CreateClusterRequest) GetRequestId
func (x *CreateClusterRequest) GetRequestId() string
func (*CreateClusterRequest) ProtoMessage
func (*CreateClusterRequest) ProtoMessage()
func (*CreateClusterRequest) ProtoReflect
func (x *CreateClusterRequest) ProtoReflect() protoreflect.Message
func (*CreateClusterRequest) Reset
func (x *CreateClusterRequest) Reset()
func (*CreateClusterRequest) String
func (x *CreateClusterRequest) String() string
CreateNodePoolRequest
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() *NodePool
func (*CreateNodePoolRequest) GetNodePoolId
func (x *CreateNodePoolRequest) GetNodePoolId() string
func (*CreateNodePoolRequest) GetParent
func (x *CreateNodePoolRequest) GetParent() string
func (*CreateNodePoolRequest) GetRequestId
func (x *CreateNodePoolRequest) GetRequestId() string
func (*CreateNodePoolRequest) ProtoMessage
func (*CreateNodePoolRequest) ProtoMessage()
func (*CreateNodePoolRequest) ProtoReflect
func (x *CreateNodePoolRequest) ProtoReflect() protoreflect.Message
func (*CreateNodePoolRequest) Reset
func (x *CreateNodePoolRequest) Reset()
func (*CreateNodePoolRequest) String
func (x *CreateNodePoolRequest) String() string
CreateVpnConnectionRequest
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() string
func (*CreateVpnConnectionRequest) GetRequestId
func (x *CreateVpnConnectionRequest) GetRequestId() string
func (*CreateVpnConnectionRequest) GetVpnConnection
func (x *CreateVpnConnectionRequest) GetVpnConnection() *VpnConnection
func (*CreateVpnConnectionRequest) GetVpnConnectionId
func (x *CreateVpnConnectionRequest) GetVpnConnectionId() string
func (*CreateVpnConnectionRequest) ProtoMessage
func (*CreateVpnConnectionRequest) ProtoMessage()
func (*CreateVpnConnectionRequest) ProtoReflect
func (x *CreateVpnConnectionRequest) ProtoReflect() protoreflect.Message
func (*CreateVpnConnectionRequest) Reset
func (x *CreateVpnConnectionRequest) Reset()
func (*CreateVpnConnectionRequest) String
func (x *CreateVpnConnectionRequest) String() string
DeleteClusterRequest
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() string
func (*DeleteClusterRequest) GetRequestId
func (x *DeleteClusterRequest) GetRequestId() string
func (*DeleteClusterRequest) ProtoMessage
func (*DeleteClusterRequest) ProtoMessage()
func (*DeleteClusterRequest) ProtoReflect
func (x *DeleteClusterRequest) ProtoReflect() protoreflect.Message
func (*DeleteClusterRequest) Reset
func (x *DeleteClusterRequest) Reset()
func (*DeleteClusterRequest) String
func (x *DeleteClusterRequest) String() string
DeleteNodePoolRequest
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() string
func (*DeleteNodePoolRequest) GetRequestId
func (x *DeleteNodePoolRequest) GetRequestId() string
func (*DeleteNodePoolRequest) ProtoMessage
func (*DeleteNodePoolRequest) ProtoMessage()
func (*DeleteNodePoolRequest) ProtoReflect
func (x *DeleteNodePoolRequest) ProtoReflect() protoreflect.Message
func (*DeleteNodePoolRequest) Reset
func (x *DeleteNodePoolRequest) Reset()
func (*DeleteNodePoolRequest) String
func (x *DeleteNodePoolRequest) String() string
DeleteVpnConnectionRequest
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() string
func (*DeleteVpnConnectionRequest) GetRequestId
func (x *DeleteVpnConnectionRequest) GetRequestId() string
func (*DeleteVpnConnectionRequest) ProtoMessage
func (*DeleteVpnConnectionRequest) ProtoMessage()
func (*DeleteVpnConnectionRequest) ProtoReflect
func (x *DeleteVpnConnectionRequest) ProtoReflect() protoreflect.Message
func (*DeleteVpnConnectionRequest) Reset
func (x *DeleteVpnConnectionRequest) Reset()
func (*DeleteVpnConnectionRequest) String
func (x *DeleteVpnConnectionRequest) String() string
EdgeContainerClient
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)
// 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)
// 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)
}
EdgeContainerClient is the client API for EdgeContainer service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewEdgeContainerClient
func NewEdgeContainerClient(cc grpc.ClientConnInterface) EdgeContainerClient
EdgeContainerServer
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)
// Deletes a single Cluster.
DeleteCluster(context.Context, *DeleteClusterRequest) (*longrunningpb.Operation, error)
// Generates an access token for a Cluster.
GenerateAccessToken(context.Context, *GenerateAccessTokenRequest) (*GenerateAccessTokenResponse, 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)
}
EdgeContainerServer is the server API for EdgeContainer service.
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.Message
func (*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() string
func (*GenerateAccessTokenRequest) ProtoMessage
func (*GenerateAccessTokenRequest) ProtoMessage()
func (*GenerateAccessTokenRequest) ProtoReflect
func (x *GenerateAccessTokenRequest) ProtoReflect() protoreflect.Message
func (*GenerateAccessTokenRequest) Reset
func (x *GenerateAccessTokenRequest) Reset()
func (*GenerateAccessTokenRequest) String
func (x *GenerateAccessTokenRequest) String() string
GenerateAccessTokenResponse
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() string
func (*GenerateAccessTokenResponse) GetExpireTime
func (x *GenerateAccessTokenResponse) GetExpireTime() *timestamppb.Timestamp
func (*GenerateAccessTokenResponse) ProtoMessage
func (*GenerateAccessTokenResponse) ProtoMessage()
func (*GenerateAccessTokenResponse) ProtoReflect
func (x *GenerateAccessTokenResponse) ProtoReflect() protoreflect.Message
func (*GenerateAccessTokenResponse) Reset
func (x *GenerateAccessTokenResponse) Reset()
func (*GenerateAccessTokenResponse) String
func (x *GenerateAccessTokenResponse) String() string
GetClusterRequest
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() string
func (*GetClusterRequest) ProtoMessage
func (*GetClusterRequest) ProtoMessage()
func (*GetClusterRequest) ProtoReflect
func (x *GetClusterRequest) ProtoReflect() protoreflect.Message
func (*GetClusterRequest) Reset
func (x *GetClusterRequest) Reset()
func (*GetClusterRequest) String
func (x *GetClusterRequest) String() string
GetMachineRequest
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() string
func (*GetMachineRequest) ProtoMessage
func (*GetMachineRequest) ProtoMessage()
func (*GetMachineRequest) ProtoReflect
func (x *GetMachineRequest) ProtoReflect() protoreflect.Message
func (*GetMachineRequest) Reset
func (x *GetMachineRequest) Reset()
func (*GetMachineRequest) String
func (x *GetMachineRequest) String() string
GetNodePoolRequest
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() string
func (*GetNodePoolRequest) ProtoMessage
func (*GetNodePoolRequest) ProtoMessage()
func (*GetNodePoolRequest) ProtoReflect
func (x *GetNodePoolRequest) ProtoReflect() protoreflect.Message
func (*GetNodePoolRequest) Reset
func (x *GetNodePoolRequest) Reset()
func (*GetNodePoolRequest) String
func (x *GetNodePoolRequest) String() string
GetVpnConnectionRequest
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() string
func (*GetVpnConnectionRequest) ProtoMessage
func (*GetVpnConnectionRequest) ProtoMessage()
func (*GetVpnConnectionRequest) ProtoReflect
func (x *GetVpnConnectionRequest) ProtoReflect() protoreflect.Message
func (*GetVpnConnectionRequest) Reset
func (x *GetVpnConnectionRequest) Reset()
func (*GetVpnConnectionRequest) String
func (x *GetVpnConnectionRequest) String() string
KmsKeyState
type KmsKeyState int32
Represents 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.EnumDescriptor
func (KmsKeyState) Enum
func (x KmsKeyState) Enum() *KmsKeyState
func (KmsKeyState) EnumDescriptor
func (KmsKeyState) EnumDescriptor() ([]byte, []int)
Deprecated: Use KmsKeyState.Descriptor instead.
func (KmsKeyState) Number
func (x KmsKeyState) Number() protoreflect.EnumNumber
func (KmsKeyState) String
func (x KmsKeyState) String() string
func (KmsKeyState) Type
func (KmsKeyState) Type() protoreflect.EnumType
ListClustersRequest
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() string
func (*ListClustersRequest) GetOrderBy
func (x *ListClustersRequest) GetOrderBy() string
func (*ListClustersRequest) GetPageSize
func (x *ListClustersRequest) GetPageSize() int32
func (*ListClustersRequest) GetPageToken
func (x *ListClustersRequest) GetPageToken() string
func (*ListClustersRequest) GetParent
func (x *ListClustersRequest) GetParent() string
func (*ListClustersRequest) ProtoMessage
func (*ListClustersRequest) ProtoMessage()
func (*ListClustersRequest) ProtoReflect
func (x *ListClustersRequest) ProtoReflect() protoreflect.Message
func (*ListClustersRequest) Reset
func (x *ListClustersRequest) Reset()
func (*ListClustersRequest) String
func (x *ListClustersRequest) String() string
ListClustersResponse
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() []*Cluster
func (*ListClustersResponse) GetNextPageToken
func (x *ListClustersResponse) GetNextPageToken() string
func (*ListClustersResponse) GetUnreachable
func (x *ListClustersResponse) GetUnreachable() []string
func (*ListClustersResponse) ProtoMessage
func (*ListClustersResponse) ProtoMessage()
func (*ListClustersResponse) ProtoReflect
func (x *ListClustersResponse) ProtoReflect() protoreflect.Message
func (*ListClustersResponse) Reset
func (x *ListClustersResponse) Reset()
func (*ListClustersResponse) String
func (x *ListClustersResponse) String() string
ListMachinesRequest
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() string
func (*ListMachinesRequest) GetOrderBy
func (x *ListMachinesRequest) GetOrderBy() string
func (*ListMachinesRequest) GetPageSize
func (x *ListMachinesRequest) GetPageSize() int32
func (*ListMachinesRequest) GetPageToken
func (x *ListMachinesRequest) GetPageToken() string
func (*ListMachinesRequest) GetParent
func (x *ListMachinesRequest) GetParent() string
func (*ListMachinesRequest) ProtoMessage
func (*ListMachinesRequest) ProtoMessage()
func (*ListMachinesRequest) ProtoReflect
func (x *ListMachinesRequest) ProtoReflect() protoreflect.Message
func (*ListMachinesRequest) Reset
func (x *ListMachinesRequest) Reset()
func (*ListMachinesRequest) String
func (x *ListMachinesRequest) String() string
ListMachinesResponse
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() []*Machine
func (*ListMachinesResponse) GetNextPageToken
func (x *ListMachinesResponse) GetNextPageToken() string
func (*ListMachinesResponse) GetUnreachable
func (x *ListMachinesResponse) GetUnreachable() []string
func (*ListMachinesResponse) ProtoMessage
func (*ListMachinesResponse) ProtoMessage()
func (*ListMachinesResponse) ProtoReflect
func (x *ListMachinesResponse) ProtoReflect() protoreflect.Message
func (*ListMachinesResponse) Reset
func (x *ListMachinesResponse) Reset()
func (*ListMachinesResponse) String
func (x *ListMachinesResponse) String() string
ListNodePoolsRequest
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() string
func (*ListNodePoolsRequest) GetOrderBy
func (x *ListNodePoolsRequest) GetOrderBy() string
func (*ListNodePoolsRequest) GetPageSize
func (x *ListNodePoolsRequest) GetPageSize() int32
func (*ListNodePoolsRequest) GetPageToken
func (x *ListNodePoolsRequest) GetPageToken() string
func (*ListNodePoolsRequest) GetParent
func (x *ListNodePoolsRequest) GetParent() string
func (*ListNodePoolsRequest) ProtoMessage
func (*ListNodePoolsRequest) ProtoMessage()
func (*ListNodePoolsRequest) ProtoReflect
func (x *ListNodePoolsRequest) ProtoReflect() protoreflect.Message
func (*ListNodePoolsRequest) Reset
func (x *ListNodePoolsRequest) Reset()
func (*ListNodePoolsRequest) String
func (x *ListNodePoolsRequest) String() string
ListNodePoolsResponse
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() string
func (*ListNodePoolsResponse) GetNodePools
func (x *ListNodePoolsResponse) GetNodePools() []*NodePool
func (*ListNodePoolsResponse) GetUnreachable
func (x *ListNodePoolsResponse) GetUnreachable() []string
func (*ListNodePoolsResponse) ProtoMessage
func (*ListNodePoolsResponse) ProtoMessage()
func (*ListNodePoolsResponse) ProtoReflect
func (x *ListNodePoolsResponse) ProtoReflect() protoreflect.Message
func (*ListNodePoolsResponse) Reset
func (x *ListNodePoolsResponse) Reset()
func (*ListNodePoolsResponse) String
func (x *ListNodePoolsResponse) String() string
ListVpnConnectionsRequest
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() string
func (*ListVpnConnectionsRequest) GetOrderBy
func (x *ListVpnConnectionsRequest) GetOrderBy() string
func (*ListVpnConnectionsRequest) GetPageSize
func (x *ListVpnConnectionsRequest) GetPageSize() int32
func (*ListVpnConnectionsRequest) GetPageToken
func (x *ListVpnConnectionsRequest) GetPageToken() string
func (*ListVpnConnectionsRequest) GetParent
func (x *ListVpnConnectionsRequest) GetParent() string
func (*ListVpnConnectionsRequest) ProtoMessage
func (*ListVpnConnectionsRequest) ProtoMessage()
func (*ListVpnConnectionsRequest) ProtoReflect
func (x *ListVpnConnectionsRequest) ProtoReflect() protoreflect.Message
func (*ListVpnConnectionsRequest) Reset
func (x *ListVpnConnectionsRequest) Reset()
func (*ListVpnConnectionsRequest) String
func (x *ListVpnConnectionsRequest) String() string
ListVpnConnectionsResponse
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() string
func (*ListVpnConnectionsResponse) GetUnreachable
func (x *ListVpnConnectionsResponse) GetUnreachable() []string
func (*ListVpnConnectionsResponse) GetVpnConnections
func (x *ListVpnConnectionsResponse) GetVpnConnections() []*VpnConnection
func (*ListVpnConnectionsResponse) ProtoMessage
func (*ListVpnConnectionsResponse) ProtoMessage()
func (*ListVpnConnectionsResponse) ProtoReflect
func (x *ListVpnConnectionsResponse) ProtoReflect() protoreflect.Message
func (*ListVpnConnectionsResponse) Reset
func (x *ListVpnConnectionsResponse) Reset()
func (*ListVpnConnectionsResponse) String
func (x *ListVpnConnectionsResponse) String() string
LocationMetadata
type LocationMetadata struct {
AvailableZones map[string]*ZoneMetadata "" /* 191 byte string literal not displayed */
}
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]*ZoneMetadata
func (*LocationMetadata) ProtoMessage
func (*LocationMetadata) ProtoMessage()
func (*LocationMetadata) ProtoReflect
func (x *LocationMetadata) ProtoReflect() protoreflect.Message
func (*LocationMetadata) Reset
func (x *LocationMetadata) Reset()
func (*LocationMetadata) String
func (x *LocationMetadata) String() string
Machine
type Machine struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
Labels map[string]string "" /* 153 byte string literal not displayed */
HostedNode string `protobuf:"bytes,5,opt,name=hosted_node,json=hostedNode,proto3" json:"hosted_node,omitempty"`
Zone string `protobuf:"bytes,6,opt,name=zone,proto3" json:"zone,omitempty"`
Disabled bool `protobuf:"varint,8,opt,name=disabled,proto3" json:"disabled,omitempty"`
}
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.Timestamp
func (*Machine) GetDisabled
func (*Machine) GetHostedNode
func (*Machine) GetLabels
func (*Machine) GetName
func (*Machine) GetUpdateTime
func (x *Machine) GetUpdateTime() *timestamppb.Timestamp
func (*Machine) GetZone
func (*Machine) ProtoMessage
func (*Machine) ProtoMessage()
func (*Machine) ProtoReflect
func (x *Machine) ProtoReflect() protoreflect.Message
func (*Machine) Reset
func (x *Machine) Reset()
func (*Machine) String
MaintenancePolicy
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"`
// contains filtered or unexported fields
}
Maintenance policy configuration.
func (*MaintenancePolicy) Descriptor
func (*MaintenancePolicy) Descriptor() ([]byte, []int)
Deprecated: Use MaintenancePolicy.ProtoReflect.Descriptor instead.
func (*MaintenancePolicy) GetWindow
func (x *MaintenancePolicy) GetWindow() *MaintenanceWindow
func (*MaintenancePolicy) ProtoMessage
func (*MaintenancePolicy) ProtoMessage()
func (*MaintenancePolicy) ProtoReflect
func (x *MaintenancePolicy) ProtoReflect() protoreflect.Message
func (*MaintenancePolicy) Reset
func (x *MaintenancePolicy) Reset()
func (*MaintenancePolicy) String
func (x *MaintenancePolicy) String() string
MaintenanceWindow
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() *RecurringTimeWindow
func (*MaintenanceWindow) ProtoMessage
func (*MaintenanceWindow) ProtoMessage()
func (*MaintenanceWindow) ProtoReflect
func (x *MaintenanceWindow) ProtoReflect() protoreflect.Message
func (*MaintenanceWindow) Reset
func (x *MaintenanceWindow) Reset()
func (*MaintenanceWindow) String
func (x *MaintenanceWindow) String() string
NodePool
type NodePool struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
Labels map[string]string "" /* 153 byte string literal not displayed */
NodeLocation string `protobuf:"bytes,8,opt,name=node_location,json=nodeLocation,proto3" json:"node_location,omitempty"`
NodeCount int32 `protobuf:"varint,6,opt,name=node_count,json=nodeCount,proto3" json:"node_count,omitempty"`
MachineFilter string `protobuf:"bytes,7,opt,name=machine_filter,json=machineFilter,proto3" json:"machine_filter,omitempty"`
LocalDiskEncryption *NodePool_LocalDiskEncryption `protobuf:"bytes,9,opt,name=local_disk_encryption,json=localDiskEncryption,proto3" json:"local_disk_encryption,omitempty"`
}
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.Timestamp
func (*NodePool) GetLabels
func (*NodePool) GetLocalDiskEncryption
func (x *NodePool) GetLocalDiskEncryption() *NodePool_LocalDiskEncryption
func (*NodePool) GetMachineFilter
func (*NodePool) GetName
func (*NodePool) GetNodeCount
func (*NodePool) GetNodeLocation
func (*NodePool) GetUpdateTime
func (x *NodePool) GetUpdateTime() *timestamppb.Timestamp
func (*NodePool) ProtoMessage
func (*NodePool) ProtoMessage()
func (*NodePool) ProtoReflect
func (x *NodePool) ProtoReflect() protoreflect.Message
func (*NodePool) Reset
func (x *NodePool) Reset()
func (*NodePool) String
NodePool_LocalDiskEncryption
type NodePool_LocalDiskEncryption struct {
KmsKey string `protobuf:"bytes,1,opt,name=kms_key,json=kmsKey,proto3" json:"kms_key,omitempty"`
KmsKeyActiveVersion string `protobuf:"bytes,2,opt,name=kms_key_active_version,json=kmsKeyActiveVersion,proto3" json:"kms_key_active_version,omitempty"`
KmsKeyState KmsKeyState "" /* 144 byte string literal not displayed */
KmsStatus *status.Status `protobuf:"bytes,4,opt,name=kms_status,json=kmsStatus,proto3" json:"kms_status,omitempty"`
}
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() string
func (*NodePool_LocalDiskEncryption) GetKmsKeyActiveVersion
func (x *NodePool_LocalDiskEncryption) GetKmsKeyActiveVersion() string
func (*NodePool_LocalDiskEncryption) GetKmsKeyState
func (x *NodePool_LocalDiskEncryption) GetKmsKeyState() KmsKeyState
func (*NodePool_LocalDiskEncryption) GetKmsStatus
func (x *NodePool_LocalDiskEncryption) GetKmsStatus() *status.Status
func (*NodePool_LocalDiskEncryption) ProtoMessage
func (*NodePool_LocalDiskEncryption) ProtoMessage()
func (*NodePool_LocalDiskEncryption) ProtoReflect
func (x *NodePool_LocalDiskEncryption) ProtoReflect() protoreflect.Message
func (*NodePool_LocalDiskEncryption) Reset
func (x *NodePool_LocalDiskEncryption) Reset()
func (*NodePool_LocalDiskEncryption) String
func (x *NodePool_LocalDiskEncryption) String() string
OperationMetadata
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"`
// 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() string
func (*OperationMetadata) GetCreateTime
func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp
func (*OperationMetadata) GetEndTime
func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp
func (*OperationMetadata) GetRequestedCancellation
func (x *OperationMetadata) GetRequestedCancellation() bool
func (*OperationMetadata) GetStatusMessage
func (x *OperationMetadata) GetStatusMessage() string
func (*OperationMetadata) GetTarget
func (x *OperationMetadata) GetTarget() string
func (*OperationMetadata) GetVerb
func (x *OperationMetadata) GetVerb() string
func (*OperationMetadata) ProtoMessage
func (*OperationMetadata) ProtoMessage()
func (*OperationMetadata) ProtoReflect
func (x *OperationMetadata) ProtoReflect() protoreflect.Message
func (*OperationMetadata) Reset
func (x *OperationMetadata) Reset()
func (*OperationMetadata) String
func (x *OperationMetadata) String() string
Quota
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.Message
func (*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() string
func (*RecurringTimeWindow) GetWindow
func (x *RecurringTimeWindow) GetWindow() *TimeWindow
func (*RecurringTimeWindow) ProtoMessage
func (*RecurringTimeWindow) ProtoMessage()
func (*RecurringTimeWindow) ProtoReflect
func (x *RecurringTimeWindow) ProtoReflect() protoreflect.Message
func (*RecurringTimeWindow) Reset
func (x *RecurringTimeWindow) Reset()
func (*RecurringTimeWindow) String
func (x *RecurringTimeWindow) String() string
TimeWindow
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.Timestamp
func (*TimeWindow) GetStartTime
func (x *TimeWindow) GetStartTime() *timestamppb.Timestamp
func (*TimeWindow) ProtoMessage
func (*TimeWindow) ProtoMessage()
func (*TimeWindow) ProtoReflect
func (x *TimeWindow) ProtoReflect() protoreflect.Message
func (*TimeWindow) Reset
func (x *TimeWindow) Reset()
func (*TimeWindow) String
func (x *TimeWindow) String() string
UnimplementedEdgeContainerServer
type UnimplementedEdgeContainerServer struct {
}
UnimplementedEdgeContainerServer can 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) 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) 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)
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() *Cluster
func (*UpdateClusterRequest) GetRequestId
func (x *UpdateClusterRequest) GetRequestId() string
func (*UpdateClusterRequest) GetUpdateMask
func (x *UpdateClusterRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateClusterRequest) ProtoMessage
func (*UpdateClusterRequest) ProtoMessage()
func (*UpdateClusterRequest) ProtoReflect
func (x *UpdateClusterRequest) ProtoReflect() protoreflect.Message
func (*UpdateClusterRequest) Reset
func (x *UpdateClusterRequest) Reset()
func (*UpdateClusterRequest) String
func (x *UpdateClusterRequest) String() string
UpdateNodePoolRequest
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() *NodePool
func (*UpdateNodePoolRequest) GetRequestId
func (x *UpdateNodePoolRequest) GetRequestId() string
func (*UpdateNodePoolRequest) GetUpdateMask
func (x *UpdateNodePoolRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateNodePoolRequest) ProtoMessage
func (*UpdateNodePoolRequest) ProtoMessage()
func (*UpdateNodePoolRequest) ProtoReflect
func (x *UpdateNodePoolRequest) ProtoReflect() protoreflect.Message
func (*UpdateNodePoolRequest) Reset
func (x *UpdateNodePoolRequest) Reset()
func (*UpdateNodePoolRequest) String
func (x *UpdateNodePoolRequest) String() string
VpnConnection
type VpnConnection struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
Labels map[string]string "" /* 153 byte string literal not displayed */
NatGatewayIp string `protobuf:"bytes,5,opt,name=nat_gateway_ip,json=natGatewayIp,proto3" json:"nat_gateway_ip,omitempty"`
BgpRoutingMode VpnConnection_BgpRoutingMode "" /* 170 byte string literal not displayed */
Cluster string `protobuf:"bytes,7,opt,name=cluster,proto3" json:"cluster,omitempty"`
Vpc string `protobuf:"bytes,8,opt,name=vpc,proto3" json:"vpc,omitempty"`
VpcProject *VpnConnection_VpcProject `protobuf:"bytes,11,opt,name=vpc_project,json=vpcProject,proto3" json:"vpc_project,omitempty"`
EnableHighAvailability bool "" /* 130 byte string literal not displayed */
Details *VpnConnection_Details `protobuf:"bytes,10,opt,name=details,proto3" json:"details,omitempty"`
}
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_BgpRoutingMode
Deprecated: Marked as deprecated in google/cloud/edgecontainer/v1/resources.proto.
func (*VpnConnection) GetCluster
func (x *VpnConnection) GetCluster() string
func (*VpnConnection) GetCreateTime
func (x *VpnConnection) GetCreateTime() *timestamppb.Timestamp
func (*VpnConnection) GetDetails
func (x *VpnConnection) GetDetails() *VpnConnection_Details
func (*VpnConnection) GetEnableHighAvailability
func (x *VpnConnection) GetEnableHighAvailability() bool
func (*VpnConnection) GetLabels
func (x *VpnConnection) GetLabels() map[string]string
func (*VpnConnection) GetName
func (x *VpnConnection) GetName() string
func (*VpnConnection) GetNatGatewayIp
func (x *VpnConnection) GetNatGatewayIp() string
func (*VpnConnection) GetUpdateTime
func (x *VpnConnection) GetUpdateTime() *timestamppb.Timestamp
func (*VpnConnection) GetVpc
func (x *VpnConnection) GetVpc() string
func (*VpnConnection) GetVpcProject
func (x *VpnConnection) GetVpcProject() *VpnConnection_VpcProject
func (*VpnConnection) ProtoMessage
func (*VpnConnection) ProtoMessage()
func (*VpnConnection) ProtoReflect
func (x *VpnConnection) ProtoReflect() protoreflect.Message
func (*VpnConnection) Reset
func (x *VpnConnection) Reset()
func (*VpnConnection) String
func (x *VpnConnection) String() string
VpnConnection_BgpRoutingMode
type VpnConnection_BgpRoutingMode int32
Routing 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.EnumDescriptor
func (VpnConnection_BgpRoutingMode) Enum
func (x VpnConnection_BgpRoutingMode) Enum() *VpnConnection_BgpRoutingMode
func (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.EnumNumber
func (VpnConnection_BgpRoutingMode) String
func (x VpnConnection_BgpRoutingMode) String() string
func (VpnConnection_BgpRoutingMode) Type
func (VpnConnection_BgpRoutingMode) Type() protoreflect.EnumType
VpnConnection_Details
type VpnConnection_Details struct {
State VpnConnection_Details_State "" /* 127 byte string literal not displayed */
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
CloudRouter *VpnConnection_Details_CloudRouter `protobuf:"bytes,3,opt,name=cloud_router,json=cloudRouter,proto3" json:"cloud_router,omitempty"`
CloudVpns []*VpnConnection_Details_CloudVpn `protobuf:"bytes,4,rep,name=cloud_vpns,json=cloudVpns,proto3" json:"cloud_vpns,omitempty"`
}
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_CloudRouter
func (*VpnConnection_Details) GetCloudVpns
func (x *VpnConnection_Details) GetCloudVpns() []*VpnConnection_Details_CloudVpn
func (*VpnConnection_Details) GetError
func (x *VpnConnection_Details) GetError() string
func (*VpnConnection_Details) GetState
func (x *VpnConnection_Details) GetState() VpnConnection_Details_State
func (*VpnConnection_Details) ProtoMessage
func (*VpnConnection_Details) ProtoMessage()
func (*VpnConnection_Details) ProtoReflect
func (x *VpnConnection_Details) ProtoReflect() protoreflect.Message
func (*VpnConnection_Details) Reset
func (x *VpnConnection_Details) Reset()
func (*VpnConnection_Details) String
func (x *VpnConnection_Details) String() string
VpnConnection_Details_CloudRouter
type VpnConnection_Details_CloudRouter struct {
// The created 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() string
func (*VpnConnection_Details_CloudRouter) ProtoMessage
func (*VpnConnection_Details_CloudRouter) ProtoMessage()
func (*VpnConnection_Details_CloudRouter) ProtoReflect
func (x *VpnConnection_Details_CloudRouter) ProtoReflect() protoreflect.Message
func (*VpnConnection_Details_CloudRouter) Reset
func (x *VpnConnection_Details_CloudRouter) Reset()
func (*VpnConnection_Details_CloudRouter) String
func (x *VpnConnection_Details_CloudRouter) String() string
VpnConnection_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() string
func (*VpnConnection_Details_CloudVpn) ProtoMessage
func (*VpnConnection_Details_CloudVpn) ProtoMessage()
func (*VpnConnection_Details_CloudVpn) ProtoReflect
func (x *VpnConnection_Details_CloudVpn) ProtoReflect() protoreflect.Message
func (*VpnConnection_Details_CloudVpn) Reset
func (x *VpnConnection_Details_CloudVpn) Reset()
func (*VpnConnection_Details_CloudVpn) String
func (x *VpnConnection_Details_CloudVpn) String() string
VpnConnection_Details_State
type VpnConnection_Details_State int32
The 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.EnumDescriptor
func (VpnConnection_Details_State) Enum
func (x VpnConnection_Details_State) Enum() *VpnConnection_Details_State
func (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.EnumNumber
func (VpnConnection_Details_State) String
func (x VpnConnection_Details_State) String() string
func (VpnConnection_Details_State) Type
func (VpnConnection_Details_State) Type() protoreflect.EnumType
VpnConnection_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. The service account in the VPC project configured by user. It is used to
// create/delete Cloud Router and Cloud HA VPNs for VPN connection. If this
// SA is changed during/after a VPN connection is created, you need to
// remove the Cloud Router and Cloud VPN resources in |project_id|.
// It is in the form of
// service-{project_number}@gcp-sa-edgecontainer.iam.gserviceaccount.com.
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() string
func (*VpnConnection_VpcProject) GetServiceAccount
func (x *VpnConnection_VpcProject) GetServiceAccount() string
func (*VpnConnection_VpcProject) ProtoMessage
func (*VpnConnection_VpcProject) ProtoMessage()
func (*VpnConnection_VpcProject) ProtoReflect
func (x *VpnConnection_VpcProject) ProtoReflect() protoreflect.Message
func (*VpnConnection_VpcProject) Reset
func (x *VpnConnection_VpcProject) Reset()
func (*VpnConnection_VpcProject) String
func (x *VpnConnection_VpcProject) String() string
ZoneMetadata
type ZoneMetadata struct {
// Quota for resources in this zone.
Quota []*Quota `protobuf:"bytes,1,rep,name=quota,proto3" json:"quota,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) GetQuota
func (x *ZoneMetadata) GetQuota() []*Quota
func (*ZoneMetadata) ProtoMessage
func (*ZoneMetadata) ProtoMessage()
func (*ZoneMetadata) ProtoReflect
func (x *ZoneMetadata) ProtoReflect() protoreflect.Message
func (*ZoneMetadata) Reset
func (x *ZoneMetadata) Reset()
func (*ZoneMetadata) String
func (x *ZoneMetadata) String() string