View Source GoogleApi.AnalyticsHub.V1.Model.CloudStorageConfig (google_api_analytics_hub v0.4.0)
Configuration for a Cloud Storage subscription.
Attributes
-
avroConfig(type:GoogleApi.AnalyticsHub.V1.Model.AvroConfig.t, default:nil) - Optional. If set, message data will be written to Cloud Storage in Avro format. -
bucket(type:String.t, default:nil) - 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). -
filenameDatetimeFormat(type:String.t, default:nil) - Optional. User-provided format string specifying how to represent datetimes in Cloud Storage filenames. See the datetime format guidance. -
filenamePrefix(type:String.t, default:nil) - Optional. User-provided prefix for Cloud Storage filename. See the object naming requirements. -
filenameSuffix(type:String.t, default:nil) - Optional. User-provided suffix for Cloud Storage filename. See the object naming requirements. Must not end in "/". -
maxBytes(type:String.t, default:nil) - 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. -
maxDuration(type:String.t, default:nil) - 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. -
maxMessages(type:String.t, default:nil) - Optional. The maximum number of messages that can be written to a Cloud Storage file before a new file is created. Min 1000 messages. -
serviceAccountEmail(type:String.t, default:nil) - Optional. The service account to use to write to Cloud Storage. The subscription creator or updater that specifies this field must haveiam.serviceAccounts.actAspermission on the service account. If not specified, the Pub/Sub service agent, service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used. -
state(type:String.t, default:nil) - Output only. An output-only field that indicates whether or not the subscription can receive messages. -
textConfig(type:GoogleApi.AnalyticsHub.V1.Model.TextConfig.t, default:nil) - Optional. If set, message data will be written to Cloud Storage in text format.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.AnalyticsHub.V1.Model.CloudStorageConfig{ avroConfig: GoogleApi.AnalyticsHub.V1.Model.AvroConfig.t() | nil, bucket: String.t() | nil, filenameDatetimeFormat: String.t() | nil, filenamePrefix: String.t() | nil, filenameSuffix: String.t() | nil, maxBytes: String.t() | nil, maxDuration: String.t() | nil, maxMessages: String.t() | nil, serviceAccountEmail: String.t() | nil, state: String.t() | nil, textConfig: GoogleApi.AnalyticsHub.V1.Model.TextConfig.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.