collaborationv1beta1

package
v0.0.0-...-6b5d9df Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ListSharesRequest_Filter_Type_name = map[int32]string{
		0: "TYPE_INVALID",
		1: "TYPE_NO",
		2: "TYPE_RESOURCE_ID",
		3: "TYPE_OWNER",
		4: "TYPE_CREATOR",
	}
	ListSharesRequest_Filter_Type_value = map[string]int32{
		"TYPE_INVALID":     0,
		"TYPE_NO":          1,
		"TYPE_RESOURCE_ID": 2,
		"TYPE_OWNER":       3,
		"TYPE_CREATOR":     4,
	}
)

Enum value maps for ListSharesRequest_Filter_Type.

View Source
var (
	ShareState_name = map[int32]string{
		0: "SHARE_STATE_INVALID",
		1: "SHARE_STATE_PENDING",
		2: "SHARE_STATE_ACCEPTED",
		3: "SHARE_STATE_REJECTED",
	}
	ShareState_value = map[string]int32{
		"SHARE_STATE_INVALID":  0,
		"SHARE_STATE_PENDING":  1,
		"SHARE_STATE_ACCEPTED": 2,
		"SHARE_STATE_REJECTED": 3,
	}
)

Enum value maps for ShareState.

View Source
var File_cs3_sharing_collaboration_v1beta1_collaboration_api_proto protoreflect.FileDescriptor
View Source
var File_cs3_sharing_collaboration_v1beta1_resources_proto protoreflect.FileDescriptor

Functions

func RegisterCollaborationAPIHandler

func RegisterCollaborationAPIHandler(s server.Server, hdlr CollaborationAPIHandler, opts ...server.HandlerOption) error

func RegisterCollaborationAPIServer

func RegisterCollaborationAPIServer(s *grpc.Server, srv CollaborationAPIServer)

Types

type CollaborationAPIClient

type CollaborationAPIClient interface {
	// Creates a new share.
	// MUST return CODE_NOT_FOUND if the resource reference does not exist.
	// MUST return CODE_ALREADY_EXISTS if the share already exists for the 4-tuple consisting of
	// (owner, shared_resource, grantee).
	// New shares MUST be created in the state SHARE_STATE_PENDING.
	CreateShare(ctx context.Context, in *CreateShareRequest, opts ...grpc.CallOption) (*CreateShareResponse, error)
	// Removes a share.
	// MUST return CODE_NOT_FOUND if the share reference does not exist.
	RemoveShare(ctx context.Context, in *RemoveShareRequest, opts ...grpc.CallOption) (*RemoveShareResponse, error)
	// Gets share information for a single share.
	// MUST return CODE_NOT_FOUND if the share reference does not exist.
	GetShare(ctx context.Context, in *GetShareRequest, opts ...grpc.CallOption) (*GetShareResponse, error)
	// List the shares the authenticated principal has created,
	// both as owner and creator. If a filter is specified, only
	// shares satisfying the filter MUST be returned.
	ListShares(ctx context.Context, in *ListSharesRequest, opts ...grpc.CallOption) (*ListSharesResponse, error)
	// Updates a share.
	// MUST return CODE_NOT_FOUND if the share reference does not exist.
	UpdateShare(ctx context.Context, in *UpdateShareRequest, opts ...grpc.CallOption) (*UpdateShareResponse, error)
	// List all shares the authenticated principal has received.
	ListReceivedShares(ctx context.Context, in *ListReceivedSharesRequest, opts ...grpc.CallOption) (*ListReceivedSharesResponse, error)
	// Update the received share to change the share state or the display name.
	// MUST return CODE_NOT_FOUND if the share reference does not exist.
	UpdateReceivedShare(ctx context.Context, in *UpdateReceivedShareRequest, opts ...grpc.CallOption) (*UpdateReceivedShareResponse, error)
	// Get the information for the given received share reference.
	// MUST return CODE_NOT_FOUND if the received share reference does not exist.
	GetReceivedShare(ctx context.Context, in *GetReceivedShareRequest, opts ...grpc.CallOption) (*GetReceivedShareResponse, error)
}

CollaborationAPIClient is the client API for CollaborationAPI service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type CollaborationAPIHandler

type CollaborationAPIHandler interface {
	// Creates a new share.
	// MUST return CODE_NOT_FOUND if the resource reference does not exist.
	// MUST return CODE_ALREADY_EXISTS if the share already exists for the 4-tuple consisting of
	// (owner, shared_resource, grantee).
	// New shares MUST be created in the state SHARE_STATE_PENDING.
	CreateShare(context.Context, *CreateShareRequest, *CreateShareResponse) error
	// Removes a share.
	// MUST return CODE_NOT_FOUND if the share reference does not exist.
	RemoveShare(context.Context, *RemoveShareRequest, *RemoveShareResponse) error
	// Gets share information for a single share.
	// MUST return CODE_NOT_FOUND if the share reference does not exist.
	GetShare(context.Context, *GetShareRequest, *GetShareResponse) error
	// List the shares the authenticated principal has created,
	// both as owner and creator. If a filter is specified, only
	// shares satisfying the filter MUST be returned.
	ListShares(context.Context, *ListSharesRequest, *ListSharesResponse) error
	// Updates a share.
	// MUST return CODE_NOT_FOUND if the share reference does not exist.
	UpdateShare(context.Context, *UpdateShareRequest, *UpdateShareResponse) error
	// List all shares the authenticated principal has received.
	ListReceivedShares(context.Context, *ListReceivedSharesRequest, *ListReceivedSharesResponse) error
	// Update the received share to change the share state or the display name.
	// MUST return CODE_NOT_FOUND if the share reference does not exist.
	UpdateReceivedShare(context.Context, *UpdateReceivedShareRequest, *UpdateReceivedShareResponse) error
	// Get the information for the given received share reference.
	// MUST return CODE_NOT_FOUND if the received share reference does not exist.
	GetReceivedShare(context.Context, *GetReceivedShareRequest, *GetReceivedShareResponse) error
}

