| Package | Description |
|---|---|
| com.google.api.services.pubsub | |
| com.google.api.services.pubsub.model |
| Modifier and Type | Method and Description |
|---|---|
Pubsub.Projects.Topics.Create |
Pubsub.Projects.Topics.create(java.lang.String name,
Topic content)
Creates the given topic with the given name.
|
| Constructor and Description |
|---|
Create(java.lang.String name,
Topic content)
Creates the given topic with the given name.
|
| Modifier and Type | Method and Description |
|---|---|
Topic |
Topic.clone() |
Topic |
UpdateTopicRequest.getTopic()
Required.
|
Topic |
Topic.set(java.lang.String fieldName,
java.lang.Object value) |
Topic |
Topic.setKmsKeyName(java.lang.String kmsKeyName)
The resource name of the Cloud KMS CryptoKey to be used to protect access to messages published
on this topic.
|
Topic |
Topic.setLabels(java.util.Map<java.lang.String,java.lang.String> labels)
See Creating and managing labels.
|
Topic |
Topic.setMessageStoragePolicy(MessageStoragePolicy messageStoragePolicy)
Policy constraining the set of Google Cloud Platform regions where messages published to the
topic may be stored.
|
Topic |
Topic.setName(java.lang.String name)
Required.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Topic> |
ListTopicsResponse.getTopics()
The resulting topics.
|
| Modifier and Type | Method and Description |
|---|---|
UpdateTopicRequest |
UpdateTopicRequest.setTopic(Topic topic)
Required.
|
| Modifier and Type | Method and Description |
|---|---|
ListTopicsResponse |
ListTopicsResponse.setTopics(java.util.List<Topic> topics)
The resulting topics.
|