Sha256: 674129af157e82ef91fe4498ea9c36a097d82575febaba29fa09e416c8fee0e8

Contents?: true

Size: 1.39 KB

Versions: 5

Compression:

Stored size: 1.39 KB

Contents

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: aserto/api/v2/instance.proto

require 'google/protobuf'

require 'aserto/options/v1/ids_pb'
require 'google/protobuf/timestamp_pb'
require 'protoc-gen-openapiv2/options/annotations_pb'

Google::Protobuf::DescriptorPool.generated_pool.build do
  add_file("aserto/api/v2/instance.proto", :syntax => :proto3) do
    add_message "aserto.api.v2.Instance" do
      optional :policy_id, :string, 1, json_name: "policyId"
      optional :label, :string, 2, json_name: "label"
      optional :tag, :string, 3, json_name: "tag"
      optional :created_at, :message, 4, "google.protobuf.Timestamp", json_name: "createdAt"
      optional :updated_at, :message, 5, "google.protobuf.Timestamp", json_name: "updatedAt"
      optional :instance_type, :enum, 6, "aserto.api.v2.InstanceType", json_name: "instanceType"
      proto3_optional :decision_logging, :bool, 7, json_name: "decisionLogging"
    end
    add_enum "aserto.api.v2.InstanceType" do
      value :INSTANCE_TYPE_UNKNOWN, 0
      value :INSTANCE_TYPE_HOSTED, 1
      value :INSTANCE_TYPE_SATELLITE, 2
    end
  end
end

module Aserto
  module Api
    module V2
      Instance = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v2.Instance").msgclass
      InstanceType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v2.InstanceType").enummodule
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
aserto-grpc-authz-0.0.6 generated/aserto/api/v2/instance_pb.rb
aserto-grpc-authz-0.0.5 generated/aserto/api/v2/instance_pb.rb
aserto-grpc-authz-0.0.4 generated/aserto/api/v2/instance_pb.rb
aserto-grpc-authz-0.0.2 generated/aserto/api/v2/instance_pb.rb
aserto-grpc-authz-0.0.1 lib/aserto/api/v2/instance_pb.rb