# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/datacatalog/v1/data_source.proto require 'google/protobuf' require 'google/api/field_behavior_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/cloud/datacatalog/v1/data_source.proto", :syntax => :proto3) do add_message "google.cloud.datacatalog.v1.DataSource" do optional :service, :enum, 1, "google.cloud.datacatalog.v1.DataSource.Service" optional :resource, :string, 2 optional :source_entry, :string, 3 oneof :properties do optional :storage_properties, :message, 4, "google.cloud.datacatalog.v1.StorageProperties" end end add_enum "google.cloud.datacatalog.v1.DataSource.Service" do value :SERVICE_UNSPECIFIED, 0 value :CLOUD_STORAGE, 1 value :BIGQUERY, 2 end add_message "google.cloud.datacatalog.v1.StorageProperties" do repeated :file_pattern, :string, 1 optional :file_type, :string, 2 end end end module Google module Cloud module DataCatalog module V1 DataSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.DataSource").msgclass DataSource::Service = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.DataSource.Service").enummodule StorageProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.StorageProperties").msgclass end end end end