AdminProjectsLocationsTopics
class AdminProjectsLocationsTopics extends Resource (View source)
The "topics" collection of methods.
Typical usage is:
$pubsubliteService = new Google\Service\PubsubLite(...);
$topics = $pubsubliteService->admin_projects_locations_topics;
Methods
delete(string $name, array $optParams = [])
Deletes the specified topic. (topics.delete)
getPartitions(string $name, array $optParams = [])
Returns the partition information for the requested topic.
listAdminProjectsLocationsTopics(string $parent, array $optParams = [])
Returns the list of topics for the given project.
Details
Topic
create(string $parent, Topic $postBody, array $optParams = [])
Creates a new topic. (topics.create)
PubsubliteEmpty
delete(string $name, array $optParams = [])
Deletes the specified topic. (topics.delete)
Topic
get(string $name, array $optParams = [])
Returns the topic configuration. (topics.get)
TopicPartitions
getPartitions(string $name, array $optParams = [])
Returns the partition information for the requested topic.
(topics.getPartitions)
ListTopicsResponse
listAdminProjectsLocationsTopics(string $parent, array $optParams = [])
Returns the list of topics for the given project.
(topics.listAdminProjectsLocationsTopics)