# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/dataplex/v1/analyze.proto require 'google/protobuf' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/cloud/dataplex/v1/resources_pb' require 'google/protobuf/duration_pb' require 'google/protobuf/timestamp_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/cloud/dataplex/v1/analyze.proto", :syntax => :proto3) do add_message "google.cloud.dataplex.v1.Environment" do optional :name, :string, 1 optional :display_name, :string, 2 optional :uid, :string, 3 optional :create_time, :message, 4, "google.protobuf.Timestamp" optional :update_time, :message, 5, "google.protobuf.Timestamp" map :labels, :string, :string, 6 optional :description, :string, 7 optional :state, :enum, 8, "google.cloud.dataplex.v1.State" optional :infrastructure_spec, :message, 100, "google.cloud.dataplex.v1.Environment.InfrastructureSpec" optional :session_spec, :message, 101, "google.cloud.dataplex.v1.Environment.SessionSpec" optional :session_status, :message, 102, "google.cloud.dataplex.v1.Environment.SessionStatus" optional :endpoints, :message, 200, "google.cloud.dataplex.v1.Environment.Endpoints" end add_message "google.cloud.dataplex.v1.Environment.InfrastructureSpec" do oneof :resources do optional :compute, :message, 50, "google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources" end oneof :runtime do optional :os_image, :message, 100, "google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime" end end add_message "google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources" do optional :disk_size_gb, :int32, 1 optional :node_count, :int32, 2 optional :max_node_count, :int32, 3 end add_message "google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime" do optional :image_version, :string, 1 repeated :java_libraries, :string, 2 repeated :python_packages, :string, 3 map :properties, :string, :string, 4 end add_message "google.cloud.dataplex.v1.Environment.SessionSpec" do optional :max_idle_duration, :message, 1, "google.protobuf.Duration" optional :enable_fast_startup, :bool, 2 end add_message "google.cloud.dataplex.v1.Environment.SessionStatus" do optional :active, :bool, 1 end add_message "google.cloud.dataplex.v1.Environment.Endpoints" do optional :notebooks, :string, 1 optional :sql, :string, 2 end add_message "google.cloud.dataplex.v1.Content" do optional :name, :string, 1 optional :uid, :string, 2 optional :path, :string, 3 optional :create_time, :message, 4, "google.protobuf.Timestamp" optional :update_time, :message, 5, "google.protobuf.Timestamp" map :labels, :string, :string, 6 optional :description, :string, 7 oneof :data do optional :data_text, :string, 9 end oneof :content do optional :sql_script, :message, 100, "google.cloud.dataplex.v1.Content.SqlScript" optional :notebook, :message, 101, "google.cloud.dataplex.v1.Content.Notebook" end end add_message "google.cloud.dataplex.v1.Content.SqlScript" do optional :engine, :enum, 1, "google.cloud.dataplex.v1.Content.SqlScript.QueryEngine" end add_enum "google.cloud.dataplex.v1.Content.SqlScript.QueryEngine" do value :QUERY_ENGINE_UNSPECIFIED, 0 value :SPARK, 2 end add_message "google.cloud.dataplex.v1.Content.Notebook" do optional :kernel_type, :enum, 1, "google.cloud.dataplex.v1.Content.Notebook.KernelType" end add_enum "google.cloud.dataplex.v1.Content.Notebook.KernelType" do value :KERNEL_TYPE_UNSPECIFIED, 0 value :PYTHON3, 1 end add_message "google.cloud.dataplex.v1.Session" do optional :name, :string, 1 optional :user_id, :string, 2 optional :create_time, :message, 3, "google.protobuf.Timestamp" optional :state, :enum, 4, "google.cloud.dataplex.v1.State" end end end module Google module Cloud module Dataplex module V1 Environment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.Environment").msgclass Environment::InfrastructureSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.Environment.InfrastructureSpec").msgclass Environment::InfrastructureSpec::ComputeResources = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources").msgclass Environment::InfrastructureSpec::OsImageRuntime = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime").msgclass Environment::SessionSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.Environment.SessionSpec").msgclass Environment::SessionStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.Environment.SessionStatus").msgclass Environment::Endpoints = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.Environment.Endpoints").msgclass Content = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.Content").msgclass Content::SqlScript = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.Content.SqlScript").msgclass Content::SqlScript::QueryEngine = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.Content.SqlScript.QueryEngine").enummodule Content::Notebook = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.Content.Notebook").msgclass Content::Notebook::KernelType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.Content.Notebook.KernelType").enummodule Session = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.Session").msgclass end end end end