# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/orgpolicy/v2/constraint.proto require 'google/protobuf' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/cloud/orgpolicy/v2/constraint.proto", :syntax => :proto3) do add_message "google.cloud.orgpolicy.v2.Constraint" do optional :name, :string, 1 optional :display_name, :string, 2 optional :description, :string, 3 optional :constraint_default, :enum, 4, "google.cloud.orgpolicy.v2.Constraint.ConstraintDefault" oneof :constraint_type do optional :list_constraint, :message, 5, "google.cloud.orgpolicy.v2.Constraint.ListConstraint" optional :boolean_constraint, :message, 6, "google.cloud.orgpolicy.v2.Constraint.BooleanConstraint" end end add_message "google.cloud.orgpolicy.v2.Constraint.ListConstraint" do optional :supports_in, :bool, 1 optional :supports_under, :bool, 2 end add_message "google.cloud.orgpolicy.v2.Constraint.BooleanConstraint" do end add_enum "google.cloud.orgpolicy.v2.Constraint.ConstraintDefault" do value :CONSTRAINT_DEFAULT_UNSPECIFIED, 0 value :ALLOW, 1 value :DENY, 2 end end end module Google module Cloud module OrgPolicy module V2 Constraint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.orgpolicy.v2.Constraint").msgclass Constraint::ListConstraint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.orgpolicy.v2.Constraint.ListConstraint").msgclass Constraint::BooleanConstraint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.orgpolicy.v2.Constraint.BooleanConstraint").msgclass Constraint::ConstraintDefault = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.orgpolicy.v2.Constraint.ConstraintDefault").enummodule end end end end