Class StartEnvironmentRequest (1.0.0)

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

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
RepeatedField<String>