public sealed class AuthorizeEnvironmentRequest : IMessage<AuthorizeEnvironmentRequest>, IEquatable<AuthorizeEnvironmentRequest>, IDeepCloneable<AuthorizeEnvironmentRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Shell v1 API class AuthorizeEnvironmentRequest.
Request message for [AuthorizeEnvironment][google.cloud.shell.v1.CloudShellService.AuthorizeEnvironment].
Implements
IMessageAuthorizeEnvironmentRequest, IEquatableAuthorizeEnvironmentRequest, IDeepCloneableAuthorizeEnvironmentRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Shell.V1Assembly
Google.Cloud.Shell.V1.dll
Constructors
AuthorizeEnvironmentRequest()
public AuthorizeEnvironmentRequest()
AuthorizeEnvironmentRequest(AuthorizeEnvironmentRequest)
public AuthorizeEnvironmentRequest(AuthorizeEnvironmentRequest other)
Parameter | |
---|---|
Name | Description |
other | AuthorizeEnvironmentRequest |
Properties
AccessToken
public string AccessToken { get; set; }
The OAuth access token that should be sent to the environment.
Property Value | |
---|---|
Type | Description |
string |
ExpireTime
public Timestamp ExpireTime { get; set; }
The time when the credentials expire. If not set, defaults to one hour from when the server received the request.
Property Value | |
---|---|
Type | Description |
Timestamp |
IdToken
public string IdToken { get; set; }
The OAuth ID token that should be sent to the environment.
Property Value | |
---|---|
Type | Description |
string |
Name
public string Name { get; set; }
Name of the resource that should receive the credentials, for example
users/me/environments/default
or
users/someone@example.com/environments/default
.
Property Value | |
---|---|
Type | Description |
string |