type CollaborationAPIServer

type CollaborationAPIServer interface {
	// Creates a new share.
	// MUST return CODE_NOT_FOUND if the resource reference does not exist.
	// MUST return CODE_ALREADY_EXISTS if the share already exists for the 4-tuple consisting of
	// (owner, shared_resource, grantee).
	// New shares MUST be created in the state SHARE_STATE_PENDING.
	CreateShare(context.Context, *CreateShareRequest) (*CreateShareResponse, error)
	// Removes a share.
	// MUST return CODE_NOT_FOUND if the share reference does not exist.
	RemoveShare(context.Context, *RemoveShareRequest) (*RemoveShareResponse, error)
	// Gets share information for a single share.
	// MUST return CODE_NOT_FOUND if the share reference does not exist.
	GetShare(context.Context, *GetShareRequest) (*GetShareResponse, error)
	// List the shares the authenticated principal has created,
	// both as owner and creator. If a filter is specified, only
	// shares satisfying the filter MUST be returned.
	ListShares(context.Context, *ListSharesRequest) (*ListSharesResponse, error)
	// Updates a share.
	// MUST return CODE_NOT_FOUND if the share reference does not exist.
	UpdateShare(context.Context, *UpdateShareRequest) (*UpdateShareResponse, error)
	// List all shares the authenticated principal has received.
	ListReceivedShares(context.Context, *ListReceivedSharesRequest) (*ListReceivedSharesResponse, error)
	// Update the received share to change the share state or the display name.
	// MUST return CODE_NOT_FOUND if the share reference does not exist.
	UpdateReceivedShare(context.Context, *UpdateReceivedShareRequest) (*UpdateReceivedShareResponse, error)
	// Get the information for the given received share reference.
	// MUST return CODE_NOT_FOUND if the received share reference does not exist.
	GetReceivedShare(context.Context, *GetReceivedShareRequest) (*GetReceivedShareResponse, error)
}

CollaborationAPIServer is the server API for CollaborationAPI service.

type CollaborationAPIService

type CollaborationAPIService interface {
	// Creates a new share.
	// MUST return CODE_NOT_FOUND if the resource reference does not exist.
	// MUST return CODE_ALREADY_EXISTS if the share already exists for the 4-tuple consisting of
	// (owner, shared_resource, grantee).
	// New shares MUST be created in the state SHARE_STATE_PENDING.
	CreateShare(ctx context.Context, in *CreateShareRequest, opts ...client.CallOption) (*CreateShareResponse, error)
	// Removes a share.
	// MUST return CODE_NOT_FOUND if the share reference does not exist.
	RemoveShare(ctx context.Context, in *RemoveShareRequest, opts ...client.CallOption) (*RemoveShareResponse, error)
	// Gets share information for a single share.
	// MUST return CODE_NOT_FOUND if the share reference does not exist.
	GetShare(ctx context.Context, in *GetShareRequest, opts ...client.CallOption) (*GetShareResponse, error)
	// List the shares the authenticated principal has created,
	// both as owner and creator. If a filter is specified, only
	// shares satisfying the filter MUST be returned.
	ListShares(ctx context.Context, in *ListSharesRequest, opts ...client.CallOption) (*ListSharesResponse, error)
	// Updates a share.
	// MUST return CODE_NOT_FOUND if the share reference does not exist.
	UpdateShare(ctx context.Context, in *UpdateShareRequest, opts ...client.CallOption) (*UpdateShareResponse, error)
	// List all shares the authenticated principal has received.
	ListReceivedShares(ctx context.Context, in *ListReceivedSharesRequest, opts ...client.CallOption) (*ListReceivedSharesResponse, error)
	// Update the received share to change the share state or the display name.
	// MUST return CODE_NOT_FOUND if the share reference does not exist.
	UpdateReceivedShare(ctx context.Context, in *UpdateReceivedShareRequest, opts ...client.CallOption) (*UpdateReceivedShareResponse, error)
	// Get the information for the given received share reference.
	// MUST return CODE_NOT_FOUND if the received share reference does not exist.
	GetReceivedShare(ctx context.Context, in *GetReceivedShareRequest, opts ...client.CallOption) (*GetReceivedShareResponse, error)
}

func NewCollaborationAPIService

func NewCollaborationAPIService(name string, c client.Client) CollaborationAPIService

type CreateShareRequest

type CreateShareRequest struct {

	// OPTIONAL.
	// Opaque information.
	Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"`
	// REQUIRED.
	// The information of the resource to be shared.
	ResourceInfo *v1beta11.ResourceInfo `protobuf:"bytes,2,opt,name=resource_info,json=resourceInfo,proto3" json:"resource_info,omitempty"`
	// REQUIRED.
	// The share grant for the share.
	Grant *ShareGrant `protobuf:"bytes,3,opt,name=grant,proto3" json:"grant,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateShareRequest) Descriptor deprecated

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

Deprecated: Use CreateShareRequest.ProtoReflect.Descriptor instead.

func (*CreateShareRequest) GetGrant

func (x *CreateShareRequest) GetGrant() *ShareGrant

func (*CreateShareRequest) GetOpaque

func (x *CreateShareRequest) GetOpaque() *v1beta1.Opaque

func (*CreateShareRequest) GetResourceInfo

func (x *CreateShareRequest) GetResourceInfo() *v1beta11.ResourceInfo

func (*CreateShareRequest) ProtoMessage

func (*CreateShareRequest) ProtoMessage()

func (*CreateShareRequest) ProtoReflect

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

func (*CreateShareRequest) Reset

func (x *CreateShareRequest) Reset()

func (*CreateShareRequest) String

func (x *CreateShareRequest) String() string

type CreateShareResponse

type CreateShareResponse struct {

	// REQUIRED.
	// The response status.
	Status *v1beta12.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// OPTIONAL.
	// Opaque information.
	Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"`
	// REQUIRED.
	// The created share.
	Share *Share `protobuf:"bytes,3,opt,name=share,proto3" json:"share,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateShareResponse) Descriptor deprecated

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

Deprecated: Use CreateShareResponse.ProtoReflect.Descriptor instead.

func (*CreateShareResponse) GetOpaque

func (x *CreateShareResponse) GetOpaque() *v1beta1.Opaque

func (*CreateShareResponse) GetShare

func (x *CreateShareResponse) GetShare() *Share

func (*CreateShareResponse) GetStatus

func (x *CreateShareResponse) GetStatus() *v1beta12.Status

func (*CreateShareResponse) ProtoMessage

func (*CreateShareResponse) ProtoMessage()

func (*CreateShareResponse) ProtoReflect

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

func (*CreateShareResponse) Reset

func (x *CreateShareResponse) Reset()

func (*CreateShareResponse) String

func (x *CreateShareResponse) String() string

type GetReceivedShareRequest

type GetReceivedShareRequest struct {

	// OPTIONAL.
	// Opaque information.
	Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"`
	// REQUIRED.
	// The reference of the received share.
	Ref *ShareReference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"`
	// contains filtered or unexported fields
}

