@@ -514,7 +514,9 @@ public string DeploymentName {
514
514
public const int PageSizeFieldNumber = 3 ;
515
515
private int pageSize_ ;
516
516
/// <summary>
517
- /// The number of snapshots to provide in each page of the paginated results.
517
+ /// Optional. The number of snapshots to fetch in each page of the paginated results.
518
+ /// If provided, the `page_size` must be a positive integer. If omitted,
519
+ /// the default value of 20 is used.
518
520
/// </summary>
519
521
[ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
520
522
public int PageSize {
@@ -528,8 +530,7 @@ public int PageSize {
528
530
public const int PageTokenFieldNumber = 4 ;
529
531
private string pageToken_ = "" ;
530
532
/// <summary>
531
- /// A token, previously provided by the service as a `next_page_token`, for retrieving additional
532
- /// pages of paginated results.
533
+ /// Optional. An opaque token to identify the start of the paginated results.
533
534
/// </summary>
534
535
[ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
535
536
public string PageToken {
@@ -699,6 +700,9 @@ public ListSnapshotsResponse Clone() {
699
700
private static readonly pb ::FieldCodec < global ::Improbable . SpatialOS . Snapshot . V1Alpha1 . Snapshot > _repeated_snapshot_codec
700
701
= pb ::FieldCodec . ForMessage ( 10 , global ::Improbable . SpatialOS . Snapshot . V1Alpha1 . Snapshot . Parser ) ;
701
702
private readonly pbc ::RepeatedField < global ::Improbable . SpatialOS . Snapshot . V1Alpha1 . Snapshot > snapshot_ = new pbc ::RepeatedField < global ::Improbable . SpatialOS . Snapshot . V1Alpha1 . Snapshot > ( ) ;
703
+ /// <summary>
704
+ /// By default, snapshots are sorted by creation time (descending).
705
+ /// </summary>
702
706
[ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
703
707
public pbc ::RepeatedField < global ::Improbable . SpatialOS . Snapshot . V1Alpha1 . Snapshot > Snapshot {
704
708
get { return snapshot_ ; }
@@ -872,7 +876,7 @@ public string DeploymentName {
872
876
public const int IdFieldNumber = 3 ;
873
877
private string id_ = "" ;
874
878
/// <summary>
875
- /// The identifier for the desired snapshot.
879
+ /// The identifier for the snapshot.
876
880
/// </summary>
877
881
[ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
878
882
public string Id {
@@ -1146,6 +1150,16 @@ public TakeSnapshotRequest Clone() {
1146
1150
/// <summary>Field number for the "snapshot" field.</summary>
1147
1151
public const int SnapshotFieldNumber = 1 ;
1148
1152
private global ::Improbable . SpatialOS . Snapshot . V1Alpha1 . Snapshot snapshot_ ;
1153
+ /// <summary>
1154
+ /// These fields are mandatory:
1155
+ /// - `project_name`
1156
+ /// - `deployment_name`
1157
+ ///
1158
+ /// These fields are optional:
1159
+ /// - `tags`
1160
+ ///
1161
+ /// Other set values will be ignored.
1162
+ /// </summary>
1149
1163
[ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
1150
1164
public global ::Improbable . SpatialOS . Snapshot . V1Alpha1 . Snapshot Snapshot {
1151
1165
get { return snapshot_ ; }
@@ -1358,6 +1372,17 @@ public UploadSnapshotRequest Clone() {
1358
1372
/// <summary>Field number for the "snapshot" field.</summary>
1359
1373
public const int SnapshotFieldNumber = 1 ;
1360
1374
private global ::Improbable . SpatialOS . Snapshot . V1Alpha1 . Snapshot snapshot_ ;
1375
+ /// <summary>
1376
+ /// These fields are mandatory:
1377
+ /// - `project_name`
1378
+ /// - `deployment_name`
1379
+ /// - `checksum`
1380
+ ///
1381
+ /// These fields are optional:
1382
+ /// - `tags`
1383
+ ///
1384
+ /// Other set values will be ignored.
1385
+ /// </summary>
1361
1386
[ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
1362
1387
public global ::Improbable . SpatialOS . Snapshot . V1Alpha1 . Snapshot Snapshot {
1363
1388
get { return snapshot_ ; }
0 commit comments