Exemplo n.º 1
0
 /// <summary>Constructs a new Authorize request.</summary>
 public AuthorizeRequest(Google.Apis.Services.IClientService service, Google.Apis.CloudShell.v1alpha1.Data.AuthorizeEnvironmentRequest body, string name)
     : base(service)
 {
     Name = name;
     Body = body;
     InitParameters();
 }
 /// <summary>Sends OAuth credentials to a running environment on behalf of a user. When this completes, the
 /// environment will be authorized to run various Google Cloud command line tools without requiring the user
 /// to manually authenticate.</summary>
 /// <param name="body">The body of the request.</param>
 /// <param name="name">Name of the resource that should receive the credentials, for example
 /// `users/me/environments/default` or `users/[email protected]/environments/default`.</param>
 public virtual AuthorizeRequest Authorize(Google.Apis.CloudShell.v1alpha1.Data.AuthorizeEnvironmentRequest body, string name)
 {
     return(new AuthorizeRequest(service, body, name));
 }