[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Shell V1 Client - Class RemovePublicKeyRequest (2.0.5)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.5 (latest)](/php/docs/reference/cloud-shell/latest/V1.RemovePublicKeyRequest)\n- [2.0.4](/php/docs/reference/cloud-shell/2.0.4/V1.RemovePublicKeyRequest)\n- [1.3.5](/php/docs/reference/cloud-shell/1.3.5/V1.RemovePublicKeyRequest)\n- [1.2.2](/php/docs/reference/cloud-shell/1.2.2/V1.RemovePublicKeyRequest)\n- [1.1.1](/php/docs/reference/cloud-shell/1.1.1/V1.RemovePublicKeyRequest)\n- [1.0.4](/php/docs/reference/cloud-shell/1.0.4/V1.RemovePublicKeyRequest) \nReference documentation and code samples for the Google Cloud Shell V1 Client class RemovePublicKeyRequest.\n\nRequest message for\n[RemovePublicKey](/php/docs/reference/cloud-shell/latest/V1.Client.CloudShellServiceClient#_Google_Cloud_Shell_V1_Client_CloudShellServiceClient__removePublicKey__).\n\nGenerated from protobuf message `google.cloud.shell.v1.RemovePublicKeyRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Shell \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getEnvironment\n\nEnvironment this key should be removed from, e.g.\n\n`users/me/environments/default`.\n\n### setEnvironment\n\nEnvironment this key should be removed from, e.g.\n\n`users/me/environments/default`.\n\n### getKey\n\nKey that should be removed from the environment.\n\n### setKey\n\nKey that should be removed from the environment."]]