func (*GetReceivedShareRequest) Descriptor deprecated

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

Deprecated: Use GetReceivedShareRequest.ProtoReflect.Descriptor instead.

func (*GetReceivedShareRequest) GetOpaque

func (x *GetReceivedShareRequest) GetOpaque() *v1beta1.Opaque

func (*GetReceivedShareRequest) GetRef

func (*GetReceivedShareRequest) ProtoMessage

func (*GetReceivedShareRequest) ProtoMessage()

func (*GetReceivedShareRequest) ProtoReflect

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

func (*GetReceivedShareRequest) Reset

func (x *GetReceivedShareRequest) Reset()

func (*GetReceivedShareRequest) String

func (x *GetReceivedShareRequest) String() string

type GetReceivedShareResponse

type GetReceivedShareResponse struct {

	// REQUIRED.
	// The response status.
	Status *v1beta12.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// OPTIONAL.
	// Opaque information.
	Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"`
	// REQUIRED.
	// The share.
	Share *ReceivedShare `protobuf:"bytes,3,opt,name=share,proto3" json:"share,omitempty"`
	// contains filtered or unexported fields
}

func (*GetReceivedShareResponse) Descriptor deprecated

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

Deprecated: Use GetReceivedShareResponse.ProtoReflect.Descriptor instead.

func (*GetReceivedShareResponse) GetOpaque

func (x *GetReceivedShareResponse) GetOpaque() *v1beta1.Opaque

func (*GetReceivedShareResponse) GetShare

func (x *GetReceivedShareResponse) GetShare() *ReceivedShare

func (*GetReceivedShareResponse) GetStatus

func (x *GetReceivedShareResponse) GetStatus() *v1beta12.Status

func (*GetReceivedShareResponse) ProtoMessage

func (*GetReceivedShareResponse) ProtoMessage()

func (*GetReceivedShareResponse) ProtoReflect

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

func (*GetReceivedShareResponse) Reset

func (x *GetReceivedShareResponse) Reset()

func (*GetReceivedShareResponse) String

func (x *GetReceivedShareResponse) String() string

type GetShareRequest

type GetShareRequest struct {

	// OPTIONAL.
	// Opaque information.
	Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"`
	// REQUIRED.
	// The reference to which the action should be performed.
	Ref *ShareReference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"`
	// contains filtered or unexported fields
}

func (*GetShareRequest) Descriptor deprecated

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

Deprecated: Use GetShareRequest.ProtoReflect.Descriptor instead.

func (*GetShareRequest) GetOpaque

func (x *GetShareRequest) GetOpaque() *v1beta1.Opaque

func (*GetShareRequest) GetRef

func (x *GetShareRequest) GetRef() *ShareReference

func (*GetShareRequest) ProtoMessage

func (*GetShareRequest) ProtoMessage()

func (*GetShareRequest) ProtoReflect

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

func (*GetShareRequest) Reset

func (x *GetShareRequest) Reset()

func (*GetShareRequest) String

func (x *GetShareRequest) String() string

type GetShareResponse

type GetShareResponse struct {

	// REQUIRED.
	// The response status.
	Status *v1beta12.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// OPTIONAL.
	// Opaque information.
	Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"`
	// REQUIRED.
	// The share.
	Share *Share `protobuf:"bytes,3,opt,name=share,proto3" json:"share,omitempty"`
	// contains filtered or unexported fields
}

func (*GetShareResponse) Descriptor deprecated

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

Deprecated: Use GetShareResponse.ProtoReflect.Descriptor instead.

func (*GetShareResponse) GetOpaque

func (x *GetShareResponse) GetOpaque() *v1beta1.Opaque

func (*GetShareResponse) GetShare

func (x *GetShareResponse) GetShare() *Share

func (*GetShareResponse) GetStatus

func (x *GetShareResponse) GetStatus() *v1beta12.Status

func (*GetShareResponse) ProtoMessage

func (*GetShareResponse) ProtoMessage()

func (*GetShareResponse) ProtoReflect

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

func (*GetShareResponse) Reset

func (x *GetShareResponse) Reset()

func (*GetShareResponse) String

func (x *GetShareResponse) String() string

type ListReceivedSharesRequest

type ListReceivedSharesRequest struct {

	// OPTIONAL.
	// Opaque information.
	Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"`
	// contains filtered or unexported fields
}

func (*ListReceivedSharesRequest) Descriptor deprecated

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

Deprecated: Use ListReceivedSharesRequest.ProtoReflect.Descriptor instead.

func (*ListReceivedSharesRequest) GetOpaque

func (x *ListReceivedSharesRequest) GetOpaque() *v1beta1.Opaque

func (*ListReceivedSharesRequest) ProtoMessage

