Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: remove warnings from reservation methods #249

Merged
merged 7 commits into from Oct 11, 2021
12 changes: 0 additions & 12 deletions google/cloud/pubsublite/admin_client_interface.py
Expand Up @@ -116,45 +116,33 @@ def delete_subscription(self, subscription_path: SubscriptionPath):
@abstractmethod
def create_reservation(self, reservation: Reservation) -> Reservation:
"""Create a reservation, returns the created reservation.

warning:: This may not be implemented in the backend, it is a pre-release feature.
"""

@abstractmethod
def get_reservation(self, reservation_path: ReservationPath) -> Reservation:
"""Get the reservation object from the server.

warning:: This may not be implemented in the backend, it is a pre-release feature.
"""

@abstractmethod
def list_reservations(self, location_path: LocationPath) -> List[Reservation]:
"""List the Pub/Sub lite reservations that exist for a project in a given location.

warning:: This may not be implemented in the backend, it is a pre-release feature.
"""

@abstractmethod
def update_reservation(
self, reservation: Reservation, update_mask: FieldMask
) -> Reservation:
"""Update the masked fields of the provided reservation.

warning:: This may not be implemented in the backend, it is a pre-release feature.
"""

@abstractmethod
def delete_reservation(self, reservation_path: ReservationPath):
"""Delete a reservation and all associated messages.

warning:: This may not be implemented in the backend, it is a pre-release feature.
"""

@abstractmethod
def list_reservation_topics(
self, reservation_path: ReservationPath
) -> List[TopicPath]:
"""List the subscriptions that exist for a given reservation.

warning:: This may not be implemented in the backend, it is a pre-release feature.
"""