# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/binaryauthorization/v1/service.proto require 'google/api/annotations_pb' require 'google/api/client_pb' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/cloud/binaryauthorization/v1/resources_pb' require 'google/protobuf/empty_pb' require 'grafeas/v1/attestation_pb' require 'google/protobuf' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/cloud/binaryauthorization/v1/service.proto", :syntax => :proto3) do add_message "google.cloud.binaryauthorization.v1.GetPolicyRequest" do optional :name, :string, 1 end add_message "google.cloud.binaryauthorization.v1.UpdatePolicyRequest" do optional :policy, :message, 1, "google.cloud.binaryauthorization.v1.Policy" end add_message "google.cloud.binaryauthorization.v1.CreateAttestorRequest" do optional :parent, :string, 1 optional :attestor_id, :string, 2 optional :attestor, :message, 3, "google.cloud.binaryauthorization.v1.Attestor" end add_message "google.cloud.binaryauthorization.v1.GetAttestorRequest" do optional :name, :string, 1 end add_message "google.cloud.binaryauthorization.v1.UpdateAttestorRequest" do optional :attestor, :message, 1, "google.cloud.binaryauthorization.v1.Attestor" end add_message "google.cloud.binaryauthorization.v1.ListAttestorsRequest" do optional :parent, :string, 1 optional :page_size, :int32, 2 optional :page_token, :string, 3 end add_message "google.cloud.binaryauthorization.v1.ListAttestorsResponse" do repeated :attestors, :message, 1, "google.cloud.binaryauthorization.v1.Attestor" optional :next_page_token, :string, 2 end add_message "google.cloud.binaryauthorization.v1.DeleteAttestorRequest" do optional :name, :string, 1 end add_message "google.cloud.binaryauthorization.v1.GetSystemPolicyRequest" do optional :name, :string, 1 end add_message "google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceRequest" do optional :attestor, :string, 1 optional :attestation, :message, 2, "grafeas.v1.AttestationOccurrence" optional :occurrence_note, :string, 3 optional :occurrence_resource_uri, :string, 4 end add_message "google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse" do optional :result, :enum, 1, "google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result" optional :denial_reason, :string, 2 end add_enum "google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result" do value :RESULT_UNSPECIFIED, 0 value :VERIFIED, 1 value :ATTESTATION_NOT_VERIFIABLE, 2 end end end module Google module Cloud module BinaryAuthorization module V1 GetPolicyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.binaryauthorization.v1.GetPolicyRequest").msgclass UpdatePolicyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.binaryauthorization.v1.UpdatePolicyRequest").msgclass CreateAttestorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.binaryauthorization.v1.CreateAttestorRequest").msgclass GetAttestorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.binaryauthorization.v1.GetAttestorRequest").msgclass UpdateAttestorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.binaryauthorization.v1.UpdateAttestorRequest").msgclass ListAttestorsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.binaryauthorization.v1.ListAttestorsRequest").msgclass ListAttestorsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.binaryauthorization.v1.ListAttestorsResponse").msgclass DeleteAttestorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.binaryauthorization.v1.DeleteAttestorRequest").msgclass GetSystemPolicyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.binaryauthorization.v1.GetSystemPolicyRequest").msgclass ValidateAttestationOccurrenceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceRequest").msgclass ValidateAttestationOccurrenceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse").msgclass ValidateAttestationOccurrenceResponse::Result = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result").enummodule end end end end