target.apidocs.com.google.api.services.pubsub.Pubsub.Projects.Topics.Subscriptions.html Maven / Gradle / Ivy
Pubsub.Projects.Topics.Subscriptions (Cloud Pub/Sub API v1-rev20240918-2.0.0)
com.google.api.services.pubsub
Class Pubsub.Projects.Topics.Subscriptions
- java.lang.Object
-
- com.google.api.services.pubsub.Pubsub.Projects.Topics.Subscriptions
-
- Enclosing class:
- Pubsub.Projects.Topics
public class Pubsub.Projects.Topics.Subscriptions
extends Object
The "subscriptions" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Pubsub.Projects.Topics.Subscriptions.List
-
Constructor Summary
Constructors
Constructor and Description
Subscriptions()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Pubsub.Projects.Topics.Subscriptions.List
list(String topic)
Lists the names of the attached subscriptions on this topic.
-
-
Method Detail
-
list
public Pubsub.Projects.Topics.Subscriptions.List list(String topic)
throws IOException
Lists the names of the attached subscriptions on this topic.
Create a request for the method "subscriptions.list".
This request holds the parameters needed by the pubsub server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
topic
- Required. The name of the topic that subscriptions are attached to. Format is
`projects/{project}/topics/{topic}`.
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.