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

pub struct AuthorizeEnvironmentRequest {
    pub name: String,
    pub access_token: String,
    pub id_token: String,
    pub expire_time: Option<Timestamp>,
}

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

Fields

name: String

Name of the resource that should receive the credentials, for example users/me/environments/default or users/someone@example.com/environments/default.

access_token: String

The OAuth access token that should be sent to the environment.

id_token: String

The OAuth ID token that should be sent to the environment.

expire_time: Option<Timestamp>

The time when the credentials expire. If not set, defaults to one hour from when the server received the request.

Trait Implementations

impl Clone for AuthorizeEnvironmentRequest[src]

impl Debug for AuthorizeEnvironmentRequest[src]

impl Default for AuthorizeEnvironmentRequest[src]

impl Message for AuthorizeEnvironmentRequest[src]

impl PartialEq<AuthorizeEnvironmentRequest> for AuthorizeEnvironmentRequest[src]

impl StructuralPartialEq for AuthorizeEnvironmentRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for AuthorizeEnvironmentRequest

impl Send for AuthorizeEnvironmentRequest

impl Sync for AuthorizeEnvironmentRequest

impl Unpin for AuthorizeEnvironmentRequest

impl UnwindSafe for AuthorizeEnvironmentRequest

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]