Struct gapi_grpc::google::cloud::shell::v1::AddPublicKeyRequest[][src]

pub struct AddPublicKeyRequest {
    pub environment: String,
    pub key: String,
}

Request message for [AddPublicKey][google.cloud.shell.v1.CloudShellService.AddPublicKey].

Fields

environment: String

Environment this key should be added to, e.g. users/me/environments/default.

key: String

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.

Trait Implementations

impl Clone for AddPublicKeyRequest[src]

impl Debug for AddPublicKeyRequest[src]

impl Default for AddPublicKeyRequest[src]

impl Message for AddPublicKeyRequest[src]

impl PartialEq<AddPublicKeyRequest> for AddPublicKeyRequest[src]

impl StructuralPartialEq for AddPublicKeyRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for AddPublicKeyRequest

impl Send for AddPublicKeyRequest

impl Sync for AddPublicKeyRequest

impl Unpin for AddPublicKeyRequest

impl UnwindSafe for AddPublicKeyRequest

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]