# Generated by the protocol buffer compiler. DO NOT EDIT! # source: aserto/api/v1/connection.proto require 'google/protobuf' require 'google/protobuf/struct_pb' require 'google/protobuf/timestamp_pb' require 'aserto/options/v1/ids_pb' require 'aserto/api/v1/metadata_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("aserto/api/v1/connection.proto", :syntax => :proto3) do add_message "aserto.api.v1.Provider" do optional :id, :string, 1, json_name: "id" optional :name, :string, 2, json_name: "name" optional :description, :string, 3, json_name: "description" optional :kind, :enum, 4, "aserto.api.v1.ProviderKind", json_name: "kind" optional :connection_type, :enum, 5, "aserto.api.v1.ConnectionType", json_name: "connectionType" map :display_attributes, :string, :string, 6 repeated :config, :message, 7, "aserto.api.v1.ConfigElement", json_name: "config" end add_message "aserto.api.v1.Connection" do optional :id, :string, 1, json_name: "id" optional :name, :string, 2, json_name: "name" optional :description, :string, 3, json_name: "description" optional :kind, :enum, 4, "aserto.api.v1.ProviderKind", json_name: "kind" optional :provider_id, :string, 5, json_name: "providerId" optional :verified, :bool, 6, json_name: "verified" optional :system, :bool, 7, json_name: "system" optional :config, :message, 8, "google.protobuf.Struct", json_name: "config" optional :metadata, :message, 9, "aserto.api.v1.Metadata", json_name: "metadata" optional :last_verification_at, :message, 10, "google.protobuf.Timestamp", json_name: "lastVerificationAt" end add_message "aserto.api.v1.ConfigElement" do optional :id, :int32, 1, json_name: "id" optional :kind, :enum, 2, "aserto.api.v1.ConfigElementKind", json_name: "kind" optional :type, :enum, 3, "aserto.api.v1.ConfigElementType", json_name: "type" optional :name, :string, 4, json_name: "name" optional :description, :string, 5, json_name: "description" optional :usage, :string, 6, json_name: "usage" optional :mode, :enum, 7, "aserto.api.v1.DisplayMode", json_name: "mode" optional :read_only, :bool, 8, json_name: "readOnly" optional :generated, :bool, 9, json_name: "generated" optional :json_schema, :string, 10, json_name: "jsonSchema" end add_enum "aserto.api.v1.ProviderKind" do value :PROVIDER_KIND_UNKNOWN, 0 value :PROVIDER_KIND_IDP, 1 value :PROVIDER_KIND_SCC, 2 value :PROVIDER_KIND_POLICY_REGISTRY, 3 value :PROVIDER_KIND_AUTHORIZER, 4 value :PROVIDER_KIND_DECISION_LOGS, 5 value :PROVIDER_KIND_DIRECTORY, 6 value :PROVIDER_KIND_DISCOVERY, 7 value :PROVIDER_KIND_SATELLITE, 8 end add_enum "aserto.api.v1.ConnectionType" do value :CONNECTION_TYPE_UNKNOWN, 0 value :CONNECTION_TYPE_SIMPLE, 1 value :CONNECTION_TYPE_OAUTH, 2 end add_enum "aserto.api.v1.ConfigElementKind" do value :CONFIG_ELEMENT_KIND_UNKNOWN, 0 value :CONFIG_ELEMENT_KIND_ATTRIBUTE, 1 value :CONFIG_ELEMENT_KIND_SECRET, 2 value :CONFIG_ELEMENT_KIND_CERTIFICATE, 3 end add_enum "aserto.api.v1.ConfigElementType" do value :CONFIG_ELEMENT_TYPE_UNKNOWN, 0 value :CONFIG_ELEMENT_TYPE_STRING, 1 value :CONFIG_ELEMENT_TYPE_INTEGER, 2 value :CONFIG_ELEMENT_TYPE_BOOLEAN, 3 value :CONFIG_ELEMENT_TYPE_JSON, 4 end add_enum "aserto.api.v1.DisplayMode" do value :DISPLAY_MODE_UNKNOWN, 0 value :DISPLAY_MODE_NORMAL, 1 value :DISPLAY_MODE_MASKED, 2 value :DISPLAY_MODE_HIDDEN, 3 end end end module Aserto module Api module V1 Provider = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v1.Provider").msgclass Connection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v1.Connection").msgclass ConfigElement = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v1.ConfigElement").msgclass ProviderKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v1.ProviderKind").enummodule ConnectionType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v1.ConnectionType").enummodule ConfigElementKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v1.ConfigElementKind").enummodule ConfigElementType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v1.ConfigElementType").enummodule DisplayMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v1.DisplayMode").enummodule end end end