lib/google/api/usage_pb.rb
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/api/usage.proto require 'google/protobuf' Google::Protobuf::DescriptorPool.generated_pool.build do add_message "google.api.Usage" do optional :service_access, :enum, 4, "google.api.Usage.ServiceAccess" repeated :requirements, :string, 1 repeated :depends_on_services, :string, 2 repeated :activation_hooks, :string, 3 repeated :deactivation_hooks, :string, 5 repeated :rules, :message, 6, "google.api.UsageRule" end add_enum "google.api.Usage.ServiceAccess" do value :RESTRICTED, 0 value :PUBLIC, 1 value :ORG_RESTRICTED, 2 value :ORG_PUBLIC, 3 end add_message "google.api.UsageRule" do optional :selector, :string, 1 optional :allow_unregistered_calls, :bool, 2 end end module Google module Api Usage = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Usage").msgclass Usage::ServiceAccess = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Usage.ServiceAccess").enummodule UsageRule = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.UsageRule").msgclass end end