Skip to content

Commit

Permalink
feat: Remove BetaApi from reservation methods (#906)
Browse files Browse the repository at this point in the history
  • Loading branch information
dpcollins-google committed Oct 5, 2021
1 parent 0ddc6e9 commit 2d5b594
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
package com.google.cloud.pubsublite;

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

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

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

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

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

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

0 comments on commit 2d5b594

Please sign in to comment.