# Copyright 2020 StrongDM Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # # Generated by the protocol buffer compiler. DO NOT EDIT! # source: account_grants.proto require "google/protobuf" require "google/protobuf/timestamp_pb" require "options_pb" require "spec_pb" Google::Protobuf::DescriptorPool.generated_pool.build do add_file("account_grants.proto", :syntax => :proto3) do add_message "v1.AccountGrantCreateRequest" do optional :meta, :message, 1, "v1.CreateRequestMetadata" optional :account_grant, :message, 2, "v1.AccountGrant" end add_message "v1.AccountGrantCreateResponse" do optional :meta, :message, 1, "v1.CreateResponseMetadata" optional :account_grant, :message, 2, "v1.AccountGrant" optional :rate_limit, :message, 3, "v1.RateLimitMetadata" end add_message "v1.AccountGrantGetRequest" do optional :meta, :message, 1, "v1.GetRequestMetadata" optional :id, :string, 2 end add_message "v1.AccountGrantGetResponse" do optional :meta, :message, 1, "v1.GetResponseMetadata" optional :account_grant, :message, 2, "v1.AccountGrant" optional :rate_limit, :message, 3, "v1.RateLimitMetadata" end add_message "v1.AccountGrantDeleteRequest" do optional :meta, :message, 1, "v1.DeleteRequestMetadata" optional :id, :string, 2 end add_message "v1.AccountGrantDeleteResponse" do optional :meta, :message, 1, "v1.DeleteResponseMetadata" optional :rate_limit, :message, 2, "v1.RateLimitMetadata" end add_message "v1.AccountGrantListRequest" do optional :meta, :message, 1, "v1.ListRequestMetadata" optional :filter, :string, 2 end add_message "v1.AccountGrantListResponse" do optional :meta, :message, 1, "v1.ListResponseMetadata" repeated :account_grants, :message, 2, "v1.AccountGrant" optional :rate_limit, :message, 3, "v1.RateLimitMetadata" end add_message "v1.AccountGrant" do optional :id, :string, 1 optional :resource_id, :string, 2 optional :account_id, :string, 3 optional :start_from, :message, 4, "google.protobuf.Timestamp" optional :valid_until, :message, 5, "google.protobuf.Timestamp" optional :access_rule, :string, 6 end end end module V1 AccountGrantCreateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AccountGrantCreateRequest").msgclass AccountGrantCreateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AccountGrantCreateResponse").msgclass AccountGrantGetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AccountGrantGetRequest").msgclass AccountGrantGetResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AccountGrantGetResponse").msgclass AccountGrantDeleteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AccountGrantDeleteRequest").msgclass AccountGrantDeleteResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AccountGrantDeleteResponse").msgclass AccountGrantListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AccountGrantListRequest").msgclass AccountGrantListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AccountGrantListResponse").msgclass AccountGrant = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AccountGrant").msgclass end