# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/resourcemanager/v3/folders.proto

require 'google/protobuf'

require 'google/api/annotations_pb'
require 'google/api/client_pb'
require 'google/api/field_behavior_pb'
require 'google/api/resource_pb'
require 'google/iam/v1/iam_policy_pb'
require 'google/iam/v1/policy_pb'
require 'google/longrunning/operations_pb'
require 'google/protobuf/field_mask_pb'
require 'google/protobuf/timestamp_pb'
Google::Protobuf::DescriptorPool.generated_pool.build do
  add_file("google/cloud/resourcemanager/v3/folders.proto", :syntax => :proto3) do
    add_message "google.cloud.resourcemanager.v3.Folder" do
      optional :name, :string, 1
      optional :parent, :string, 2
      optional :display_name, :string, 3
      optional :state, :enum, 4, "google.cloud.resourcemanager.v3.Folder.State"
      optional :create_time, :message, 5, "google.protobuf.Timestamp"
      optional :update_time, :message, 6, "google.protobuf.Timestamp"
      optional :delete_time, :message, 7, "google.protobuf.Timestamp"
      optional :etag, :string, 8
    end
    add_enum "google.cloud.resourcemanager.v3.Folder.State" do
      value :STATE_UNSPECIFIED, 0
      value :ACTIVE, 1
      value :DELETE_REQUESTED, 2
    end
    add_message "google.cloud.resourcemanager.v3.GetFolderRequest" do
      optional :name, :string, 1
    end
    add_message "google.cloud.resourcemanager.v3.ListFoldersRequest" do
      optional :parent, :string, 1
      optional :page_size, :int32, 2
      optional :page_token, :string, 3
      optional :show_deleted, :bool, 4
    end
    add_message "google.cloud.resourcemanager.v3.ListFoldersResponse" do
      repeated :folders, :message, 1, "google.cloud.resourcemanager.v3.Folder"
      optional :next_page_token, :string, 2
    end
    add_message "google.cloud.resourcemanager.v3.SearchFoldersRequest" do
      optional :page_size, :int32, 1
      optional :page_token, :string, 2
      optional :query, :string, 3
    end
    add_message "google.cloud.resourcemanager.v3.SearchFoldersResponse" do
      repeated :folders, :message, 1, "google.cloud.resourcemanager.v3.Folder"
      optional :next_page_token, :string, 2
    end
    add_message "google.cloud.resourcemanager.v3.CreateFolderRequest" do
      optional :folder, :message, 2, "google.cloud.resourcemanager.v3.Folder"
    end
    add_message "google.cloud.resourcemanager.v3.CreateFolderMetadata" do
      optional :display_name, :string, 1
      optional :parent, :string, 2
    end
    add_message "google.cloud.resourcemanager.v3.UpdateFolderRequest" do
      optional :folder, :message, 1, "google.cloud.resourcemanager.v3.Folder"
      optional :update_mask, :message, 2, "google.protobuf.FieldMask"
    end
    add_message "google.cloud.resourcemanager.v3.UpdateFolderMetadata" do
    end
    add_message "google.cloud.resourcemanager.v3.MoveFolderRequest" do
      optional :name, :string, 1
      optional :destination_parent, :string, 2
    end
    add_message "google.cloud.resourcemanager.v3.MoveFolderMetadata" do
      optional :display_name, :string, 1
      optional :source_parent, :string, 2
      optional :destination_parent, :string, 3
    end
    add_message "google.cloud.resourcemanager.v3.DeleteFolderRequest" do
      optional :name, :string, 1
    end
    add_message "google.cloud.resourcemanager.v3.DeleteFolderMetadata" do
    end
    add_message "google.cloud.resourcemanager.v3.UndeleteFolderRequest" do
      optional :name, :string, 1
    end
    add_message "google.cloud.resourcemanager.v3.UndeleteFolderMetadata" do
    end
  end
end

module Google
  module Cloud
    module ResourceManager
      module V3
        Folder = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.resourcemanager.v3.Folder").msgclass
        Folder::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.resourcemanager.v3.Folder.State").enummodule
        GetFolderRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.resourcemanager.v3.GetFolderRequest").msgclass
        ListFoldersRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.resourcemanager.v3.ListFoldersRequest").msgclass
        ListFoldersResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.resourcemanager.v3.ListFoldersResponse").msgclass
        SearchFoldersRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.resourcemanager.v3.SearchFoldersRequest").msgclass
        SearchFoldersResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.resourcemanager.v3.SearchFoldersResponse").msgclass
        CreateFolderRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.resourcemanager.v3.CreateFolderRequest").msgclass
        CreateFolderMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.resourcemanager.v3.CreateFolderMetadata").msgclass
        UpdateFolderRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.resourcemanager.v3.UpdateFolderRequest").msgclass
        UpdateFolderMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.resourcemanager.v3.UpdateFolderMetadata").msgclass
        MoveFolderRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.resourcemanager.v3.MoveFolderRequest").msgclass
        MoveFolderMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.resourcemanager.v3.MoveFolderMetadata").msgclass
        DeleteFolderRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.resourcemanager.v3.DeleteFolderRequest").msgclass
        DeleteFolderMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.resourcemanager.v3.DeleteFolderMetadata").msgclass
        UndeleteFolderRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.resourcemanager.v3.UndeleteFolderRequest").msgclass
        UndeleteFolderMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.resourcemanager.v3.UndeleteFolderMetadata").msgclass
      end
    end
  end
end
