Example #1
0
 /// <summary>Constructs a new ImportSshPublicKey request.</summary>
 public ImportSshPublicKeyRequest(Google.Apis.Services.IClientService service, Google.Apis.CloudOSLogin.v1alpha.Data.SshPublicKey body, string parent)
     : base(service)
 {
     Parent = parent;
     Body   = body;
     InitParameters();
 }
Example #2
0
 /// <summary>Adds an SSH public key and returns the profile information. Default POSIX account information is
 /// set when no username and UID exist as part of the login profile.</summary>
 /// <param name="body">The body of the request.</param>
 /// <param name="parent">The unique ID for the user in format `users/{user}`.</param>
 public virtual ImportSshPublicKeyRequest ImportSshPublicKey(Google.Apis.CloudOSLogin.v1alpha.Data.SshPublicKey body, string parent)
 {
     return(new ImportSshPublicKeyRequest(service, body, parent));
 }
Example #3
0
 /// <summary>Updates an SSH public key and returns the profile information. This method supports patch
 /// semantics.</summary>
 /// <param name="body">The body of the request.</param>
 /// <param name="name">The fingerprint of the public key to update. Public keys are identified by their SHA-256
 /// fingerprint. The fingerprint of the public key is in format `users/{user}/sshPublicKeys/{fingerprint}`.</param>
 public virtual PatchRequest Patch(Google.Apis.CloudOSLogin.v1alpha.Data.SshPublicKey body, string name)
 {
     return(new PatchRequest(service, body, name));
 }