Documentation ¶
Overview ¶
Package google_bigtable_admin_v2 is a generated protocol buffer package.
It is generated from these files:
google.golang.org/cloud/bigtable/internal/instance_service_proto/bigtable_instance_admin.proto
It has these top-level messages:
CreateInstanceRequest GetInstanceRequest ListInstancesRequest ListInstancesResponse DeleteInstanceRequest CreateClusterRequest GetClusterRequest ListClustersRequest ListClustersResponse DeleteClusterRequest CreateInstanceMetadata
Index ¶
- func RegisterBigtableInstanceAdminServer(s *grpc.Server, srv BigtableInstanceAdminServer)
- type BigtableInstanceAdminClient
- type BigtableInstanceAdminServer
- type CreateClusterRequest
- type CreateInstanceMetadata
- func (*CreateInstanceMetadata) Descriptor() ([]byte, []int)
- func (m *CreateInstanceMetadata) GetFinishTime() *google_protobuf.Timestamp
- func (m *CreateInstanceMetadata) GetOriginalRequest() *CreateInstanceRequest
- func (m *CreateInstanceMetadata) GetRequestTime() *google_protobuf.Timestamp
- func (*CreateInstanceMetadata) ProtoMessage()
- func (m *CreateInstanceMetadata) Reset()
- func (m *CreateInstanceMetadata) String() string
- type CreateInstanceRequest
- func (*CreateInstanceRequest) Descriptor() ([]byte, []int)
- func (m *CreateInstanceRequest) GetClusters() map[string]*google_bigtable_admin_v22.Cluster
- func (m *CreateInstanceRequest) GetInstance() *google_bigtable_admin_v22.Instance
- func (*CreateInstanceRequest) ProtoMessage()
- func (m *CreateInstanceRequest) Reset()
- func (m *CreateInstanceRequest) String() string
- type DeleteClusterRequest
- type DeleteInstanceRequest
- type GetClusterRequest
- type GetInstanceRequest
- type ListClustersRequest
- type ListClustersResponse
- type ListInstancesRequest
- type ListInstancesResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterBigtableInstanceAdminServer ¶
func RegisterBigtableInstanceAdminServer(s *grpc.Server, srv BigtableInstanceAdminServer)
Types ¶
type BigtableInstanceAdminClient ¶
type BigtableInstanceAdminClient interface { // Gets information about an instance. // // Caution: This rpc is experimental. The details can change and the rpc // may or may not be active. GetInstance(ctx context.Context, in *GetInstanceRequest, opts ...grpc.CallOption) (*google_bigtable_admin_v22.Instance, error) // Lists information about instances in a project. // // Caution: This rpc is experimental. The details can change and the rpc // may or may not be active. ListInstances(ctx context.Context, in *ListInstancesRequest, opts ...grpc.CallOption) (*ListInstancesResponse, error) // Updates an instance within a project. // // Caution: This rpc is experimental. The details can change and the rpc // may or may not be active. UpdateInstance(ctx context.Context, in *google_bigtable_admin_v22.Instance, opts ...grpc.CallOption) (*google_bigtable_admin_v22.Instance, error) // Delete an instance from a project. // // Caution: This rpc is experimental. The details can change and the rpc // may or may not be active. DeleteInstance(ctx context.Context, in *DeleteInstanceRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) // Gets information about a cluster. // // Caution: This rpc is experimental. The details can change and the rpc // may or may not be active. GetCluster(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*google_bigtable_admin_v22.Cluster, error) // Lists information about clusters in an instance. // // Caution: This rpc is experimental. The details can change and the rpc // may or may not be active. ListClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error) // Deletes a cluster from an instance. // // Caution: This rpc is experimental. The details can change and the rpc // may or may not be active. DeleteCluster(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) }
func NewBigtableInstanceAdminClient ¶
func NewBigtableInstanceAdminClient(cc *grpc.ClientConn) BigtableInstanceAdminClient
type BigtableInstanceAdminServer ¶
type BigtableInstanceAdminServer interface { // Gets information about an instance. // // Caution: This rpc is experimental. The details can change and the rpc // may or may not be active. GetInstance(context.Context, *GetInstanceRequest) (*google_bigtable_admin_v22.Instance, error) // Lists information about instances in a project. // // Caution: This rpc is experimental. The details can change and the rpc // may or may not be active. ListInstances(context.Context, *ListInstancesRequest) (*ListInstancesResponse, error) // Updates an instance within a project. // // Caution: This rpc is experimental. The details can change and the rpc // may or may not be active. UpdateInstance(context.Context, *google_bigtable_admin_v22.Instance) (*google_bigtable_admin_v22.Instance, error) // Delete an instance from a project. // // Caution: This rpc is experimental. The details can change and the rpc // may or may not be active. DeleteInstance(context.Context, *DeleteInstanceRequest) (*google_protobuf1.Empty, error) // Gets information about a cluster. // // Caution: This rpc is experimental. The details can change and the rpc // may or may not be active. GetCluster(context.Context, *GetClusterRequest) (*google_bigtable_admin_v22.Cluster, error) // Lists information about clusters in an instance. // // Caution: This rpc is experimental. The details can change and the rpc // may or may not be active. ListClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error) // Deletes a cluster from an instance. // // Caution: This rpc is experimental. The details can change and the rpc // may or may not be active. DeleteCluster(context.Context, *DeleteClusterRequest) (*google_protobuf1.Empty, error) }
type CreateClusterRequest ¶
type CreateClusterRequest struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId" json:"cluster_id,omitempty"` Cluster *google_bigtable_admin_v22.Cluster `protobuf:"bytes,3,opt,name=cluster" json:"cluster,omitempty"` }
Request message for BigtableInstanceAdmin.CreateCluster.
func (*CreateClusterRequest) Descriptor ¶
func (*CreateClusterRequest) Descriptor() ([]byte, []int)
func (*CreateClusterRequest) GetCluster ¶
func (m *CreateClusterRequest) GetCluster() *google_bigtable_admin_v22.Cluster
func (*CreateClusterRequest) ProtoMessage ¶
func (*CreateClusterRequest) ProtoMessage()
func (*CreateClusterRequest) Reset ¶
func (m *CreateClusterRequest) Reset()
func (*CreateClusterRequest) String ¶
func (m *CreateClusterRequest) String() string
type CreateInstanceMetadata ¶
type CreateInstanceMetadata struct { // The request that prompted the initiation of this CreateInstance operation. OriginalRequest *CreateInstanceRequest `protobuf:"bytes,1,opt,name=original_request,json=originalRequest" json:"original_request,omitempty"` // The time at which the original request was received. RequestTime *google_protobuf.Timestamp `protobuf:"bytes,2,opt,name=request_time,json=requestTime" json:"request_time,omitempty"` // The time at which the operation failed or was completed successfully. FinishTime *google_protobuf.Timestamp `protobuf:"bytes,3,opt,name=finish_time,json=finishTime" json:"finish_time,omitempty"` }
The metadata for the Operation returned by CreateInstance.
func (*CreateInstanceMetadata) Descriptor ¶
func (*CreateInstanceMetadata) Descriptor() ([]byte, []int)
func (*CreateInstanceMetadata) GetFinishTime ¶
func (m *CreateInstanceMetadata) GetFinishTime() *google_protobuf.Timestamp
func (*CreateInstanceMetadata) GetOriginalRequest ¶
func (m *CreateInstanceMetadata) GetOriginalRequest() *CreateInstanceRequest
func (*CreateInstanceMetadata) GetRequestTime ¶
func (m *CreateInstanceMetadata) GetRequestTime() *google_protobuf.Timestamp
func (*CreateInstanceMetadata) ProtoMessage ¶
func (*CreateInstanceMetadata) ProtoMessage()
func (*CreateInstanceMetadata) Reset ¶
func (m *CreateInstanceMetadata) Reset()
func (*CreateInstanceMetadata) String ¶
func (m *CreateInstanceMetadata) String() string
type CreateInstanceRequest ¶
type CreateInstanceRequest struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId" json:"instance_id,omitempty"` Instance *google_bigtable_admin_v22.Instance `protobuf:"bytes,3,opt,name=instance" json:"instance,omitempty"` Clusters map[string]*google_bigtable_admin_v22.Cluster `` /* 136-byte string literal not displayed */ }
Request message for BigtableInstanceAdmin.CreateInstance.
func (*CreateInstanceRequest) Descriptor ¶
func (*CreateInstanceRequest) Descriptor() ([]byte, []int)
func (*CreateInstanceRequest) GetClusters ¶
func (m *CreateInstanceRequest) GetClusters() map[string]*google_bigtable_admin_v22.Cluster
func (*CreateInstanceRequest) GetInstance ¶
func (m *CreateInstanceRequest) GetInstance() *google_bigtable_admin_v22.Instance
func (*CreateInstanceRequest) ProtoMessage ¶
func (*CreateInstanceRequest) ProtoMessage()
func (*CreateInstanceRequest) Reset ¶
func (m *CreateInstanceRequest) Reset()
func (*CreateInstanceRequest) String ¶
func (m *CreateInstanceRequest) String() string
type DeleteClusterRequest ¶
type DeleteClusterRequest struct {
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
}
Request message for BigtableInstanceAdmin.DeleteCluster.
func (*DeleteClusterRequest) Descriptor ¶
func (*DeleteClusterRequest) Descriptor() ([]byte, []int)
func (*DeleteClusterRequest) ProtoMessage ¶
func (*DeleteClusterRequest) ProtoMessage()
func (*DeleteClusterRequest) Reset ¶
func (m *DeleteClusterRequest) Reset()
func (*DeleteClusterRequest) String ¶
func (m *DeleteClusterRequest) String() string
type DeleteInstanceRequest ¶
type DeleteInstanceRequest struct {
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
}
Request message for BigtableInstanceAdmin.DeleteInstance.
func (*DeleteInstanceRequest) Descriptor ¶
func (*DeleteInstanceRequest) Descriptor() ([]byte, []int)
func (*DeleteInstanceRequest) ProtoMessage ¶
func (*DeleteInstanceRequest) ProtoMessage()
func (*DeleteInstanceRequest) Reset ¶
func (m *DeleteInstanceRequest) Reset()
func (*DeleteInstanceRequest) String ¶
func (m *DeleteInstanceRequest) String() string
type GetClusterRequest ¶
type GetClusterRequest struct {
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
}
Request message for BigtableInstanceAdmin.GetCluster.
func (*GetClusterRequest) Descriptor ¶
func (*GetClusterRequest) Descriptor() ([]byte, []int)
func (*GetClusterRequest) ProtoMessage ¶
func (*GetClusterRequest) ProtoMessage()
func (*GetClusterRequest) Reset ¶
func (m *GetClusterRequest) Reset()
func (*GetClusterRequest) String ¶
func (m *GetClusterRequest) String() string
type GetInstanceRequest ¶
type GetInstanceRequest struct {
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
}
Request message for BigtableInstanceAdmin.GetInstance.
func (*GetInstanceRequest) Descriptor ¶
func (*GetInstanceRequest) Descriptor() ([]byte, []int)
func (*GetInstanceRequest) ProtoMessage ¶
func (*GetInstanceRequest) ProtoMessage()
func (*GetInstanceRequest) Reset ¶
func (m *GetInstanceRequest) Reset()
func (*GetInstanceRequest) String ¶
func (m *GetInstanceRequest) String() string
type ListClustersRequest ¶
type ListClustersRequest struct { // Values are of the form projects/<project id>/instances/<instance id> // Use <instance id> = '-' to list Clusters for all Instances in a project, // for example "projects/myproject/instances/-" Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken" json:"page_token,omitempty"` }
Request message for BigtableInstanceAdmin.ListClusters.
func (*ListClustersRequest) Descriptor ¶
func (*ListClustersRequest) Descriptor() ([]byte, []int)
func (*ListClustersRequest) ProtoMessage ¶
func (*ListClustersRequest) ProtoMessage()
func (*ListClustersRequest) Reset ¶
func (m *ListClustersRequest) Reset()
func (*ListClustersRequest) String ¶
func (m *ListClustersRequest) String() string
type ListClustersResponse ¶
type ListClustersResponse struct { Clusters []*google_bigtable_admin_v22.Cluster `protobuf:"bytes,1,rep,name=clusters" json:"clusters,omitempty"` // Locations from which Cluster information could not be retrieved, // due to an outage or some other transient condition. // Clusters from these locations may be missing from 'clusters', // or may only have partial information returned. FailedLocations []string `protobuf:"bytes,2,rep,name=failed_locations,json=failedLocations" json:"failed_locations,omitempty"` NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"` }
Response message for BigtableInstanceAdmin.ListClusters.
func (*ListClustersResponse) Descriptor ¶
func (*ListClustersResponse) Descriptor() ([]byte, []int)
func (*ListClustersResponse) GetClusters ¶
func (m *ListClustersResponse) GetClusters() []*google_bigtable_admin_v22.Cluster
func (*ListClustersResponse) ProtoMessage ¶
func (*ListClustersResponse) ProtoMessage()
func (*ListClustersResponse) Reset ¶
func (m *ListClustersResponse) Reset()
func (*ListClustersResponse) String ¶
func (m *ListClustersResponse) String() string
type ListInstancesRequest ¶
type ListInstancesRequest struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // Locations from which Instance information could not be retrieved, // due to an outage or some other transient condition. // Instances whose Clusters are all in one of the failed locations // may be missing from 'instances', and Instances with at least one // Cluster in a failed location may only have partial information returned. FailedLocations []string `protobuf:"bytes,2,rep,name=failed_locations,json=failedLocations" json:"failed_locations,omitempty"` PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken" json:"page_token,omitempty"` }
Request message for BigtableInstanceAdmin.ListInstances.
func (*ListInstancesRequest) Descriptor ¶
func (*ListInstancesRequest) Descriptor() ([]byte, []int)
func (*ListInstancesRequest) ProtoMessage ¶
func (*ListInstancesRequest) ProtoMessage()
func (*ListInstancesRequest) Reset ¶
func (m *ListInstancesRequest) Reset()
func (*ListInstancesRequest) String ¶
func (m *ListInstancesRequest) String() string
type ListInstancesResponse ¶
type ListInstancesResponse struct { Instances []*google_bigtable_admin_v22.Instance `protobuf:"bytes,1,rep,name=instances" json:"instances,omitempty"` NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"` }
Response message for BigtableInstanceAdmin.ListInstances.
func (*ListInstancesResponse) Descriptor ¶
func (*ListInstancesResponse) Descriptor() ([]byte, []int)
func (*ListInstancesResponse) GetInstances ¶
func (m *ListInstancesResponse) GetInstances() []*google_bigtable_admin_v22.Instance
func (*ListInstancesResponse) ProtoMessage ¶
func (*ListInstancesResponse) ProtoMessage()
func (*ListInstancesResponse) Reset ¶
func (m *ListInstancesResponse) Reset()
func (*ListInstancesResponse) String ¶
func (m *ListInstancesResponse) String() string