datasphere

package
v0.0.0-...-a04abcf Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FolderBudgetService_Get_FullMethodName = "/yandex.cloud.datasphere.v1.FolderBudgetService/Get"
	FolderBudgetService_Set_FullMethodName = "/yandex.cloud.datasphere.v1.FolderBudgetService/Set"
)
View Source
const (
	NodeService_Execute_FullMethodName      = "/yandex.cloud.datasphere.v1.NodeService/Execute"
	NodeService_ExecuteAlias_FullMethodName = "/yandex.cloud.datasphere.v1.NodeService/ExecuteAlias"
)
View Source
const (
	ProjectDataService_UploadFile_FullMethodName   = "/yandex.cloud.datasphere.v1.ProjectDataService/UploadFile"
	ProjectDataService_DownloadFile_FullMethodName = "/yandex.cloud.datasphere.v1.ProjectDataService/DownloadFile"
)
View Source
const (
	ProjectService_Create_FullMethodName              = "/yandex.cloud.datasphere.v1.ProjectService/Create"
	ProjectService_Update_FullMethodName              = "/yandex.cloud.datasphere.v1.ProjectService/Update"
	ProjectService_Delete_FullMethodName              = "/yandex.cloud.datasphere.v1.ProjectService/Delete"
	ProjectService_Open_FullMethodName                = "/yandex.cloud.datasphere.v1.ProjectService/Open"
	ProjectService_Get_FullMethodName                 = "/yandex.cloud.datasphere.v1.ProjectService/Get"
	ProjectService_List_FullMethodName                = "/yandex.cloud.datasphere.v1.ProjectService/List"
	ProjectService_GetUnitBalance_FullMethodName      = "/yandex.cloud.datasphere.v1.ProjectService/GetUnitBalance"
	ProjectService_SetUnitBalance_FullMethodName      = "/yandex.cloud.datasphere.v1.ProjectService/SetUnitBalance"
	ProjectService_Execute_FullMethodName             = "/yandex.cloud.datasphere.v1.ProjectService/Execute"
	ProjectService_GetCellOutputs_FullMethodName      = "/yandex.cloud.datasphere.v1.ProjectService/GetCellOutputs"
	ProjectService_GetStateVariables_FullMethodName   = "/yandex.cloud.datasphere.v1.ProjectService/GetStateVariables"
	ProjectService_GetNotebookMetadata_FullMethodName = "/yandex.cloud.datasphere.v1.ProjectService/GetNotebookMetadata"
)
View Source
const (
	AppTokenService_Validate_FullMethodName = "/yandex.cloud.datasphere.v1.AppTokenService/Validate"
)

Variables

View Source
var (
	Project_Settings_CommitMode_name = map[int32]string{
		0: "COMMIT_MODE_UNSPECIFIED",
		1: "STANDARD",
		2: "AUTO",
	}
	Project_Settings_CommitMode_value = map[string]int32{
		"COMMIT_MODE_UNSPECIFIED": 0,
		"STANDARD":                1,
		"AUTO":                    2,
	}
)

Enum value maps for Project_Settings_CommitMode.

View Source
var AppTokenService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.datasphere.v1.AppTokenService",
	HandlerType: (*AppTokenServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Validate",
			Handler:    _AppTokenService_Validate_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/datasphere/v1/app_token_service.proto",
}

AppTokenService_ServiceDesc is the grpc.ServiceDesc for AppTokenService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_yandex_cloud_datasphere_v1_app_token_service_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_datasphere_v1_folder_budget_service_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_datasphere_v1_node_execution_error_details_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_datasphere_v1_node_service_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_datasphere_v1_project_data_service_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_datasphere_v1_project_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_datasphere_v1_project_service_proto protoreflect.FileDescriptor
View Source
var FolderBudgetService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.datasphere.v1.FolderBudgetService",
	HandlerType: (*FolderBudgetServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Get",
			Handler:    _FolderBudgetService_Get_Handler,
		},
		{
			MethodName: "Set",
			Handler:    _FolderBudgetService_Set_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/datasphere/v1/folder_budget_service.proto",
}

FolderBudgetService_ServiceDesc is the grpc.ServiceDesc for FolderBudgetService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var NodeService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.datasphere.v1.NodeService",
	HandlerType: (*NodeServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Execute",
			Handler:    _NodeService_Execute_Handler,
		},
		{
			MethodName: "ExecuteAlias",
			Handler:    _NodeService_ExecuteAlias_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/datasphere/v1/node_service.proto",
}

NodeService_ServiceDesc is the grpc.ServiceDesc for NodeService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ProjectDataService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.datasphere.v1.ProjectDataService",
	HandlerType: (*ProjectDataServiceServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "UploadFile",
			Handler:       _ProjectDataService_UploadFile_Handler,
			ClientStreams: true,
		},
		{
			StreamName:    "DownloadFile",
			Handler:       _ProjectDataService_DownloadFile_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "yandex/cloud/datasphere/v1/project_data_service.proto",
}

ProjectDataService_ServiceDesc is the grpc.ServiceDesc for ProjectDataService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ProjectService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.datasphere.v1.ProjectService",
	HandlerType: (*ProjectServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Create",
			Handler:    _ProjectService_Create_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _ProjectService_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _ProjectService_Delete_Handler,
		},
		{
			MethodName: "Open",
			Handler:    _ProjectService_Open_Handler,
		},
		{
			MethodName: "Get",
			Handler:    _ProjectService_Get_Handler,
		},
		{
			MethodName: "List",
			Handler:    _ProjectService_List_Handler,
		},
		{
			MethodName: "GetUnitBalance",
			Handler:    _ProjectService_GetUnitBalance_Handler,
		},
		{
			MethodName: "SetUnitBalance",
			Handler:    _ProjectService_SetUnitBalance_Handler,
		},
		{
			MethodName: "Execute",
			Handler:    _ProjectService_Execute_Handler,
		},
		{
			MethodName: "GetCellOutputs",
			Handler:    _ProjectService_GetCellOutputs_Handler,
		},
		{
			MethodName: "GetStateVariables",
			Handler:    _ProjectService_GetStateVariables_Handler,
		},
		{
			MethodName: "GetNotebookMetadata",
			Handler:    _ProjectService_GetNotebookMetadata_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/datasphere/v1/project_service.proto",
}

ProjectService_ServiceDesc is the grpc.ServiceDesc for ProjectService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterAppTokenServiceServer

func RegisterAppTokenServiceServer(s grpc.ServiceRegistrar, srv AppTokenServiceServer)

func RegisterFolderBudgetServiceServer

func RegisterFolderBudgetServiceServer(s grpc.ServiceRegistrar, srv FolderBudgetServiceServer)

func RegisterNodeServiceServer

func RegisterNodeServiceServer(s grpc.ServiceRegistrar, srv NodeServiceServer)

func RegisterProjectDataServiceServer

func RegisterProjectDataServiceServer(s grpc.ServiceRegistrar, srv ProjectDataServiceServer)

func RegisterProjectServiceServer

func RegisterProjectServiceServer(s grpc.ServiceRegistrar, srv ProjectServiceServer)

Types

type AliasExecutionRequest

type AliasExecutionRequest struct {

	// ID of the folder that will be matched with Alias ACL
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Name of the Alias to perform request on
	AliasName string `protobuf:"bytes,2,opt,name=alias_name,json=aliasName,proto3" json:"alias_name,omitempty"`
	// Input data for the execution
	Input *structpb.Struct `protobuf:"bytes,3,opt,name=input,proto3" json:"input,omitempty"`
	// contains filtered or unexported fields
}

func (*AliasExecutionRequest) Descriptor deprecated

func (*AliasExecutionRequest) Descriptor() ([]byte, []int)

Deprecated: Use AliasExecutionRequest.ProtoReflect.Descriptor instead.

func (*AliasExecutionRequest) GetAliasName

func (x *AliasExecutionRequest) GetAliasName() string

func (*AliasExecutionRequest) GetFolderId

func (x *AliasExecutionRequest) GetFolderId() string

func (*AliasExecutionRequest) GetInput

func (x *AliasExecutionRequest) GetInput() *structpb.Struct

func (*AliasExecutionRequest) ProtoMessage

func (*AliasExecutionRequest) ProtoMessage()

func (*AliasExecutionRequest) ProtoReflect

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

func (*AliasExecutionRequest) Reset

func (x *AliasExecutionRequest) Reset()

func (*AliasExecutionRequest) SetAliasName

func (m *AliasExecutionRequest) SetAliasName(v string)

func (*AliasExecutionRequest) SetFolderId

func (m *AliasExecutionRequest) SetFolderId(v string)

func (*AliasExecutionRequest) SetInput

func (m *AliasExecutionRequest) SetInput(v *structpb.Struct)

func (*AliasExecutionRequest) String

func (x *AliasExecutionRequest) String() string

type AliasExecutionResponse

type AliasExecutionResponse struct {

	// Result of the execution
	Output *structpb.Struct `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
	// contains filtered or unexported fields
}

func (*AliasExecutionResponse) Descriptor deprecated

func (*AliasExecutionResponse) Descriptor() ([]byte, []int)

Deprecated: Use AliasExecutionResponse.ProtoReflect.Descriptor instead.

func (*AliasExecutionResponse) GetOutput

func (x *AliasExecutionResponse) GetOutput() *structpb.Struct

func (*AliasExecutionResponse) ProtoMessage

func (*AliasExecutionResponse) ProtoMessage()

func (*AliasExecutionResponse) ProtoReflect

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

func (*AliasExecutionResponse) Reset

func (x *AliasExecutionResponse) Reset()

func (*AliasExecutionResponse) SetOutput

func (m *AliasExecutionResponse) SetOutput(v *structpb.Struct)

func (*AliasExecutionResponse) String

func (x *AliasExecutionResponse) String() string

type AppTokenServiceClient

type AppTokenServiceClient interface {
	// Validates app token.
	Validate(ctx context.Context, in *AppTokenValidateRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

AppTokenServiceClient is the client API for AppTokenService 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.

type AppTokenServiceServer

type AppTokenServiceServer interface {
	// Validates app token.
	Validate(context.Context, *AppTokenValidateRequest) (*emptypb.Empty, error)
}

AppTokenServiceServer is the server API for AppTokenService service. All implementations should embed UnimplementedAppTokenServiceServer for forward compatibility

type AppTokenValidateRequest

type AppTokenValidateRequest struct {

	// App token to validate.
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*AppTokenValidateRequest) Descriptor deprecated

func (*AppTokenValidateRequest) Descriptor() ([]byte, []int)

Deprecated: Use AppTokenValidateRequest.ProtoReflect.Descriptor instead.

func (*AppTokenValidateRequest) GetToken

func (x *AppTokenValidateRequest) GetToken() string

func (*AppTokenValidateRequest) ProtoMessage

func (*AppTokenValidateRequest) ProtoMessage()

func (*AppTokenValidateRequest) ProtoReflect

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

func (*AppTokenValidateRequest) Reset

func (x *AppTokenValidateRequest) Reset()

func (*AppTokenValidateRequest) SetToken

func (m *AppTokenValidateRequest) SetToken(v string)

func (*AppTokenValidateRequest) String

func (x *AppTokenValidateRequest) String() string

type CellOutputsRequest

type CellOutputsRequest struct {

	// ID of the project to return cell outputs for.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// ID of the cell to return outputs for.
	CellId string `protobuf:"bytes,2,opt,name=cell_id,json=cellId,proto3" json:"cell_id,omitempty"`
	// ID of the checkpoint to return cell outputs for.
	CheckpointId string `protobuf:"bytes,3,opt,name=checkpoint_id,json=checkpointId,proto3" json:"checkpoint_id,omitempty"`
	// Timestamp from which to return outputs.
	StartAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=start_at,json=startAt,proto3" json:"start_at,omitempty"`
	// contains filtered or unexported fields
}

func (*CellOutputsRequest) Descriptor deprecated

func (*CellOutputsRequest) Descriptor() ([]byte, []int)

Deprecated: Use CellOutputsRequest.ProtoReflect.Descriptor instead.

func (*CellOutputsRequest) GetCellId

func (x *CellOutputsRequest) GetCellId() string

func (*CellOutputsRequest) GetCheckpointId

func (x *CellOutputsRequest) GetCheckpointId() string

func (*CellOutputsRequest) GetProjectId

func (x *CellOutputsRequest) GetProjectId() string

func (*CellOutputsRequest) GetStartAt

func (x *CellOutputsRequest) GetStartAt() *timestamppb.Timestamp

func (*CellOutputsRequest) ProtoMessage

func (*CellOutputsRequest) ProtoMessage()

func (*CellOutputsRequest) ProtoReflect

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

func (*CellOutputsRequest) Reset

func (x *CellOutputsRequest) Reset()

func (*CellOutputsRequest) SetCellId

func (m *CellOutputsRequest) SetCellId(v string)

func (*CellOutputsRequest) SetCheckpointId

func (m *CellOutputsRequest) SetCheckpointId(v string)

func (*CellOutputsRequest) SetProjectId

func (m *CellOutputsRequest) SetProjectId(v string)

func (*CellOutputsRequest) SetStartAt

func (m *CellOutputsRequest) SetStartAt(v *timestamppb.Timestamp)

func (*CellOutputsRequest) String

func (x *CellOutputsRequest) String() string

type CellOutputsResponse

type CellOutputsResponse struct {

	// List of outputs.
	Outputs []string `protobuf:"bytes,1,rep,name=outputs,proto3" json:"outputs,omitempty"`
	// contains filtered or unexported fields
}

func (*CellOutputsResponse) Descriptor deprecated

func (*CellOutputsResponse) Descriptor() ([]byte, []int)

Deprecated: Use CellOutputsResponse.ProtoReflect.Descriptor instead.

func (*CellOutputsResponse) GetOutputs

func (x *CellOutputsResponse) GetOutputs() []string

func (*CellOutputsResponse) ProtoMessage

func (*CellOutputsResponse) ProtoMessage()

func (*CellOutputsResponse) ProtoReflect

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

func (*CellOutputsResponse) Reset

func (x *CellOutputsResponse) Reset()

func (*CellOutputsResponse) SetOutputs

func (m *CellOutputsResponse) SetOutputs(v []string)

func (*CellOutputsResponse) String

func (x *CellOutputsResponse) String() string

type CreateProjectMetadata

