# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/oslogin/v1/oslogin.proto


require 'google/protobuf'

require 'google/api/annotations_pb'
require 'google/cloud/oslogin/common/common_pb'
require 'google/protobuf/empty_pb'
require 'google/protobuf/field_mask_pb'
Google::Protobuf::DescriptorPool.generated_pool.build do
  add_message "google.cloud.oslogin.v1.LoginProfile" do
    optional :name, :string, 1
    repeated :posix_accounts, :message, 2, "google.cloud.oslogin.common.PosixAccount"
    map :ssh_public_keys, :string, :message, 3, "google.cloud.oslogin.common.SshPublicKey"
    optional :suspended, :bool, 4
  end
  add_message "google.cloud.oslogin.v1.DeletePosixAccountRequest" do
    optional :name, :string, 1
  end
  add_message "google.cloud.oslogin.v1.DeleteSshPublicKeyRequest" do
    optional :name, :string, 1
  end
  add_message "google.cloud.oslogin.v1.GetLoginProfileRequest" do
    optional :name, :string, 1
  end
  add_message "google.cloud.oslogin.v1.GetSshPublicKeyRequest" do
    optional :name, :string, 1
  end
  add_message "google.cloud.oslogin.v1.ImportSshPublicKeyRequest" do
    optional :parent, :string, 1
    optional :ssh_public_key, :message, 2, "google.cloud.oslogin.common.SshPublicKey"
    optional :project_id, :string, 3
  end
  add_message "google.cloud.oslogin.v1.ImportSshPublicKeyResponse" do
    optional :login_profile, :message, 1, "google.cloud.oslogin.v1.LoginProfile"
  end
  add_message "google.cloud.oslogin.v1.UpdateSshPublicKeyRequest" do
    optional :name, :string, 1
    optional :ssh_public_key, :message, 2, "google.cloud.oslogin.common.SshPublicKey"
    optional :update_mask, :message, 3, "google.protobuf.FieldMask"
  end
end

module Google
  module Cloud
    module Oslogin
      module V1
        LoginProfile = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oslogin.v1.LoginProfile").msgclass
        DeletePosixAccountRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oslogin.v1.DeletePosixAccountRequest").msgclass
        DeleteSshPublicKeyRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oslogin.v1.DeleteSshPublicKeyRequest").msgclass
        GetLoginProfileRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oslogin.v1.GetLoginProfileRequest").msgclass
        GetSshPublicKeyRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oslogin.v1.GetSshPublicKeyRequest").msgclass
        ImportSshPublicKeyRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oslogin.v1.ImportSshPublicKeyRequest").msgclass
        ImportSshPublicKeyResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oslogin.v1.ImportSshPublicKeyResponse").msgclass
        UpdateSshPublicKeyRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oslogin.v1.UpdateSshPublicKeyRequest").msgclass
      end
    end
  end
end
