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
-
(::Google::Cloud::PubSub::V1::IngestionDataSourceSettings::CloudStorage::AvroFormat) — Optional. Data from Cloud Storage will be interpreted in Avro format.
Note: The following fields are mutually exclusive:
avro_format
,text_format
,pubsub_avro_format
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#avro_format=
def avro_format=(value) -> ::Google::Cloud::PubSub::V1::IngestionDataSourceSettings::CloudStorage::AvroFormat
-
value (::Google::Cloud::PubSub::V1::IngestionDataSourceSettings::CloudStorage::AvroFormat) — Optional. Data from Cloud Storage will be interpreted in Avro format.
Note: The following fields are mutually exclusive:
avro_format
,text_format
,pubsub_avro_format
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::PubSub::V1::IngestionDataSourceSettings::CloudStorage::AvroFormat) — Optional. Data from Cloud Storage will be interpreted in Avro format.
Note: The following fields are mutually exclusive:
avro_format
,text_format
,pubsub_avro_format
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#bucket
def bucket() -> ::String
- (::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
- value (::String) — Optional. Cloud Storage bucket. The bucket name must be without any prefix like "gs://". See the bucket naming requirements.
- (::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
- (::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
- value (::String) — Optional. Glob pattern used to match objects that will be ingested. If unset, all objects will be ingested. See the supported patterns.
- (::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
- (::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
- value (::Google::Protobuf::Timestamp) — Optional. Only objects with a larger or equal creation timestamp will be ingested.
- (::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
-
(::Google::Cloud::PubSub::V1::IngestionDataSourceSettings::CloudStorage::PubSubAvroFormat) — Optional. It will be assumed data from Cloud Storage was written via
Cloud Storage
subscriptions.
Note: The following fields are mutually exclusive:
pubsub_avro_format
,text_format
,avro_format
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#pubsub_avro_format=
def pubsub_avro_format=(value) -> ::Google::Cloud::PubSub::V1::IngestionDataSourceSettings::CloudStorage::PubSubAvroFormat
-
value (::Google::Cloud::PubSub::V1::IngestionDataSourceSettings::CloudStorage::PubSubAvroFormat) — Optional. It will be assumed data from Cloud Storage was written via
Cloud Storage
subscriptions.
Note: The following fields are mutually exclusive:
pubsub_avro_format
,text_format
,avro_format
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::PubSub::V1::IngestionDataSourceSettings::CloudStorage::PubSubAvroFormat) — Optional. It will be assumed data from Cloud Storage was written via
Cloud Storage
subscriptions.
Note: The following fields are mutually exclusive:
pubsub_avro_format
,text_format
,avro_format
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#state
def state() -> ::Google::Cloud::PubSub::V1::IngestionDataSourceSettings::CloudStorage::State
- (::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
-
(::Google::Cloud::PubSub::V1::IngestionDataSourceSettings::CloudStorage::TextFormat) — Optional. Data from Cloud Storage will be interpreted as text.
Note: The following fields are mutually exclusive:
text_format
,avro_format
,pubsub_avro_format
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#text_format=
def text_format=(value) -> ::Google::Cloud::PubSub::V1::IngestionDataSourceSettings::CloudStorage::TextFormat
-
value (::Google::Cloud::PubSub::V1::IngestionDataSourceSettings::CloudStorage::TextFormat) — Optional. Data from Cloud Storage will be interpreted as text.
Note: The following fields are mutually exclusive:
text_format
,avro_format
,pubsub_avro_format
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::PubSub::V1::IngestionDataSourceSettings::CloudStorage::TextFormat) — Optional. Data from Cloud Storage will be interpreted as text.
Note: The following fields are mutually exclusive:
text_format
,avro_format
,pubsub_avro_format
. If a field in that set is populated, all other fields in the set will automatically be cleared.