func (*ListReceivedSharesRequest) ProtoMessage()

func (*ListReceivedSharesRequest) ProtoReflect

func (*ListReceivedSharesRequest) Reset

func (x *ListReceivedSharesRequest) Reset()

func (*ListReceivedSharesRequest) String

func (x *ListReceivedSharesRequest) String() string

type ListReceivedSharesResponse

type ListReceivedSharesResponse struct {

	// REQUIRED.
	// The response status.
	Status *v1beta12.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// OPTIONAL.
	// Opaque information.
	Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"`
	// REQUIRED.
	// The list of received shares.
	Shares []*ReceivedShare `protobuf:"bytes,3,rep,name=shares,proto3" json:"shares,omitempty"`
	// contains filtered or unexported fields
}

func (*ListReceivedSharesResponse) Descriptor deprecated

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

Deprecated: Use ListReceivedSharesResponse.ProtoReflect.Descriptor instead.

func (*ListReceivedSharesResponse) GetOpaque

func (x *ListReceivedSharesResponse) GetOpaque() *v1beta1.Opaque

func (*ListReceivedSharesResponse) GetShares

func (x *ListReceivedSharesResponse) GetShares() []*ReceivedShare

func (*ListReceivedSharesResponse) GetStatus

func (x *ListReceivedSharesResponse) GetStatus() *v1beta12.Status

func (*ListReceivedSharesResponse) ProtoMessage

func (*ListReceivedSharesResponse) ProtoMessage()

func (*ListReceivedSharesResponse) ProtoReflect

func (*ListReceivedSharesResponse) Reset

func (x *ListReceivedSharesResponse) Reset()

func (*ListReceivedSharesResponse) String

func (x *ListReceivedSharesResponse) String() string

type ListSharesRequest

type ListSharesRequest struct {

	// OPTIONAL.
	// Opaque information.
	Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"`
	// OPTIONAL.
	// The list of filters to apply if any.
	Filters []*ListSharesRequest_Filter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSharesRequest) Descriptor deprecated

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

Deprecated: Use ListSharesRequest.ProtoReflect.Descriptor instead.

func (*ListSharesRequest) GetFilters

func (x *ListSharesRequest) GetFilters() []*ListSharesRequest_Filter

func (*ListSharesRequest) GetOpaque

func (x *ListSharesRequest) GetOpaque() *v1beta1.Opaque

func (*ListSharesRequest) ProtoMessage

func (*ListSharesRequest) ProtoMessage()

func (*ListSharesRequest) ProtoReflect

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

func (*ListSharesRequest) Reset

func (x *ListSharesRequest) Reset()

func (*ListSharesRequest) String

func (x *ListSharesRequest) String() string

type ListSharesRequest_Filter

type ListSharesRequest_Filter struct {

	// REQUIRED.
	Type ListSharesRequest_Filter_Type `` /* 131-byte string literal not displayed */
	// Types that are assignable to Term:
	//	*ListSharesRequest_Filter_ResourceId
	//	*ListSharesRequest_Filter_Owner
	//	*ListSharesRequest_Filter_Creator
	Term isListSharesRequest_Filter_Term `protobuf_oneof:"term"`
	// contains filtered or unexported fields
}

REQUIRED. represents a filter to apply to the request.

func (*ListSharesRequest_Filter) Descriptor deprecated

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

Deprecated: Use ListSharesRequest_Filter.ProtoReflect.Descriptor instead.

func (*ListSharesRequest_Filter) GetCreator

func (x *ListSharesRequest_Filter) GetCreator() *v1beta13.UserId

func (*ListSharesRequest_Filter) GetOwner

func (x *ListSharesRequest_Filter) GetOwner() *v1beta13.UserId

func (*ListSharesRequest_Filter) GetResourceId

func (x *ListSharesRequest_Filter) GetResourceId() *v1beta11.ResourceId

func (*ListSharesRequest_Filter) GetTerm

func (m *ListSharesRequest_Filter) GetTerm() isListSharesRequest_Filter_Term

func (*ListSharesRequest_Filter) GetType

func (*ListSharesRequest_Filter) ProtoMessage

func (*ListSharesRequest_Filter) ProtoMessage()

func (*ListSharesRequest_Filter) ProtoReflect

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

func (*ListSharesRequest_Filter) Reset

func (x *ListSharesRequest_Filter) Reset()

func (*ListSharesRequest_Filter) String

func (x *ListSharesRequest_Filter) String() string

type ListSharesRequest_Filter_Creator

type ListSharesRequest_Filter_Creator struct {
	Creator *v1beta13.UserId `protobuf:"bytes,5,opt,name=creator,proto3,oneof"`
}

type ListSharesRequest_Filter_Owner

type ListSharesRequest_Filter_Owner struct {
	Owner *v1beta13.UserId `protobuf:"bytes,4,opt,name=owner,proto3,oneof"`
}

type ListSharesRequest_Filter_ResourceId

type ListSharesRequest_Filter_ResourceId struct {
	ResourceId *v1beta11.ResourceId `protobuf:"bytes,3,opt,name=resource_id,json=resourceId,proto3,oneof"`
}

type ListSharesRequest_Filter_Type

type ListSharesRequest_Filter_Type int32

The filter to apply.

const (
	ListSharesRequest_Filter_TYPE_INVALID     ListSharesRequest_Filter_Type = 0
	ListSharesRequest_Filter_TYPE_NO          ListSharesRequest_Filter_Type = 1
	ListSharesRequest_Filter_TYPE_RESOURCE_ID ListSharesRequest_Filter_Type = 2
	ListSharesRequest_Filter_TYPE_OWNER       ListSharesRequest_Filter_Type = 3
	ListSharesRequest_Filter_TYPE_CREATOR     ListSharesRequest_Filter_Type = 4
)

func (ListSharesRequest_Filter_Type) Descriptor

func (ListSharesRequest_Filter_Type) Enum

func (ListSharesRequest_Filter_Type) EnumDescriptor deprecated

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

Deprecated: Use ListSharesRequest_Filter_Type.Descriptor instead.

func (ListSharesRequest_Filter_Type) Number

func (ListSharesRequest_Filter_Type) String

func (ListSharesRequest_Filter_Type) Type

type ListSharesResponse

type ListSharesResponse struct {

	// REQUIRED.
	// The response status.
	Status *v1beta12.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// OPTIONAL.
	// Opaque information.
	Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"`
	// REQUIRED.
	// The list of shares.
	Shares []*Share `protobuf:"bytes,3,rep,name=shares,proto3" json:"shares,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSharesResponse) Descriptor deprecated

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

Deprecated: Use ListSharesResponse.ProtoReflect.Descriptor instead.

func (*ListSharesResponse) GetOpaque

func (x *ListSharesResponse) GetOpaque() *v1beta1.Opaque

func (*ListSharesResponse) GetShares

func (x *ListSharesResponse) GetShares() []*Share

func (*ListSharesResponse) GetStatus

func (x *ListSharesResponse) GetStatus() *v1beta12.Status

func (*ListSharesResponse) ProtoMessage

func (*ListSharesResponse) ProtoMessage()

func (*ListSharesResponse) ProtoReflect

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

func (*ListSharesResponse) Reset

func (x *ListSharesResponse) Reset()

func (*ListSharesResponse) String

func (x *ListSharesResponse) String() string

type ReceivedShare

type ReceivedShare struct {

	// REQUIRED.
	Share *Share `protobuf:"bytes,1,opt,name=share,proto3" json:"share,omitempty"`
	// REQUIRED.
	// The state of the share.
	State ShareState `protobuf:"varint,2,opt,name=state,proto3,enum=cs3.sharing.collaboration.v1beta1.ShareState" json:"state,omitempty"`
	// contains filtered or unexported fields
}

A received share is the share that a grantee will receive. It expands the original share by adding state to the share, a display name from the perspective of the grantee and a resource mount path in case the share will be mounted in a path in a storage provider.

func (*ReceivedShare) Descriptor deprecated

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

Deprecated: Use ReceivedShare.ProtoReflect.Descriptor instead.

func (*ReceivedShare) GetShare

func (x *ReceivedShare) GetShare() *Share

func (*ReceivedShare) GetState

func (x *ReceivedShare) GetState() ShareState

func (*ReceivedShare) ProtoMessage

func (*ReceivedShare) ProtoMessage()

func (*ReceivedShare) ProtoReflect

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

func (*ReceivedShare) Reset

func (x *ReceivedShare) Reset()

func (*ReceivedShare) String

func (x *ReceivedShare) String() string

type RemoveShareRequest

type RemoveShareRequest struct {

	// OPTIONAL.
	// Opaque information.
	Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"`
	// REQUIRED.
	// The reference to which the action should be performed.
	Ref *ShareReference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveShareRequest) Descriptor deprecated

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

Deprecated: Use RemoveShareRequest.ProtoReflect.Descriptor instead.

func (*RemoveShareRequest) GetOpaque

func (x *RemoveShareRequest) GetOpaque() *v1beta1.Opaque

func (*RemoveShareRequest) GetRef

func (x *RemoveShareRequest) GetRef() *ShareReference

func (*RemoveShareRequest) ProtoMessage

func (*RemoveShareRequest) ProtoMessage()

func (*RemoveShareRequest) ProtoReflect

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

func (*RemoveShareRequest) Reset

func (x *RemoveShareRequest) Reset()

func (*RemoveShareRequest) String

func (x *RemoveShareRequest) String() string

type RemoveShareResponse

type RemoveShareResponse struct {

	// REQUIRED.
	// The response status.
	Status *v1beta12.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// OPTIONAL.
	// Opaque information.
	Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveShareResponse) Descriptor deprecated

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

Deprecated: Use RemoveShareResponse.ProtoReflect.Descriptor instead.

func (*RemoveShareResponse) GetOpaque

func (x *RemoveShareResponse) GetOpaque() *v1beta1.Opaque

func (*RemoveShareResponse) GetStatus

func (x *RemoveShareResponse) GetStatus() *v1beta12.Status

func (*RemoveShareResponse) ProtoMessage

func (*RemoveShareResponse) ProtoMessage()

func (*RemoveShareResponse) ProtoReflect

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

func (*RemoveShareResponse) Reset

func (x *RemoveShareResponse) Reset()

func (*RemoveShareResponse) String

func (x *RemoveShareResponse) String() string

type Share

