REST Resource: projects.topics

Resource: Topic

A topic resource.

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

string

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

labels

map (key: string, value: string)

See Creating and managing labels.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

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.
このページは役立ちましたか?評価をお願いいたします。

フィードバックを送信...