Class: Google::Cloud::Shell::V1::AddPublicKeyRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Shell::V1::AddPublicKeyRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/shell/v1/cloudshell.rb
Overview
Request message for AddPublicKey.
Instance Attribute Summary collapse
-
#environment ⇒ ::String
Environment this key should be added to, e.g.
-
#key ⇒ ::String
Key that should be added to the environment.
Instance Attribute Details
#environment ⇒ ::String
Returns Environment this key should be added to, e.g.
users/me/environments/default
.
243 244 245 246 |
# File 'proto_docs/google/cloud/shell/v1/cloudshell.rb', line 243 class AddPublicKeyRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#key ⇒ ::String
Returns Key that should be added to the environment. Supported formats are
ssh-dss
(see RFC4253), ssh-rsa
(see RFC4253), ecdsa-sha2-nistp256
(see RFC5656), ecdsa-sha2-nistp384
(see RFC5656) and
ecdsa-sha2-nistp521
(see RFC5656). It should be structured as
<format> <content>, where <content> part is encoded with
Base64.
243 244 245 246 |
# File 'proto_docs/google/cloud/shell/v1/cloudshell.rb', line 243 class AddPublicKeyRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |