Skip to content

Commit

Permalink
add an optional quota to the CreateHomeRequest (#203)
Browse files Browse the repository at this point in the history
Co-authored-by: David Christofas <dchristofas@owncloud.com>
  • Loading branch information
C0rby and David Christofas authored Mar 23, 2023
1 parent 1dbd0fa commit 46e5545
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 19 deletions.
2 changes: 2 additions & 0 deletions cs3/storage/provider/v1beta1/provider_api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1052,6 +1052,8 @@ message CreateHomeRequest {
// OPTIONAL.
// Opaque information.
cs3.types.v1beta1.Opaque opaque = 1;
// OPTIONAL.
Quota quota = 2;
}

message CreateHomeResponse {
Expand Down
42 changes: 23 additions & 19 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12900,11 +12900,10 @@ <h3 id="cs3.sharing.ocm.v1beta1.ListOCMSharesRequest">ListOCMSharesRequest</h3>
<td><a href="#int32">int32</a></td>
<td></td>
<td><p>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 </p></td>
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 </p></td>
</tr>

<tr>
Expand Down Expand Up @@ -13006,8 +13005,8 @@ <h3 id="cs3.sharing.ocm.v1beta1.ListOCMSharesResponse">ListOCMSharesResponse</h3
<td><a href="#string">string</a></td>
<td></td>
<td><p>OPTIONAL.
This field represents the pagination token to retrieve the next page of
results. If the value is &#34;&#34;, 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 &#34;&#34;, it means no further results for the request.
see https://cloud.google.com/apis/design/design_patterns#list_pagination </p></td>
</tr>

Expand Down Expand Up @@ -13041,11 +13040,10 @@ <h3 id="cs3.sharing.ocm.v1beta1.ListReceivedOCMSharesRequest">ListReceivedOCMSha
<td><a href="#int32">int32</a></td>
<td></td>
<td><p>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 </p></td>
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 </p></td>
</tr>

<tr>
Expand Down Expand Up @@ -13102,8 +13100,8 @@ <h3 id="cs3.sharing.ocm.v1beta1.ListReceivedOCMSharesResponse">ListReceivedOCMSh
<td><a href="#string">string</a></td>
<td></td>
<td><p>OPTIONAL.
This field represents the pagination token to retrieve the next page of
results. If the value is &#34;&#34;, 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 &#34;&#34;, it means no further results for the request.
see https://cloud.google.com/apis/design/design_patterns#list_pagination </p></td>
</tr>

Expand Down Expand Up @@ -13316,8 +13314,7 @@ <h3 id="cs3.sharing.ocm.v1beta1.UpdateReceivedOCMShareRequest">UpdateReceivedOCM
<td><a href="#google.protobuf.FieldMask">google.protobuf.FieldMask</a></td>
<td></td>
<td><p>The update mask applies to the resource. For the `FieldMask` definition,
see
https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask </p></td>
see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask </p></td>
</tr>

</tbody>
Expand Down Expand Up @@ -13433,9 +13430,9 @@ <h3 id="cs3.sharing.ocm.v1beta1.OcmAPI">OcmAPI</h3>
<td><a href="#cs3.sharing.ocm.v1beta1.CreateOCMShareResponse">CreateOCMShareResponse</a></td>
<td><p>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.</p></td>
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.</p></td>
</tr>

<tr>
Expand Down Expand Up @@ -14445,6 +14442,13 @@ <h3 id="cs3.storage.provider.v1beta1.CreateHomeRequest">CreateHomeRequest</h3>
Opaque information. </p></td>
</tr>

<tr>
<td>quota</td>
<td><a href="#cs3.storage.provider.v1beta1.Quota">Quota</a></td>
<td></td>
<td><p>OPTIONAL. </p></td>
</tr>

</tbody>
</table>

Expand Down

0 comments on commit 46e5545

Please sign in to comment.