GoogleApi.PubSub.V1.Model.CloudStorage (google_api_pub_sub v0.42.0)

View Source

Ingestion settings for Cloud Storage.

Attributes

  • avroFormat (type: GoogleApi.PubSub.V1.Model.AvroFormat.t, default: nil) - Optional. Data from Cloud Storage will be interpreted in Avro format.
  • bucket (type: String.t, default: nil) - Optional. Cloud Storage bucket. The bucket name must be without any prefix like "gs://". See the [bucket naming requirements] (https://cloud.google.com/storage/docs/buckets#naming).
  • matchGlob (type: String.t, default: nil) - Optional. Glob pattern used to match objects that will be ingested. If unset, all objects will be ingested. See the supported patterns.
  • minimumObjectCreateTime (type: DateTime.t, default: nil) - Optional. Only objects with a larger or equal creation timestamp will be ingested.
  • pubsubAvroFormat (type: GoogleApi.PubSub.V1.Model.PubSubAvroFormat.t, default: nil) - Optional. It will be assumed data from Cloud Storage was written via Cloud Storage subscriptions.
  • state (type: String.t, default: nil) - Output only. An output-only field that indicates the state of the Cloud Storage ingestion source.
  • textFormat (type: GoogleApi.PubSub.V1.Model.TextFormat.t, default: nil) - Optional. Data from Cloud Storage will be interpreted as text.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.PubSub.V1.Model.CloudStorage{
  avroFormat: GoogleApi.PubSub.V1.Model.AvroFormat.t() | nil,
  bucket: String.t() | nil,
  matchGlob: String.t() | nil,
  minimumObjectCreateTime: DateTime.t() | nil,
  pubsubAvroFormat: GoogleApi.PubSub.V1.Model.PubSubAvroFormat.t() | nil,
  state: String.t() | nil,
  textFormat: GoogleApi.PubSub.V1.Model.TextFormat.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.