type CreateProjectMetadata struct {

	// ID of the project that is being created.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateProjectMetadata) Descriptor deprecated

func (*CreateProjectMetadata) Descriptor() ([]byte, []int)

Deprecated: Use CreateProjectMetadata.ProtoReflect.Descriptor instead.

func (*CreateProjectMetadata) GetProjectId

func (x *CreateProjectMetadata) GetProjectId() string

func (*CreateProjectMetadata) ProtoMessage

func (*CreateProjectMetadata) ProtoMessage()

func (*CreateProjectMetadata) ProtoReflect

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

func (*CreateProjectMetadata) Reset

func (x *CreateProjectMetadata) Reset()

func (*CreateProjectMetadata) SetProjectId

func (m *CreateProjectMetadata) SetProjectId(v string)

func (*CreateProjectMetadata) String

func (x *CreateProjectMetadata) String() string

type CreateProjectRequest

type CreateProjectRequest struct {

	// ID of the folder to create a project in.
	// To get the folder ID use a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Name of the project.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the project.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Settings of the project.
	Settings *Project_Settings `protobuf:"bytes,4,opt,name=settings,proto3" json:"settings,omitempty"`
	// Limits of the project.
	Limits *Project_Limits `protobuf:"bytes,5,opt,name=limits,proto3" json:"limits,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateProjectRequest) Descriptor deprecated

func (*CreateProjectRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateProjectRequest.ProtoReflect.Descriptor instead.

func (*CreateProjectRequest) GetDescription

func (x *CreateProjectRequest) GetDescription() string

func (*CreateProjectRequest) GetFolderId

func (x *CreateProjectRequest) GetFolderId() string

func (*CreateProjectRequest) GetLimits

func (x *CreateProjectRequest) GetLimits() *Project_Limits

func (*CreateProjectRequest) GetName

func (x *CreateProjectRequest) GetName() string

func (*CreateProjectRequest) GetSettings

func (x *CreateProjectRequest) GetSettings() *Project_Settings

func (*CreateProjectRequest) ProtoMessage

func (*CreateProjectRequest) ProtoMessage()

func (*CreateProjectRequest) ProtoReflect

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

func (*CreateProjectRequest) Reset

func (x *CreateProjectRequest) Reset()

func (*CreateProjectRequest) SetDescription

func (m *CreateProjectRequest) SetDescription(v string)

func (*CreateProjectRequest) SetFolderId

func (m *CreateProjectRequest) SetFolderId(v string)

func (*CreateProjectRequest) SetLimits

func (m *CreateProjectRequest) SetLimits(v *Project_Limits)

func (*CreateProjectRequest) SetName

func (m *CreateProjectRequest) SetName(v string)

func (*CreateProjectRequest) SetSettings

func (m *CreateProjectRequest) SetSettings(v *Project_Settings)

func (*CreateProjectRequest) String

func (x *CreateProjectRequest) String() string

type DeleteProjectMetadata

type DeleteProjectMetadata struct {

	// ID of the project that is being deleted.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteProjectMetadata) Descriptor deprecated

func (*DeleteProjectMetadata) Descriptor() ([]byte, []int)

Deprecated: Use DeleteProjectMetadata.ProtoReflect.Descriptor instead.

func (*DeleteProjectMetadata) GetProjectId

func (x *DeleteProjectMetadata) GetProjectId() string

func (*DeleteProjectMetadata) ProtoMessage

func (*DeleteProjectMetadata) ProtoMessage()

func (*DeleteProjectMetadata) ProtoReflect

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

func (*DeleteProjectMetadata) Reset

func (x *DeleteProjectMetadata) Reset()

func (*DeleteProjectMetadata) SetProjectId

func (m *DeleteProjectMetadata) SetProjectId(v string)

func (*DeleteProjectMetadata) String

func (x *DeleteProjectMetadata) String() string

type DeleteProjectRequest

type DeleteProjectRequest struct {

	// ID of the Project resource to delete.
	// To get the project ID use a [ProjectService.List] request.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteProjectRequest) Descriptor deprecated

func (*DeleteProjectRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteProjectRequest.ProtoReflect.Descriptor instead.

func (*DeleteProjectRequest) GetProjectId

func (x *DeleteProjectRequest) GetProjectId() string

func (*DeleteProjectRequest) ProtoMessage

func (*DeleteProjectRequest) ProtoMessage()

func (*DeleteProjectRequest) ProtoReflect

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

func (*DeleteProjectRequest) Reset

func (x *DeleteProjectRequest) Reset()

func (*DeleteProjectRequest) SetProjectId

func (m *DeleteProjectRequest) SetProjectId(v string)

func (*DeleteProjectRequest) String

func (x *DeleteProjectRequest) String() string

type DownloadFileRequest

type DownloadFileRequest struct {

	// ID of the Project resource to download the file from.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Path of the file to download.
	FilePath string `protobuf:"bytes,2,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"`
	// contains filtered or unexported fields
}

func (*DownloadFileRequest) Descriptor deprecated

func (*DownloadFileRequest) Descriptor() ([]byte, []int)

Deprecated: Use DownloadFileRequest.ProtoReflect.Descriptor instead.

func (*DownloadFileRequest) GetFilePath

func (x *DownloadFileRequest) GetFilePath() string

func (*DownloadFileRequest) GetProjectId

func (x *DownloadFileRequest) GetProjectId() string

func (*DownloadFileRequest) ProtoMessage

func (*DownloadFileRequest) ProtoMessage()

func (*DownloadFileRequest) ProtoReflect

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

func (*DownloadFileRequest) Reset

func (x *DownloadFileRequest) Reset()

func (*DownloadFileRequest) SetFilePath

func (m *DownloadFileRequest) SetFilePath(v string)

func (*DownloadFileRequest) SetProjectId

func (m *DownloadFileRequest) SetProjectId(v string)

func (*DownloadFileRequest) String

func (x *DownloadFileRequest) String() string

type DownloadFileResponse

type DownloadFileResponse struct {

	// Types that are assignable to Message:
	//
	//	*DownloadFileResponse_Metadata
	//	*DownloadFileResponse_Chunk
	Message isDownloadFileResponse_Message `protobuf_oneof:"message"`
	// contains filtered or unexported fields
}

func (*DownloadFileResponse) Descriptor deprecated

func (*DownloadFileResponse) Descriptor() ([]byte, []int)

Deprecated: Use DownloadFileResponse.ProtoReflect.Descriptor instead.

func (*DownloadFileResponse) GetChunk

func (x *DownloadFileResponse) GetChunk() []byte

func (*DownloadFileResponse) GetMessage

func (m *DownloadFileResponse) GetMessage() isDownloadFileResponse_Message

func (*DownloadFileResponse) GetMetadata

func (x *DownloadFileResponse) GetMetadata() *FileMetadata

func (*DownloadFileResponse) ProtoMessage

func (*DownloadFileResponse) ProtoMessage()

func (*DownloadFileResponse) ProtoReflect

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

func (*DownloadFileResponse) Reset

func (x *DownloadFileResponse) Reset()

func (*DownloadFileResponse) SetChunk

func (m *DownloadFileResponse) SetChunk(v []byte)

func (*DownloadFileResponse) SetMessage

func (*DownloadFileResponse) SetMetadata

func (m *DownloadFileResponse) SetMetadata(v *FileMetadata)

func (*DownloadFileResponse) String

func (x *DownloadFileResponse) String() string

type DownloadFileResponse_Chunk

type DownloadFileResponse_Chunk struct {
	// Byte chunk of the downloaded file.
	Chunk []byte `protobuf:"bytes,2,opt,name=chunk,proto3,oneof"`
}

type DownloadFileResponse_Message

type DownloadFileResponse_Message = isDownloadFileResponse_Message

type DownloadFileResponse_Metadata

type DownloadFileResponse_Metadata struct {
	// Metadata of the downloaded file.
	Metadata *FileMetadata `protobuf:"bytes,1,opt,name=metadata,proto3,oneof"`
}

type FileMetadata

type FileMetadata struct {

	// ID of the Project resource associated with the file.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// File path.
	Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// File size in bytes.
	SizeBytes int64 `protobuf:"varint,3,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*FileMetadata) Descriptor deprecated

func (*FileMetadata) Descriptor() ([]byte, []int)

Deprecated: Use FileMetadata.ProtoReflect.Descriptor instead.

func (*FileMetadata) GetPath

func (x *FileMetadata) GetPath() string

func (*FileMetadata) GetProjectId

func (x *FileMetadata) GetProjectId() string

func (*FileMetadata) GetSizeBytes

func (x *FileMetadata) GetSizeBytes() int64

func (*FileMetadata) ProtoMessage

func (*FileMetadata) ProtoMessage()

func (*FileMetadata) ProtoReflect

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

func (*FileMetadata) Reset

func (x *FileMetadata) Reset()

func (*FileMetadata) SetPath

func (m *FileMetadata) SetPath(v string)

func (*FileMetadata) SetProjectId

func (m *FileMetadata) SetProjectId(v string)

func (*FileMetadata) SetSizeBytes

func (m *FileMetadata) SetSizeBytes(v int64)

func (*FileMetadata) String

func (x *FileMetadata) String() string

type FolderBudgetServiceClient

type FolderBudgetServiceClient interface {
	// Returns the specified folder budget.
	Get(ctx context.Context, in *GetFolderBudgetRequest, opts ...grpc.CallOption) (*GetFolderBudgetResponse, error)
	// Sets the unit balance and the limits of the specified folder budget.
	Set(ctx context.Context, in *SetFolderBudgetRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

FolderBudgetServiceClient is the client API for FolderBudgetService 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.

type FolderBudgetServiceServer

type FolderBudgetServiceServer interface {
	// Returns the specified folder budget.
	Get(context.Context, *GetFolderBudgetRequest) (*GetFolderBudgetResponse, error)
	// Sets the unit balance and the limits of the specified folder budget.
	Set(context.Context, *SetFolderBudgetRequest) (*emptypb.Empty, error)
}

FolderBudgetServiceServer is the server API for FolderBudgetService service. All implementations should embed UnimplementedFolderBudgetServiceServer for forward compatibility

type GetFolderBudgetRequest

type GetFolderBudgetRequest struct {

	// ID of the folder to get a budget for.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetFolderBudgetRequest) Descriptor deprecated

func (*GetFolderBudgetRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetFolderBudgetRequest.ProtoReflect.Descriptor instead.

func (*GetFolderBudgetRequest) GetFolderId

func (x *GetFolderBudgetRequest) GetFolderId() string

func (*GetFolderBudgetRequest) ProtoMessage

func (*GetFolderBudgetRequest) ProtoMessage()

func (*GetFolderBudgetRequest) ProtoReflect

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

func (*GetFolderBudgetRequest) Reset

func (x *GetFolderBudgetRequest) Reset()

func (*GetFolderBudgetRequest) SetFolderId

func (m *GetFolderBudgetRequest) SetFolderId(v string)

func (*GetFolderBudgetRequest) String

func (x *GetFolderBudgetRequest) String() string

type GetFolderBudgetResponse

type GetFolderBudgetResponse struct {

	// The number of units available in the folder.
	UnitBalance *wrapperspb.Int64Value `protobuf:"bytes,1,opt,name=unit_balance,json=unitBalance,proto3" json:"unit_balance,omitempty"`
	// The number of units that can be spent per hour.
	MaxUnitsPerHour *wrapperspb.Int64Value `protobuf:"bytes,2,opt,name=max_units_per_hour,json=maxUnitsPerHour,proto3" json:"max_units_per_hour,omitempty"`
	// The number of units that can be spent on one execution.
	MaxUnitsPerExecution *wrapperspb.Int64Value `protobuf:"bytes,3,opt,name=max_units_per_execution,json=maxUnitsPerExecution,proto3" json:"max_units_per_execution,omitempty"`
	// contains filtered or unexported fields
}

func (*GetFolderBudgetResponse) Descriptor deprecated

func (*GetFolderBudgetResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetFolderBudgetResponse.ProtoReflect.Descriptor instead.

func (*GetFolderBudgetResponse) GetMaxUnitsPerExecution

func (x *GetFolderBudgetResponse) GetMaxUnitsPerExecution() *wrapperspb.Int64Value

func (*GetFolderBudgetResponse) GetMaxUnitsPerHour

func (x *GetFolderBudgetResponse) GetMaxUnitsPerHour() *wrapperspb.Int64Value

func (*GetFolderBudgetResponse) GetUnitBalance

func (x *GetFolderBudgetResponse) GetUnitBalance() *wrapperspb.Int64Value

func (*GetFolderBudgetResponse) ProtoMessage

func (*GetFolderBudgetResponse) ProtoMessage()

func (*GetFolderBudgetResponse) ProtoReflect

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

func (*GetFolderBudgetResponse) Reset

func (x *GetFolderBudgetResponse) Reset()

func (*GetFolderBudgetResponse) SetMaxUnitsPerExecution

func (m *GetFolderBudgetResponse) SetMaxUnitsPerExecution(v *wrapperspb.Int64Value)

func (*GetFolderBudgetResponse) SetMaxUnitsPerHour

func (m *GetFolderBudgetResponse) SetMaxUnitsPerHour(v *wrapperspb.Int64Value)

func (*GetFolderBudgetResponse) SetUnitBalance

func (m *GetFolderBudgetResponse) SetUnitBalance(v *wrapperspb.Int64Value)

func (*GetFolderBudgetResponse) String

func (x *GetFolderBudgetResponse) String() string

type GetNotebookMetadataRequest

type GetNotebookMetadataRequest struct {

	// ID of the project, for which to return notebook metadata.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Path of the notebook to get metadata.
	NotebookPath string `protobuf:"bytes,2,opt,name=notebook_path,json=notebookPath,proto3" json:"notebook_path,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNotebookMetadataRequest) Descriptor deprecated

func (*GetNotebookMetadataRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetNotebookMetadataRequest.ProtoReflect.Descriptor instead.

func (*GetNotebookMetadataRequest) GetNotebookPath

func (x *GetNotebookMetadataRequest) GetNotebookPath() string

func (*GetNotebookMetadataRequest) GetProjectId

func (x *GetNotebookMetadataRequest) GetProjectId() string

func (*GetNotebookMetadataRequest) ProtoMessage

func (*GetNotebookMetadataRequest) ProtoMessage()

func (*GetNotebookMetadataRequest) ProtoReflect

func (*GetNotebookMetadataRequest) Reset

func (x *GetNotebookMetadataRequest) Reset()

func (*GetNotebookMetadataRequest) SetNotebookPath

func (m *GetNotebookMetadataRequest) SetNotebookPath(v string)

func (*GetNotebookMetadataRequest) SetProjectId

func (m *GetNotebookMetadataRequest) SetProjectId(v string)

func (*GetNotebookMetadataRequest) String

func (x *GetNotebookMetadataRequest) String() string

type GetNotebookMetadataResponse

type GetNotebookMetadataResponse struct {

	// ID of the specified notebook.
	NotebookId string `protobuf:"bytes,1,opt,name=notebook_id,json=notebookId,proto3" json:"notebook_id,omitempty"`
	// The time the notebook was created.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// The time the notebook was modified last time.
	ModifiedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=modified_at,json=modifiedAt,proto3" json:"modified_at,omitempty"`
	// Content length of the specified notebook.
	ContentLength int64 `protobuf:"varint,4,opt,name=content_length,json=contentLength,proto3" json:"content_length,omitempty"`
	// Cell ids of the specified notebook.
	CellIds []string `protobuf:"bytes,5,rep,name=cell_ids,json=cellIds,proto3" json:"cell_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNotebookMetadataResponse) Descriptor deprecated

func (*GetNotebookMetadataResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetNotebookMetadataResponse.ProtoReflect.Descriptor instead.

func (*GetNotebookMetadataResponse) GetCellIds

func (x *GetNotebookMetadataResponse) GetCellIds() []string

func (*GetNotebookMetadataResponse) GetContentLength

func (x *GetNotebookMetadataResponse) GetContentLength() int64

func (*GetNotebookMetadataResponse) GetCreatedAt

func (*GetNotebookMetadataResponse) GetModifiedAt

func (*GetNotebookMetadataResponse) GetNotebookId

func (x *GetNotebookMetadataResponse) GetNotebookId() string

func (*GetNotebookMetadataResponse) ProtoMessage

func (*GetNotebookMetadataResponse) ProtoMessage()

func (*GetNotebookMetadataResponse) ProtoReflect

func (*GetNotebookMetadataResponse) Reset

func (x *GetNotebookMetadataResponse) Reset()

func (*GetNotebookMetadataResponse) SetCellIds

func (m *GetNotebookMetadataResponse) SetCellIds(v []string)

func (*GetNotebookMetadataResponse) SetContentLength

func (m *GetNotebookMetadataResponse) SetContentLength(v int64)

func (*GetNotebookMetadataResponse) SetCreatedAt

func (*GetNotebookMetadataResponse) SetModifiedAt

func (m *GetNotebookMetadataResponse) SetModifiedAt(v *timestamppb.Timestamp)

func (*GetNotebookMetadataResponse) SetNotebookId

func (m *GetNotebookMetadataResponse) SetNotebookId(v string)

func (*GetNotebookMetadataResponse) String

func (x *GetNotebookMetadataResponse) String() string

type GetProjectRequest

type GetProjectRequest struct {

	// ID of the Project resource to return.
	// To get the project ID use a [ProjectService.List] request.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetProjectRequest) Descriptor deprecated

func (*GetProjectRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetProjectRequest.ProtoReflect.Descriptor instead.

func (*GetProjectRequest) GetProjectId

func (x *GetProjectRequest) GetProjectId() string

func (*GetProjectRequest) ProtoMessage

func (*GetProjectRequest) ProtoMessage()

func (*GetProjectRequest) ProtoReflect

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

func (*GetProjectRequest) Reset

func (x *GetProjectRequest) Reset()

func (*GetProjectRequest) SetProjectId

func (m *GetProjectRequest) SetProjectId(v string)

func (*GetProjectRequest) String

func (x *GetProjectRequest) String() string

type GetStateVariablesRequest

type GetStateVariablesRequest struct {

	// ID of the project, for which to return state variables.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// ID of the notebook, for which to return state variables.
	NotebookId string `protobuf:"bytes,2,opt,name=notebook_id,json=notebookId,proto3" json:"notebook_id,omitempty"`
	// Names of variables to return.
	VariableNames []string `protobuf:"bytes,3,rep,name=variable_names,json=variableNames,proto3" json:"variable_names,omitempty"`
	// ID of the checkpoint, for which to return state variables.
	CheckpointId string `protobuf:"bytes,4,opt,name=checkpoint_id,json=checkpointId,proto3" json:"checkpoint_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetStateVariablesRequest) Descriptor deprecated

func (*GetStateVariablesRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetStateVariablesRequest.ProtoReflect.Descriptor instead.

func (*GetStateVariablesRequest) GetCheckpointId

func (x *GetStateVariablesRequest) GetCheckpointId() string

func (*GetStateVariablesRequest) GetNotebookId

func (x *GetStateVariablesRequest) GetNotebookId() string

func (*GetStateVariablesRequest) GetProjectId

func (x *GetStateVariablesRequest) GetProjectId() string

func (*GetStateVariablesRequest) GetVariableNames

func (x *GetStateVariablesRequest) GetVariableNames() []string

func (*GetStateVariablesRequest) ProtoMessage

func (*GetStateVariablesRequest) ProtoMessage()

func (*GetStateVariablesRequest) ProtoReflect

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

func (*GetStateVariablesRequest) Reset

func (x *GetStateVariablesRequest) Reset()

func (*GetStateVariablesRequest) SetCheckpointId

func (m *GetStateVariablesRequest) SetCheckpointId(v string)

func (*GetStateVariablesRequest) SetNotebookId

func (m *GetStateVariablesRequest) SetNotebookId(v string)

func (*GetStateVariablesRequest) SetProjectId

func (m *GetStateVariablesRequest) SetProjectId(v string)

func (*GetStateVariablesRequest) SetVariableNames

func (m *GetStateVariablesRequest) SetVariableNames(v []string)

func (*GetStateVariablesRequest) String

func (x *GetStateVariablesRequest) String() string

type GetStateVariablesResponse

type GetStateVariablesResponse struct {

	// Values of the specified variables.
	Variables *structpb.Struct `protobuf:"bytes,1,opt,name=variables,proto3" json:"variables,omitempty"`
	// contains filtered or unexported fields
}

func (*GetStateVariablesResponse) Descriptor deprecated

func (*GetStateVariablesResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetStateVariablesResponse.ProtoReflect.Descriptor instead.

func (*GetStateVariablesResponse) GetVariables

func (x *GetStateVariablesResponse) GetVariables() *structpb.Struct

func (*GetStateVariablesResponse) ProtoMessage

func (*GetStateVariablesResponse) ProtoMessage()

func (*GetStateVariablesResponse) ProtoReflect

func (*GetStateVariablesResponse) Reset

func (x *GetStateVariablesResponse) Reset()

func (*GetStateVariablesResponse) SetVariables

func (m *GetStateVariablesResponse) SetVariables(v *structpb.Struct)

func (*GetStateVariablesResponse) String

func (x *GetStateVariablesResponse) String() string

type GetUnitBalanceRequest

type GetUnitBalanceRequest struct {

	// ID of the project to return the unit balance for.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUnitBalanceRequest) Descriptor deprecated

func (*GetUnitBalanceRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetUnitBalanceRequest.ProtoReflect.Descriptor instead.

func (*GetUnitBalanceRequest) GetProjectId

func (x *GetUnitBalanceRequest) GetProjectId() string

func (*GetUnitBalanceRequest) ProtoMessage

func (*GetUnitBalanceRequest) ProtoMessage()

func (*GetUnitBalanceRequest) ProtoReflect

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

func (*GetUnitBalanceRequest) Reset

func (x *GetUnitBalanceRequest) Reset()

func (*GetUnitBalanceRequest) SetProjectId

func (m *GetUnitBalanceRequest) SetProjectId(v string)

func (*GetUnitBalanceRequest) String

func (x *GetUnitBalanceRequest) String() string

type GetUnitBalanceResponse

type GetUnitBalanceResponse struct {

	// The number of units available to the project.
	UnitBalance *wrapperspb.Int64Value `protobuf:"bytes,1,opt,name=unit_balance,json=unitBalance,proto3" json:"unit_balance,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUnitBalanceResponse) Descriptor deprecated

func (*GetUnitBalanceResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetUnitBalanceResponse.ProtoReflect.Descriptor instead.

func (*GetUnitBalanceResponse) GetUnitBalance

func (x *GetUnitBalanceResponse) GetUnitBalance() *wrapperspb.Int64Value

func (*GetUnitBalanceResponse) ProtoMessage

func (*GetUnitBalanceResponse) ProtoMessage()

func (*GetUnitBalanceResponse) ProtoReflect

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

func (*GetUnitBalanceResponse) Reset

func (x *GetUnitBalanceResponse) Reset()

func (*GetUnitBalanceResponse) SetUnitBalance

func (m *GetUnitBalanceResponse) SetUnitBalance(v *wrapperspb.Int64Value)

func (*GetUnitBalanceResponse) String

func (x *GetUnitBalanceResponse) String() string

type ListProjectsRequest

type ListProjectsRequest struct {

	// ID of the folder to list projects in.
	// To get the folder ID use a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// The maximum number of results per page to return. If the number of available
	// results is larger than [page_size],
	// the service returns a [ListProjectsResponse.next_page_token]
	// that can be used to get the next page of results in subsequent list requests.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token. To get the next page of results, set [page_token] to the
	// [ListProjectsResponse.next_page_token] returned by a previous list request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListProjectsRequest) Descriptor deprecated

func (*ListProjectsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListProjectsRequest.ProtoReflect.Descriptor instead.

func (*ListProjectsRequest) GetFolderId

func (x *ListProjectsRequest) GetFolderId() string

func (*ListProjectsRequest) GetPageSize

func (x *ListProjectsRequest) GetPageSize() int64

func (*ListProjectsRequest) GetPageToken

func (x *ListProjectsRequest) GetPageToken() string

func (*ListProjectsRequest) ProtoMessage

func (*ListProjectsRequest) ProtoMessage()

func (*ListProjectsRequest) ProtoReflect

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

func (*ListProjectsRequest) Reset

func (x *ListProjectsRequest) Reset()

func (*ListProjectsRequest) SetFolderId

func (m *ListProjectsRequest) SetFolderId(v string)

func (*ListProjectsRequest) SetPageSize

func (m *ListProjectsRequest) SetPageSize(v int64)

func (*ListProjectsRequest) SetPageToken

func (m *ListProjectsRequest) SetPageToken(v string)

func (*ListProjectsRequest) String

func (x *ListProjectsRequest) String() string

type ListProjectsResponse

type ListProjectsResponse struct {

	// List of Project resources.
	Projects []*Project `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty"`
	// This token allows you to get the next page of results for list requests. If the number of results
	// is larger than [ListProjectsRequest.page_size], use
	// the [next_page_token] as the value
	// for the [ListProjectsRequest.page_token] query parameter
	// in the next list request. Each subsequent list request will have its own
	// [next_page_token] to continue paging through the results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListProjectsResponse) Descriptor deprecated

func (*ListProjectsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListProjectsResponse.ProtoReflect.Descriptor instead.

func (*ListProjectsResponse) GetNextPageToken

func (x *ListProjectsResponse) GetNextPageToken() string

func (*ListProjectsResponse) GetProjects

func (x *ListProjectsResponse) GetProjects() []*Project

func (*ListProjectsResponse) ProtoMessage

func (*ListProjectsResponse) ProtoMessage()

func (*ListProjectsResponse) ProtoReflect

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

func (*ListProjectsResponse) Reset

func (x *ListProjectsResponse) Reset()

func (*ListProjectsResponse) SetNextPageToken

func (m *ListProjectsResponse) SetNextPageToken(v string)

func (*ListProjectsResponse) SetProjects

func (m *ListProjectsResponse) SetProjects(v []*Project)

func (*ListProjectsResponse) String

func (x *ListProjectsResponse) String() string

type NodeExecutionErrorDetails

type NodeExecutionErrorDetails struct {

	// Error name
	ErrorName string `protobuf:"bytes,1,opt,name=error_name,json=errorName,proto3" json:"error_name,omitempty"`
	// Error message
	ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// Error traceback
	Traceback []string `protobuf:"bytes,3,rep,name=traceback,proto3" json:"traceback,omitempty"`
	// contains filtered or unexported fields
}

User code python execution's error details

func (*NodeExecutionErrorDetails) Descriptor deprecated

func (*NodeExecutionErrorDetails) Descriptor() ([]byte, []int)

Deprecated: Use NodeExecutionErrorDetails.ProtoReflect.Descriptor instead.

func (*NodeExecutionErrorDetails) GetErrorMessage

func (x *NodeExecutionErrorDetails) GetErrorMessage() string

func (*NodeExecutionErrorDetails) GetErrorName

func (x *NodeExecutionErrorDetails) GetErrorName() string

func (*NodeExecutionErrorDetails) GetTraceback

func (x *NodeExecutionErrorDetails) GetTraceback() []string

func (*NodeExecutionErrorDetails) ProtoMessage

func (*NodeExecutionErrorDetails) ProtoMessage()

func (*NodeExecutionErrorDetails) ProtoReflect

func (*NodeExecutionErrorDetails) Reset

func (x *NodeExecutionErrorDetails) Reset()

func (*NodeExecutionErrorDetails) SetErrorMessage

func (m *NodeExecutionErrorDetails) SetErrorMessage(v string)

func (*NodeExecutionErrorDetails) SetErrorName

func (m *NodeExecutionErrorDetails) SetErrorName(v string)

func (*NodeExecutionErrorDetails) SetTraceback

func (m *NodeExecutionErrorDetails) SetTraceback(v []string)

func (*NodeExecutionErrorDetails) String

func (x *NodeExecutionErrorDetails) String() string

type NodeExecutionRequest

type NodeExecutionRequest struct {

	// ID of the folder that will be matched with Node ACL.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// ID of the Node to perform request on.
	NodeId string `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// Input data for the execution.
	Input *structpb.Struct `protobuf:"bytes,3,opt,name=input,proto3" json:"input,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeExecutionRequest) Descriptor deprecated

func (*NodeExecutionRequest) Descriptor() ([]byte, []int)

Deprecated: Use NodeExecutionRequest.ProtoReflect.Descriptor instead.

func (*NodeExecutionRequest) GetFolderId

func (x *NodeExecutionRequest) GetFolderId() string

func (*NodeExecutionRequest) GetInput

func (x *NodeExecutionRequest) GetInput() *structpb.Struct

func (*NodeExecutionRequest) GetNodeId

func (x *NodeExecutionRequest) GetNodeId() string

func (*NodeExecutionRequest) ProtoMessage

func (*NodeExecutionRequest) ProtoMessage()

func (*NodeExecutionRequest) ProtoReflect

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

func (*NodeExecutionRequest) Reset

func (x *NodeExecutionRequest) Reset()

func (*NodeExecutionRequest) SetFolderId

func (m *NodeExecutionRequest) SetFolderId(v string)

func (*NodeExecutionRequest) SetInput

func (m *NodeExecutionRequest) SetInput(v *structpb.Struct)

func (*NodeExecutionRequest) SetNodeId

func (m *NodeExecutionRequest) SetNodeId(v string)

func (*NodeExecutionRequest) String

func (x *NodeExecutionRequest) String() string

type NodeExecutionResponse

type NodeExecutionResponse struct {

	// Result of the execution.
	Output *structpb.Struct `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeExecutionResponse) Descriptor deprecated

func (*NodeExecutionResponse) Descriptor() ([]byte, []int)

Deprecated: Use NodeExecutionResponse.ProtoReflect.Descriptor instead.

func (*NodeExecutionResponse) GetOutput

func (x *NodeExecutionResponse) GetOutput() *structpb.Struct

func (*NodeExecutionResponse) ProtoMessage

func (*NodeExecutionResponse) ProtoMessage()

func (*NodeExecutionResponse) ProtoReflect

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

func (*NodeExecutionResponse) Reset

func (x *NodeExecutionResponse) Reset()

func (*NodeExecutionResponse) SetOutput

func (m *NodeExecutionResponse) SetOutput(v *structpb.Struct)

func (*NodeExecutionResponse) String

func (x *NodeExecutionResponse) String() string

type NodeServiceClient

type NodeServiceClient interface {
	// Executes deployed Node.
	Execute(ctx context.Context, in *NodeExecutionRequest, opts ...grpc.CallOption) (*NodeExecutionResponse, error)
	// Executes NodeAlias requests.
	ExecuteAlias(ctx context.Context, in *AliasExecutionRequest, opts ...grpc.CallOption) (*AliasExecutionResponse, error)
}

NodeServiceClient is the client API for NodeService 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.

type NodeServiceServer

type NodeServiceServer interface {
	// Executes deployed Node.
	Execute(context.Context, *NodeExecutionRequest) (*NodeExecutionResponse, error)
	// Executes NodeAlias requests.
	ExecuteAlias(context.Context, *AliasExecutionRequest) (*AliasExecutionResponse, error)
}

NodeServiceServer is the server API for NodeService service. All implementations should embed UnimplementedNodeServiceServer for forward compatibility

type OpenProjectMetadata

type OpenProjectMetadata struct {

	// ID of the project that is being opened.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

func (*OpenProjectMetadata) Descriptor deprecated

func (*OpenProjectMetadata) Descriptor() ([]byte, []int)

Deprecated: Use OpenProjectMetadata.ProtoReflect.Descriptor instead.

func (*OpenProjectMetadata) GetProjectId

func (x *OpenProjectMetadata) GetProjectId() string

func (*OpenProjectMetadata) ProtoMessage

func (*OpenProjectMetadata) ProtoMessage()

func (*OpenProjectMetadata) ProtoReflect

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

func (*OpenProjectMetadata) Reset

func (x *OpenProjectMetadata) Reset()

func (*OpenProjectMetadata) SetProjectId

func (m *OpenProjectMetadata) SetProjectId(v string)

func (*OpenProjectMetadata) String

func (x *OpenProjectMetadata) String() string

type OpenProjectRequest

type OpenProjectRequest struct {

	// ID of the Project resource to open.
	// To get the project ID use a [ProjectService.List] request.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

func (*OpenProjectRequest) Descriptor deprecated

func (*OpenProjectRequest) Descriptor() ([]byte, []int)

Deprecated: Use OpenProjectRequest.ProtoReflect.Descriptor instead.

func (*OpenProjectRequest) GetProjectId

func (x *OpenProjectRequest) GetProjectId() string

func (*OpenProjectRequest) ProtoMessage

func (*OpenProjectRequest) ProtoMessage()

func (*OpenProjectRequest) ProtoReflect

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

func (*OpenProjectRequest) Reset

func (x *OpenProjectRequest) Reset()

func (*OpenProjectRequest) SetProjectId

func (m *OpenProjectRequest) SetProjectId(v string)

func (*OpenProjectRequest) String

func (x *OpenProjectRequest) String() string

type OpenProjectResponse

type OpenProjectResponse struct {

	// URL of the project that is being opened.
	// Make GET request to [project_url] with sessionToken query parameter equals to [session_token]
	// or POST request to [project_url] with sessionToken body parameter equals to [session_token]
	// to fetch Datasphere web interface.
	ProjectUrl string `protobuf:"bytes,1,opt,name=project_url,json=projectUrl,proto3" json:"project_url,omitempty"`
	// Session token of the project that is being opened.
	SessionToken string `protobuf:"bytes,2,opt,name=session_token,json=sessionToken,proto3" json:"session_token,omitempty"`
	// contains filtered or unexported fields
}

func (*OpenProjectResponse) Descriptor deprecated

func (*OpenProjectResponse) Descriptor() ([]byte, []int)

Deprecated: Use OpenProjectResponse.ProtoReflect.Descriptor instead.

func (*OpenProjectResponse) GetProjectUrl

func (x *OpenProjectResponse) GetProjectUrl() string

func (*OpenProjectResponse) GetSessionToken

func (x *OpenProjectResponse) GetSessionToken() string

func (*OpenProjectResponse) ProtoMessage

func (*OpenProjectResponse) ProtoMessage()

func (*OpenProjectResponse) ProtoReflect

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

func (*OpenProjectResponse) Reset

func (x *OpenProjectResponse) Reset()

func (*OpenProjectResponse) SetProjectUrl

func (m *OpenProjectResponse) SetProjectUrl(v string)

func (*OpenProjectResponse) SetSessionToken

func (m *OpenProjectResponse) SetSessionToken(v string)

func (*OpenProjectResponse) String

func (x *OpenProjectResponse) String() string

type Project

type Project struct {

	// ID of the project.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of the folder that the project belongs to.
	FolderId  string                 `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Name of the project. 1-63 characters long.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the project. 0-256 characters long.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// Settings of the project.
	Settings *Project_Settings `protobuf:"bytes,6,opt,name=settings,proto3" json:"settings,omitempty"`
	// Limits of the project.
	Limits *Project_Limits `protobuf:"bytes,7,opt,name=limits,proto3" json:"limits,omitempty"`
	// contains filtered or unexported fields
}

A Project resource.

func (*Project) Descriptor deprecated

func (*Project) Descriptor() ([]byte, []int)

Deprecated: Use Project.ProtoReflect.Descriptor instead.

func (*Project) GetCreatedAt

func (x *Project) GetCreatedAt() *timestamppb.Timestamp

func (*Project) GetDescription

func (x *Project) GetDescription() string

func (*Project) GetFolderId

func (x *Project) GetFolderId() string

func (*Project) GetId

func (x *Project) GetId() string

func (*Project) GetLimits

func (x *Project) GetLimits() *Project_Limits

func (*Project) GetName

func (x *Project) GetName() string

func (*Project) GetSettings

func (x *Project) GetSettings() *Project_Settings

func (*Project) ProtoMessage

func (*Project) ProtoMessage()

func (*Project) ProtoReflect

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

func (*Project) Reset

func (x *Project) Reset()

func (*Project) SetCreatedAt

func (m *Project) SetCreatedAt(v *timestamppb.Timestamp)

func (*Project) SetDescription

func (m *Project) SetDescription(v string)

func (*Project) SetFolderId

func (m *Project) SetFolderId(v string)

func (*Project) SetId

func (m *Project) SetId(v string)

func (*Project) SetLimits

func (m *Project) SetLimits(v *Project_Limits)

func (*Project) SetName

func (m *Project) SetName(v string)

func (*Project) SetSettings

func (m *Project) SetSettings(v *Project_Settings)

func (*Project) String

func (x *Project) String() string

type ProjectDataServiceClient

type ProjectDataServiceClient interface {
	// Uploads a file to the specified project.
	UploadFile(ctx context.Context, opts ...grpc.CallOption) (ProjectDataService_UploadFileClient, error)
	// Downloads the specified file from the specified project.
	DownloadFile(ctx context.Context, in *DownloadFileRequest, opts ...grpc.CallOption) (ProjectDataService_DownloadFileClient, error)
}

ProjectDataServiceClient is the client API for ProjectDataService 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.

type ProjectDataServiceServer

type ProjectDataServiceServer interface {
	// Uploads a file to the specified project.
	UploadFile(ProjectDataService_UploadFileServer) error
	// Downloads the specified file from the specified project.
	DownloadFile(*DownloadFileRequest, ProjectDataService_DownloadFileServer) error
}

ProjectDataServiceServer is the server API for ProjectDataService service. All implementations should embed UnimplementedProjectDataServiceServer for forward compatibility

type ProjectDataService_DownloadFileClient

type ProjectDataService_DownloadFileClient interface {
	Recv() (*DownloadFileResponse, error)
	grpc.ClientStream
}

type ProjectDataService_DownloadFileServer

type ProjectDataService_DownloadFileServer interface {
	Send(*DownloadFileResponse) error
	grpc.ServerStream
}

type ProjectDataService_UploadFileClient

type ProjectDataService_UploadFileClient interface {
	Send(*UploadFileRequest) error
	CloseAndRecv() (*UploadFileResponse, error)
	grpc.ClientStream
}

type ProjectDataService_UploadFileServer

type ProjectDataService_UploadFileServer interface {
	SendAndClose(*UploadFileResponse) error
	Recv() (*UploadFileRequest, error)
	grpc.ServerStream
}

type ProjectExecutionMetadata

type ProjectExecutionMetadata struct {

	// ID of the project in which notebook is being executed.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Types that are assignable to Target:
	//
	//	*ProjectExecutionMetadata_NotebookId
	//	*ProjectExecutionMetadata_CellId
	Target isProjectExecutionMetadata_Target `protobuf_oneof:"target"`
	// contains filtered or unexported fields
}

func (*ProjectExecutionMetadata) Descriptor deprecated

func (*ProjectExecutionMetadata) Descriptor() ([]byte, []int)

Deprecated: Use ProjectExecutionMetadata.ProtoReflect.Descriptor instead.

func (*ProjectExecutionMetadata) GetCellId

func (x *ProjectExecutionMetadata) GetCellId() string

func (*ProjectExecutionMetadata) GetNotebookId

func (x *ProjectExecutionMetadata) GetNotebookId() string

func (*ProjectExecutionMetadata) GetProjectId

func (x *ProjectExecutionMetadata) GetProjectId() string

func (*ProjectExecutionMetadata) GetTarget

func (m *ProjectExecutionMetadata) GetTarget() isProjectExecutionMetadata_Target

func (*ProjectExecutionMetadata) ProtoMessage

func (*ProjectExecutionMetadata) ProtoMessage()

func (*ProjectExecutionMetadata) ProtoReflect

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

func (*ProjectExecutionMetadata) Reset

func (x *ProjectExecutionMetadata) Reset()

func (*ProjectExecutionMetadata) SetCellId

func (m *ProjectExecutionMetadata) SetCellId(v string)

func (*ProjectExecutionMetadata) SetNotebookId

func (m *ProjectExecutionMetadata) SetNotebookId(v string)

func (*ProjectExecutionMetadata) SetProjectId

func (m *ProjectExecutionMetadata) SetProjectId(v string)

func (*ProjectExecutionMetadata) SetTarget

func (*ProjectExecutionMetadata) String

func (x *ProjectExecutionMetadata) String() string

type ProjectExecutionMetadata_CellId

type ProjectExecutionMetadata_CellId struct {
	// ID of the cell that is being executed
	CellId string `protobuf:"bytes,3,opt,name=cell_id,json=cellId,proto3,oneof"`
}

type ProjectExecutionMetadata_NotebookId

type ProjectExecutionMetadata_NotebookId struct {
	// ID of the notebook that is being executed
	NotebookId string `protobuf:"bytes,2,opt,name=notebook_id,json=notebookId,proto3,oneof"`
}

type ProjectExecutionMetadata_Target

type ProjectExecutionMetadata_Target = isProjectExecutionMetadata_Target

type ProjectExecutionRequest

type ProjectExecutionRequest struct {

	// ID of the project to execute notebook/cell in.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Types that are assignable to Target:
	//
	//	*ProjectExecutionRequest_NotebookId
	//	*ProjectExecutionRequest_CellId
	Target isProjectExecutionRequest_Target `protobuf_oneof:"target"`
	// Values of input variables.
	InputVariables *structpb.Struct `protobuf:"bytes,4,opt,name=input_variables,json=inputVariables,proto3" json:"input_variables,omitempty"`
	// Names of output variables.
	OutputVariableNames []string `protobuf:"bytes,5,rep,name=output_variable_names,json=outputVariableNames,proto3" json:"output_variable_names,omitempty"`
	// contains filtered or unexported fields
}

func (*ProjectExecutionRequest) Descriptor deprecated

func (*ProjectExecutionRequest) Descriptor() ([]byte, []int)

Deprecated: Use ProjectExecutionRequest.ProtoReflect.Descriptor instead.

func (*ProjectExecutionRequest) GetCellId

func (x *ProjectExecutionRequest) GetCellId() string

func (*ProjectExecutionRequest) GetInputVariables

func (x *ProjectExecutionRequest) GetInputVariables() *structpb.Struct

func (*ProjectExecutionRequest) GetNotebookId

func (x *ProjectExecutionRequest) GetNotebookId() string

func (*ProjectExecutionRequest) GetOutputVariableNames

func (x *ProjectExecutionRequest) GetOutputVariableNames() []string

func (*ProjectExecutionRequest) GetProjectId

func (x *ProjectExecutionRequest) GetProjectId() string

func (*ProjectExecutionRequest) GetTarget

func (m *ProjectExecutionRequest) GetTarget() isProjectExecutionRequest_Target

func (*ProjectExecutionRequest) ProtoMessage

func (*ProjectExecutionRequest) ProtoMessage()

func (*ProjectExecutionRequest) ProtoReflect

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

func (*ProjectExecutionRequest) Reset

func (x *ProjectExecutionRequest) Reset()

func (*ProjectExecutionRequest) SetCellId

func (m *ProjectExecutionRequest) SetCellId(v string)

func (*ProjectExecutionRequest) SetInputVariables

func (m *ProjectExecutionRequest) SetInputVariables(v *structpb.Struct)

func (*ProjectExecutionRequest) SetNotebookId

func (m *ProjectExecutionRequest) SetNotebookId(v string)

func (*ProjectExecutionRequest) SetOutputVariableNames

func (m *ProjectExecutionRequest) SetOutputVariableNames(v []string)

func (*ProjectExecutionRequest) SetProjectId

func (m *ProjectExecutionRequest) SetProjectId(v string)

func (*ProjectExecutionRequest) SetTarget

func (*ProjectExecutionRequest) String

func (x *ProjectExecutionRequest) String() string

type ProjectExecutionRequest_CellId

type ProjectExecutionRequest_CellId struct {
	// ID of the cell to execute.
	CellId string `protobuf:"bytes,3,opt,name=cell_id,json=cellId,proto3,oneof"`
}

type ProjectExecutionRequest_NotebookId

type ProjectExecutionRequest_NotebookId struct {
	// ID of the notebook to execute.
	NotebookId string `protobuf:"bytes,2,opt,name=notebook_id,json=notebookId,proto3,oneof"`
}

type ProjectExecutionRequest_Target

type ProjectExecutionRequest_Target = isProjectExecutionRequest_Target

type ProjectExecutionResponse

type ProjectExecutionResponse struct {

	// ID of the checkpoint resulting from the execution.
	CheckpointId string `protobuf:"bytes,1,opt,name=checkpoint_id,json=checkpointId,proto3" json:"checkpoint_id,omitempty"`
	// Values of output variables resulting from the execution.
	OutputVariables *structpb.Struct `protobuf:"bytes,2,opt,name=output_variables,json=outputVariables,proto3" json:"output_variables,omitempty"`
	// contains filtered or unexported fields
}

func (*ProjectExecutionResponse) Descriptor deprecated

func (*ProjectExecutionResponse) Descriptor() ([]byte, []int)

Deprecated: Use ProjectExecutionResponse.ProtoReflect.Descriptor instead.

func (*ProjectExecutionResponse) GetCheckpointId

func (x *ProjectExecutionResponse) GetCheckpointId() string

func (*ProjectExecutionResponse) GetOutputVariables

func (x *ProjectExecutionResponse) GetOutputVariables() *structpb.Struct

func (*ProjectExecutionResponse) ProtoMessage

func (*ProjectExecutionResponse) ProtoMessage()

func (*ProjectExecutionResponse) ProtoReflect

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

func (*ProjectExecutionResponse) Reset

func (x *ProjectExecutionResponse) Reset()

func (*ProjectExecutionResponse) SetCheckpointId

func (m *ProjectExecutionResponse) SetCheckpointId(v string)

func (*ProjectExecutionResponse) SetOutputVariables

func (m *ProjectExecutionResponse) SetOutputVariables(v *structpb.Struct)

func (*ProjectExecutionResponse) String

func (x *ProjectExecutionResponse) String() string

type ProjectServiceClient

type ProjectServiceClient interface {
	// Creates a project in the specified folder.
	Create(ctx context.Context, in *CreateProjectRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Updates the specified project.
	Update(ctx context.Context, in *UpdateProjectRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Deletes the specified project.
	Delete(ctx context.Context, in *DeleteProjectRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Opens the specified project.
	Open(ctx context.Context, in *OpenProjectRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Returns the specified project.
	Get(ctx context.Context, in *GetProjectRequest, opts ...grpc.CallOption) (*Project, error)
	// Lists projects for the specified folder.
	List(ctx context.Context, in *ListProjectsRequest, opts ...grpc.CallOption) (*ListProjectsResponse, error)
	// Returns the unit balance of the specified project.
	GetUnitBalance(ctx context.Context, in *GetUnitBalanceRequest, opts ...grpc.CallOption) (*GetUnitBalanceResponse, error)
	// Sets the unit balance of the specified project.
	SetUnitBalance(ctx context.Context, in *SetUnitBalanceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Executes code in the specified cell or notebook.
	Execute(ctx context.Context, in *ProjectExecutionRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Returns outputs of the specified cell.
	GetCellOutputs(ctx context.Context, in *CellOutputsRequest, opts ...grpc.CallOption) (*CellOutputsResponse, error)
	// Returns state variables of the specified notebook.
	GetStateVariables(ctx context.Context, in *GetStateVariablesRequest, opts ...grpc.CallOption) (*GetStateVariablesResponse, error)
	// Returns metadata of the specified notebook.
	GetNotebookMetadata(ctx context.Context, in *GetNotebookMetadataRequest, opts ...grpc.CallOption) (*GetNotebookMetadataResponse, error)
}

ProjectServiceClient is the client API for ProjectService 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.

type ProjectServiceServer

type ProjectServiceServer interface {
	// Creates a project in the specified folder.
	Create(context.Context, *CreateProjectRequest) (*operation.Operation, error)
	// Updates the specified project.
	Update(context.Context, *UpdateProjectRequest) (*operation.Operation, error)
	// Deletes the specified project.
	Delete(context.Context, *DeleteProjectRequest) (*operation.Operation, error)
	// Opens the specified project.
	Open(context.Context, *OpenProjectRequest) (*operation.Operation, error)
	// Returns the specified project.
	Get(context.Context, *GetProjectRequest) (*Project, error)
	// Lists projects for the specified folder.
	List(context.Context, *ListProjectsRequest) (*ListProjectsResponse, error)
	// Returns the unit balance of the specified project.
	GetUnitBalance(context.Context, *GetUnitBalanceRequest) (*GetUnitBalanceResponse, error)
	// Sets the unit balance of the specified project.
	SetUnitBalance(context.Context, *SetUnitBalanceRequest) (*emptypb.Empty, error)
	// Executes code in the specified cell or notebook.
	Execute(context.Context, *ProjectExecutionRequest) (*operation.Operation, error)
	// Returns outputs of the specified cell.
	GetCellOutputs(context.Context, *CellOutputsRequest) (*CellOutputsResponse, error)
	// Returns state variables of the specified notebook.
	GetStateVariables(context.Context, *GetStateVariablesRequest) (*GetStateVariablesResponse, error)
	// Returns metadata of the specified notebook.
	GetNotebookMetadata(context.Context, *GetNotebookMetadataRequest) (*GetNotebookMetadataResponse, error)
}

ProjectServiceServer is the server API for ProjectService service. All implementations should embed UnimplementedProjectServiceServer for forward compatibility

type Project_Limits

type Project_Limits struct {

	// The number of units that can be spent per hour.
	MaxUnitsPerHour *wrapperspb.Int64Value `protobuf:"bytes,2,opt,name=max_units_per_hour,json=maxUnitsPerHour,proto3" json:"max_units_per_hour,omitempty"`
	// The number of units that can be spent on the one execution.
	MaxUnitsPerExecution *wrapperspb.Int64Value `protobuf:"bytes,3,opt,name=max_units_per_execution,json=maxUnitsPerExecution,proto3" json:"max_units_per_execution,omitempty"`
	// contains filtered or unexported fields
}

func (*Project_Limits) Descriptor deprecated

func (*Project_Limits) Descriptor() ([]byte, []int)

Deprecated: Use Project_Limits.ProtoReflect.Descriptor instead.

func (*Project_Limits) GetMaxUnitsPerExecution

func (x *Project_Limits) GetMaxUnitsPerExecution() *wrapperspb.Int64Value

func (*Project_Limits) GetMaxUnitsPerHour

func (x *Project_Limits) GetMaxUnitsPerHour() *wrapperspb.Int64Value

func (*Project_Limits) ProtoMessage

func (*Project_Limits) ProtoMessage()

func (*Project_Limits) ProtoReflect

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

func (*Project_Limits) Reset

func (x *Project_Limits) Reset()

func (*Project_Limits) SetMaxUnitsPerExecution

func (m *Project_Limits) SetMaxUnitsPerExecution(v *wrapperspb.Int64Value)

func (*Project_Limits) SetMaxUnitsPerHour

func (m *Project_Limits) SetMaxUnitsPerHour(v *wrapperspb.Int64Value)

func (*Project_Limits) String

func (x *Project_Limits) String() string

type Project_Settings

type Project_Settings struct {

	// ID of the service account, on whose behalf all operations with clusters will be performed.
	ServiceAccountId string `protobuf:"bytes,1,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"`
	// ID of the subnet where the DataProc cluster resides.
	// Currently only subnets created in the availability zone ru-central1-a are supported.
	SubnetId string `protobuf:"bytes,2,opt,name=subnet_id,json=subnetId,proto3" json:"subnet_id,omitempty"`
	// ID of the DataProc cluster.
	DataProcClusterId string `protobuf:"bytes,3,opt,name=data_proc_cluster_id,json=dataProcClusterId,proto3" json:"data_proc_cluster_id,omitempty"`
	// Commit mode that is assigned to the project.
	CommitMode Project_Settings_CommitMode `` /* 152-byte string literal not displayed */
	// Network interfaces security groups.
	SecurityGroupIds []string `protobuf:"bytes,5,rep,name=security_group_ids,json=securityGroupIds,proto3" json:"security_group_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*Project_Settings) Descriptor deprecated

func (*Project_Settings) Descriptor() ([]byte, []int)

Deprecated: Use Project_Settings.ProtoReflect.Descriptor instead.

func (*Project_Settings) GetCommitMode

func (x *Project_Settings) GetCommitMode() Project_Settings_CommitMode

func (*Project_Settings) GetDataProcClusterId

func (x *Project_Settings) GetDataProcClusterId() string

func (*Project_Settings) GetSecurityGroupIds

func (x *Project_Settings) GetSecurityGroupIds() []string

func (*Project_Settings) GetServiceAccountId

func (x *Project_Settings) GetServiceAccountId() string

func (*Project_Settings) GetSubnetId

func (x *Project_Settings) GetSubnetId() string

func (*Project_Settings) ProtoMessage

func (*Project_Settings) ProtoMessage()

func (*Project_Settings) ProtoReflect

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

func (*Project_Settings) Reset

func (x *Project_Settings) Reset()

func (*Project_Settings) SetCommitMode

func (m *Project_Settings) SetCommitMode(v Project_Settings_CommitMode)

func (*Project_Settings) SetDataProcClusterId

func (m *Project_Settings) SetDataProcClusterId(v string)

func (*Project_Settings) SetSecurityGroupIds

func (m *Project_Settings) SetSecurityGroupIds(v []string)

func (*Project_Settings) SetServiceAccountId

func (m *Project_Settings) SetServiceAccountId(v string)

func (*Project_Settings) SetSubnetId

func (m *Project_Settings) SetSubnetId(v string)

func (*Project_Settings) String

func (x *Project_Settings) String() string

type Project_Settings_CommitMode

type Project_Settings_CommitMode int32
const (
	Project_Settings_COMMIT_MODE_UNSPECIFIED Project_Settings_CommitMode = 0
	// Commit happens after the execution of a cell or group of cells or after completion with an error.
	Project_Settings_STANDARD Project_Settings_CommitMode = 1
	// Commit happens periodically.
	// Also, automatic saving of state occurs when switching to another type of computing resource.
	Project_Settings_AUTO Project_Settings_CommitMode = 2
)

func (Project_Settings_CommitMode) Descriptor

func (Project_Settings_CommitMode) Enum

func (Project_Settings_CommitMode) EnumDescriptor deprecated

func (Project_Settings_CommitMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use Project_Settings_CommitMode.Descriptor instead.

func (Project_Settings_CommitMode) Number

func (Project_Settings_CommitMode) String

func (Project_Settings_CommitMode) Type

type SetFolderBudgetRequest

type SetFolderBudgetRequest struct {

	// ID of the folder to set a budget for.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Field mask that specifies which fields of the budget are going to be set.
	SetMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=set_mask,json=setMask,proto3" json:"set_mask,omitempty"`
	// The number of units available in the folder.
	UnitBalance *wrapperspb.Int64Value `protobuf:"bytes,3,opt,name=unit_balance,json=unitBalance,proto3" json:"unit_balance,omitempty"`
	// The number of units that can be spent per hour.
	MaxUnitsPerHour *wrapperspb.Int64Value `protobuf:"bytes,4,opt,name=max_units_per_hour,json=maxUnitsPerHour,proto3" json:"max_units_per_hour,omitempty"`
	// The number of units that can be spent on one execution.
	MaxUnitsPerExecution *wrapperspb.Int64Value `protobuf:"bytes,5,opt,name=max_units_per_execution,json=maxUnitsPerExecution,proto3" json:"max_units_per_execution,omitempty"`
	// contains filtered or unexported fields
}

func (*SetFolderBudgetRequest) Descriptor deprecated

func (*SetFolderBudgetRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetFolderBudgetRequest.ProtoReflect.Descriptor instead.

func (*SetFolderBudgetRequest) GetFolderId

func (x *SetFolderBudgetRequest) GetFolderId() string

func (*SetFolderBudgetRequest) GetMaxUnitsPerExecution

func (x *SetFolderBudgetRequest) GetMaxUnitsPerExecution() *wrapperspb.Int64Value

func (*SetFolderBudgetRequest) GetMaxUnitsPerHour

func (x *SetFolderBudgetRequest) GetMaxUnitsPerHour() *wrapperspb.Int64Value

func (*SetFolderBudgetRequest) GetSetMask

func (x *SetFolderBudgetRequest) GetSetMask() *fieldmaskpb.FieldMask

func (*SetFolderBudgetRequest) GetUnitBalance

func (x *SetFolderBudgetRequest) GetUnitBalance() *wrapperspb.Int64Value

func (*SetFolderBudgetRequest) ProtoMessage

func (*SetFolderBudgetRequest) ProtoMessage()

func (*SetFolderBudgetRequest) ProtoReflect

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

func (*SetFolderBudgetRequest) Reset

func (x *SetFolderBudgetRequest) Reset()

func (*SetFolderBudgetRequest) SetFolderId

func (m *SetFolderBudgetRequest) SetFolderId(v string)

func (*SetFolderBudgetRequest) SetMaxUnitsPerExecution

func (m *SetFolderBudgetRequest) SetMaxUnitsPerExecution(v *wrapperspb.Int64Value)

func (*SetFolderBudgetRequest) SetMaxUnitsPerHour

func (m *SetFolderBudgetRequest) SetMaxUnitsPerHour(v *wrapperspb.Int64Value)

func (*SetFolderBudgetRequest) SetSetMask

func (m *SetFolderBudgetRequest) SetSetMask(v *fieldmaskpb.FieldMask)

func (*SetFolderBudgetRequest) SetUnitBalance

func (m *SetFolderBudgetRequest) SetUnitBalance(v *wrapperspb.Int64Value)

func (*SetFolderBudgetRequest) String

func (x *SetFolderBudgetRequest) String() string

type SetUnitBalanceRequest

type SetUnitBalanceRequest struct {

	// ID of the project to set the unit balance for.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The number of units available to the project.
	UnitBalance *wrapperspb.Int64Value `protobuf:"bytes,2,opt,name=unit_balance,json=unitBalance,proto3" json:"unit_balance,omitempty"`
	// contains filtered or unexported fields
}

func (*SetUnitBalanceRequest) Descriptor deprecated

func (*SetUnitBalanceRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetUnitBalanceRequest.ProtoReflect.Descriptor instead.

func (*SetUnitBalanceRequest) GetProjectId

func (x *SetUnitBalanceRequest) GetProjectId() string

func (*SetUnitBalanceRequest) GetUnitBalance

func (x *SetUnitBalanceRequest) GetUnitBalance() *wrapperspb.Int64Value

func (*SetUnitBalanceRequest) ProtoMessage

func (*SetUnitBalanceRequest) ProtoMessage()

func (*SetUnitBalanceRequest) ProtoReflect

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

func (*SetUnitBalanceRequest) Reset

func (x *SetUnitBalanceRequest) Reset()

func (*SetUnitBalanceRequest) SetProjectId

func (m *SetUnitBalanceRequest) SetProjectId(v string)

func (*SetUnitBalanceRequest) SetUnitBalance

func (m *SetUnitBalanceRequest) SetUnitBalance(v *wrapperspb.Int64Value)

func (*SetUnitBalanceRequest) String

func (x *SetUnitBalanceRequest) String() string

type UnimplementedAppTokenServiceServer

type UnimplementedAppTokenServiceServer struct {
}

UnimplementedAppTokenServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedAppTokenServiceServer) Validate

type UnimplementedFolderBudgetServiceServer

type UnimplementedFolderBudgetServiceServer struct {
}

UnimplementedFolderBudgetServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedFolderBudgetServiceServer) Get

func (UnimplementedFolderBudgetServiceServer) Set

type UnimplementedNodeServiceServer

type UnimplementedNodeServiceServer struct {
}

UnimplementedNodeServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedNodeServiceServer) Execute

func (UnimplementedNodeServiceServer) ExecuteAlias

type UnimplementedProjectDataServiceServer

type UnimplementedProjectDataServiceServer struct {
}

UnimplementedProjectDataServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedProjectDataServiceServer) DownloadFile

func (UnimplementedProjectDataServiceServer) UploadFile

type UnimplementedProjectServiceServer

type UnimplementedProjectServiceServer struct {
}

UnimplementedProjectServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedProjectServiceServer) Create

func (UnimplementedProjectServiceServer) Delete

func (UnimplementedProjectServiceServer) Execute

func (UnimplementedProjectServiceServer) Get

func (UnimplementedProjectServiceServer) GetCellOutputs

func (UnimplementedProjectServiceServer) GetNotebookMetadata

func (UnimplementedProjectServiceServer) GetStateVariables

func (UnimplementedProjectServiceServer) GetUnitBalance

func (UnimplementedProjectServiceServer) List

func (UnimplementedProjectServiceServer) Open

func (UnimplementedProjectServiceServer) SetUnitBalance

func (UnimplementedProjectServiceServer) Update

type UnsafeAppTokenServiceServer

type UnsafeAppTokenServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeAppTokenServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AppTokenServiceServer will result in compilation errors.

type UnsafeFolderBudgetServiceServer

type UnsafeFolderBudgetServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeFolderBudgetServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FolderBudgetServiceServer will result in compilation errors.

type UnsafeNodeServiceServer

type UnsafeNodeServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeNodeServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NodeServiceServer will result in compilation errors.

type UnsafeProjectDataServiceServer

type UnsafeProjectDataServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeProjectDataServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProjectDataServiceServer will result in compilation errors.

type UnsafeProjectServiceServer

type UnsafeProjectServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeProjectServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProjectServiceServer will result in compilation errors.

type UpdateProjectMetadata

type UpdateProjectMetadata struct {

	// ID of the project that is being updated.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateProjectMetadata) Descriptor deprecated

func (*UpdateProjectMetadata) Descriptor() ([]byte, []int)

Deprecated: Use UpdateProjectMetadata.ProtoReflect.Descriptor instead.

func (*UpdateProjectMetadata) GetProjectId

func (x *UpdateProjectMetadata) GetProjectId() string

func (*UpdateProjectMetadata) ProtoMessage

func (*UpdateProjectMetadata) ProtoMessage()

func (*UpdateProjectMetadata) ProtoReflect

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

func (*UpdateProjectMetadata) Reset

func (x *UpdateProjectMetadata) Reset()

func (*UpdateProjectMetadata) SetProjectId

func (m *UpdateProjectMetadata) SetProjectId(v string)

func (*UpdateProjectMetadata) String

func (x *UpdateProjectMetadata) String() string

type UpdateProjectRequest

type UpdateProjectRequest struct {

	// ID of the Project resource to update.
	// To get the project ID use a [ProjectService.List] request.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Field mask that specifies which fields of the Project resource are going to be updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Name of the project.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the project.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// Settings of the project.
	Settings *Project_Settings `protobuf:"bytes,5,opt,name=settings,proto3" json:"settings,omitempty"`
	// Limits of the project.
	Limits *Project_Limits `protobuf:"bytes,6,opt,name=limits,proto3" json:"limits,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateProjectRequest) Descriptor deprecated

func (*UpdateProjectRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateProjectRequest.ProtoReflect.Descriptor instead.

func (*UpdateProjectRequest) GetDescription

func (x *UpdateProjectRequest) GetDescription() string

func (*UpdateProjectRequest) GetLimits

func (x *UpdateProjectRequest) GetLimits() *Project_Limits

func (*UpdateProjectRequest) GetName

func (x *UpdateProjectRequest) GetName() string

func (*UpdateProjectRequest) GetProjectId

func (x *UpdateProjectRequest) GetProjectId() string

func (*UpdateProjectRequest) GetSettings

func (x *UpdateProjectRequest) GetSettings() *Project_Settings

func (*UpdateProjectRequest) GetUpdateMask

func (x *UpdateProjectRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateProjectRequest) ProtoMessage

func (*UpdateProjectRequest) ProtoMessage()

func (*UpdateProjectRequest) ProtoReflect

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

func (*UpdateProjectRequest) Reset

func (x *UpdateProjectRequest) Reset()

func (*UpdateProjectRequest) SetDescription

func (m *UpdateProjectRequest) SetDescription(v string)

func (*UpdateProjectRequest) SetLimits

func (m *UpdateProjectRequest) SetLimits(v *Project_Limits)

func (*UpdateProjectRequest) SetName

func (m *UpdateProjectRequest) SetName(v string)

func (*UpdateProjectRequest) SetProjectId

func (m *UpdateProjectRequest) SetProjectId(v string)

func (*UpdateProjectRequest) SetSettings

func (m *UpdateProjectRequest) SetSettings(v *Project_Settings)

func (*UpdateProjectRequest) SetUpdateMask

func (m *UpdateProjectRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)

func (*UpdateProjectRequest) String

func (x *UpdateProjectRequest) String() string

type UploadFileRequest

type UploadFileRequest struct {

	// Types that are assignable to Message:
	//
	//	*UploadFileRequest_Metadata
	//	*UploadFileRequest_Chunk
	Message isUploadFileRequest_Message `protobuf_oneof:"message"`
	// contains filtered or unexported fields
}

func (*UploadFileRequest) Descriptor deprecated

func (*UploadFileRequest) Descriptor() ([]byte, []int)

Deprecated: Use UploadFileRequest.ProtoReflect.Descriptor instead.

func (*UploadFileRequest) GetChunk

func (x *UploadFileRequest) GetChunk() []byte

func (*UploadFileRequest) GetMessage

func (m *UploadFileRequest) GetMessage() isUploadFileRequest_Message

func (*UploadFileRequest) GetMetadata

func (x *UploadFileRequest) GetMetadata() *FileMetadata

func (*UploadFileRequest) ProtoMessage

func (*UploadFileRequest) ProtoMessage()

func (*UploadFileRequest) ProtoReflect

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

func (*UploadFileRequest) Reset

func (x *UploadFileRequest) Reset()

func (*UploadFileRequest) SetChunk

func (m *UploadFileRequest) SetChunk(v []byte)

func (*UploadFileRequest) SetMessage

func (*UploadFileRequest) SetMetadata

func (m *UploadFileRequest) SetMetadata(v *FileMetadata)

func (*UploadFileRequest) String

func (x *UploadFileRequest) String() string

type UploadFileRequest_Chunk

type UploadFileRequest_Chunk struct {
	// Byte chunk of the file to upload.
	Chunk []byte `protobuf:"bytes,2,opt,name=chunk,proto3,oneof"`
}

type UploadFileRequest_Message

type UploadFileRequest_Message = isUploadFileRequest_Message

type UploadFileRequest_Metadata

type UploadFileRequest_Metadata struct {
	// Metadata of the file to upload.
	Metadata *FileMetadata `protobuf:"bytes,1,opt,name=metadata,proto3,oneof"`
}

type UploadFileResponse

type UploadFileResponse struct {

	// Metadata of the uploaded file.
	Metadata *FileMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*UploadFileResponse) Descriptor deprecated

func (*UploadFileResponse) Descriptor() ([]byte, []int)

Deprecated: Use UploadFileResponse.ProtoReflect.Descriptor instead.

func (*UploadFileResponse) GetMetadata

func (x *UploadFileResponse) GetMetadata() *FileMetadata

func (*UploadFileResponse) ProtoMessage

func (*UploadFileResponse) ProtoMessage()

func (*UploadFileResponse) ProtoReflect

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

func (*UploadFileResponse) Reset

func (x *UploadFileResponse) Reset()

func (*UploadFileResponse) SetMetadata

func (m *UploadFileResponse) SetMetadata(v *FileMetadata)

func (*UploadFileResponse) String

func (x *UploadFileResponse) String() string

Jump to

Keyboard shortcuts

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