# frozen_string_literal: true # 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' descriptor_data = "\n&google/cloud/dataplex/v1/analyze.proto\x12\x18google.cloud.dataplex.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a(google/cloud/dataplex/v1/resources.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb3\r\n\x0b\x45nvironment\x12:\n\x04name\x18\x01 \x01(\tB,\xe2\x41\x01\x03\xfa\x41%\n#dataplex.googleapis.com/Environment\x12\x1a\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12\x11\n\x03uid\x18\x03 \x01(\tB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12G\n\x06labels\x18\x06 \x03(\x0b\x32\x31.google.cloud.dataplex.v1.Environment.LabelsEntryB\x04\xe2\x41\x01\x01\x12\x19\n\x0b\x64\x65scription\x18\x07 \x01(\tB\x04\xe2\x41\x01\x01\x12\x34\n\x05state\x18\x08 \x01(\x0e\x32\x1f.google.cloud.dataplex.v1.StateB\x04\xe2\x41\x01\x03\x12[\n\x13infrastructure_spec\x18\x64 \x01(\x0b\x32\x38.google.cloud.dataplex.v1.Environment.InfrastructureSpecB\x04\xe2\x41\x01\x02\x12M\n\x0csession_spec\x18\x65 \x01(\x0b\x32\x31.google.cloud.dataplex.v1.Environment.SessionSpecB\x04\xe2\x41\x01\x01\x12Q\n\x0esession_status\x18\x66 \x01(\x0b\x32\x33.google.cloud.dataplex.v1.Environment.SessionStatusB\x04\xe2\x41\x01\x03\x12I\n\tendpoints\x18\xc8\x01 \x01(\x0b\x32/.google.cloud.dataplex.v1.Environment.EndpointsB\x04\xe2\x41\x01\x03\x1a\xee\x04\n\x12InfrastructureSpec\x12\x62\n\x07\x63ompute\x18\x32 \x01(\x0b\x32I.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResourcesB\x04\xe2\x41\x01\x01H\x00\x12\x61\n\x08os_image\x18\x64 \x01(\x0b\x32G.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntimeB\x04\xe2\x41\x01\x02H\x01\x1a\x66\n\x10\x43omputeResources\x12\x1a\n\x0c\x64isk_size_gb\x18\x01 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\nnode_count\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x1c\n\x0emax_node_count\x18\x03 \x01(\x05\x42\x04\xe2\x41\x01\x01\x1a\x90\x02\n\x0eOsImageRuntime\x12\x1b\n\rimage_version\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x1c\n\x0ejava_libraries\x18\x02 \x03(\tB\x04\xe2\x41\x01\x01\x12\x1d\n\x0fpython_packages\x18\x03 \x03(\tB\x04\xe2\x41\x01\x01\x12q\n\nproperties\x18\x04 \x03(\x0b\x32W.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.PropertiesEntryB\x04\xe2\x41\x01\x01\x1a\x31\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0b\n\tresourcesB\t\n\x07runtime\x1al\n\x0bSessionSpec\x12:\n\x11max_idle_duration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\xe2\x41\x01\x01\x12!\n\x13\x65nable_fast_startup\x18\x02 \x01(\x08\x42\x04\xe2\x41\x01\x01\x1a%\n\rSessionStatus\x12\x14\n\x06\x61\x63tive\x18\x01 \x01(\x08\x42\x04\xe2\x41\x01\x03\x1a\x37\n\tEndpoints\x12\x17\n\tnotebooks\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x11\n\x03sql\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:y\xea\x41v\n#dataplex.googleapis.com/Environment\x12Oprojects/{project}/locations/{location}/lakes/{lake}/environments/{environment}\"\xb0\x07\n\x07\x43ontent\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe2\x41\x01\x03\xfa\x41!\n\x1f\x64\x61taplex.googleapis.com/Content\x12\x11\n\x03uid\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\x12\x12\n\x04path\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02\x12\x35\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x43\n\x06labels\x18\x06 \x03(\x0b\x32-.google.cloud.dataplex.v1.Content.LabelsEntryB\x04\xe2\x41\x01\x01\x12\x19\n\x0b\x64\x65scription\x18\x07 \x01(\tB\x04\xe2\x41\x01\x01\x12\x19\n\tdata_text\x18\t \x01(\tB\x04\xe2\x41\x01\x02H\x00\x12\x41\n\nsql_script\x18\x64 \x01(\x0b\x32+.google.cloud.dataplex.v1.Content.SqlScriptH\x01\x12>\n\x08notebook\x18\x65 \x01(\x0b\x32*.google.cloud.dataplex.v1.Content.NotebookH\x01\x1a\x92\x01\n\tSqlScript\x12M\n\x06\x65ngine\x18\x01 \x01(\x0e\x32\x37.google.cloud.dataplex.v1.Content.SqlScript.QueryEngineB\x04\xe2\x41\x01\x02\"6\n\x0bQueryEngine\x12\x1c\n\x18QUERY_ENGINE_UNSPECIFIED\x10\x00\x12\t\n\x05SPARK\x10\x02\x1a\x94\x01\n\x08Notebook\x12P\n\x0bkernel_type\x18\x01 \x01(\x0e\x32\x35.google.cloud.dataplex.v1.Content.Notebook.KernelTypeB\x04\xe2\x41\x01\x02\"6\n\nKernelType\x12\x1b\n\x17KERNEL_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PYTHON3\x10\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:l\xea\x41i\n\x1f\x64\x61taplex.googleapis.com/Content\x12\x46projects/{project}/locations/{location}/lakes/{lake}/content/{content}B\x06\n\x04\x64\x61taB\t\n\x07\x63ontent\"\xd1\x02\n\x07Session\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe2\x41\x01\x03\xfa\x41!\n\x1f\x64\x61taplex.googleapis.com/Session\x12\x15\n\x07user_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x34\n\x05state\x18\x04 \x01(\x0e\x32\x1f.google.cloud.dataplex.v1.StateB\x04\xe2\x41\x01\x03:\x89\x01\xea\x41\x85\x01\n\x1f\x64\x61taplex.googleapis.com/Session\x12\x62projects/{project}/locations/{location}/lakes/{lake}/environments/{environment}/sessions/{session}Bh\n\x1c\x63om.google.cloud.dataplex.v1B\x0c\x41nalyzeProtoP\x01Z8cloud.google.com/go/dataplex/apiv1/dataplexpb;dataplexpbb\x06proto3" pool = Google::Protobuf::DescriptorPool.generated_pool begin pool.add_serialized_file(descriptor_data) rescue TypeError # Compatibility code: will be removed in the next major version. require 'google/protobuf/descriptor_pb' parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) parsed.clear_dependency serialized = parsed.class.encode(parsed) file = pool.add_serialized_file(serialized) warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" imports = [ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], ["google.protobuf.Duration", "google/protobuf/duration.proto"], ] imports.each do |type_name, expected_filename| import_file = pool.lookup(type_name).file_descriptor if import_file.name != expected_filename warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" end end warn "Each proto file must use a consistent fully-qualified name." warn "This will become an error in the next major version." 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