@@ -597,8 +597,8 @@ public static DiskTypeListOption filter(DiskTypeFilter filter) {
597
597
/**
598
598
* Returns an option to specify the maximum number of disk types to be returned.
599
599
*/
600
- public static DiskTypeListOption maxResults (long maxResults ) {
601
- return new DiskTypeListOption (ComputeRpc .Option .MAX_RESULTS , maxResults );
600
+ public static DiskTypeListOption pageSize (long pageSize ) {
601
+ return new DiskTypeListOption (ComputeRpc .Option .MAX_RESULTS , pageSize );
602
602
}
603
603
604
604
/**
@@ -642,8 +642,8 @@ public static DiskTypeAggregatedListOption filter(DiskTypeFilter filter) {
642
642
/**
643
643
* Returns an option to specify the maximum number of disk types to be returned.
644
644
*/
645
- public static DiskTypeAggregatedListOption maxResults (long maxResults ) {
646
- return new DiskTypeAggregatedListOption (ComputeRpc .Option .MAX_RESULTS , maxResults );
645
+ public static DiskTypeAggregatedListOption pageSize (long pageSize ) {
646
+ return new DiskTypeAggregatedListOption (ComputeRpc .Option .MAX_RESULTS , pageSize );
647
647
}
648
648
649
649
/**
@@ -697,8 +697,8 @@ public static MachineTypeListOption filter(MachineTypeFilter filter) {
697
697
/**
698
698
* Returns an option to specify the maximum number of machine types to be returned.
699
699
*/
700
- public static MachineTypeListOption maxResults (long maxResults ) {
701
- return new MachineTypeListOption (ComputeRpc .Option .MAX_RESULTS , maxResults );
700
+ public static MachineTypeListOption pageSize (long pageSize ) {
701
+ return new MachineTypeListOption (ComputeRpc .Option .MAX_RESULTS , pageSize );
702
702
}
703
703
704
704
/**
@@ -742,8 +742,8 @@ public static MachineTypeAggregatedListOption filter(MachineTypeFilter filter) {
742
742
/**
743
743
* Returns an option to specify the maximum number of machine types to be returned.
744
744
*/
745
- public static MachineTypeAggregatedListOption maxResults (long maxResults ) {
746
- return new MachineTypeAggregatedListOption (ComputeRpc .Option .MAX_RESULTS , maxResults );
745
+ public static MachineTypeAggregatedListOption pageSize (long pageSize ) {
746
+ return new MachineTypeAggregatedListOption (ComputeRpc .Option .MAX_RESULTS , pageSize );
747
747
}
748
748
749
749
/**
@@ -797,8 +797,8 @@ public static RegionListOption filter(RegionFilter filter) {
797
797
/**
798
798
* Returns an option to specify the maximum number of regions to be returned.
799
799
*/
800
- public static RegionListOption maxResults (long maxResults ) {
801
- return new RegionListOption (ComputeRpc .Option .MAX_RESULTS , maxResults );
800
+ public static RegionListOption pageSize (long pageSize ) {
801
+ return new RegionListOption (ComputeRpc .Option .MAX_RESULTS , pageSize );
802
802
}
803
803
804
804
/**
@@ -864,8 +864,8 @@ public static ZoneListOption filter(ZoneFilter filter) {
864
864
/**
865
865
* Returns an option to specify the maximum number of zones to be returned.
866
866
*/
867
- public static ZoneListOption maxResults (long maxResults ) {
868
- return new ZoneListOption (ComputeRpc .Option .MAX_RESULTS , maxResults );
867
+ public static ZoneListOption pageSize (long pageSize ) {
868
+ return new ZoneListOption (ComputeRpc .Option .MAX_RESULTS , pageSize );
869
869
}
870
870
871
871
/**
@@ -953,8 +953,8 @@ public static OperationListOption filter(OperationFilter filter) {
953
953
/**
954
954
* Returns an option to specify the maximum number of operations to be returned.
955
955
*/
956
- public static OperationListOption maxResults (long maxResults ) {
957
- return new OperationListOption (ComputeRpc .Option .MAX_RESULTS , maxResults );
956
+ public static OperationListOption pageSize (long pageSize ) {
957
+ return new OperationListOption (ComputeRpc .Option .MAX_RESULTS , pageSize );
958
958
}
959
959
960
960
/**
0 commit comments