Cloud Shell v1 API - Class StartEnvironmentRequest (2.4.0)

public sealed class StartEnvironmentRequest : IMessage<StartEnvironmentRequest>, IEquatable<StartEnvironmentRequest>, IDeepCloneable<StartEnvironmentRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Shell v1 API class StartEnvironmentRequest.

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

Inheritance

object > StartEnvironmentRequest

Namespace

Google.Cloud.Shell.V1

Assembly

Google.Cloud.Shell.V1.dll

Constructors

StartEnvironmentRequest()

public StartEnvironmentRequest()

StartEnvironmentRequest(StartEnvironmentRequest)

public StartEnvironmentRequest(StartEnvironmentRequest other)
Parameter
NameDescription
otherStartEnvironmentRequest

Properties

AccessToken

public string AccessToken { get; set; }

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.

Property Value
TypeDescription
string

Name

public string Name { get; set; }

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

Property Value
TypeDescription
string

PublicKeys

public RepeatedField<string> PublicKeys { get; }

Public keys that should be added to the environment before it is started.

Property Value
TypeDescription
RepeatedFieldstring