[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Class AdminClientImpl (1.15.13)\n\nVersion latestkeyboard_arrow_down\n\n- [1.15.13 (latest)](/java/docs/reference/google-cloud-pubsublite/latest/com.google.cloud.pubsublite.internal.AdminClientImpl)\n- [1.15.12](/java/docs/reference/google-cloud-pubsublite/1.15.12/com.google.cloud.pubsublite.internal.AdminClientImpl)\n- [1.14.8](/java/docs/reference/google-cloud-pubsublite/1.14.8/com.google.cloud.pubsublite.internal.AdminClientImpl)\n- [1.13.8](/java/docs/reference/google-cloud-pubsublite/1.13.8/com.google.cloud.pubsublite.internal.AdminClientImpl)\n- [1.12.22](/java/docs/reference/google-cloud-pubsublite/1.12.22/com.google.cloud.pubsublite.internal.AdminClientImpl)\n- [1.11.2](/java/docs/reference/google-cloud-pubsublite/1.11.2/com.google.cloud.pubsublite.internal.AdminClientImpl)\n- [1.10.0](/java/docs/reference/google-cloud-pubsublite/1.10.0/com.google.cloud.pubsublite.internal.AdminClientImpl)\n- [1.9.4](/java/docs/reference/google-cloud-pubsublite/1.9.4/com.google.cloud.pubsublite.internal.AdminClientImpl)\n- [1.8.0](/java/docs/reference/google-cloud-pubsublite/1.8.0/com.google.cloud.pubsublite.internal.AdminClientImpl)\n- [1.7.1](/java/docs/reference/google-cloud-pubsublite/1.7.1/com.google.cloud.pubsublite.internal.AdminClientImpl)\n- [1.6.3](/java/docs/reference/google-cloud-pubsublite/1.6.3/com.google.cloud.pubsublite.internal.AdminClientImpl)\n- [1.5.5](/java/docs/reference/google-cloud-pubsublite/1.5.5/com.google.cloud.pubsublite.internal.AdminClientImpl)\n- [1.4.12](/java/docs/reference/google-cloud-pubsublite/1.4.12/com.google.cloud.pubsublite.internal.AdminClientImpl) \n\n public class AdminClientImpl extends ApiResourceAggregation implements AdminClient\n\nInheritance\n-----------\n\n[java.lang.Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \\\u003e [ApiResourceAggregation](/java/docs/reference/google-cloud-pubsublite/latest/com.google.cloud.pubsublite.internal.ApiResourceAggregation) \\\u003e AdminClientImpl \n\nImplements\n----------\n\n[AdminClient](/java/docs/reference/google-cloud-pubsublite/latest/com.google.cloud.pubsublite.AdminClient) \n\nInherited Members\n-----------------\n\n[ApiResourceAggregation.awaitTermination(long,TimeUnit)](/java/docs/reference/google-cloud-pubsublite/latest/com.google.cloud.pubsublite.internal.ApiResourceAggregation#com_google_cloud_pubsublite_internal_ApiResourceAggregation_awaitTermination_long_java_util_concurrent_TimeUnit_) \n[ApiResourceAggregation.close()](/java/docs/reference/google-cloud-pubsublite/latest/com.google.cloud.pubsublite.internal.ApiResourceAggregation#com_google_cloud_pubsublite_internal_ApiResourceAggregation_close__) \n[ApiResourceAggregation.isShutdown()](/java/docs/reference/google-cloud-pubsublite/latest/com.google.cloud.pubsublite.internal.ApiResourceAggregation#com_google_cloud_pubsublite_internal_ApiResourceAggregation_isShutdown__) \n[ApiResourceAggregation.isTerminated()](/java/docs/reference/google-cloud-pubsublite/latest/com.google.cloud.pubsublite.internal.ApiResourceAggregation#com_google_cloud_pubsublite_internal_ApiResourceAggregation_isTerminated__) \n[ApiResourceAggregation.shutdown()](/java/docs/reference/google-cloud-pubsublite/latest/com.google.cloud.pubsublite.internal.ApiResourceAggregation#com_google_cloud_pubsublite_internal_ApiResourceAggregation_shutdown__) \n[ApiResourceAggregation.shutdownNow()](/java/docs/reference/google-cloud-pubsublite/latest/com.google.cloud.pubsublite.internal.ApiResourceAggregation#com_google_cloud_pubsublite_internal_ApiResourceAggregation_shutdownNow__) \n[Object.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--) \n[Object.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-) \n[Object.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--) \n[Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) \n[Object.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--) \n[Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) \n[Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) \n[Object.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--) \n[Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) \n[Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) \n[Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)\n\nConstructors\n------------\n\n### AdminClientImpl(CloudRegion region, AdminServiceClient serviceClient)\n\n public AdminClientImpl(CloudRegion region, AdminServiceClient serviceClient)\n\nMethods\n-------\n\n### createReservation(Reservation reservation)\n\n public ApiFuture\u003cReservation\u003e createReservation(Reservation reservation)\n\nCreate the provided reservation if it does not yet exist.\n\n### createSubscription(Subscription subscription, BacklogLocation startingOffset)\n\n public ApiFuture\u003cSubscription\u003e createSubscription(Subscription subscription, BacklogLocation startingOffset)\n\nCreate the provided subscription at the given starting offset if it does not yet exist.\n\n### createSubscription(Subscription subscription, SeekTarget target)\n\n public ApiFuture\u003cSubscription\u003e createSubscription(Subscription subscription, SeekTarget target)\n\nCreate the provided subscription at the given target location within the message backlog, if it\ndoes not yet exist.\n\nA seek is initiated if the target location is a publish or event time. If the seek fails,\nthe created subscription is not deleted.\n\n### createTopic(Topic topic)\n\n public ApiFuture\u003cTopic\u003e createTopic(Topic topic)\n\nCreate the provided topic if it does not yet exist.\n\n### deleteReservation(ReservationPath path)\n\n public ApiFuture\u003cVoid\u003e deleteReservation(ReservationPath path)\n\nDelete the reservation with id `id` if it exists.\n\n### deleteSubscription(SubscriptionPath path)\n\n public ApiFuture\u003cVoid\u003e deleteSubscription(SubscriptionPath path)\n\nDelete the subscription with id `id` if it exists.\n\n### deleteTopic(TopicPath path)\n\n public ApiFuture\u003cVoid\u003e deleteTopic(TopicPath path)\n\nDelete the topic with id `id` if it exists.\n\n### getReservation(ReservationPath path)\n\n public ApiFuture\u003cReservation\u003e getReservation(ReservationPath path)\n\nGet the reservation with id `id` if it exists.\n\n### getSubscription(SubscriptionPath path)\n\n public ApiFuture\u003cSubscription\u003e getSubscription(SubscriptionPath path)\n\nGet the subscription with id `id` if it exists.\n\n### getTopic(TopicPath path)\n\n public ApiFuture\u003cTopic\u003e getTopic(TopicPath path)\n\nGet the topic with id `id` if it exists.\n\n### getTopicPartitionCount(TopicPath path)\n\n public ApiFuture\u003cLong\u003e getTopicPartitionCount(TopicPath path)\n\nGet the partitioning info for the topic with id `id` if it exists.\n\n### listReservationTopics(ReservationPath path)\n\n public ApiFuture\u003cList\u003cTopicPath\u003e\u003e listReservationTopics(ReservationPath path)\n\nGet the list of topics for the reservation with id `id` if it exists.\n\n### listReservations(LocationPath path)\n\n public ApiFuture\u003cList\u003cReservation\u003e\u003e listReservations(LocationPath path)\n\nList all reservations for the specified project.\n\n### listSubscriptions(LocationPath path)\n\n public ApiFuture\u003cList\u003cSubscription\u003e\u003e listSubscriptions(LocationPath path)\n\nList all subscriptions for the specified project.\n\n### listTopicSubscriptions(TopicPath path)\n\n public ApiFuture\u003cList\u003cSubscriptionPath\u003e\u003e listTopicSubscriptions(TopicPath path)\n\nGet the list of subscriptions for the topic with id `id` if it exists.\n\n### listTopics(LocationPath path)\n\n public ApiFuture\u003cList\u003cTopic\u003e\u003e listTopics(LocationPath path)\n\nList all topics for the specified project.\n\n### region()\n\n public CloudRegion region()\n\nThe Google Cloud region this client operates on.\n\n### seekSubscription(SubscriptionPath path, SeekTarget target)\n\n public OperationFuture\u003cSeekSubscriptionResponse,OperationMetadata\u003e seekSubscription(SubscriptionPath path, SeekTarget target)\n\nInitiate an out-of-band seek for a subscription to a specified target, which may be timestamps\nor named positions within the message backlog.\n\nSee \u003chttps://cloud.google.com/pubsub/lite/docs/seek\u003e for more information.\n\n### updateReservation(Reservation reservation, FieldMask mask)\n\n public ApiFuture\u003cReservation\u003e updateReservation(Reservation reservation, FieldMask mask)\n\nUpdate the reservation with path `reservation.getPath()` if it exists.\n\n### updateSubscription(Subscription subscription, FieldMask mask)\n\n public ApiFuture\u003cSubscription\u003e updateSubscription(Subscription subscription, FieldMask mask)\n\nUpdate the subscription with path `subscription.getPath()` if it exists.\n\n### updateTopic(Topic topic, FieldMask mask)\n\n public ApiFuture\u003cTopic\u003e updateTopic(Topic topic, FieldMask mask)\n\nUpdate the topic with path `topic.getPath()` if it exists."]]