Reference documentation and code samples for the Cloud Pub/Sub V1 API class Google::Cloud::PubSub::V1::IngestionDataSourceSettings::CloudStorage.
Ingestion settings for Cloud Storage.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#avro_format
def avro_format() -> ::Google::Cloud::PubSub::V1::IngestionDataSourceSettings::CloudStorage::AvroFormat
Returns
- (::Google::Cloud::PubSub::V1::IngestionDataSourceSettings::CloudStorage::AvroFormat) — Optional. Data from Cloud Storage will be interpreted in Avro format.
#avro_format=
def avro_format=(value) -> ::Google::Cloud::PubSub::V1::IngestionDataSourceSettings::CloudStorage::AvroFormat
Parameter
- value (::Google::Cloud::PubSub::V1::IngestionDataSourceSettings::CloudStorage::AvroFormat) — Optional. Data from Cloud Storage will be interpreted in Avro format.
Returns
- (::Google::Cloud::PubSub::V1::IngestionDataSourceSettings::CloudStorage::AvroFormat) — Optional. Data from Cloud Storage will be interpreted in Avro format.
#bucket
def bucket() -> ::String
Returns
- (::String) — Optional. Cloud Storage bucket. The bucket name must be without any prefix like "gs://". See the bucket naming requirements.
#bucket=
def bucket=(value) -> ::String
Parameter
- value (::String) — Optional. Cloud Storage bucket. The bucket name must be without any prefix like "gs://". See the bucket naming requirements.
Returns
- (::String) — Optional. Cloud Storage bucket. The bucket name must be without any prefix like "gs://". See the bucket naming requirements.
#match_glob
def match_glob() -> ::String
Returns
- (::String) — Optional. Glob pattern used to match objects that will be ingested. If unset, all objects will be ingested. See the supported patterns.
#match_glob=
def match_glob=(value) -> ::String
Parameter
- value (::String) — Optional. Glob pattern used to match objects that will be ingested. If unset, all objects will be ingested. See the supported patterns.
Returns
- (::String) — Optional. Glob pattern used to match objects that will be ingested. If unset, all objects will be ingested. See the supported patterns.
#minimum_object_create_time
def minimum_object_create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Optional. Only objects with a larger or equal creation timestamp will be ingested.
#minimum_object_create_time=
def minimum_object_create_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — Optional. Only objects with a larger or equal creation timestamp will be ingested.
Returns
- (::Google::Protobuf::Timestamp) — Optional. Only objects with a larger or equal creation timestamp will be ingested.
#pubsub_avro_format
def pubsub_avro_format() -> ::Google::Cloud::PubSub::V1::IngestionDataSourceSettings::CloudStorage::PubSubAvroFormat
Returns
- (::Google::Cloud::PubSub::V1::IngestionDataSourceSettings::CloudStorage::PubSubAvroFormat) — Optional. It will be assumed data from Cloud Storage was written via Cloud Storage subscriptions.
#pubsub_avro_format=
def pubsub_avro_format=(value) -> ::Google::Cloud::PubSub::V1::IngestionDataSourceSettings::CloudStorage::PubSubAvroFormat
Parameter
- value (::Google::Cloud::PubSub::V1::IngestionDataSourceSettings::CloudStorage::PubSubAvroFormat) — Optional. It will be assumed data from Cloud Storage was written via Cloud Storage subscriptions.
Returns
- (::Google::Cloud::PubSub::V1::IngestionDataSourceSettings::CloudStorage::PubSubAvroFormat) — Optional. It will be assumed data from Cloud Storage was written via Cloud Storage subscriptions.
#state
def state() -> ::Google::Cloud::PubSub::V1::IngestionDataSourceSettings::CloudStorage::State
Returns
- (::Google::Cloud::PubSub::V1::IngestionDataSourceSettings::CloudStorage::State) — Output only. An output-only field that indicates the state of the Cloud Storage ingestion source.
#text_format
def text_format() -> ::Google::Cloud::PubSub::V1::IngestionDataSourceSettings::CloudStorage::TextFormat
Returns
- (::Google::Cloud::PubSub::V1::IngestionDataSourceSettings::CloudStorage::TextFormat) — Optional. Data from Cloud Storage will be interpreted as text.
#text_format=
def text_format=(value) -> ::Google::Cloud::PubSub::V1::IngestionDataSourceSettings::CloudStorage::TextFormat
Parameter
- value (::Google::Cloud::PubSub::V1::IngestionDataSourceSettings::CloudStorage::TextFormat) — Optional. Data from Cloud Storage will be interpreted as text.
Returns
- (::Google::Cloud::PubSub::V1::IngestionDataSourceSettings::CloudStorage::TextFormat) — Optional. Data from Cloud Storage will be interpreted as text.