| 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(String name,
Topic content)
Creates the given topic with the given name.
|
| Constructor and Description |
|---|
Create(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(String fieldName,
Object value) |
Topic |
Topic.setKmsKeyName(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(Map<String,String> labels)
See [Creating and managing labels] (https://cloud.google.com/pubsub/docs/labels).
|
Topic |
Topic.setMessageRetentionDuration(String messageRetentionDuration)
Indicates the minimum duration to retain a message after it is published to the topic.
|
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(String name)
Required.
|
Topic |
Topic.setSatisfiesPzs(Boolean satisfiesPzs)
Reserved for future use.
|
Topic |
Topic.setSchemaSettings(SchemaSettings schemaSettings)
Settings for validating messages published against a schema.
|
| Modifier and Type | Method and Description |
|---|---|
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(List<Topic> topics)
The resulting topics.
|
Copyright © 2011–2022 Google. All rights reserved.