Constructor
new OsLoginService(rpcImpl, requestDelimitedopt, responseDelimitedopt)
Constructs a new OsLoginService service.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
rpcImpl |
$protobuf.RPCImpl |
RPC implementation |
||
requestDelimited |
boolean |
<optional> |
false |
Whether requests are length-delimited |
responseDelimited |
boolean |
<optional> |
false |
Whether responses are length-delimited |
Extends
- $protobuf.rpc.Service
Methods
createSshPublicKey(request, callback) → {undefined}
Calls CreateSshPublicKey.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.oslogin.v1.ICreateSshPublicKeyRequest |
CreateSshPublicKeyRequest message or plain object |
callback |
google.cloud.oslogin.v1.OsLoginService.CreateSshPublicKeyCallback |
Node-style callback called with the error, if any, and SshPublicKey |
Returns:
Type | Description |
---|---|
undefined |
createSshPublicKey(request) → {Promise.<google.cloud.oslogin.common.SshPublicKey>}
Calls CreateSshPublicKey.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.oslogin.v1.ICreateSshPublicKeyRequest |
CreateSshPublicKeyRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.oslogin.common.SshPublicKey> |
Promise |
deletePosixAccount(request, callback) → {undefined}
Calls DeletePosixAccount.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.oslogin.v1.IDeletePosixAccountRequest |
DeletePosixAccountRequest message or plain object |
callback |
google.cloud.oslogin.v1.OsLoginService.DeletePosixAccountCallback |
Node-style callback called with the error, if any, and Empty |
Returns:
Type | Description |
---|---|
undefined |
deletePosixAccount(request) → {Promise.<google.protobuf.Empty>}
Calls DeletePosixAccount.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.oslogin.v1.IDeletePosixAccountRequest |
DeletePosixAccountRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.protobuf.Empty> |
Promise |
deleteSshPublicKey(request, callback) → {undefined}
Calls DeleteSshPublicKey.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.oslogin.v1.IDeleteSshPublicKeyRequest |
DeleteSshPublicKeyRequest message or plain object |
callback |
google.cloud.oslogin.v1.OsLoginService.DeleteSshPublicKeyCallback |
Node-style callback called with the error, if any, and Empty |
Returns:
Type | Description |
---|---|
undefined |
deleteSshPublicKey(request) → {Promise.<google.protobuf.Empty>}
Calls DeleteSshPublicKey.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.oslogin.v1.IDeleteSshPublicKeyRequest |
DeleteSshPublicKeyRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.protobuf.Empty> |
Promise |
getLoginProfile(request, callback) → {undefined}
Calls GetLoginProfile.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.oslogin.v1.IGetLoginProfileRequest |
GetLoginProfileRequest message or plain object |
callback |
google.cloud.oslogin.v1.OsLoginService.GetLoginProfileCallback |
Node-style callback called with the error, if any, and LoginProfile |
Returns:
Type | Description |
---|---|
undefined |
getLoginProfile(request) → {Promise.<google.cloud.oslogin.v1.LoginProfile>}
Calls GetLoginProfile.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.oslogin.v1.IGetLoginProfileRequest |
GetLoginProfileRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.oslogin.v1.LoginProfile> |
Promise |
getSshPublicKey(request, callback) → {undefined}
Calls GetSshPublicKey.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.oslogin.v1.IGetSshPublicKeyRequest |
GetSshPublicKeyRequest message or plain object |
callback |
google.cloud.oslogin.v1.OsLoginService.GetSshPublicKeyCallback |
Node-style callback called with the error, if any, and SshPublicKey |
Returns:
Type | Description |
---|---|
undefined |
getSshPublicKey(request) → {Promise.<google.cloud.oslogin.common.SshPublicKey>}
Calls GetSshPublicKey.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.oslogin.v1.IGetSshPublicKeyRequest |
GetSshPublicKeyRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.oslogin.common.SshPublicKey> |
Promise |
importSshPublicKey(request, callback) → {undefined}
Calls ImportSshPublicKey.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.oslogin.v1.IImportSshPublicKeyRequest |
ImportSshPublicKeyRequest message or plain object |
callback |
google.cloud.oslogin.v1.OsLoginService.ImportSshPublicKeyCallback |
Node-style callback called with the error, if any, and ImportSshPublicKeyResponse |
Returns:
Type | Description |
---|---|
undefined |
importSshPublicKey(request) → {Promise.<google.cloud.oslogin.v1.ImportSshPublicKeyResponse>}
Calls ImportSshPublicKey.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.oslogin.v1.IImportSshPublicKeyRequest |
ImportSshPublicKeyRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.oslogin.v1.ImportSshPublicKeyResponse> |
Promise |
updateSshPublicKey(request, callback) → {undefined}
Calls UpdateSshPublicKey.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.oslogin.v1.IUpdateSshPublicKeyRequest |
UpdateSshPublicKeyRequest message or plain object |
callback |
google.cloud.oslogin.v1.OsLoginService.UpdateSshPublicKeyCallback |
Node-style callback called with the error, if any, and SshPublicKey |
Returns:
Type | Description |
---|---|
undefined |
updateSshPublicKey(request) → {Promise.<google.cloud.oslogin.common.SshPublicKey>}
Calls UpdateSshPublicKey.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.oslogin.v1.IUpdateSshPublicKeyRequest |
UpdateSshPublicKeyRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.oslogin.common.SshPublicKey> |
Promise |
(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {OsLoginService}
Creates new OsLoginService service using the specified rpc implementation.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
rpcImpl |
$protobuf.RPCImpl |
RPC implementation |
||
requestDelimited |
boolean |
<optional> |
false |
Whether requests are length-delimited |
responseDelimited |
boolean |
<optional> |
false |
Whether responses are length-delimited |
Returns:
Type | Description |
---|---|
OsLoginService |
RPC service. Useful where requests and/or responses are streamed. |
Type Definitions
CreateSshPublicKeyCallback(error, responseopt)
Callback as used by createSshPublicKey.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.oslogin.common.SshPublicKey |
<optional> |
SshPublicKey |
DeletePosixAccountCallback(error, responseopt)
Callback as used by deletePosixAccount.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.protobuf.Empty |
<optional> |
Empty |
DeleteSshPublicKeyCallback(error, responseopt)
Callback as used by deleteSshPublicKey.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.protobuf.Empty |
<optional> |
Empty |
GetLoginProfileCallback(error, responseopt)
Callback as used by getLoginProfile.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.oslogin.v1.LoginProfile |
<optional> |
LoginProfile |
GetSshPublicKeyCallback(error, responseopt)
Callback as used by getSshPublicKey.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.oslogin.common.SshPublicKey |
<optional> |
SshPublicKey |
ImportSshPublicKeyCallback(error, responseopt)
Callback as used by importSshPublicKey.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.oslogin.v1.ImportSshPublicKeyResponse |
<optional> |
ImportSshPublicKeyResponse |
UpdateSshPublicKeyCallback(error, responseopt)
Callback as used by updateSshPublicKey.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.oslogin.common.SshPublicKey |
<optional> |
SshPublicKey |