Represents an OsLoginService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.oslogin.v1beta.OsLoginServicePackage
@google-cloud/os-loginConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);Constructs a new OsLoginService service.
| Parameters | |
|---|---|
| Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Methods
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): OsLoginService;Creates new OsLoginService service using the specified rpc implementation.
| Parameters | |
|---|---|
| Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
| Returns | |
|---|---|
| Type | Description |
OsLoginService |
RPC service. Useful where requests and/or responses are streamed. |
createSshPublicKey(request, callback)
public createSshPublicKey(request: google.cloud.oslogin.v1beta.ICreateSshPublicKeyRequest, callback: google.cloud.oslogin.v1beta.OsLoginService.CreateSshPublicKeyCallback): void;Calls CreateSshPublicKey.
| Parameters | |
|---|---|
| Name | Description |
request |
ICreateSshPublicKeyRequest
CreateSshPublicKeyRequest message or plain object |
callback |
CreateSshPublicKeyCallback
Node-style callback called with the error, if any, and SshPublicKey |
| Returns | |
|---|---|
| Type | Description |
void |
|
createSshPublicKey(request)
public createSshPublicKey(request: google.cloud.oslogin.v1beta.ICreateSshPublicKeyRequest): Promise<google.cloud.oslogin.common.SshPublicKey>;Calls CreateSshPublicKey.
| Parameter | |
|---|---|
| Name | Description |
request |
ICreateSshPublicKeyRequest
CreateSshPublicKeyRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.oslogin.common.SshPublicKey> |
Promise |
deletePosixAccount(request, callback)
public deletePosixAccount(request: google.cloud.oslogin.v1beta.IDeletePosixAccountRequest, callback: google.cloud.oslogin.v1beta.OsLoginService.DeletePosixAccountCallback): void;Calls DeletePosixAccount.
| Parameters | |
|---|---|
| Name | Description |
request |
IDeletePosixAccountRequest
DeletePosixAccountRequest message or plain object |
callback |
DeletePosixAccountCallback
Node-style callback called with the error, if any, and Empty |
| Returns | |
|---|---|
| Type | Description |
void |
|
deletePosixAccount(request)
public deletePosixAccount(request: google.cloud.oslogin.v1beta.IDeletePosixAccountRequest): Promise<google.protobuf.Empty>;Calls DeletePosixAccount.
| Parameter | |
|---|---|
| Name | Description |
request |
IDeletePosixAccountRequest
DeletePosixAccountRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.protobuf.Empty> |
Promise |
deleteSshPublicKey(request, callback)
public deleteSshPublicKey(request: google.cloud.oslogin.v1beta.IDeleteSshPublicKeyRequest, callback: google.cloud.oslogin.v1beta.OsLoginService.DeleteSshPublicKeyCallback): void;Calls DeleteSshPublicKey.
| Parameters | |
|---|---|
| Name | Description |
request |
IDeleteSshPublicKeyRequest
DeleteSshPublicKeyRequest message or plain object |
callback |
DeleteSshPublicKeyCallback
Node-style callback called with the error, if any, and Empty |
| Returns | |
|---|---|
| Type | Description |
void |
|
deleteSshPublicKey(request)
public deleteSshPublicKey(request: google.cloud.oslogin.v1beta.IDeleteSshPublicKeyRequest): Promise<google.protobuf.Empty>;Calls DeleteSshPublicKey.
| Parameter | |
|---|---|
| Name | Description |
request |
IDeleteSshPublicKeyRequest
DeleteSshPublicKeyRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.protobuf.Empty> |
Promise |
getLoginProfile(request, callback)
public getLoginProfile(request: google.cloud.oslogin.v1beta.IGetLoginProfileRequest, callback: google.cloud.oslogin.v1beta.OsLoginService.GetLoginProfileCallback): void;Calls GetLoginProfile.
| Parameters | |
|---|---|
| Name | Description |
request |
IGetLoginProfileRequest
GetLoginProfileRequest message or plain object |
callback |
GetLoginProfileCallback
Node-style callback called with the error, if any, and LoginProfile |
| Returns | |
|---|---|
| Type | Description |
void |
|
getLoginProfile(request)
public getLoginProfile(request: google.cloud.oslogin.v1beta.IGetLoginProfileRequest): Promise<google.cloud.oslogin.v1beta.LoginProfile>;Calls GetLoginProfile.
| Parameter | |
|---|---|
| Name | Description |
request |
IGetLoginProfileRequest
GetLoginProfileRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.oslogin.v1beta.LoginProfile> |
Promise |
getSshPublicKey(request, callback)
public getSshPublicKey(request: google.cloud.oslogin.v1beta.IGetSshPublicKeyRequest, callback: google.cloud.oslogin.v1beta.OsLoginService.GetSshPublicKeyCallback): void;Calls GetSshPublicKey.
| Parameters | |
|---|---|
| Name | Description |
request |
IGetSshPublicKeyRequest
GetSshPublicKeyRequest message or plain object |
callback |
GetSshPublicKeyCallback
Node-style callback called with the error, if any, and SshPublicKey |
| Returns | |
|---|---|
| Type | Description |
void |
|
getSshPublicKey(request)
public getSshPublicKey(request: google.cloud.oslogin.v1beta.IGetSshPublicKeyRequest): Promise<google.cloud.oslogin.common.SshPublicKey>;Calls GetSshPublicKey.
| Parameter | |
|---|---|
| Name | Description |
request |
IGetSshPublicKeyRequest
GetSshPublicKeyRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.oslogin.common.SshPublicKey> |
Promise |
importSshPublicKey(request, callback)
public importSshPublicKey(request: google.cloud.oslogin.v1beta.IImportSshPublicKeyRequest, callback: google.cloud.oslogin.v1beta.OsLoginService.ImportSshPublicKeyCallback): void;Calls ImportSshPublicKey.
| Parameters | |
|---|---|
| Name | Description |
request |
IImportSshPublicKeyRequest
ImportSshPublicKeyRequest message or plain object |
callback |
ImportSshPublicKeyCallback
Node-style callback called with the error, if any, and ImportSshPublicKeyResponse |
| Returns | |
|---|---|
| Type | Description |
void |
|
importSshPublicKey(request)
public importSshPublicKey(request: google.cloud.oslogin.v1beta.IImportSshPublicKeyRequest): Promise<google.cloud.oslogin.v1beta.ImportSshPublicKeyResponse>;Calls ImportSshPublicKey.
| Parameter | |
|---|---|
| Name | Description |
request |
IImportSshPublicKeyRequest
ImportSshPublicKeyRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.oslogin.v1beta.ImportSshPublicKeyResponse> |
Promise |
signSshPublicKey(request, callback)
public signSshPublicKey(request: google.cloud.oslogin.v1beta.ISignSshPublicKeyRequest, callback: google.cloud.oslogin.v1beta.OsLoginService.SignSshPublicKeyCallback): void;Calls SignSshPublicKey.
| Parameters | |
|---|---|
| Name | Description |
request |
ISignSshPublicKeyRequest
SignSshPublicKeyRequest message or plain object |
callback |
SignSshPublicKeyCallback
Node-style callback called with the error, if any, and SignSshPublicKeyResponse |
| Returns | |
|---|---|
| Type | Description |
void |
|
signSshPublicKey(request)
public signSshPublicKey(request: google.cloud.oslogin.v1beta.ISignSshPublicKeyRequest): Promise<google.cloud.oslogin.v1beta.SignSshPublicKeyResponse>;Calls SignSshPublicKey.
| Parameter | |
|---|---|
| Name | Description |
request |
ISignSshPublicKeyRequest
SignSshPublicKeyRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.oslogin.v1beta.SignSshPublicKeyResponse> |
Promise |
updateSshPublicKey(request, callback)
public updateSshPublicKey(request: google.cloud.oslogin.v1beta.IUpdateSshPublicKeyRequest, callback: google.cloud.oslogin.v1beta.OsLoginService.UpdateSshPublicKeyCallback): void;Calls UpdateSshPublicKey.
| Parameters | |
|---|---|
| Name | Description |
request |
IUpdateSshPublicKeyRequest
UpdateSshPublicKeyRequest message or plain object |
callback |
UpdateSshPublicKeyCallback
Node-style callback called with the error, if any, and SshPublicKey |
| Returns | |
|---|---|
| Type | Description |
void |
|
updateSshPublicKey(request)
public updateSshPublicKey(request: google.cloud.oslogin.v1beta.IUpdateSshPublicKeyRequest): Promise<google.cloud.oslogin.common.SshPublicKey>;Calls UpdateSshPublicKey.
| Parameter | |
|---|---|
| Name | Description |
request |
IUpdateSshPublicKeyRequest
UpdateSshPublicKeyRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.oslogin.common.SshPublicKey> |
Promise |