final case class CloudStorageConfig(bucket: String = "", filenamePrefix: String = "", filenameSuffix: String = "", filenameDatetimeFormat: String = "", outputFormat: OutputFormat = com.google.pubsub.v1.pubsub.CloudStorageConfig.OutputFormat.Empty, maxDuration: Option[Duration] = _root_.scala.None, maxBytes: Long = 0L, maxMessages: Long = 0L, state: State = com.google.pubsub.v1.pubsub.CloudStorageConfig.State.STATE_UNSPECIFIED, serviceAccountEmail: String = "", unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[CloudStorageConfig] with Product with Serializable

Configuration for a Cloud Storage subscription.

bucket

Required. User-provided name for the Cloud Storage bucket. The bucket must be created by the user. The bucket name must be without any prefix like "gs://". See the [bucket naming requirements] (https://cloud.google.com/storage/docs/buckets#naming).

filenamePrefix

Optional. User-provided prefix for Cloud Storage filename. See the [object naming requirements](https://cloud.google.com/storage/docs/objects#naming).

filenameSuffix

Optional. User-provided suffix for Cloud Storage filename. See the [object naming requirements](https://cloud.google.com/storage/docs/objects#naming). Must not end in "/".

filenameDatetimeFormat

Optional. User-provided format string specifying how to represent datetimes in Cloud Storage filenames. See the [datetime format guidance](https://cloud.google.com/pubsub/docs/create-cloudstorage-subscription#file_names).

maxDuration

Optional. The maximum duration that can elapse before a new Cloud Storage file is created. Min 1 minute, max 10 minutes, default 5 minutes. May not exceed the subscription's acknowledgement deadline.

maxBytes

Optional. The maximum bytes that can be written to a Cloud Storage file before a new file is created. Min 1 KB, max 10 GiB. The max_bytes limit may be exceeded in cases where messages are larger than the limit.

maxMessages

Optional. The maximum number of messages that can be written to a Cloud Storage file before a new file is created. Min 1000 messages.

state

Output only. An output-only field that indicates whether or not the subscription can receive messages.

serviceAccountEmail

Optional. The service account to use to write to Cloud Storage. The subscription creator or updater that specifies this field must have iam.serviceAccounts.actAs permission on the service account. If not specified, the Pub/Sub [service agent](https://cloud.google.com/iam/docs/service-agents), service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.

Annotations
@SerialVersionUID()
Source
CloudStorageConfig.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CloudStorageConfig
  2. Updatable
  3. GeneratedMessage
  4. Serializable
  5. Product
  6. Equals
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new CloudStorageConfig(bucket: String = "", filenamePrefix: String = "", filenameSuffix: String = "", filenameDatetimeFormat: String = "", outputFormat: OutputFormat = com.google.pubsub.v1.pubsub.CloudStorageConfig.OutputFormat.Empty, maxDuration: Option[Duration] = _root_.scala.None, maxBytes: Long = 0L, maxMessages: Long = 0L, state: State = com.google.pubsub.v1.pubsub.CloudStorageConfig.State.STATE_UNSPECIFIED, serviceAccountEmail: String = "", unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)

    bucket

    Required. User-provided name for the Cloud Storage bucket. The bucket must be created by the user. The bucket name must be without any prefix like "gs://". See the [bucket naming requirements] (https://cloud.google.com/storage/docs/buckets#naming).

    filenamePrefix

    Optional. User-provided prefix for Cloud Storage filename. See the [object naming requirements](https://cloud.google.com/storage/docs/objects#naming).

    filenameSuffix

    Optional. User-provided suffix for Cloud Storage filename. See the [object naming requirements](https://cloud.google.com/storage/docs/objects#naming). Must not end in "/".

    filenameDatetimeFormat

    Optional. User-provided format string specifying how to represent datetimes in Cloud Storage filenames. See the [datetime format guidance](https://cloud.google.com/pubsub/docs/create-cloudstorage-subscription#file_names).

    maxDuration

    Optional. The maximum duration that can elapse before a new Cloud Storage file is created. Min 1 minute, max 10 minutes, default 5 minutes. May not exceed the subscription's acknowledgement deadline.

    maxBytes

    Optional. The maximum bytes that can be written to a Cloud Storage file before a new file is created. Min 1 KB, max 10 GiB. The max_bytes limit may be exceeded in cases where messages are larger than the limit.

    maxMessages

    Optional. The maximum number of messages that can be written to a Cloud Storage file before a new file is created. Min 1000 messages.

    state

    Output only. An output-only field that indicates whether or not the subscription can receive messages.

    serviceAccountEmail

    Optional. The service account to use to write to Cloud Storage. The subscription creator or updater that specifies this field must have iam.serviceAccounts.actAs permission on the service account. If not specified, the Pub/Sub [service agent](https://cloud.google.com/iam/docs/service-agents), service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val bucket: String
  6. def clearMaxDuration: CloudStorageConfig
  7. def clearOutputFormat: CloudStorageConfig
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. def companion: CloudStorageConfig.type
    Definition Classes
    CloudStorageConfig → GeneratedMessage
  10. def discardUnknownFields: CloudStorageConfig
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. val filenameDatetimeFormat: String
  13. val filenamePrefix: String
  14. val filenameSuffix: String
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  16. def getAvroConfig: AvroConfig
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    CloudStorageConfig → GeneratedMessage
  19. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    CloudStorageConfig → GeneratedMessage
  20. def getMaxDuration: Duration
  21. def getTextConfig: TextConfig
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. val maxBytes: Long
  24. val maxDuration: Option[Duration]
  25. val maxMessages: Long
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. val outputFormat: OutputFormat
  30. def productElementNames: Iterator[String]
    Definition Classes
    Product
  31. def serializedSize: Int
    Definition Classes
    CloudStorageConfig → GeneratedMessage
  32. val serviceAccountEmail: String
  33. val state: State
  34. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  35. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  36. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  37. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  38. def toProtoString: String
    Definition Classes
    CloudStorageConfig → GeneratedMessage
  39. val unknownFields: UnknownFieldSet
  40. def update(ms: (Lens[CloudStorageConfig, CloudStorageConfig]) => Mutation[CloudStorageConfig]*): CloudStorageConfig
    Definition Classes
    Updatable
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  44. def withAvroConfig(__v: AvroConfig): CloudStorageConfig
  45. def withBucket(__v: String): CloudStorageConfig
  46. def withFilenameDatetimeFormat(__v: String): CloudStorageConfig
  47. def withFilenamePrefix(__v: String): CloudStorageConfig
  48. def withFilenameSuffix(__v: String): CloudStorageConfig
  49. def withMaxBytes(__v: Long): CloudStorageConfig
  50. def withMaxDuration(__v: Duration): CloudStorageConfig
  51. def withMaxMessages(__v: Long): CloudStorageConfig
  52. def withOutputFormat(__v: OutputFormat): CloudStorageConfig
  53. def withServiceAccountEmail(__v: String): CloudStorageConfig
  54. def withState(__v: State): CloudStorageConfig
  55. def withTextConfig(__v: TextConfig): CloudStorageConfig
  56. def withUnknownFields(__v: UnknownFieldSet): CloudStorageConfig
  57. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  58. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    CloudStorageConfig → GeneratedMessage
  59. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped