Skip to content

Commit 2d5b594

Browse files
feat: Remove BetaApi from reservation methods (#906)
1 parent 0ddc6e9 commit 2d5b594

File tree

1 file changed

+0
-7
lines changed
  • google-cloud-pubsublite/src/main/java/com/google/cloud/pubsublite

1 file changed

+0
-7
lines changed

google-cloud-pubsublite/src/main/java/com/google/cloud/pubsublite/AdminClient.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
package com.google.cloud.pubsublite;
1818

1919
import com.google.api.core.ApiFuture;
20-
import com.google.api.core.BetaApi;
2120
import com.google.api.gax.longrunning.OperationFuture;
2221
import com.google.api.gax.rpc.ApiException;
2322
import com.google.cloud.pubsublite.internal.ApiBackgroundResource;
@@ -194,7 +193,6 @@ OperationFuture<SeekSubscriptionResponse, OperationMetadata> seekSubscription(
194193
* @return A future that will have either an error {@link com.google.api.gax.rpc.ApiException} or
195194
* the reservation on success.
196195
*/
197-
@BetaApi("This may not be implemented in the backend, it is a pre-release feature.")
198196
ApiFuture<Reservation> createReservation(Reservation reservation);
199197

200198
/**
@@ -204,7 +202,6 @@ OperationFuture<SeekSubscriptionResponse, OperationMetadata> seekSubscription(
204202
* @return A future that will have either an error {@link com.google.api.gax.rpc.ApiException} or
205203
* the reservation on success.
206204
*/
207-
@BetaApi("This may not be implemented in the backend, it is a pre-release feature.")
208205
ApiFuture<Reservation> getReservation(ReservationPath path);
209206

210207
/**
@@ -214,7 +211,6 @@ OperationFuture<SeekSubscriptionResponse, OperationMetadata> seekSubscription(
214211
* @return A future that will have either an error {@link com.google.api.gax.rpc.ApiException} or
215212
* the list of reservation paths on success.
216213
*/
217-
@BetaApi("This may not be implemented in the backend, it is a pre-release feature.")
218214
ApiFuture<List<Reservation>> listReservations(LocationPath path);
219215

220216
/**
@@ -227,7 +223,6 @@ OperationFuture<SeekSubscriptionResponse, OperationMetadata> seekSubscription(
227223
* future to have an exception with status {@link
228224
* com.google.api.gax.rpc.StatusCode.Code#NOT_FOUND}
229225
*/
230-
@BetaApi("This may not be implemented in the backend, it is a pre-release feature.")
231226
ApiFuture<Reservation> updateReservation(Reservation reservation, FieldMask mask);
232227

233228
/**
@@ -238,7 +233,6 @@ OperationFuture<SeekSubscriptionResponse, OperationMetadata> seekSubscription(
238233
* void on success. Deleting nonexistent reservations will cause the future to have an
239234
* exception with status {@link com.google.api.gax.rpc.StatusCode.Code#NOT_FOUND}
240235
*/
241-
@BetaApi("This may not be implemented in the backend, it is a pre-release feature.")
242236
ApiFuture<Void> deleteReservation(ReservationPath path);
243237

244238
/**
@@ -248,6 +242,5 @@ OperationFuture<SeekSubscriptionResponse, OperationMetadata> seekSubscription(
248242
* @return A future that will have either an error {@link com.google.api.gax.rpc.ApiException} or
249243
* the list of topics on success.
250244
*/
251-
@BetaApi("This may not be implemented in the backend, it is a pre-release feature.")
252245
ApiFuture<List<TopicPath>> listReservationTopics(ReservationPath path);
253246
}

0 commit comments

Comments
 (0)