public sealed class AddPublicKeyResponse : IMessage<AddPublicKeyResponse>, IEquatable<AddPublicKeyResponse>, IDeepCloneable<AddPublicKeyResponse>, IBufferMessage, IMessage
Response message for
[AddPublicKey][google.cloud.shell.v1.CloudShellService.AddPublicKey].
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["The `AddPublicKeyResponse` class is a response message for the `AddPublicKey` operation within the `Google.Cloud.Shell.V1` service, specifically within the Cloud Shell Service."],["This class implements multiple interfaces, including `IMessage\u003cAddPublicKeyResponse\u003e`, `IEquatable\u003cAddPublicKeyResponse\u003e`, `IDeepCloneable\u003cAddPublicKeyResponse\u003e`, `IBufferMessage`, and `IMessage`, extending its functionality."],["The `AddPublicKeyResponse` class has two constructors: a default constructor, and one that accepts another `AddPublicKeyResponse` object for copying."],["It contains a `Key` property of type `string`, which represents the key that was successfully added to the environment during the `AddPublicKey` operation."],["The `AddPublicKeyResponse` is part of a larger set of versions, with the latest being version 2.5.0, and this specific page is referencing version 1.1.0."]]],[]]