Constants
Parallelstore_ListInstances_FullMethodName, Parallelstore_GetInstance_FullMethodName, Parallelstore_CreateInstance_FullMethodName, Parallelstore_UpdateInstance_FullMethodName, Parallelstore_DeleteInstance_FullMethodName, Parallelstore_ImportData_FullMethodName, Parallelstore_ExportData_FullMethodName
const (
Parallelstore_ListInstances_FullMethodName = "/google.cloud.parallelstore.v1beta.Parallelstore/ListInstances"
Parallelstore_GetInstance_FullMethodName = "/google.cloud.parallelstore.v1beta.Parallelstore/GetInstance"
Parallelstore_CreateInstance_FullMethodName = "/google.cloud.parallelstore.v1beta.Parallelstore/CreateInstance"
Parallelstore_UpdateInstance_FullMethodName = "/google.cloud.parallelstore.v1beta.Parallelstore/UpdateInstance"
Parallelstore_DeleteInstance_FullMethodName = "/google.cloud.parallelstore.v1beta.Parallelstore/DeleteInstance"
Parallelstore_ImportData_FullMethodName = "/google.cloud.parallelstore.v1beta.Parallelstore/ImportData"
Parallelstore_ExportData_FullMethodName = "/google.cloud.parallelstore.v1beta.Parallelstore/ExportData"
)Variables
TransferType_name, TransferType_value
var (
TransferType_name = map[int32]string{
0: "TRANSFER_TYPE_UNSPECIFIED",
1: "IMPORT",
2: "EXPORT",
}
TransferType_value = map[string]int32{
"TRANSFER_TYPE_UNSPECIFIED": 0,
"IMPORT": 1,
"EXPORT": 2,
}
)Enum value maps for TransferType.
FileStripeLevel_name, FileStripeLevel_value
var (
FileStripeLevel_name = map[int32]string{
0: "FILE_STRIPE_LEVEL_UNSPECIFIED",
1: "FILE_STRIPE_LEVEL_MIN",
2: "FILE_STRIPE_LEVEL_BALANCED",
3: "FILE_STRIPE_LEVEL_MAX",
}
FileStripeLevel_value = map[string]int32{
"FILE_STRIPE_LEVEL_UNSPECIFIED": 0,
"FILE_STRIPE_LEVEL_MIN": 1,
"FILE_STRIPE_LEVEL_BALANCED": 2,
"FILE_STRIPE_LEVEL_MAX": 3,
}
)Enum value maps for FileStripeLevel.
DirectoryStripeLevel_name, DirectoryStripeLevel_value
var (
DirectoryStripeLevel_name = map[int32]string{
0: "DIRECTORY_STRIPE_LEVEL_UNSPECIFIED",
1: "DIRECTORY_STRIPE_LEVEL_MIN",
2: "DIRECTORY_STRIPE_LEVEL_BALANCED",
3: "DIRECTORY_STRIPE_LEVEL_MAX",
}
DirectoryStripeLevel_value = map[string]int32{
"DIRECTORY_STRIPE_LEVEL_UNSPECIFIED": 0,
"DIRECTORY_STRIPE_LEVEL_MIN": 1,
"DIRECTORY_STRIPE_LEVEL_BALANCED": 2,
"DIRECTORY_STRIPE_LEVEL_MAX": 3,
}
)Enum value maps for DirectoryStripeLevel.
DeploymentType_name, DeploymentType_value
var (
DeploymentType_name = map[int32]string{
0: "DEPLOYMENT_TYPE_UNSPECIFIED",
1: "SCRATCH",
2: "PERSISTENT",
}
DeploymentType_value = map[string]int32{
"DEPLOYMENT_TYPE_UNSPECIFIED": 0,
"SCRATCH": 1,
"PERSISTENT": 2,
}
)Enum value maps for DeploymentType.
Instance_State_name, Instance_State_value
var (
Instance_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "CREATING",
2: "ACTIVE",
3: "DELETING",
4: "FAILED",
5: "UPGRADING",
6: "REPAIRING",
}
Instance_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"CREATING": 1,
"ACTIVE": 2,
"DELETING": 3,
"FAILED": 4,
"UPGRADING": 5,
"REPAIRING": 6,
}
)Enum value maps for Instance_State.
TransferMetadataOptions_Uid_name, TransferMetadataOptions_Uid_value
var (
TransferMetadataOptions_Uid_name = map[int32]string{
0: "UID_UNSPECIFIED",
1: "UID_SKIP",
2: "UID_NUMBER_PRESERVE",
}
TransferMetadataOptions_Uid_value = map[string]int32{
"UID_UNSPECIFIED": 0,
"UID_SKIP": 1,
"UID_NUMBER_PRESERVE": 2,
}
)Enum value maps for TransferMetadataOptions_Uid.
TransferMetadataOptions_Gid_name, TransferMetadataOptions_Gid_value
var (
TransferMetadataOptions_Gid_name = map[int32]string{
0: "GID_UNSPECIFIED",
1: "GID_SKIP",
2: "GID_NUMBER_PRESERVE",
}
TransferMetadataOptions_Gid_value = map[string]int32{
"GID_UNSPECIFIED": 0,
"GID_SKIP": 1,
"GID_NUMBER_PRESERVE": 2,
}
)Enum value maps for TransferMetadataOptions_Gid.
TransferMetadataOptions_Mode_name, TransferMetadataOptions_Mode_value
var (
TransferMetadataOptions_Mode_name = map[int32]string{
0: "MODE_UNSPECIFIED",
1: "MODE_SKIP",
2: "MODE_PRESERVE",
}
TransferMetadataOptions_Mode_value = map[string]int32{
"MODE_UNSPECIFIED": 0,
"MODE_SKIP": 1,
"MODE_PRESERVE": 2,
}
)Enum value maps for TransferMetadataOptions_Mode.
File_google_cloud_parallelstore_v1beta_parallelstore_proto
var File_google_cloud_parallelstore_v1beta_parallelstore_proto protoreflect.FileDescriptorParallelstore_ServiceDesc
var Parallelstore_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.parallelstore.v1beta.Parallelstore",
HandlerType: (*ParallelstoreServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListInstances",
Handler: _Parallelstore_ListInstances_Handler,
},
{
MethodName: "GetInstance",
Handler: _Parallelstore_GetInstance_Handler,
},
{
MethodName: "CreateInstance",
Handler: _Parallelstore_CreateInstance_Handler,
},
{
MethodName: "UpdateInstance",
Handler: _Parallelstore_UpdateInstance_Handler,
},
{
MethodName: "DeleteInstance",
Handler: _Parallelstore_DeleteInstance_Handler,
},
{
MethodName: "ImportData",
Handler: _Parallelstore_ImportData_Handler,
},
{
MethodName: "ExportData",
Handler: _Parallelstore_ExportData_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/parallelstore/v1beta/parallelstore.proto",
}Parallelstore_ServiceDesc is the grpc.ServiceDesc for Parallelstore service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions
func RegisterParallelstoreServer
func RegisterParallelstoreServer(s grpc.ServiceRegistrar, srv ParallelstoreServer)CreateInstanceRequest
type CreateInstanceRequest struct {
// Required. The instance's project and location, in the format
// `projects/{project}/locations/{location}`.
// Locations map to Google Cloud zones; for example, `us-west1-b`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The name of the Parallelstore instance.
//
// * Must contain only lowercase letters, numbers, and hyphens.
// * Must start with a letter.
// * Must be between 1-63 characters.
// * Must end with a number or a letter.
// * Must be unique within the customer project / location
InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
// Required. The instance to create.
Instance *Instance `protobuf:"bytes,3,opt,name=instance,proto3" json:"instance,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Create a new Parallelstore instance.
func (*CreateInstanceRequest) Descriptor
func (*CreateInstanceRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateInstanceRequest.ProtoReflect.Descriptor instead.
func (*CreateInstanceRequest) GetInstance
func (x *CreateInstanceRequest) GetInstance() *Instancefunc (*CreateInstanceRequest) GetInstanceId
func (x *CreateInstanceRequest) GetInstanceId() stringfunc (*CreateInstanceRequest) GetParent
func (x *CreateInstanceRequest) GetParent() stringfunc (*CreateInstanceRequest) GetRequestId
func (x *CreateInstanceRequest) GetRequestId() stringfunc (*CreateInstanceRequest) ProtoMessage
func (*CreateInstanceRequest) ProtoMessage()func (*CreateInstanceRequest) ProtoReflect
func (x *CreateInstanceRequest) ProtoReflect() protoreflect.Messagefunc (*CreateInstanceRequest) Reset
func (x *CreateInstanceRequest) Reset()func (*CreateInstanceRequest) String
func (x *CreateInstanceRequest) String() stringDeleteInstanceRequest
type DeleteInstanceRequest struct {
// Required. Name of the resource
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Delete an instance.
func (*DeleteInstanceRequest) Descriptor
func (*DeleteInstanceRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteInstanceRequest.ProtoReflect.Descriptor instead.
func (*DeleteInstanceRequest) GetName
func (x *DeleteInstanceRequest) GetName() stringfunc (*DeleteInstanceRequest) GetRequestId
func (x *DeleteInstanceRequest) GetRequestId() stringfunc (*DeleteInstanceRequest) ProtoMessage
func (*DeleteInstanceRequest) ProtoMessage()func (*DeleteInstanceRequest) ProtoReflect
func (x *DeleteInstanceRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteInstanceRequest) Reset
func (x *DeleteInstanceRequest) Reset()func (*DeleteInstanceRequest) String
func (x *DeleteInstanceRequest) String() stringDeploymentType
type DeploymentType int32Represents the deployment type for the instance.
DeploymentType_DEPLOYMENT_TYPE_UNSPECIFIED, DeploymentType_SCRATCH, DeploymentType_PERSISTENT
const (
// Default Deployment Type
// It is equivalent to SCRATCH
DeploymentType_DEPLOYMENT_TYPE_UNSPECIFIED DeploymentType = 0
// Scratch
DeploymentType_SCRATCH DeploymentType = 1
// Persistent
DeploymentType_PERSISTENT DeploymentType = 2
)func (DeploymentType) Descriptor
func (DeploymentType) Descriptor() protoreflect.EnumDescriptorfunc (DeploymentType) Enum
func (x DeploymentType) Enum() *DeploymentTypefunc (DeploymentType) EnumDescriptor
func (DeploymentType) EnumDescriptor() ([]byte, []int)Deprecated: Use DeploymentType.Descriptor instead.
func (DeploymentType) Number
func (x DeploymentType) Number() protoreflect.EnumNumberfunc (DeploymentType) String
func (x DeploymentType) String() stringfunc (DeploymentType) Type
func (DeploymentType) Type() protoreflect.EnumTypeDestinationGcsBucket
type DestinationGcsBucket struct {
// Required. URI to a Cloud Storage bucket in the format:
// `gs://Cloud Storage as the destination of a data transfer.
func (*DestinationGcsBucket) Descriptor
func (*DestinationGcsBucket) Descriptor() ([]byte, []int)Deprecated: Use DestinationGcsBucket.ProtoReflect.Descriptor instead.
func (*DestinationGcsBucket) GetUri
func (x *DestinationGcsBucket) GetUri() stringfunc (*DestinationGcsBucket) ProtoMessage
func (*DestinationGcsBucket) ProtoMessage()func (*DestinationGcsBucket) ProtoReflect
func (x *DestinationGcsBucket) ProtoReflect() protoreflect.Messagefunc (*DestinationGcsBucket) Reset
func (x *DestinationGcsBucket) Reset()func (*DestinationGcsBucket) String
func (x *DestinationGcsBucket) String() stringDestinationParallelstore
type DestinationParallelstore struct {
// Optional. Root directory path to the Paralellstore filesystem, starting
// with `/`. Defaults to `/` if unset.
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
// contains filtered or unexported fields
}Parallelstore as the destination of a data transfer.
func (*DestinationParallelstore) Descriptor
func (*DestinationParallelstore) Descriptor() ([]byte, []int)Deprecated: Use DestinationParallelstore.ProtoReflect.Descriptor instead.
func (*DestinationParallelstore) GetPath
func (x *DestinationParallelstore) GetPath() stringfunc (*DestinationParallelstore) ProtoMessage
func (*DestinationParallelstore) ProtoMessage()func (*DestinationParallelstore) ProtoReflect
func (x *DestinationParallelstore) ProtoReflect() protoreflect.Messagefunc (*DestinationParallelstore) Reset
func (x *DestinationParallelstore) Reset()func (*DestinationParallelstore) String
func (x *DestinationParallelstore) String() stringDirectoryStripeLevel
type DirectoryStripeLevel int32Represents the striping options for directories.
DirectoryStripeLevel_DIRECTORY_STRIPE_LEVEL_UNSPECIFIED, DirectoryStripeLevel_DIRECTORY_STRIPE_LEVEL_MIN, DirectoryStripeLevel_DIRECTORY_STRIPE_LEVEL_BALANCED, DirectoryStripeLevel_DIRECTORY_STRIPE_LEVEL_MAX
const (
// If not set, DirectoryStripeLevel will default to DIRECTORY_STRIPE_LEVEL_MAX
DirectoryStripeLevel_DIRECTORY_STRIPE_LEVEL_UNSPECIFIED DirectoryStripeLevel = 0
// Minimum directory striping
DirectoryStripeLevel_DIRECTORY_STRIPE_LEVEL_MIN DirectoryStripeLevel = 1
// Medium directory striping
DirectoryStripeLevel_DIRECTORY_STRIPE_LEVEL_BALANCED DirectoryStripeLevel = 2
// Maximum directory striping
DirectoryStripeLevel_DIRECTORY_STRIPE_LEVEL_MAX DirectoryStripeLevel = 3
)func (DirectoryStripeLevel) Descriptor
func (DirectoryStripeLevel) Descriptor() protoreflect.EnumDescriptorfunc (DirectoryStripeLevel) Enum
func (x DirectoryStripeLevel) Enum() *DirectoryStripeLevelfunc (DirectoryStripeLevel) EnumDescriptor
func (DirectoryStripeLevel) EnumDescriptor() ([]byte, []int)Deprecated: Use DirectoryStripeLevel.Descriptor instead.
func (DirectoryStripeLevel) Number
func (x DirectoryStripeLevel) Number() protoreflect.EnumNumberfunc (DirectoryStripeLevel) String
func (x DirectoryStripeLevel) String() stringfunc (DirectoryStripeLevel) Type
func (DirectoryStripeLevel) Type() protoreflect.EnumTypeExportDataMetadata
type ExportDataMetadata struct {
// Data transfer operation metadata.
OperationMetadata *TransferOperationMetadata `protobuf:"bytes,1,opt,name=operation_metadata,json=operationMetadata,proto3" json:"operation_metadata,omitempty"`
// Output only. The time the operation was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time the operation finished running.
EndTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// Output only. Server-defined resource path for the target of the operation.
Target string `protobuf:"bytes,4,opt,name=target,proto3" json:"target,omitempty"`
// Output only. Name of the verb executed by the operation.
Verb string `protobuf:"bytes,5,opt,name=verb,proto3" json:"verb,omitempty"`
// Output only. Human-readable status of the operation, if any.
StatusMessage string `protobuf:"bytes,6,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
// Output only. Identifies whether the user has requested cancellation
// of the operation. Operations that have successfully been cancelled
// have [Operation.error][google.longrunning.Operation.error] value with a
// [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
// `Code.CANCELLED`.
RequestedCancellation bool `protobuf:"varint,7,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"`
// Output only. API version used to start the operation.
ApiVersion string `protobuf:"bytes,8,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
// contains filtered or unexported fields
}Metadata related to the data export operation.
func (*ExportDataMetadata) Descriptor
func (*ExportDataMetadata) Descriptor() ([]byte, []int)Deprecated: Use ExportDataMetadata.ProtoReflect.Descriptor instead.
func (*ExportDataMetadata) GetApiVersion
func (x *ExportDataMetadata) GetApiVersion() stringfunc (*ExportDataMetadata) GetCreateTime
func (x *ExportDataMetadata) GetCreateTime() *timestamppb.Timestampfunc (*ExportDataMetadata) GetEndTime
func (x *ExportDataMetadata) GetEndTime() *timestamppb.Timestampfunc (*ExportDataMetadata) GetOperationMetadata
func (x *ExportDataMetadata) GetOperationMetadata() *TransferOperationMetadatafunc (*ExportDataMetadata) GetRequestedCancellation
func (x *ExportDataMetadata) GetRequestedCancellation() boolfunc (*ExportDataMetadata) GetStatusMessage
func (x *ExportDataMetadata) GetStatusMessage() stringfunc (*ExportDataMetadata) GetTarget
func (x *ExportDataMetadata) GetTarget() stringfunc (*ExportDataMetadata) GetVerb
func (x *ExportDataMetadata) GetVerb() stringfunc (*ExportDataMetadata) ProtoMessage
func (*ExportDataMetadata) ProtoMessage()func (*ExportDataMetadata) ProtoReflect
func (x *ExportDataMetadata) ProtoReflect() protoreflect.Messagefunc (*ExportDataMetadata) Reset
func (x *ExportDataMetadata) Reset()func (*ExportDataMetadata) String
func (x *ExportDataMetadata) String() stringExportDataRequest
type ExportDataRequest struct {
// The Parallelstore instance to export from.
//
// Types that are valid to be assigned to Source:
//
// *ExportDataRequest_SourceParallelstore
Source isExportDataRequest_Source `protobuf_oneof:"source"`
// The Cloud Storage bucket to export to.
//
// Types that are valid to be assigned to Destination:
//
// *ExportDataRequest_DestinationGcsBucket
Destination isExportDataRequest_Destination `protobuf_oneof:"destination"`
// Required. Name of the resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. User-specified Service Account (SA) credentials to be used when
// performing the transfer.
// Use one of the following formats:
//
// * `{EMAIL_ADDRESS_OR_UNIQUE_ID}`
// * `projects/{PROJECT_ID_OR_NUMBER}/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}`
// * `projects/-/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}`
//
// If unspecified, the Parallelstore service agent is used:
// `service-Export data from Parallelstore to Cloud Storage.
func (*ExportDataRequest) Descriptor
func (*ExportDataRequest) Descriptor() ([]byte, []int)Deprecated: Use ExportDataRequest.ProtoReflect.Descriptor instead.
func (*ExportDataRequest) GetDestination
func (x *ExportDataRequest) GetDestination() isExportDataRequest_Destinationfunc (*ExportDataRequest) GetDestinationGcsBucket
func (x *ExportDataRequest) GetDestinationGcsBucket() *DestinationGcsBucketfunc (*ExportDataRequest) GetMetadataOptions
func (x *ExportDataRequest) GetMetadataOptions() *TransferMetadataOptionsfunc (*ExportDataRequest) GetName
func (x *ExportDataRequest) GetName() stringfunc (*ExportDataRequest) GetRequestId
func (x *ExportDataRequest) GetRequestId() stringfunc (*ExportDataRequest) GetServiceAccount
func (x *ExportDataRequest) GetServiceAccount() stringfunc (*ExportDataRequest) GetSource
func (x *ExportDataRequest) GetSource() isExportDataRequest_Sourcefunc (*ExportDataRequest) GetSourceParallelstore
func (x *ExportDataRequest) GetSourceParallelstore() *SourceParallelstorefunc (*ExportDataRequest) ProtoMessage
func (*ExportDataRequest) ProtoMessage()func (*ExportDataRequest) ProtoReflect
func (x *ExportDataRequest) ProtoReflect() protoreflect.Messagefunc (*ExportDataRequest) Reset
func (x *ExportDataRequest) Reset()func (*ExportDataRequest) String
func (x *ExportDataRequest) String() stringExportDataRequest_DestinationGcsBucket
type ExportDataRequest_DestinationGcsBucket struct {
// Cloud Storage destination.
DestinationGcsBucket *DestinationGcsBucket `protobuf:"bytes,3,opt,name=destination_gcs_bucket,json=destinationGcsBucket,proto3,oneof"`
}ExportDataRequest_SourceParallelstore
type ExportDataRequest_SourceParallelstore struct {
// Parallelstore source.
SourceParallelstore *SourceParallelstore `protobuf:"bytes,2,opt,name=source_parallelstore,json=sourceParallelstore,proto3,oneof"`
}ExportDataResponse
type ExportDataResponse struct {
// contains filtered or unexported fields
}The response to a request to export data from Parallelstore.
func (*ExportDataResponse) Descriptor
func (*ExportDataResponse) Descriptor() ([]byte, []int)Deprecated: Use ExportDataResponse.ProtoReflect.Descriptor instead.
func (*ExportDataResponse) ProtoMessage
func (*ExportDataResponse) ProtoMessage()func (*ExportDataResponse) ProtoReflect
func (x *ExportDataResponse) ProtoReflect() protoreflect.Messagefunc (*ExportDataResponse) Reset
func (x *ExportDataResponse) Reset()func (*ExportDataResponse) String
func (x *ExportDataResponse) String() stringFileStripeLevel
type FileStripeLevel int32Represents the striping options for files.
FileStripeLevel_FILE_STRIPE_LEVEL_UNSPECIFIED, FileStripeLevel_FILE_STRIPE_LEVEL_MIN, FileStripeLevel_FILE_STRIPE_LEVEL_BALANCED, FileStripeLevel_FILE_STRIPE_LEVEL_MAX
const (
// If not set, FileStripeLevel will default to FILE_STRIPE_LEVEL_BALANCED
FileStripeLevel_FILE_STRIPE_LEVEL_UNSPECIFIED FileStripeLevel = 0
// Minimum file striping
FileStripeLevel_FILE_STRIPE_LEVEL_MIN FileStripeLevel = 1
// Medium file striping
FileStripeLevel_FILE_STRIPE_LEVEL_BALANCED FileStripeLevel = 2
// Maximum file striping
FileStripeLevel_FILE_STRIPE_LEVEL_MAX FileStripeLevel = 3
)func (FileStripeLevel) Descriptor
func (FileStripeLevel) Descriptor() protoreflect.EnumDescriptorfunc (FileStripeLevel) Enum
func (x FileStripeLevel) Enum() *FileStripeLevelfunc (FileStripeLevel) EnumDescriptor
func (FileStripeLevel) EnumDescriptor() ([]byte, []int)Deprecated: Use FileStripeLevel.Descriptor instead.
func (FileStripeLevel) Number
func (x FileStripeLevel) Number() protoreflect.EnumNumberfunc (FileStripeLevel) String
func (x FileStripeLevel) String() stringfunc (FileStripeLevel) Type
func (FileStripeLevel) Type() protoreflect.EnumTypeGetInstanceRequest
type GetInstanceRequest struct {
// Required. The instance resource name, in the format
// `projects/{project_id}/locations/{location}/instances/{instance_id}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Get an instance's details.
func (*GetInstanceRequest) Descriptor
func (*GetInstanceRequest) Descriptor() ([]byte, []int)Deprecated: Use GetInstanceRequest.ProtoReflect.Descriptor instead.
func (*GetInstanceRequest) GetName
func (x *GetInstanceRequest) GetName() stringfunc (*GetInstanceRequest) ProtoMessage
func (*GetInstanceRequest) ProtoMessage()func (*GetInstanceRequest) ProtoReflect
func (x *GetInstanceRequest) ProtoReflect() protoreflect.Messagefunc (*GetInstanceRequest) Reset
func (x *GetInstanceRequest) Reset()func (*GetInstanceRequest) String
func (x *GetInstanceRequest) String() stringImportDataMetadata
type ImportDataMetadata struct {
// Data transfer operation metadata.
OperationMetadata *TransferOperationMetadata `protobuf:"bytes,1,opt,name=operation_metadata,json=operationMetadata,proto3" json:"operation_metadata,omitempty"`
// Output only. The time the operation was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time the operation finished running.
EndTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// Output only. Server-defined resource path for the target of the operation.
Target string `protobuf:"bytes,4,opt,name=target,proto3" json:"target,omitempty"`
// Output only. Name of the verb executed by the operation.
Verb string `protobuf:"bytes,5,opt,name=verb,proto3" json:"verb,omitempty"`
// Output only. Human-readable status of the operation, if any.
StatusMessage string `protobuf:"bytes,6,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
// Output only. Identifies whether the user has requested cancellation
// of the operation. Operations that have successfully been cancelled
// have [Operation.error][google.longrunning.Operation.error] value with a
// [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
// `Code.CANCELLED`.
RequestedCancellation bool `protobuf:"varint,7,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"`
// Output only. API version used to start the operation.
ApiVersion string `protobuf:"bytes,8,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
// contains filtered or unexported fields
}Metadata related to the data import operation.
func (*ImportDataMetadata) Descriptor
func (*ImportDataMetadata) Descriptor() ([]byte, []int)Deprecated: Use ImportDataMetadata.ProtoReflect.Descriptor instead.
func (*ImportDataMetadata) GetApiVersion
func (x *ImportDataMetadata) GetApiVersion() stringfunc (*ImportDataMetadata) GetCreateTime
func (x *ImportDataMetadata) GetCreateTime() *timestamppb.Timestampfunc (*ImportDataMetadata) GetEndTime
func (x *ImportDataMetadata) GetEndTime() *timestamppb.Timestampfunc (*ImportDataMetadata) GetOperationMetadata
func (x *ImportDataMetadata) GetOperationMetadata() *TransferOperationMetadatafunc (*ImportDataMetadata) GetRequestedCancellation
func (x *ImportDataMetadata) GetRequestedCancellation() boolfunc (*ImportDataMetadata) GetStatusMessage
func (x *ImportDataMetadata) GetStatusMessage() stringfunc (*ImportDataMetadata) GetTarget
func (x *ImportDataMetadata) GetTarget() stringfunc (*ImportDataMetadata) GetVerb
func (x *ImportDataMetadata) GetVerb() stringfunc (*ImportDataMetadata) ProtoMessage
func (*ImportDataMetadata) ProtoMessage()func (*ImportDataMetadata) ProtoReflect
func (x *ImportDataMetadata) ProtoReflect() protoreflect.Messagefunc (*ImportDataMetadata) Reset
func (x *ImportDataMetadata) Reset()func (*ImportDataMetadata) String
func (x *ImportDataMetadata) String() stringImportDataRequest
type ImportDataRequest struct {
// The source of the data being imported into the Parallelstore instance.
//
// Types that are valid to be assigned to Source:
//
// *ImportDataRequest_SourceGcsBucket
Source isImportDataRequest_Source `protobuf_oneof:"source"`
// The Parallelstore instance into which to import data.
//
// Types that are valid to be assigned to Destination:
//
// *ImportDataRequest_DestinationParallelstore
Destination isImportDataRequest_Destination `protobuf_oneof:"destination"`
// Required. Name of the resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. User-specified service account credentials to be used when
// performing the transfer.
//
// Use one of the following formats:
//
// * `{EMAIL_ADDRESS_OR_UNIQUE_ID}`
// * `projects/{PROJECT_ID_OR_NUMBER}/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}`
// * `projects/-/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}`
//
// If unspecified, the Parallelstore service agent is used:
// `service-Import data from Cloud Storage into a Parallelstore instance.
func (*ImportDataRequest) Descriptor
func (*ImportDataRequest) Descriptor() ([]byte, []int)Deprecated: Use ImportDataRequest.ProtoReflect.Descriptor instead.
func (*ImportDataRequest) GetDestination
func (x *ImportDataRequest) GetDestination() isImportDataRequest_Destinationfunc (*ImportDataRequest) GetDestinationParallelstore
func (x *ImportDataRequest) GetDestinationParallelstore() *DestinationParallelstorefunc (*ImportDataRequest) GetMetadataOptions
func (x *ImportDataRequest) GetMetadataOptions() *TransferMetadataOptionsfunc (*ImportDataRequest) GetName
func (x *ImportDataRequest) GetName() stringfunc (*ImportDataRequest) GetRequestId
func (x *ImportDataRequest) GetRequestId() stringfunc (*ImportDataRequest) GetServiceAccount
func (x *ImportDataRequest) GetServiceAccount() stringfunc (*ImportDataRequest) GetSource
func (x *ImportDataRequest) GetSource() isImportDataRequest_Sourcefunc (*ImportDataRequest) GetSourceGcsBucket
func (x *ImportDataRequest) GetSourceGcsBucket() *SourceGcsBucketfunc (*ImportDataRequest) ProtoMessage
func (*ImportDataRequest) ProtoMessage()func (*ImportDataRequest) ProtoReflect
func (x *ImportDataRequest) ProtoReflect() protoreflect.Messagefunc (*ImportDataRequest) Reset
func (x *ImportDataRequest) Reset()func (*ImportDataRequest) String
func (x *ImportDataRequest) String() stringImportDataRequest_DestinationParallelstore
type ImportDataRequest_DestinationParallelstore struct {
// Parallelstore destination.
DestinationParallelstore *DestinationParallelstore `protobuf:"bytes,3,opt,name=destination_parallelstore,json=destinationParallelstore,proto3,oneof"`
}ImportDataRequest_SourceGcsBucket
type ImportDataRequest_SourceGcsBucket struct {
// The Cloud Storage source bucket and, optionally, path inside the bucket.
SourceGcsBucket *SourceGcsBucket `protobuf:"bytes,2,opt,name=source_gcs_bucket,json=sourceGcsBucket,proto3,oneof"`
}ImportDataResponse
type ImportDataResponse struct {
// contains filtered or unexported fields
}The response to a request to import data to Parallelstore.
func (*ImportDataResponse) Descriptor
func (*ImportDataResponse) Descriptor() ([]byte, []int)Deprecated: Use ImportDataResponse.ProtoReflect.Descriptor instead.
func (*ImportDataResponse) ProtoMessage
func (*ImportDataResponse) ProtoMessage()func (*ImportDataResponse) ProtoReflect
func (x *ImportDataResponse) ProtoReflect() protoreflect.Messagefunc (*ImportDataResponse) Reset
func (x *ImportDataResponse) Reset()func (*ImportDataResponse) String
func (x *ImportDataResponse) String() stringInstance
type Instance struct {
// Identifier. The resource name of the instance, in the format
// `projects/{project}/locations/{location}/instances/{instance_id}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. The description of the instance. 2048 characters or less.
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// Output only. The instance state.
State Instance_State `protobuf:"varint,3,opt,name=state,proto3,enum=google.cloud.parallelstore.v1beta.Instance_State" json:"state,omitempty"`
// Output only. The time when the instance was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time when the instance was updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Optional. Cloud Labels are a flexible and lightweight mechanism for
// organizing cloud resources into groups that reflect a customer's
// organizational needs and deployment strategies. See
// https://cloud.google.com/resource-manager/docs/labels-overview for details.
Labels map[string]string `protobuf:"bytes,6,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Required. Immutable. The instance's storage capacity in Gibibytes (GiB).
// Allowed values are between 12000 and 100000, in multiples of 4000; e.g.,
// 12000, 16000, 20000, ...
CapacityGib int64 `protobuf:"varint,8,opt,name=capacity_gib,json=capacityGib,proto3" json:"capacity_gib,omitempty"`
// Output only. Deprecated: The version of DAOS software running in the
// instance.
//
// Deprecated: Marked as deprecated in google/cloud/parallelstore/v1beta/parallelstore.proto.
DaosVersion string `protobuf:"bytes,9,opt,name=daos_version,json=daosVersion,proto3" json:"daos_version,omitempty"`
// Output only. A list of IPv4 addresses used for client side configuration.
AccessPoints []string `protobuf:"bytes,10,rep,name=access_points,json=accessPoints,proto3" json:"access_points,omitempty"`
// Optional. Immutable. The name of the Compute Engine
// [VPC network](https://cloud.google.com/vpc/docs/vpc) to which the
// instance is connected.
Network string `protobuf:"bytes,11,opt,name=network,proto3" json:"network,omitempty"`
// Optional. Immutable. The ID of the IP address range being used by the
// instance's VPC network. See [Configure a VPC
// network](https://cloud.google.com/parallelstore/docs/vpc#create_and_configure_the_vpc).
// If no ID is provided, all ranges are considered.
ReservedIpRange string `protobuf:"bytes,12,opt,name=reserved_ip_range,json=reservedIpRange,proto3" json:"reserved_ip_range,omitempty"`
// Output only. Immutable. The ID of the IP address range being used by the
// instance's VPC network. This field is populated by the service and contains
// the value currently used by the service.
EffectiveReservedIpRange string `protobuf:"bytes,14,opt,name=effective_reserved_ip_range,json=effectiveReservedIpRange,proto3" json:"effective_reserved_ip_range,omitempty"`
// Optional. Immutable. Stripe level for files. Allowed values are:
//
// - `FILE_STRIPE_LEVEL_MIN`: offers the best performance for small size
// files.
// - `FILE_STRIPE_LEVEL_BALANCED`: balances performance for workloads
// involving a mix of small and large files.
// - `FILE_STRIPE_LEVEL_MAX`: higher throughput performance for larger files.
FileStripeLevel FileStripeLevel `protobuf:"varint,15,opt,name=file_stripe_level,json=fileStripeLevel,proto3,enum=google.cloud.parallelstore.v1beta.FileStripeLevel" json:"file_stripe_level,omitempty"`
// Optional. Immutable. Stripe level for directories. Allowed values are:
//
// - `DIRECTORY_STRIPE_LEVEL_MIN`: recommended when directories contain a
// small number of files.
// - `DIRECTORY_STRIPE_LEVEL_BALANCED`: balances performance for workloads
// involving a mix of small and large directories.
// - `DIRECTORY_STRIPE_LEVEL_MAX`: recommended for directories with a large
// number of files.
DirectoryStripeLevel DirectoryStripeLevel `protobuf:"varint,16,opt,name=directory_stripe_level,json=directoryStripeLevel,proto3,enum=google.cloud.parallelstore.v1beta.DirectoryStripeLevel" json:"directory_stripe_level,omitempty"`
// Optional. Immutable. The deployment type of the instance. Allowed values
// are:
//
// * `SCRATCH`: the instance is a scratch instance.
// * `PERSISTENT`: the instance is a persistent instance.
DeploymentType DeploymentType `protobuf:"varint,17,opt,name=deployment_type,json=deploymentType,proto3,enum=google.cloud.parallelstore.v1beta.DeploymentType" json:"deployment_type,omitempty"`
// contains filtered or unexported fields
}A Parallelstore instance.
func (*Instance) Descriptor
Deprecated: Use Instance.ProtoReflect.Descriptor instead.
func (*Instance) GetAccessPoints
func (*Instance) GetCapacityGib
func (*Instance) GetCreateTime
func (x *Instance) GetCreateTime() *timestamppb.Timestampfunc (*Instance) GetDaosVersion
Deprecated: Marked as deprecated in google/cloud/parallelstore/v1beta/parallelstore.proto.
func (*Instance) GetDeploymentType
func (x *Instance) GetDeploymentType() DeploymentTypefunc (*Instance) GetDescription
func (*Instance) GetDirectoryStripeLevel
func (x *Instance) GetDirectoryStripeLevel() DirectoryStripeLevelfunc (*Instance) GetEffectiveReservedIpRange
func (*Instance) GetFileStripeLevel
func (x *Instance) GetFileStripeLevel() FileStripeLevelfunc (*Instance) GetLabels
func (*Instance) GetName
func (*Instance) GetNetwork
func (*Instance) GetReservedIpRange
func (*Instance) GetState
func (x *Instance) GetState() Instance_Statefunc (*Instance) GetUpdateTime
func (x *Instance) GetUpdateTime() *timestamppb.Timestampfunc (*Instance) ProtoMessage
func (*Instance) ProtoMessage()func (*Instance) ProtoReflect
func (x *Instance) ProtoReflect() protoreflect.Messagefunc (*Instance) Reset
func (x *Instance) Reset()func (*Instance) String
Instance_State
type Instance_State int32The possible states of a Parallelstore instance.
Instance_STATE_UNSPECIFIED, Instance_CREATING, Instance_ACTIVE, Instance_DELETING, Instance_FAILED, Instance_UPGRADING, Instance_REPAIRING
const (
// Not set.
Instance_STATE_UNSPECIFIED Instance_State = 0
// The instance is being created.
Instance_CREATING Instance_State = 1
// The instance is available for use.
Instance_ACTIVE Instance_State = 2
// The instance is being deleted.
Instance_DELETING Instance_State = 3
// The instance is not usable.
Instance_FAILED Instance_State = 4
// The instance is being upgraded.
Instance_UPGRADING Instance_State = 5
// The instance is being repaired. This should only be used by instances
// using the `PERSISTENT` deployment type.
Instance_REPAIRING Instance_State = 6
)func (Instance_State) Descriptor
func (Instance_State) Descriptor() protoreflect.EnumDescriptorfunc (Instance_State) Enum
func (x Instance_State) Enum() *Instance_Statefunc (Instance_State) EnumDescriptor
func (Instance_State) EnumDescriptor() ([]byte, []int)Deprecated: Use Instance_State.Descriptor instead.
func (Instance_State) Number
func (x Instance_State) Number() protoreflect.EnumNumberfunc (Instance_State) String
func (x Instance_State) String() stringfunc (Instance_State) Type
func (Instance_State) Type() protoreflect.EnumTypeListInstancesRequest
type ListInstancesRequest struct {
// Required. The project and location for which to retrieve instance
// information, in the format `projects/{project_id}/locations/{location}`.
//
// To retrieve instance information for all locations, use "-" as the value of
// `{location}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Requested page size. Server may return fewer items than
// requested. If unspecified, the server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Filtering results.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. Hint for how to order the results.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}List instances request.
func (*ListInstancesRequest) Descriptor
func (*ListInstancesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListInstancesRequest.ProtoReflect.Descriptor instead.
func (*ListInstancesRequest) GetFilter
func (x *ListInstancesRequest) GetFilter() stringfunc (*ListInstancesRequest) GetOrderBy
func (x *ListInstancesRequest) GetOrderBy() stringfunc (*ListInstancesRequest) GetPageSize
func (x *ListInstancesRequest) GetPageSize() int32func (*ListInstancesRequest) GetPageToken
func (x *ListInstancesRequest) GetPageToken() stringfunc (*ListInstancesRequest) GetParent
func (x *ListInstancesRequest) GetParent() stringfunc (*ListInstancesRequest) ProtoMessage
func (*ListInstancesRequest) ProtoMessage()func (*ListInstancesRequest) ProtoReflect
func (x *ListInstancesRequest) ProtoReflect() protoreflect.Messagefunc (*ListInstancesRequest) Reset
func (x *ListInstancesRequest) Reset()func (*ListInstancesRequest) String
func (x *ListInstancesRequest) String() stringListInstancesResponse
type ListInstancesResponse struct {
// The list of Parallelstore instances.
Instances []*Instance `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"`
// A token identifying a page of results the server should return.
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
}Response from [ListInstances][google.cloud.parallelstore.v1beta.Parallelstore.ListInstances].
func (*ListInstancesResponse) Descriptor
func (*ListInstancesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListInstancesResponse.ProtoReflect.Descriptor instead.
func (*ListInstancesResponse) GetInstances
func (x *ListInstancesResponse) GetInstances() []*Instancefunc (*ListInstancesResponse) GetNextPageToken
func (x *ListInstancesResponse) GetNextPageToken() stringfunc (*ListInstancesResponse) GetUnreachable
func (x *ListInstancesResponse) GetUnreachable() []stringfunc (*ListInstancesResponse) ProtoMessage
func (*ListInstancesResponse) ProtoMessage()func (*ListInstancesResponse) ProtoReflect
func (x *ListInstancesResponse) ProtoReflect() protoreflect.Messagefunc (*ListInstancesResponse) Reset
func (x *ListInstancesResponse) Reset()func (*ListInstancesResponse) String
func (x *ListInstancesResponse) String() stringOperationMetadata
type OperationMetadata struct {
// Output only. The time the operation was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time the operation finished running.
EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// Output only. Server-defined resource path for the target of the operation.
Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
// Output only. Name of the verb executed by the operation.
Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"`
// Output only. Human-readable status of the operation, if any.
StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
// Output only. Identifies whether the user has requested cancellation
// of the operation. Operations that have been cancelled successfully
// have [Operation.error][google.longrunning.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"`
// Output only. 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.
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) GetTarget
func (x *OperationMetadata) GetTarget() stringfunc (*OperationMetadata) GetVerb
func (x *OperationMetadata) GetVerb() 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() stringParallelstoreClient
type ParallelstoreClient interface {
// Lists all instances in a given project and location.
ListInstances(ctx context.Context, in *ListInstancesRequest, opts ...grpc.CallOption) (*ListInstancesResponse, error)
// Gets details of a single instance.
GetInstance(ctx context.Context, in *GetInstanceRequest, opts ...grpc.CallOption) (*Instance, error)
// Creates a Parallelstore instance in a given project and location.
CreateInstance(ctx context.Context, in *CreateInstanceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the parameters of a single instance.
UpdateInstance(ctx context.Context, in *UpdateInstanceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single instance.
DeleteInstance(ctx context.Context, in *DeleteInstanceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Copies data from Cloud Storage to Parallelstore.
ImportData(ctx context.Context, in *ImportDataRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Copies data from Parallelstore to Cloud Storage.
ExportData(ctx context.Context, in *ExportDataRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}ParallelstoreClient is the client API for Parallelstore 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 NewParallelstoreClient
func NewParallelstoreClient(cc grpc.ClientConnInterface) ParallelstoreClientParallelstoreServer
type ParallelstoreServer interface {
// Lists all instances in a given project and location.
ListInstances(context.Context, *ListInstancesRequest) (*ListInstancesResponse, error)
// Gets details of a single instance.
GetInstance(context.Context, *GetInstanceRequest) (*Instance, error)
// Creates a Parallelstore instance in a given project and location.
CreateInstance(context.Context, *CreateInstanceRequest) (*longrunningpb.Operation, error)
// Updates the parameters of a single instance.
UpdateInstance(context.Context, *UpdateInstanceRequest) (*longrunningpb.Operation, error)
// Deletes a single instance.
DeleteInstance(context.Context, *DeleteInstanceRequest) (*longrunningpb.Operation, error)
// Copies data from Cloud Storage to Parallelstore.
ImportData(context.Context, *ImportDataRequest) (*longrunningpb.Operation, error)
// Copies data from Parallelstore to Cloud Storage.
ExportData(context.Context, *ExportDataRequest) (*longrunningpb.Operation, error)
}ParallelstoreServer is the server API for Parallelstore service. All implementations should embed UnimplementedParallelstoreServer for forward compatibility
SourceGcsBucket
type SourceGcsBucket struct {
// Required. URI to a Cloud Storage bucket in the format:
// `gs://Cloud Storage as the source of a data transfer.
func (*SourceGcsBucket) Descriptor
func (*SourceGcsBucket) Descriptor() ([]byte, []int)Deprecated: Use SourceGcsBucket.ProtoReflect.Descriptor instead.
func (*SourceGcsBucket) GetUri
func (x *SourceGcsBucket) GetUri() stringfunc (*SourceGcsBucket) ProtoMessage
func (*SourceGcsBucket) ProtoMessage()func (*SourceGcsBucket) ProtoReflect
func (x *SourceGcsBucket) ProtoReflect() protoreflect.Messagefunc (*SourceGcsBucket) Reset
func (x *SourceGcsBucket) Reset()func (*SourceGcsBucket) String
func (x *SourceGcsBucket) String() stringSourceParallelstore
type SourceParallelstore struct {
// Optional. Root directory path to the Paralellstore filesystem, starting
// with `/`. Defaults to `/` if unset.
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
// contains filtered or unexported fields
}Parallelstore as the source of a data transfer.
func (*SourceParallelstore) Descriptor
func (*SourceParallelstore) Descriptor() ([]byte, []int)Deprecated: Use SourceParallelstore.ProtoReflect.Descriptor instead.
func (*SourceParallelstore) GetPath
func (x *SourceParallelstore) GetPath() stringfunc (*SourceParallelstore) ProtoMessage
func (*SourceParallelstore) ProtoMessage()func (*SourceParallelstore) ProtoReflect
func (x *SourceParallelstore) ProtoReflect() protoreflect.Messagefunc (*SourceParallelstore) Reset
func (x *SourceParallelstore) Reset()func (*SourceParallelstore) String
func (x *SourceParallelstore) String() stringTransferCounters
type TransferCounters struct {
// Objects found in the data source that are scheduled to be transferred,
// excluding any that are filtered based on object conditions or skipped due
// to sync.
ObjectsFound int64 `protobuf:"varint,1,opt,name=objects_found,json=objectsFound,proto3" json:"objects_found,omitempty"`
// Bytes found in the data source that are scheduled to be transferred,
// excluding any that are filtered based on object conditions or skipped due
// to sync.
BytesFound int64 `protobuf:"varint,2,opt,name=bytes_found,json=bytesFound,proto3" json:"bytes_found,omitempty"`
// Objects in the data source that are not transferred because they already
// exist in the data destination.
ObjectsSkipped int64 `protobuf:"varint,3,opt,name=objects_skipped,json=objectsSkipped,proto3" json:"objects_skipped,omitempty"`
// Bytes in the data source that are not transferred because they already
// exist in the data destination.
BytesSkipped int64 `protobuf:"varint,4,opt,name=bytes_skipped,json=bytesSkipped,proto3" json:"bytes_skipped,omitempty"`
// Objects that are copied to the data destination.
ObjectsCopied int64 `protobuf:"varint,5,opt,name=objects_copied,json=objectsCopied,proto3" json:"objects_copied,omitempty"`
// Bytes that are copied to the data destination.
BytesCopied int64 `protobuf:"varint,6,opt,name=bytes_copied,json=bytesCopied,proto3" json:"bytes_copied,omitempty"`
// Objects that failed to be written to the data destination.
ObjectsFailed int64 `protobuf:"varint,7,opt,name=objects_failed,json=objectsFailed,proto3" json:"objects_failed,omitempty"`
// Bytes that failed to be written to the data destination.
BytesFailed int64 `protobuf:"varint,8,opt,name=bytes_failed,json=bytesFailed,proto3" json:"bytes_failed,omitempty"`
// contains filtered or unexported fields
}A collection of counters that report the progress of a transfer operation.
func (*TransferCounters) Descriptor
func (*TransferCounters) Descriptor() ([]byte, []int)Deprecated: Use TransferCounters.ProtoReflect.Descriptor instead.
func (*TransferCounters) GetBytesCopied
func (x *TransferCounters) GetBytesCopied() int64func (*TransferCounters) GetBytesFailed
func (x *TransferCounters) GetBytesFailed() int64func (*TransferCounters) GetBytesFound
func (x *TransferCounters) GetBytesFound() int64func (*TransferCounters) GetBytesSkipped
func (x *TransferCounters) GetBytesSkipped() int64func (*TransferCounters) GetObjectsCopied
func (x *TransferCounters) GetObjectsCopied() int64func (*TransferCounters) GetObjectsFailed
func (x *TransferCounters) GetObjectsFailed() int64func (*TransferCounters) GetObjectsFound
func (x *TransferCounters) GetObjectsFound() int64func (*TransferCounters) GetObjectsSkipped
func (x *TransferCounters) GetObjectsSkipped() int64func (*TransferCounters) ProtoMessage
func (*TransferCounters) ProtoMessage()func (*TransferCounters) ProtoReflect
func (x *TransferCounters) ProtoReflect() protoreflect.Messagefunc (*TransferCounters) Reset
func (x *TransferCounters) Reset()func (*TransferCounters) String
func (x *TransferCounters) String() stringTransferErrorLogEntry
type TransferErrorLogEntry struct {
// A URL that refers to the target (a data source, a data sink,
// or an object) with which the error is associated.
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
// A list of messages that carry the error details.
ErrorDetails []string `protobuf:"bytes,2,rep,name=error_details,json=errorDetails,proto3" json:"error_details,omitempty"`
// contains filtered or unexported fields
}An entry describing an error that has occurred.
func (*TransferErrorLogEntry) Descriptor
func (*TransferErrorLogEntry) Descriptor() ([]byte, []int)Deprecated: Use TransferErrorLogEntry.ProtoReflect.Descriptor instead.
func (*TransferErrorLogEntry) GetErrorDetails
func (x *TransferErrorLogEntry) GetErrorDetails() []stringfunc (*TransferErrorLogEntry) GetUri
func (x *TransferErrorLogEntry) GetUri() stringfunc (*TransferErrorLogEntry) ProtoMessage
func (*TransferErrorLogEntry) ProtoMessage()func (*TransferErrorLogEntry) ProtoReflect
func (x *TransferErrorLogEntry) ProtoReflect() protoreflect.Messagefunc (*TransferErrorLogEntry) Reset
func (x *TransferErrorLogEntry) Reset()func (*TransferErrorLogEntry) String
func (x *TransferErrorLogEntry) String() stringTransferErrorSummary
type TransferErrorSummary struct {
// One of the error codes that caused the transfer failure.
ErrorCode code.Code `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3,enum=google.rpc.Code" json:"error_code,omitempty"`
// Count of this type of error.
ErrorCount int64 `protobuf:"varint,2,opt,name=error_count,json=errorCount,proto3" json:"error_count,omitempty"`
// A list of messages that carry the error details.
ErrorLogEntries []*TransferErrorLogEntry `protobuf:"bytes,4,rep,name=error_log_entries,json=errorLogEntries,proto3" json:"error_log_entries,omitempty"`
// contains filtered or unexported fields
}A summary of errors by error code, plus a count and sample error log entries.
func (*TransferErrorSummary) Descriptor
func (*TransferErrorSummary) Descriptor() ([]byte, []int)Deprecated: Use TransferErrorSummary.ProtoReflect.Descriptor instead.
func (*TransferErrorSummary) GetErrorCode
func (x *TransferErrorSummary) GetErrorCode() code.Codefunc (*TransferErrorSummary) GetErrorCount
func (x *TransferErrorSummary) GetErrorCount() int64func (*TransferErrorSummary) GetErrorLogEntries
func (x *TransferErrorSummary) GetErrorLogEntries() []*TransferErrorLogEntryfunc (*TransferErrorSummary) ProtoMessage
func (*TransferErrorSummary) ProtoMessage()func (*TransferErrorSummary) ProtoReflect
func (x *TransferErrorSummary) ProtoReflect() protoreflect.Messagefunc (*TransferErrorSummary) Reset
func (x *TransferErrorSummary) Reset()func (*TransferErrorSummary) String
func (x *TransferErrorSummary) String() stringTransferMetadataOptions
type TransferMetadataOptions struct {
// Optional. The UID preservation behavior.
Uid TransferMetadataOptions_Uid `protobuf:"varint,1,opt,name=uid,proto3,enum=google.cloud.parallelstore.v1beta.TransferMetadataOptions_Uid" json:"uid,omitempty"`
// Optional. The GID preservation behavior.
Gid TransferMetadataOptions_Gid `protobuf:"varint,2,opt,name=gid,proto3,enum=google.cloud.parallelstore.v1beta.TransferMetadataOptions_Gid" json:"gid,omitempty"`
// Optional. The mode preservation behavior.
Mode TransferMetadataOptions_Mode `protobuf:"varint,3,opt,name=mode,proto3,enum=google.cloud.parallelstore.v1beta.TransferMetadataOptions_Mode" json:"mode,omitempty"`
// contains filtered or unexported fields
}Transfer metadata options for the instance.
func (*TransferMetadataOptions) Descriptor
func (*TransferMetadataOptions) Descriptor() ([]byte, []int)Deprecated: Use TransferMetadataOptions.ProtoReflect.Descriptor instead.
func (*TransferMetadataOptions) GetGid
func (x *TransferMetadataOptions) GetGid() TransferMetadataOptions_Gidfunc (*TransferMetadataOptions) GetMode
func (x *TransferMetadataOptions) GetMode() TransferMetadataOptions_Modefunc (*TransferMetadataOptions) GetUid
func (x *TransferMetadataOptions) GetUid() TransferMetadataOptions_Uidfunc (*TransferMetadataOptions) ProtoMessage
func (*TransferMetadataOptions) ProtoMessage()func (*TransferMetadataOptions) ProtoReflect
func (x *TransferMetadataOptions) ProtoReflect() protoreflect.Messagefunc (*TransferMetadataOptions) Reset
func (x *TransferMetadataOptions) Reset()func (*TransferMetadataOptions) String
func (x *TransferMetadataOptions) String() stringTransferMetadataOptions_Gid
type TransferMetadataOptions_Gid int32The GID preservation behavior.
TransferMetadataOptions_GID_UNSPECIFIED, TransferMetadataOptions_GID_SKIP, TransferMetadataOptions_GID_NUMBER_PRESERVE
const (
// default is GID_NUMBER_PRESERVE.
TransferMetadataOptions_GID_UNSPECIFIED TransferMetadataOptions_Gid = 0
// Do not preserve GID during a transfer job.
TransferMetadataOptions_GID_SKIP TransferMetadataOptions_Gid = 1
// Preserve GID that is in number format during a transfer job.
TransferMetadataOptions_GID_NUMBER_PRESERVE TransferMetadataOptions_Gid = 2
)func (TransferMetadataOptions_Gid) Descriptor
func (TransferMetadataOptions_Gid) Descriptor() protoreflect.EnumDescriptorfunc (TransferMetadataOptions_Gid) Enum
func (x TransferMetadataOptions_Gid) Enum() *TransferMetadataOptions_Gidfunc (TransferMetadataOptions_Gid) EnumDescriptor
func (TransferMetadataOptions_Gid) EnumDescriptor() ([]byte, []int)Deprecated: Use TransferMetadataOptions_Gid.Descriptor instead.
func (TransferMetadataOptions_Gid) Number
func (x TransferMetadataOptions_Gid) Number() protoreflect.EnumNumberfunc (TransferMetadataOptions_Gid) String
func (x TransferMetadataOptions_Gid) String() stringfunc (TransferMetadataOptions_Gid) Type
func (TransferMetadataOptions_Gid) Type() protoreflect.EnumTypeTransferMetadataOptions_Mode
type TransferMetadataOptions_Mode int32The mode preservation behavior.
TransferMetadataOptions_MODE_UNSPECIFIED, TransferMetadataOptions_MODE_SKIP, TransferMetadataOptions_MODE_PRESERVE
const (
// default is MODE_PRESERVE.
TransferMetadataOptions_MODE_UNSPECIFIED TransferMetadataOptions_Mode = 0
// Do not preserve mode during a transfer job.
TransferMetadataOptions_MODE_SKIP TransferMetadataOptions_Mode = 1
// Preserve mode during a transfer job.
TransferMetadataOptions_MODE_PRESERVE TransferMetadataOptions_Mode = 2
)func (TransferMetadataOptions_Mode) Descriptor
func (TransferMetadataOptions_Mode) Descriptor() protoreflect.EnumDescriptorfunc (TransferMetadataOptions_Mode) Enum
func (x TransferMetadataOptions_Mode) Enum() *TransferMetadataOptions_Modefunc (TransferMetadataOptions_Mode) EnumDescriptor
func (TransferMetadataOptions_Mode) EnumDescriptor() ([]byte, []int)Deprecated: Use TransferMetadataOptions_Mode.Descriptor instead.
func (TransferMetadataOptions_Mode) Number
func (x TransferMetadataOptions_Mode) Number() protoreflect.EnumNumberfunc (TransferMetadataOptions_Mode) String
func (x TransferMetadataOptions_Mode) String() stringfunc (TransferMetadataOptions_Mode) Type
func (TransferMetadataOptions_Mode) Type() protoreflect.EnumTypeTransferMetadataOptions_Uid
type TransferMetadataOptions_Uid int32The UID preservation behavior.
TransferMetadataOptions_UID_UNSPECIFIED, TransferMetadataOptions_UID_SKIP, TransferMetadataOptions_UID_NUMBER_PRESERVE
const (
// default is UID_NUMBER_PRESERVE.
TransferMetadataOptions_UID_UNSPECIFIED TransferMetadataOptions_Uid = 0
// Do not preserve UID during a transfer job.
TransferMetadataOptions_UID_SKIP TransferMetadataOptions_Uid = 1
// Preserve UID that is in number format during a transfer job.
TransferMetadataOptions_UID_NUMBER_PRESERVE TransferMetadataOptions_Uid = 2
)func (TransferMetadataOptions_Uid) Descriptor
func (TransferMetadataOptions_Uid) Descriptor() protoreflect.EnumDescriptorfunc (TransferMetadataOptions_Uid) Enum
func (x TransferMetadataOptions_Uid) Enum() *TransferMetadataOptions_Uidfunc (TransferMetadataOptions_Uid) EnumDescriptor
func (TransferMetadataOptions_Uid) EnumDescriptor() ([]byte, []int)Deprecated: Use TransferMetadataOptions_Uid.Descriptor instead.
func (TransferMetadataOptions_Uid) Number
func (x TransferMetadataOptions_Uid) Number() protoreflect.EnumNumberfunc (TransferMetadataOptions_Uid) String
func (x TransferMetadataOptions_Uid) String() stringfunc (TransferMetadataOptions_Uid) Type
func (TransferMetadataOptions_Uid) Type() protoreflect.EnumTypeTransferOperationMetadata
type TransferOperationMetadata struct {
// The source of transfer operation.
//
// Types that are valid to be assigned to Source:
//
// *TransferOperationMetadata_SourceParallelstore
// *TransferOperationMetadata_SourceGcsBucket
Source isTransferOperationMetadata_Source `protobuf_oneof:"source"`
// The destination of transfer operation.
//
// Types that are valid to be assigned to Destination:
//
// *TransferOperationMetadata_DestinationGcsBucket
// *TransferOperationMetadata_DestinationParallelstore
Destination isTransferOperationMetadata_Destination `protobuf_oneof:"destination"`
// Output only. The progress of the transfer operation.
Counters *TransferCounters `protobuf:"bytes,3,opt,name=counters,proto3" json:"counters,omitempty"`
// Output only. The type of transfer occurring.
TransferType TransferType `protobuf:"varint,6,opt,name=transfer_type,json=transferType,proto3,enum=google.cloud.parallelstore.v1beta.TransferType" json:"transfer_type,omitempty"`
// Output only. List of files that failed to be transferred. This list will
// have a maximum size of 5 elements.
ErrorSummary []*TransferErrorSummary `protobuf:"bytes,13,rep,name=error_summary,json=errorSummary,proto3" json:"error_summary,omitempty"`
// contains filtered or unexported fields
}Long-running operation metadata related to a data transfer.
func (*TransferOperationMetadata) Descriptor
func (*TransferOperationMetadata) Descriptor() ([]byte, []int)Deprecated: Use TransferOperationMetadata.ProtoReflect.Descriptor instead.
func (*TransferOperationMetadata) GetCounters
func (x *TransferOperationMetadata) GetCounters() *TransferCountersfunc (*TransferOperationMetadata) GetDestination
func (x *TransferOperationMetadata) GetDestination() isTransferOperationMetadata_Destinationfunc (*TransferOperationMetadata) GetDestinationGcsBucket
func (x *TransferOperationMetadata) GetDestinationGcsBucket() *DestinationGcsBucketfunc (*TransferOperationMetadata) GetDestinationParallelstore
func (x *TransferOperationMetadata) GetDestinationParallelstore() *DestinationParallelstorefunc (*TransferOperationMetadata) GetErrorSummary
func (x *TransferOperationMetadata) GetErrorSummary() []*TransferErrorSummaryfunc (*TransferOperationMetadata) GetSource
func (x *TransferOperationMetadata) GetSource() isTransferOperationMetadata_Sourcefunc (*TransferOperationMetadata) GetSourceGcsBucket
func (x *TransferOperationMetadata) GetSourceGcsBucket() *SourceGcsBucketfunc (*TransferOperationMetadata) GetSourceParallelstore
func (x *TransferOperationMetadata) GetSourceParallelstore() *SourceParallelstorefunc (*TransferOperationMetadata) GetTransferType
func (x *TransferOperationMetadata) GetTransferType() TransferTypefunc (*TransferOperationMetadata) ProtoMessage
func (*TransferOperationMetadata) ProtoMessage()func (*TransferOperationMetadata) ProtoReflect
func (x *TransferOperationMetadata) ProtoReflect() protoreflect.Messagefunc (*TransferOperationMetadata) Reset
func (x *TransferOperationMetadata) Reset()func (*TransferOperationMetadata) String
func (x *TransferOperationMetadata) String() stringTransferOperationMetadata_DestinationGcsBucket
type TransferOperationMetadata_DestinationGcsBucket struct {
// Output only. Cloud Storage destination.
DestinationGcsBucket *DestinationGcsBucket `protobuf:"bytes,9,opt,name=destination_gcs_bucket,json=destinationGcsBucket,proto3,oneof"`
}TransferOperationMetadata_DestinationParallelstore
type TransferOperationMetadata_DestinationParallelstore struct {
// Output only. Parallelstore destination.
DestinationParallelstore *DestinationParallelstore `protobuf:"bytes,10,opt,name=destination_parallelstore,json=destinationParallelstore,proto3,oneof"`
}TransferOperationMetadata_SourceGcsBucket
type TransferOperationMetadata_SourceGcsBucket struct {
// Output only. Cloud Storage source.
SourceGcsBucket *SourceGcsBucket `protobuf:"bytes,8,opt,name=source_gcs_bucket,json=sourceGcsBucket,proto3,oneof"`
}TransferOperationMetadata_SourceParallelstore
type TransferOperationMetadata_SourceParallelstore struct {
// Output only. Parallelstore source.
SourceParallelstore *SourceParallelstore `protobuf:"bytes,7,opt,name=source_parallelstore,json=sourceParallelstore,proto3,oneof"`
}TransferType
type TransferType int32Type of transfer that occurred.
TransferType_TRANSFER_TYPE_UNSPECIFIED, TransferType_IMPORT, TransferType_EXPORT
const (
// Zero is an illegal value.
TransferType_TRANSFER_TYPE_UNSPECIFIED TransferType = 0
// Imports to Parallelstore.
TransferType_IMPORT TransferType = 1
// Exports from Parallelstore.
TransferType_EXPORT TransferType = 2
)func (TransferType) Descriptor
func (TransferType) Descriptor() protoreflect.EnumDescriptorfunc (TransferType) Enum
func (x TransferType) Enum() *TransferTypefunc (TransferType) EnumDescriptor
func (TransferType) EnumDescriptor() ([]byte, []int)Deprecated: Use TransferType.Descriptor instead.
func (TransferType) Number
func (x TransferType) Number() protoreflect.EnumNumberfunc (TransferType) String
func (x TransferType) String() stringfunc (TransferType) Type
func (TransferType) Type() protoreflect.EnumTypeUnimplementedParallelstoreServer
type UnimplementedParallelstoreServer struct {
}UnimplementedParallelstoreServer should be embedded to have forward compatible implementations.
func (UnimplementedParallelstoreServer) CreateInstance
func (UnimplementedParallelstoreServer) CreateInstance(context.Context, *CreateInstanceRequest) (*longrunningpb.Operation, error)func (UnimplementedParallelstoreServer) DeleteInstance
func (UnimplementedParallelstoreServer) DeleteInstance(context.Context, *DeleteInstanceRequest) (*longrunningpb.Operation, error)func (UnimplementedParallelstoreServer) ExportData
func (UnimplementedParallelstoreServer) ExportData(context.Context, *ExportDataRequest) (*longrunningpb.Operation, error)func (UnimplementedParallelstoreServer) GetInstance
func (UnimplementedParallelstoreServer) GetInstance(context.Context, *GetInstanceRequest) (*Instance, error)func (UnimplementedParallelstoreServer) ImportData
func (UnimplementedParallelstoreServer) ImportData(context.Context, *ImportDataRequest) (*longrunningpb.Operation, error)func (UnimplementedParallelstoreServer) ListInstances
func (UnimplementedParallelstoreServer) ListInstances(context.Context, *ListInstancesRequest) (*ListInstancesResponse, error)func (UnimplementedParallelstoreServer) UpdateInstance
func (UnimplementedParallelstoreServer) UpdateInstance(context.Context, *UpdateInstanceRequest) (*longrunningpb.Operation, error)UnsafeParallelstoreServer
type UnsafeParallelstoreServer interface {
// contains filtered or unexported methods
}UnsafeParallelstoreServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ParallelstoreServer will result in compilation errors.
UpdateInstanceRequest
type UpdateInstanceRequest struct {
// Required. Mask of fields to update. Field mask is used to specify the
// fields to be overwritten in the Instance resource by the update. At least
// one path must be supplied in this field. The fields specified in the
// update_mask are relative to the resource, not the full request.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The instance to update.
Instance *Instance `protobuf:"bytes,2,opt,name=instance,proto3" json:"instance,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Update an instance.
func (*UpdateInstanceRequest) Descriptor
func (*UpdateInstanceRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateInstanceRequest.ProtoReflect.Descriptor instead.
func (*UpdateInstanceRequest) GetInstance
func (x *UpdateInstanceRequest) GetInstance() *Instancefunc (*UpdateInstanceRequest) GetRequestId
func (x *UpdateInstanceRequest) GetRequestId() stringfunc (*UpdateInstanceRequest) GetUpdateMask
func (x *UpdateInstanceRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateInstanceRequest) ProtoMessage
func (*UpdateInstanceRequest) ProtoMessage()func (*UpdateInstanceRequest) ProtoReflect
func (x *UpdateInstanceRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateInstanceRequest) Reset
func (x *UpdateInstanceRequest) Reset()func (*UpdateInstanceRequest) String
func (x *UpdateInstanceRequest) String() string