type Share struct {

	// REQUIRED.
	// Opaque unique identifier of the share.
	Id *ShareId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// REQUIRED.
	// Unique identifier of the shared resource.
	ResourceId *v1beta1.ResourceId `protobuf:"bytes,2,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// REQUIRED.
	// Permissions for the grantee to use
	// the resource.
	Permissions *SharePermissions `protobuf:"bytes,3,opt,name=permissions,proto3" json:"permissions,omitempty"`
	// REQUIRED.
	// The receiver of the share, like a user, group ...
	Grantee *v1beta1.Grantee `protobuf:"bytes,4,opt,name=grantee,proto3" json:"grantee,omitempty"`
	// REQUIRED.
	// Uniquely identifies the owner of the share
	// (the resource owner at the time of creating the share).
	// In case the ownership of the underlying resource changes
	// the share owner field MAY change to reflect the change of ownsership.
	Owner *v1beta11.UserId `protobuf:"bytes,5,opt,name=owner,proto3" json:"owner,omitempty"`
	// REQUIRED.
	// Uniquely identifies a principal who initiates the share creation.
	// A creator can create shares on behalf of the owner (because of re-sharing,
	// because belonging to special groups, ...).
	// Creator and owner often result in being the same principal.
	Creator *v1beta11.UserId `protobuf:"bytes,6,opt,name=creator,proto3" json:"creator,omitempty"`
	// REQUIRED.
	// Creation time of the share.
	Ctime *v1beta12.Timestamp `protobuf:"bytes,7,opt,name=ctime,proto3" json:"ctime,omitempty"`
	// REQUIRED.
	// Last modification time of the share.
	Mtime *v1beta12.Timestamp `protobuf:"bytes,8,opt,name=mtime,proto3" json:"mtime,omitempty"`
	// contains filtered or unexported fields
}

Shares are relationships between a resource owner (usually the authenticated user) who grants permissions to a recipient (grantee) on a specified resource (resource_id). UserShares represents both user and groups.

func (*Share) Descriptor deprecated

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

Deprecated: Use Share.ProtoReflect.Descriptor instead.

func (*Share) GetCreator

func (x *Share) GetCreator() *v1beta11.UserId

func (*Share) GetCtime

func (x *Share) GetCtime() *v1beta12.Timestamp

func (*Share) GetGrantee

func (x *Share) GetGrantee() *v1beta1.Grantee

func (*Share) GetId

func (x *Share) GetId() *ShareId

func (*Share) GetMtime

func (x *Share) GetMtime() *v1beta12.Timestamp

func (*Share) GetOwner

func (x *Share) GetOwner() *v1beta11.UserId

func (*Share) GetPermissions

func (x *Share) GetPermissions() *SharePermissions

func (*Share) GetResourceId

func (x *Share) GetResourceId() *v1beta1.ResourceId

func (*Share) ProtoMessage

func (*Share) ProtoMessage()

func (*Share) ProtoReflect

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

func (*Share) Reset

func (x *Share) Reset()

func (*Share) String

func (x *Share) String() string

type ShareGrant

type ShareGrant struct {

	// REQUIRED.
	// The grantee of the grant.
	Grantee *v1beta1.Grantee `protobuf:"bytes,1,opt,name=grantee,proto3" json:"grantee,omitempty"`
	// REQUIRED.
	// The share permissions for the grant.
	Permissions *SharePermissions `protobuf:"bytes,2,opt,name=permissions,proto3" json:"permissions,omitempty"`
	// contains filtered or unexported fields
}

A share grant specifies the share permissions for a grantee.

func (*ShareGrant) Descriptor deprecated

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

Deprecated: Use ShareGrant.ProtoReflect.Descriptor instead.

func (*ShareGrant) GetGrantee

func (x *ShareGrant) GetGrantee() *v1beta1.Grantee

func (*ShareGrant) GetPermissions

func (x *ShareGrant) GetPermissions() *SharePermissions

func (*ShareGrant) ProtoMessage

func (*ShareGrant) ProtoMessage()

func (*ShareGrant) ProtoReflect

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

func (*ShareGrant) Reset

func (x *ShareGrant) Reset()

func (*ShareGrant) String

func (x *ShareGrant) String() string

type ShareId

type ShareId struct {

	// REQUIRED.
	// The internal id used by service implementor to
	// uniquely Collaboration the share in the internal
	// implementation of the service.
	OpaqueId string `protobuf:"bytes,2,opt,name=opaque_id,json=opaqueId,proto3" json:"opaque_id,omitempty"`
	// contains filtered or unexported fields
}

A share id identifies uniquely a // share in the share provider namespace. A ShareId MUST be unique inside the share provider.

func (*ShareId) Descriptor deprecated

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

Deprecated: Use ShareId.ProtoReflect.Descriptor instead.

func (*ShareId) GetOpaqueId

func (x *ShareId) GetOpaqueId() string

func (*ShareId) ProtoMessage

func (*ShareId) ProtoMessage()

func (*ShareId) ProtoReflect

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

func (*ShareId) Reset

func (x *ShareId) Reset()

func (*ShareId) String

func (x *ShareId) String() string

type ShareKey

type ShareKey struct {

	// REQUIRED.
	Owner *v1beta11.UserId `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
	// REQUIRED.
	ResourceId *v1beta1.ResourceId `protobuf:"bytes,3,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// REQUIRED.
	Grantee *v1beta1.Grantee `protobuf:"bytes,4,opt,name=grantee,proto3" json:"grantee,omitempty"`
	// contains filtered or unexported fields
}

Uniquely identifies a share in the share provider. A share MUST be uniquely identify by four (4) elements: 1) The share provider id 2) The owner of the share 3) The resource id 4) The grantee for the share This 4-tuple MUST be unique. For example, owner Alice shares the resource /home/docs with id home:1234 to an user named Bob. The 4-tuple will consist of 1) The share provider id = "user" 2) The owner of the share = "Alice" 3) The resource id = "home:1234" 4) The grantee for the share = Grantee("type" = "user", "" => "Bob")

func (*ShareKey) Descriptor deprecated

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

Deprecated: Use ShareKey.ProtoReflect.Descriptor instead.

func (*ShareKey) GetGrantee

func (x *ShareKey) GetGrantee() *v1beta1.Grantee

func (*ShareKey) GetOwner

func (x *ShareKey) GetOwner() *v1beta11.UserId

func (*ShareKey) GetResourceId

func (x *ShareKey) GetResourceId() *v1beta1.ResourceId

func (*ShareKey) ProtoMessage

func (*ShareKey) ProtoMessage()

func (*ShareKey) ProtoReflect

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

func (*ShareKey) Reset

func (x *ShareKey) Reset()

func (*ShareKey) String

func (x *ShareKey) String() string

type SharePermissions

type SharePermissions struct {
	Permissions *v1beta1.ResourcePermissions `protobuf:"bytes,1,opt,name=permissions,proto3" json:"permissions,omitempty"` // TODO(labkode): additional permissions for shares like re-sharing
	// contains filtered or unexported fields
}

The permissions for a share.

func (*SharePermissions) Descriptor deprecated

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

Deprecated: Use SharePermissions.ProtoReflect.Descriptor instead.

func (*SharePermissions) GetPermissions

func (x *SharePermissions) GetPermissions() *v1beta1.ResourcePermissions

func (*SharePermissions) ProtoMessage

func (*SharePermissions) ProtoMessage()

func (*SharePermissions) ProtoReflect

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

func (*SharePermissions) Reset

func (x *SharePermissions) Reset()

func (*SharePermissions) String

func (x *SharePermissions) String() string

type ShareReference

type ShareReference struct {

	// REQUIRED.
	// One of the specifications MUST be specified.
	//
	// Types that are assignable to Spec:
	//	*ShareReference_Id
	//	*ShareReference_Key
	Spec isShareReference_Spec `protobuf_oneof:"spec"`
	// contains filtered or unexported fields
}

The mechanism to identify a share in the share provider namespace.

func (*ShareReference) Descriptor deprecated

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

Deprecated: Use ShareReference.ProtoReflect.Descriptor instead.

func (*ShareReference) GetId

func (x *ShareReference) GetId() *ShareId

func (*ShareReference) GetKey

func (x *ShareReference) GetKey() *ShareKey

func (*ShareReference) GetSpec

func (m *ShareReference) GetSpec() isShareReference_Spec

func (*ShareReference) ProtoMessage

func (*ShareReference) ProtoMessage()

func (*ShareReference) ProtoReflect

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

func (*ShareReference) Reset

func (x *ShareReference) Reset()

func (*ShareReference) String

func (x *ShareReference) String() string

type ShareReference_Id

type ShareReference_Id struct {
	// The id of the share.
	Id *ShareId `protobuf:"bytes,1,opt,name=id,proto3,oneof"`
}

type ShareReference_Key

type ShareReference_Key struct {
	// The combination of fields that
	// make the share unique.
	Key *ShareKey `protobuf:"bytes,2,opt,name=key,proto3,oneof"`
}

type ShareState

type ShareState int32

The state of the share.

const (
	// The share is no longer valid, for example, the share expired.
	ShareState_SHARE_STATE_INVALID ShareState = 0
	// New shares MUST be created in the SHARE_STATE_PENDING state.
	// This state means the share is pending to be accepted or rejected
	// by the recipient of the share.
	ShareState_SHARE_STATE_PENDING ShareState = 1
	// The recipient of the share has accepted the share.
	ShareState_SHARE_STATE_ACCEPTED ShareState = 2
	// The recipient of the share has rejected the share.
	// Do not means the share is removed, the recipient MAY
	// change the state to accepted or pending.
	ShareState_SHARE_STATE_REJECTED ShareState = 3
)

func (ShareState) Descriptor

func (ShareState) Descriptor() protoreflect.EnumDescriptor

func (ShareState) Enum

func (x ShareState) Enum() *ShareState

func (ShareState) EnumDescriptor deprecated

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

Deprecated: Use ShareState.Descriptor instead.

func (ShareState) Number

func (x ShareState) Number() protoreflect.EnumNumber

func (ShareState) String

func (x ShareState) String() string

func (ShareState) Type

type UnimplementedCollaborationAPIServer

type UnimplementedCollaborationAPIServer struct {
}

UnimplementedCollaborationAPIServer can be embedded to have forward compatible implementations.

func (*UnimplementedCollaborationAPIServer) CreateShare

func (*UnimplementedCollaborationAPIServer) GetReceivedShare

func (*UnimplementedCollaborationAPIServer) GetShare

func (*UnimplementedCollaborationAPIServer) ListReceivedShares

func (*UnimplementedCollaborationAPIServer) ListShares

func (*UnimplementedCollaborationAPIServer) RemoveShare

func (*UnimplementedCollaborationAPIServer) UpdateReceivedShare

func (*UnimplementedCollaborationAPIServer) UpdateShare

type UpdateReceivedShareRequest

type UpdateReceivedShareRequest struct {

	// OPTIONAL.
	// Opaque information.
	Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"`
	// REQUIRED.
	Ref   *ShareReference                         `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"`
	Field *UpdateReceivedShareRequest_UpdateField `protobuf:"bytes,3,opt,name=field,proto3" json:"field,omitempty"`
	// contains filtered or unexported fields
}

