Show / Hide Table of Contents

Class UsersResource

The "users" collection of methods.

Inheritance
System.Object
UsersResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.CloudOSLogin.v1
Assembly: Google.Apis.CloudOSLogin.v1.dll
Syntax
public class UsersResource

Constructors

UsersResource(IClientService)

Constructs a new resource.

Declaration
public UsersResource(IClientService service)
Parameters
Type Name Description
Google.Apis.Services.IClientService service

Properties

Projects

Gets the Projects resource.

Declaration
public virtual UsersResource.ProjectsResource Projects { get; }
Property Value
Type Description
UsersResource.ProjectsResource

SshPublicKeys

Gets the SshPublicKeys resource.

Declaration
public virtual UsersResource.SshPublicKeysResource SshPublicKeys { get; }
Property Value
Type Description
UsersResource.SshPublicKeysResource

Methods

GetLoginProfile(String)

Retrieves the profile information used for logging in to a virtual machine on Google Compute Engine.

Declaration
public virtual UsersResource.GetLoginProfileRequest GetLoginProfile(string name)
Parameters
Type Name Description
System.String name

Required. The unique ID for the user in format users/{user}.

Returns
Type Description
UsersResource.GetLoginProfileRequest

ImportSshPublicKey(SshPublicKey, String)

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.

Declaration
public virtual UsersResource.ImportSshPublicKeyRequest ImportSshPublicKey(SshPublicKey body, string parent)
Parameters
Type Name Description
SshPublicKey body

The body of the request.

System.String parent

Required. The unique ID for the user in format users/{user}.

Returns
Type Description
UsersResource.ImportSshPublicKeyRequest
In This Article
Back to top