Sha256: 9496a41d754b582345ab3ab2323039ce5bc6d14ab04df91b79d5e5d7b4c5a824

Contents?: true

Size: 1.5 KB

Versions: 5

Compression:

Stored size: 1.5 KB

Contents

# 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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
google-cloud-data_catalog-v1-0.15.0 lib/google/cloud/datacatalog/v1/data_source_pb.rb
google-cloud-data_catalog-v1-0.14.0 lib/google/cloud/datacatalog/v1/data_source_pb.rb
google-cloud-data_catalog-v1-0.13.0 lib/google/cloud/datacatalog/v1/data_source_pb.rb
google-cloud-data_catalog-v1-0.12.1 lib/google/cloud/datacatalog/v1/data_source_pb.rb
google-cloud-data_catalog-v1-0.12.0 lib/google/cloud/datacatalog/v1/data_source_pb.rb