TODO(labkode): clean up display_name ? we'll use storage links for that.

func (*UpdateReceivedShareRequest) Descriptor deprecated

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

Deprecated: Use UpdateReceivedShareRequest.ProtoReflect.Descriptor instead.

func (*UpdateReceivedShareRequest) GetField

func (*UpdateReceivedShareRequest) GetOpaque

func (x *UpdateReceivedShareRequest) GetOpaque() *v1beta1.Opaque

func (*UpdateReceivedShareRequest) GetRef

func (*UpdateReceivedShareRequest) ProtoMessage

func (*UpdateReceivedShareRequest) ProtoMessage()

func (*UpdateReceivedShareRequest) ProtoReflect

func (*UpdateReceivedShareRequest) Reset

func (x *UpdateReceivedShareRequest) Reset()

func (*UpdateReceivedShareRequest) String

func (x *UpdateReceivedShareRequest) String() string

type UpdateReceivedShareRequest_UpdateField

type UpdateReceivedShareRequest_UpdateField struct {

	// One of the update fields MUST be specified.
	//
	// Types that are assignable to Field:
	//	*UpdateReceivedShareRequest_UpdateField_DisplayName
	//	*UpdateReceivedShareRequest_UpdateField_State
	Field isUpdateReceivedShareRequest_UpdateField_Field `protobuf_oneof:"field"`
	// contains filtered or unexported fields
}

REQUIRED. The field to update.

func (*UpdateReceivedShareRequest_UpdateField) Descriptor deprecated

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

Deprecated: Use UpdateReceivedShareRequest_UpdateField.ProtoReflect.Descriptor instead.

func (*UpdateReceivedShareRequest_UpdateField) GetDisplayName

func (x *UpdateReceivedShareRequest_UpdateField) GetDisplayName() string

func (*UpdateReceivedShareRequest_UpdateField) GetField

