Collection: projects.topics

Resource: Topic

A topic resource.

JSON representation
{
  "name": string,
}
Fields
name

string

Name of the topic. Format is projects/{project}/topics/{topic}.

Methods

create

Creates the given topic with the given name.

delete

Deletes the topic with the given name.

get

Gets the configuration of a topic.

getIamPolicy

Gets the access control policy for a resource.

list

Lists matching topics.

publish

Adds one or more messages to the topic.

setIamPolicy

Sets the access control policy on the specified resource.

testIamPermissions

Returns permissions that a caller has on the specified resource.

Send feedback about...

Cloud Pub/Sub