| Package | Description |
|---|---|
| com.google.api.services.pubsub.model |
| Modifier and Type | Method and Description |
|---|---|
CloudStorageConfig |
CloudStorageConfig.clone() |
CloudStorageConfig |
Subscription.getCloudStorageConfig()
If delivery to Google Cloud Storage is used with this subscription, this field is used to
configure it.
|
CloudStorageConfig |
CloudStorageConfig.set(String fieldName,
Object value) |
CloudStorageConfig |
CloudStorageConfig.setAvroConfig(AvroConfig avroConfig)
If set, message data will be written to Cloud Storage in Avro format.
|
CloudStorageConfig |
CloudStorageConfig.setBucket(String bucket)
Required.
|
CloudStorageConfig |
CloudStorageConfig.setFilenamePrefix(String filenamePrefix)
User-provided prefix for Cloud Storage filename.
|
CloudStorageConfig |
CloudStorageConfig.setFilenameSuffix(String filenameSuffix)
User-provided suffix for Cloud Storage filename.
|
CloudStorageConfig |
CloudStorageConfig.setMaxBytes(Long maxBytes)
The maximum bytes that can be written to a Cloud Storage file before a new file is created.
|
CloudStorageConfig |
CloudStorageConfig.setMaxDuration(String maxDuration)
The maximum duration that can elapse before a new Cloud Storage file is created.
|
CloudStorageConfig |
CloudStorageConfig.setState(String state)
Output only.
|
CloudStorageConfig |
CloudStorageConfig.setTextConfig(TextConfig textConfig)
If set, message data will be written to Cloud Storage in text format.
|
| Modifier and Type | Method and Description |
|---|---|
Subscription |
Subscription.setCloudStorageConfig(CloudStorageConfig cloudStorageConfig)
If delivery to Google Cloud Storage is used with this subscription, this field is used to
configure it.
|
Copyright © 2011–2023 Google. All rights reserved.