Struct google_cloudshell1::api::StartEnvironmentRequest
source · pub struct StartEnvironmentRequest {
pub access_token: Option<String>,
pub public_keys: Option<Vec<String>>,
}Expand description
Request message for StartEnvironment.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- environments start users (request)
Fields§
§access_token: Option<String>The initial access token passed to the environment. If this is present and valid, the environment will be pre-authenticated with gcloud so that the user can run gcloud commands in Cloud Shell without having to log in. This code can be updated later by calling AuthorizeEnvironment.
public_keys: Option<Vec<String>>Public keys that should be added to the environment before it is started.
Trait Implementations§
source§impl Clone for StartEnvironmentRequest
impl Clone for StartEnvironmentRequest
source§fn clone(&self) -> StartEnvironmentRequest
fn clone(&self) -> StartEnvironmentRequest
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for StartEnvironmentRequest
impl Debug for StartEnvironmentRequest
source§impl Default for StartEnvironmentRequest
impl Default for StartEnvironmentRequest
source§fn default() -> StartEnvironmentRequest
fn default() -> StartEnvironmentRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for StartEnvironmentRequest
impl<'de> Deserialize<'de> for StartEnvironmentRequest
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more