func (m *UpdateReceivedShareRequest_UpdateField) GetField() isUpdateReceivedShareRequest_UpdateField_Field

func (*UpdateReceivedShareRequest_UpdateField) GetState

func (*UpdateReceivedShareRequest_UpdateField) ProtoMessage

func (*UpdateReceivedShareRequest_UpdateField) ProtoReflect

func (*UpdateReceivedShareRequest_UpdateField) Reset

func (*UpdateReceivedShareRequest_UpdateField) String

type UpdateReceivedShareRequest_UpdateField_DisplayName

type UpdateReceivedShareRequest_UpdateField_DisplayName struct {
	// Update the display name.
	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3,oneof"`
}

type UpdateReceivedShareRequest_UpdateField_State

type UpdateReceivedShareRequest_UpdateField_State struct {
	// Update the share state
	State ShareState `protobuf:"varint,2,opt,name=state,proto3,enum=cs3.sharing.collaboration.v1beta1.ShareState,oneof"`
}

type UpdateReceivedShareResponse

type UpdateReceivedShareResponse struct {

	// REQUIRED.
	// The response status.
	Status *v1beta12.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// OPTIONAL.
	// Opaque information.
	Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateReceivedShareResponse) Descriptor deprecated

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

Deprecated: Use UpdateReceivedShareResponse.ProtoReflect.Descriptor instead.

func (*UpdateReceivedShareResponse) GetOpaque

func (x *UpdateReceivedShareResponse) GetOpaque() *v1beta1.Opaque

func (*UpdateReceivedShareResponse) GetStatus

func (*UpdateReceivedShareResponse) ProtoMessage

func (*UpdateReceivedShareResponse) ProtoMessage()

func (*UpdateReceivedShareResponse) ProtoReflect

func (*UpdateReceivedShareResponse) Reset

func (x *UpdateReceivedShareResponse) Reset()

func (*UpdateReceivedShareResponse) String

func (x *UpdateReceivedShareResponse) String() string

type UpdateShareRequest

type UpdateShareRequest struct {

	// OPTIONAL.
	// Opaque information.
	Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED.
	Ref    *ShareReference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"`
	// REQUIRED.
	Field *UpdateShareRequest_UpdateField `protobuf:"bytes,3,opt,name=field,proto3" json:"field,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateShareRequest) Descriptor deprecated

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

Deprecated: Use UpdateShareRequest.ProtoReflect.Descriptor instead.

func (*UpdateShareRequest) GetField

func (*UpdateShareRequest) GetOpaque

func (x *UpdateShareRequest) GetOpaque() *v1beta1.Opaque

func (*UpdateShareRequest) GetRef

func (x *UpdateShareRequest) GetRef() *ShareReference

func (*UpdateShareRequest) ProtoMessage

func (*UpdateShareRequest) ProtoMessage()

func (*UpdateShareRequest) ProtoReflect

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

func (*UpdateShareRequest) Reset

func (x *UpdateShareRequest) Reset()

func (*UpdateShareRequest) String

func (x *UpdateShareRequest) String() string

type UpdateShareRequest_UpdateField

type UpdateShareRequest_UpdateField struct {

	// One of the update fields MUST be specified.
	//
	// Types that are assignable to Field:
	//	*UpdateShareRequest_UpdateField_Permissions
	//	*UpdateShareRequest_UpdateField_DisplayName
	Field isUpdateShareRequest_UpdateField_Field `protobuf_oneof:"field"`
	// contains filtered or unexported fields
}

REQUIRED.

func (*UpdateShareRequest_UpdateField) Descriptor deprecated

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

Deprecated: Use UpdateShareRequest_UpdateField.ProtoReflect.Descriptor instead.

func (*UpdateShareRequest_UpdateField) GetDisplayName

func (x *UpdateShareRequest_UpdateField) GetDisplayName() string

func (*UpdateShareRequest_UpdateField) GetField

func (m *UpdateShareRequest_UpdateField) GetField() isUpdateShareRequest_UpdateField_Field

func (*UpdateShareRequest_UpdateField) GetPermissions

func (x *UpdateShareRequest_UpdateField) GetPermissions() *SharePermissions

func (*UpdateShareRequest_UpdateField) ProtoMessage

func (*UpdateShareRequest_UpdateField) ProtoMessage()

func (*UpdateShareRequest_UpdateField) ProtoReflect

func (*UpdateShareRequest_UpdateField) Reset

func (x *UpdateShareRequest_UpdateField) Reset()

func (*UpdateShareRequest_UpdateField) String

type UpdateShareRequest_UpdateField_DisplayName

type UpdateShareRequest_UpdateField_DisplayName struct {
	// Update the display name.
	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3,oneof"`
}

type UpdateShareRequest_UpdateField_Permissions

type UpdateShareRequest_UpdateField_Permissions struct {
	// Update the permissions.
	Permissions *SharePermissions `protobuf:"bytes,2,opt,name=permissions,proto3,oneof"`
}

type UpdateShareResponse

type UpdateShareResponse struct {

	// REQUIRED.
	// The response status.
	Status *v1beta12.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// OPTIONAL.
	// Opaque information.
	Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateShareResponse) Descriptor deprecated

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

Deprecated: Use UpdateShareResponse.ProtoReflect.Descriptor instead.

func (*UpdateShareResponse) GetOpaque

func (x *UpdateShareResponse) GetOpaque() *v1beta1.Opaque

func (*UpdateShareResponse) GetStatus

func (x *UpdateShareResponse) GetStatus() *v1beta12.Status

func (*UpdateShareResponse) ProtoMessage

func (*UpdateShareResponse) ProtoMessage()

func (*UpdateShareResponse) ProtoReflect

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

func (*UpdateShareResponse) Reset

func (x *UpdateShareResponse) Reset()

func (*UpdateShareResponse) String

func (x *UpdateShareResponse) String() string

Jump to

Keyboard shortcuts

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