From ee499bbc1bee5cdd4fe6bdeebec6fb8eeebcc143 Mon Sep 17 00:00:00 2001
From: Giuseppe Lo Presti OPTIONAL.
-Clients use this field to specify the maximum number of results to be
-returned by the server. The server may further constrain the maximum number
-of results returned in a single page. If the page_size is 0, the server
-will decide the number of results to be returned. see
-https://cloud.google.com/apis/design/design_patterns#list_pagination ListOCMSharesRequest
int32
+Clients use this field to specify the maximum number of results to be returned by the server.
+The server may further constrain the maximum number of results returned in a single page.
+If the page_size is 0, the server will decide the number of results to be returned.
+see https://cloud.google.com/apis/design/design_patterns#list_pagination
OPTIONAL. -This field represents the pagination token to retrieve the next page of -results. If the value is "", it means no further results for the request. +This field represents the pagination token to retrieve the next page of results. +If the value is "", it means no further results for the request. see https://cloud.google.com/apis/design/design_patterns#list_pagination
OPTIONAL. -Clients use this field to specify the maximum number of results to be -returned by the server. The server may further constrain the maximum number -of results returned in a single page. If the page_size is 0, the server -will decide the number of results to be returned. see -https://cloud.google.com/apis/design/design_patterns#list_pagination
OPTIONAL. -This field represents the pagination token to retrieve the next page of -results. If the value is "", it means no further results for the request. +This field represents the pagination token to retrieve the next page of results. +If the value is "", it means no further results for the request. see https://cloud.google.com/apis/design/design_patterns#list_pagination
The update mask applies to the resource. For the `FieldMask` definition, -see -https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
OCM Share Provider API
The OCM Share Provider API is meant to manipulate share
resources from the perspective of the creator or the share and
from the perspective of the receiver of the share.
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL
NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and
"OPTIONAL" in this document are to be interpreted as described in
RFC 2119.
The following are global requirements that apply to all methods:
Any method MUST return CODE_OK on a succesful operation.
Any method MAY return NOT_IMPLEMENTED.
Any method MAY return INTERNAL.
Any method MAY return UNKNOWN.
Any method MAY return UNAUTHENTICATED.
+OCM Share Provider API
The OCM Share Provider API is meant to manipulate share
resources from the perspective of the creator or the share and
from the perspective of the receiver of the share.
The following APIs implement OCM v2.0, including the invitation
workflow and multi-protocol shares, and assume OCM v2.0 compliant
remote endpoints.
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL
NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and
"OPTIONAL" in this document are to be interpreted as described in
RFC 2119.
The following are global requirements that apply to all methods:
Any method MUST return CODE_OK on a succesful operation.
Any method MAY return NOT_IMPLEMENTED.
Any method MAY return INTERNAL.
Any method MAY return UNKNOWN.
Any method MAY return UNAUTHENTICATED.
Method Name | Request Type | Response Type | Description | CreateOCMShareResponse | Creates a new ocm 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. |
+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.
protocols | Protocol | repeated | -REQUIRED. |
+ REQUIRED. +List of protocols offered for this share. +In the OCM specifications, this corresponds to the `protocol`, +to maintain backwards compatibility with OCM v1 where +only a single `protocol` was implemented. Furthermore, +`protocol.name` shall be set to `multi` and `protocol.options` +shall be left empty in the OCM share payload. |
cs3.types.v1beta1.Timestamp | OPTIONAL. -The expiration time for the ocm share. |
+The expiration time for the OCM share.
|||
REQUIRED. The internal id used by service implementor to -uniquely identity the share in the internal -implementation of the service. |
+uniquely identify the share in the internal
+implementation of the service.
+In the OCM specifications, this corresponds to the `providerId`.