Class v1.OsLoginServiceClient (3.2.6)

Cloud OS Login API

The Cloud OS Login API allows you to manage users and their associated SSH public keys for logging into virtual machines on Google Cloud Platform. v1

Package

@google-cloud/os-login!

Constructors

  constructor 
 ( 
 opts 
 ?: 
  
 ClientOptions 
 ); 
 

Construct an instance of OsLoginServiceClient.

Parameter
Name Description
opts ClientOptions

Properties

  static 
  
 get 
  
 apiEndpoint 
 () 
 : 
  
 string 
 ; 
 

The DNS address for this API service - same as servicePath(), exists for compatibility reasons.

Property Value
Type Description
string
  auth 
 : 
  
 gax 
 . 
 GoogleAuth 
 ; 
 
Property Value
Type Description
gax. GoogleAuth
  descriptors 
 : 
  
 Descriptors 
 ; 
 
Property Value
Type Description
Descriptors
  innerApiCalls 
 : 
  
 { 
  
 [ 
 name 
 : 
  
 string 
 ] 
 : 
  
 Function 
 ; 
  
 }; 
 
Property Value
Type Description
{ [name: string]: Function ; }
  osLoginServiceStub 
 ?: 
  
 Promise 
< { 
  
 [ 
 name 
 : 
  
 string 
 ] 
 : 
  
 Function 
 ; 
  
 }>; 
 
Property Value
Type Description
Promise <{ [name: string]: Function ; }>
  pathTemplates 
 : 
  
 { 
  
 [ 
 name 
 : 
  
 string 
 ] 
 : 
  
 gax 
 . 
 PathTemplate 
 ; 
  
 }; 
 
Property Value
Type Description
{ [name: string]: gax. PathTemplate ; }
  static 
  
 get 
  
 port 
 () 
 : 
  
 number 
 ; 
 

The port for this API service.

Property Value
Type Description
number
  static 
  
 get 
  
 scopes 
 () 
 : 
  
 string 
 []; 
 

The scopes needed to make gRPC calls for every method defined in this service.

Property Value
Type Description
string[]
  static 
  
 get 
  
 servicePath 
 () 
 : 
  
 string 
 ; 
 

The DNS address for this API service.

Property Value
Type Description
string
  warn 
 : 
  
 ( 
 code 
 : 
  
 string 
 , 
  
 message 
 : 
  
 string 
 , 
  
 warnType 
 ?: 
  
 string 
 ) 
  
 = 
>  
 void 
 ; 
 
Property Value
Type Description
(code: string, message: string, warnType?: string) => void

Methods

  close 
 () 
 : 
  
 Promise<void> 
 ; 
 

Terminate the gRPC channel and close the client.

The client will no longer be usable and all future behavior is undefined.

Returns
Type Description
Promise <void>

{Promise} A promise that resolves when the client is closed.

  deletePosixAccount 
 ( 
 request 
 ?: 
  
 protos 
 . 
 google 
 . 
 cloud 
 . 
 oslogin 
 . 
 v1 
 . 
 IDeletePosixAccountRequest 
 , 
  
 options 
 ?: 
  
 CallOptions 
 ) 
 : 
  
 Promise 
< [ 
 protos 
 . 
 google 
 . 
 protobuf 
 . 
 IEmpty 
 , 
  
 protos 
 . 
 google 
 . 
 cloud 
 . 
 oslogin 
 . 
 v1 
 . 
 IDeletePosixAccountRequest 
  
 | 
  
 undefined 
 , 
  
 {} 
  
 | 
  
 undefined 
 ]>; 
 
Parameters
Name Description
request protos. google.cloud.oslogin.v1.IDeletePosixAccountRequest
options CallOptions
Returns
Type Description
Promise <[protos. google.protobuf.IEmpty , protos. google.cloud.oslogin.v1.IDeletePosixAccountRequest | undefined, {} | undefined]>
  deletePosixAccount 
 ( 
 request 
 : 
  
 protos 
 . 
 google 
 . 
 cloud 
 . 
 oslogin 
 . 
 v1 
 . 
 IDeletePosixAccountRequest 
 , 
  
 options 
 : 
  
 CallOptions 
 , 
  
 callback 
 : 
  
 Callback<protos 
 . 
 google 
 . 
 protobuf 
 . 
 IEmpty 
 , 
  
 protos 
 . 
 google 
 . 
 cloud 
 . 
 oslogin 
 . 
 v1 
 . 
 IDeletePosixAccountRequest 
  
 | 
  
 null 
  
 | 
  
 undefined 
 , 
  
 {} 
  
 | 
  
 null 
  
 | 
  
 undefined 
> ) 
 : 
  
 void 
 ; 
 
Parameters
Name Description
request protos. google.cloud.oslogin.v1.IDeletePosixAccountRequest
options CallOptions
callback Callback <protos. google.protobuf.IEmpty , protos. google.cloud.oslogin.v1.IDeletePosixAccountRequest | null | undefined, {} | null | undefined>
Returns
Type Description
void
  deletePosixAccount 
 ( 
 request 
 : 
  
 protos 
 . 
 google 
 . 
 cloud 
 . 
 oslogin 
 . 
 v1 
 . 
 IDeletePosixAccountRequest 
 , 
  
 callback 
 : 
  
 Callback<protos 
 . 
 google 
 . 
 protobuf 
 . 
 IEmpty 
 , 
  
 protos 
 . 
 google 
 . 
 cloud 
 . 
 oslogin 
 . 
 v1 
 . 
 IDeletePosixAccountRequest 
  
 | 
  
 null 
  
 | 
  
 undefined 
 , 
  
 {} 
  
 | 
  
 null 
  
 | 
  
 undefined 
> ) 
 : 
  
 void 
 ; 
 
Parameters
Name Description
request protos. google.cloud.oslogin.v1.IDeletePosixAccountRequest
callback Callback <protos. google.protobuf.IEmpty , protos. google.cloud.oslogin.v1.IDeletePosixAccountRequest | null | undefined, {} | null | undefined>
Returns
Type Description
void
  deleteSshPublicKey 
 ( 
 request 
 ?: 
  
 protos 
 . 
 google 
 . 
 cloud 
 . 
 oslogin 
 . 
 v1 
 . 
 IDeleteSshPublicKeyRequest 
 , 
  
 options 
 ?: 
  
 CallOptions 
 ) 
 : 
  
 Promise 
< [ 
 protos 
 . 
 google 
 . 
 protobuf 
 . 
 IEmpty 
 , 
  
 protos 
 . 
 google 
 . 
 cloud 
 . 
 oslogin 
 . 
 v1 
 . 
 IDeleteSshPublicKeyRequest 
  
 | 
  
 undefined 
 , 
  
 {} 
  
 | 
  
 undefined 
 ]>; 
 
Parameters
Name Description
request protos. google.cloud.oslogin.v1.IDeleteSshPublicKeyRequest
options CallOptions
Returns
Type Description
Promise <[protos. google.protobuf.IEmpty , protos. google.cloud.oslogin.v1.IDeleteSshPublicKeyRequest | undefined, {} | undefined]>
  deleteSshPublicKey 
 ( 
 request 
 : 
  
 protos 
 . 
 google 
 . 
 cloud 
 . 
 oslogin 
 . 
 v1 
 . 
 IDeleteSshPublicKeyRequest 
 , 
  
 options 
 : 
  
 CallOptions 
 , 
  
 callback 
 : 
  
 Callback<protos 
 . 
 google 
 . 
 protobuf 
 . 
 IEmpty 
 , 
  
 protos 
 . 
 google 
 . 
 cloud 
 . 
 oslogin 
 . 
 v1 
 . 
 IDeleteSshPublicKeyRequest 
  
 | 
  
 null 
  
 | 
  
 undefined 
 , 
  
 {} 
  
 | 
  
 null 
  
 | 
  
 undefined 
> ) 
 : 
  
 void 
 ; 
 
Parameters
Name Description
request protos. google.cloud.oslogin.v1.IDeleteSshPublicKeyRequest
options CallOptions
callback Callback <protos. google.protobuf.IEmpty , protos. google.cloud.oslogin.v1.IDeleteSshPublicKeyRequest | null | undefined, {} | null | undefined>
Returns
Type Description
void
  deleteSshPublicKey 
 ( 
 request 
 : 
  
 protos 
 . 
 google 
 . 
 cloud 
 . 
 oslogin 
 . 
 v1 
 . 
 IDeleteSshPublicKeyRequest 
 , 
  
 callback 
 : 
  
 Callback<protos 
 . 
 google 
 . 
 protobuf 
 . 
 IEmpty 
 , 
  
 protos 
 . 
 google 
 . 
 cloud 
 . 
 oslogin 
 . 
 v1 
 . 
 IDeleteSshPublicKeyRequest 
  
 | 
  
 null 
  
 | 
  
 undefined 
 , 
  
 {} 
  
 | 
  
 null 
  
 | 
  
 undefined 
> ) 
 : 
  
 void 
 ; 
 
Parameters
Name Description
request protos. google.cloud.oslogin.v1.IDeleteSshPublicKeyRequest
callback Callback <protos. google.protobuf.IEmpty , protos. google.cloud.oslogin.v1.IDeleteSshPublicKeyRequest | null | undefined, {} | null | undefined>
Returns
Type Description
void
  getLoginProfile 
 ( 
 request 
 ?: 
  
 protos 
 . 
 google 
 . 
 cloud 
 . 
 oslogin 
 . 
 v1 
 . 
 IGetLoginProfileRequest 
 , 
  
 options 
 ?: 
  
 CallOptions 
 ) 
 : 
  
 Promise 
< [ 
 protos 
 . 
 google 
 . 
 cloud 
 . 
 oslogin 
 . 
 v1 
 . 
 ILoginProfile 
 , 
  
 protos 
 . 
 google 
 . 
 cloud 
 . 
 oslogin 
 . 
 v1 
 . 
 IGetLoginProfileRequest 
  
 | 
  
 undefined 
 , 
  
 {} 
  
 | 
  
 undefined 
 ]>; 
 
Parameters
Name Description
request protos. google.cloud.oslogin.v1.IGetLoginProfileRequest
options CallOptions
Returns
Type Description
Promise <[protos. google.cloud.oslogin.v1.ILoginProfile , protos. google.cloud.oslogin.v1.IGetLoginProfileRequest | undefined, {} | undefined]>
  getLoginProfile 
 ( 
 request 
 : 
  
 protos 
 . 
 google 
 . 
 cloud 
 . 
 oslogin 
 . 
 v1 
 . 
 IGetLoginProfileRequest 
 , 
  
 options 
 : 
  
 CallOptions 
 , 
  
 callback 
 : 
  
 Callback<protos 
 . 
 google 
 . 
 cloud 
 . 
 oslogin 
 . 
 v1 
 . 
 ILoginProfile 
 , 
  
 protos 
 . 
 google 
 . 
 cloud 
 . 
 oslogin 
 . 
 v1 
 . 
 IGetLoginProfileRequest 
  
 | 
  
 null 
  
 | 
  
 undefined 
 , 
  
 {} 
  
 | 
  
 null 
  
 | 
  
 undefined 
> ) 
 : 
  
 void 
 ; 
 
Parameters
Name Description
request protos. google.cloud.oslogin.v1.IGetLoginProfileRequest
options CallOptions
callback Callback <protos. google.cloud.oslogin.v1.ILoginProfile , protos. google.cloud.oslogin.v1.IGetLoginProfileRequest | null | undefined, {} | null | undefined>
Returns
Type Description
void
  getLoginProfile 
 ( 
 request 
 : 
  
 protos 
 . 
 google 
 . 
 cloud 
 . 
 oslogin 
 . 
 v1 
 . 
 IGetLoginProfileRequest 
 , 
  
 callback 
 : 
  
 Callback<protos 
 . 
 google 
 . 
 cloud 
 . 
 oslogin 
 . 
 v1 
 . 
 ILoginProfile 
 , 
  
 protos 
 . 
 google 
 . 
 cloud 
 . 
 oslogin 
 . 
 v1 
 . 
 IGetLoginProfileRequest 
  
 | 
  
 null 
  
 | 
  
 undefined 
 , 
  
 {} 
  
 | 
  
 null 
  
 | 
  
 undefined 
> ) 
 : 
  
 void 
 ; 
 
Parameters
Name Description
request protos. google.cloud.oslogin.v1.IGetLoginProfileRequest
callback Callback <protos. google.cloud.oslogin.v1.ILoginProfile , protos. google.cloud.oslogin.v1.IGetLoginProfileRequest | null | undefined, {} | null | undefined>
Returns
Type Description
void
  getProjectId 
 () 
 : 
  
 Promise<string> 
 ; 
 
Returns
Type Description
Promise <string>
  getProjectId 
 ( 
 callback 
 : 
  
 Callback<string 
 , 
  
 undefined 
 , 
  
 undefined 
> ) 
 : 
  
 void 
 ; 
 
Parameter
Name Description
callback Callback <string, undefined, undefined>
Returns
Type Description
void
  getSshPublicKey 
 ( 
 request 
 ?: 
  
 protos 
 . 
 google 
 . 
 cloud 
 . 
 oslogin 
 . 
 v1 
 . 
 IGetSshPublicKeyRequest 
 , 
  
 options 
 ?: 
  
 CallOptions 
 ) 
 : 
  
 Promise 
< [ 
 protos 
 . 
 google 
 . 
 cloud 
 . 
 oslogin 
 . 
 common 
 . 
 ISshPublicKey 
 , 
  
 protos 
 . 
 google 
 . 
 cloud 
 . 
 oslogin 
 . 
 v1 
 . 
 IGetSshPublicKeyRequest 
  
 | 
  
 undefined 
 , 
  
 {} 
  
 | 
  
 undefined 
 ]>; 
 
Parameters
Name Description
request protos. google.cloud.oslogin.v1.IGetSshPublicKeyRequest
options CallOptions
Returns
Type Description
Promise <[protos. google.cloud.oslogin.common.ISshPublicKey , protos. google.cloud.oslogin.v1.IGetSshPublicKeyRequest | undefined, {} | undefined]>
  getSshPublicKey 
 ( 
 request 
 : 
  
 protos 
 . 
 google 
 . 
 cloud 
 . 
 oslogin 
 . 
 v1 
 . 
 IGetSshPublicKeyRequest 
 , 
  
 options 
 : 
  
 CallOptions 
 , 
  
 callback 
 : 
  
 Callback<protos 
 . 
 google 
 . 
 cloud 
 . 
 oslogin 
 . 
 common 
 . 
 ISshPublicKey 
 , 
  
 protos 
 . 
 google 
 . 
 cloud 
 . 
 oslogin 
 . 
 v1 
 . 
 IGetSshPublicKeyRequest 
  
 | 
  
 null 
  
 | 
  
 undefined 
 , 
  
 {} 
  
 | 
  
 null 
  
 | 
  
 undefined 
> ) 
 : 
  
 void 
 ; 
 
Parameters
Name Description
request protos. google.cloud.oslogin.v1.IGetSshPublicKeyRequest
options CallOptions
callback Callback <protos. google.cloud.oslogin.common.ISshPublicKey , protos. google.cloud.oslogin.v1.IGetSshPublicKeyRequest | null | undefined, {} | null | undefined>
Returns
Type Description
void
  getSshPublicKey 
 ( 
 request 
 : 
  
 protos 
 . 
 google 
 . 
 cloud 
 . 
 oslogin 
 . 
 v1 
 . 
 IGetSshPublicKeyRequest 
 , 
  
 callback 
 : 
  
 Callback<protos 
 . 
 google 
 . 
 cloud 
 . 
 oslogin 
 . 
 common 
 . 
 ISshPublicKey 
 , 
  
 protos 
 . 
 google 
 . 
 cloud 
 . 
 oslogin 
 . 
 v1 
 . 
 IGetSshPublicKeyRequest 
  
 | 
  
 null 
  
 | 
  
 undefined 
 , 
  
 {} 
  
 | 
  
 null 
  
 | 
  
 undefined 
> ) 
 : 
  
 void 
 ; 
 
Parameters
Name Description
request protos. google.cloud.oslogin.v1.IGetSshPublicKeyRequest
callback Callback <protos. google.cloud.oslogin.common.ISshPublicKey , protos. google.cloud.oslogin.v1.IGetSshPublicKeyRequest | null | undefined, {} | null | undefined>
Returns
Type Description
void
  importSshPublicKey 
 ( 
 request 
 ?: 
  
 protos 
 . 
 google 
 . 
 cloud 
 . 
 oslogin 
 . 
 v1 
 . 
 IImportSshPublicKeyRequest 
 , 
  
 options 
 ?: 
  
 CallOptions 
 ) 
 : 
  
 Promise 
< [ 
 protos 
 . 
 google 
 . 
 cloud 
 . 
 oslogin 
 . 
 v1 
 . 
 IImportSshPublicKeyResponse 
 , 
  
 protos 
 . 
 google 
 . 
 cloud 
 . 
 oslogin 
 . 
 v1 
 . 
 IImportSshPublicKeyRequest 
  
 | 
  
 undefined 
 , 
  
 {} 
  
 | 
  
 undefined 
 ]>; 
 
Parameters
Name Description
request protos. google.cloud.oslogin.v1.IImportSshPublicKeyRequest
options CallOptions
Returns
Type Description
Promise <[protos. google.cloud.oslogin.v1.IImportSshPublicKeyResponse , protos. google.cloud.oslogin.v1.IImportSshPublicKeyRequest | undefined, {} | undefined]>
  importSshPublicKey 
 ( 
 request 
 : 
  
 protos 
 . 
 google 
 . 
 cloud 
 . 
 oslogin 
 . 
 v1 
 . 
 IImportSshPublicKeyRequest 
 , 
  
 options 
 : 
  
 CallOptions 
 , 
  
 callback 
 : 
  
 Callback<protos 
 . 
 google 
 . 
 cloud 
 . 
 oslogin 
 . 
 v1 
 . 
 IImportSshPublicKeyResponse 
 , 
  
 protos 
 . 
 google 
 . 
 cloud 
 . 
 oslogin 
 . 
 v1 
 . 
 IImportSshPublicKeyRequest 
  
 | 
  
 null 
  
 | 
  
 undefined 
 , 
  
 {} 
  
 | 
  
 null 
  
 | 
  
 undefined 
> ) 
 : 
  
 void 
 ; 
 
Parameters
Name Description
request protos. google.cloud.oslogin.v1.IImportSshPublicKeyRequest
options CallOptions
callback Callback <protos. google.cloud.oslogin.v1.IImportSshPublicKeyResponse , protos. google.cloud.oslogin.v1.IImportSshPublicKeyRequest | null | undefined, {} | null | undefined>
Returns
Type Description
void
  importSshPublicKey 
 ( 
 request 
 : 
  
 protos 
 . 
 google 
 . 
 cloud 
 . 
 oslogin 
 . 
 v1 
 . 
 IImportSshPublicKeyRequest 
 , 
  
 callback 
 : 
  
 Callback<protos 
 . 
 google 
 . 
 cloud 
 . 
 oslogin 
 . 
 v1 
 . 
 IImportSshPublicKeyResponse 
 , 
  
 protos 
 . 
 google 
 . 
 cloud 
 . 
 oslogin 
 . 
 v1 
 . 
 IImportSshPublicKeyRequest 
  
 | 
  
 null 
  
 | 
  
 undefined 
 , 
  
 {} 
  
 | 
  
 null 
  
 | 
  
 undefined 
> ) 
 : 
  
 void 
 ; 
 
Parameters
Name Description
request protos. google.cloud.oslogin.v1.IImportSshPublicKeyRequest
callback Callback <protos. google.cloud.oslogin.v1.IImportSshPublicKeyResponse , protos. google.cloud.oslogin.v1.IImportSshPublicKeyRequest | null | undefined, {} | null | undefined>
Returns
Type Description
void
  initialize 
 () 
 : 
  
 Promise 
< { 
  
 [ 
 name 
 : 
  
 string 
 ] 
 : 
  
 Function 
 ; 
  
 }>; 
 

Initialize the client. Performs asynchronous operations (such as authentication) and prepares the client. This function will be called automatically when any class method is called for the first time, but if you need to initialize it before calling an actual method, feel free to call initialize() directly.

You can await on this method if you want to make sure the client is initialized.

Returns
Type Description
Promise <{ [name: string]: Function ; }>

{Promise} A promise that resolves to an authenticated service stub.

  matchFingerprintFromSshPublicKeyName 
 ( 
 sshPublicKeyName 
 : 
  
 string 
 ) 
 : 
  
 string 
  
 | 
  
 number 
 ; 
 

Parse the fingerprint from SshPublicKey resource.

Parameter
Name Description
sshPublicKeyName string

A fully-qualified path representing SshPublicKey resource.

Returns
Type Description
string | number

{string} A string representing the fingerprint.

  matchProjectFromPosixAccountName 
 ( 
 posixAccountName 
 : 
  
 string 
 ) 
 : 
  
 string 
  
 | 
  
 number 
 ; 
 

Parse the project from PosixAccount resource.

Parameter
Name Description
posixAccountName string

A fully-qualified path representing PosixAccount resource.

Returns
Type Description
string | number

{string} A string representing the project.

  matchUserFromPosixAccountName 
 ( 
 posixAccountName 
 : 
  
 string 
 ) 
 : 
  
 string 
  
 | 
  
 number 
 ; 
 

Parse the user from PosixAccount resource.

Parameter
Name Description
posixAccountName string

A fully-qualified path representing PosixAccount resource.

Returns
Type Description
string | number

{string} A string representing the user.

  matchUserFromSshPublicKeyName 
 ( 
 sshPublicKeyName 
 : 
  
 string 
 ) 
 : 
  
 string 
  
 | 
  
 number 
 ; 
 

Parse the user from SshPublicKey resource.

Parameter
Name Description
sshPublicKeyName string

A fully-qualified path representing SshPublicKey resource.

Returns
Type Description
string | number

{string} A string representing the user.

  matchUserFromUserName 
 ( 
 userName 
 : 
  
 string 
 ) 
 : 
  
 string 
  
 | 
  
 number 
 ; 
 

Parse the user from User resource.

Parameter
Name Description
userName string

A fully-qualified path representing User resource.

Returns
Type Description
string | number

{string} A string representing the user.

  posixAccountPath 
 ( 
 user 
 : 
  
 string 
 , 
  
 project 
 : 
  
 string 
 ) 
 : 
  
 string 
 ; 
 

Return a fully-qualified posixAccount resource name string.

Parameters
Name Description
user string
project string
Returns
Type Description
string

{string} Resource name string.

  sshPublicKeyPath 
 ( 
 user 
 : 
  
 string 
 , 
  
 fingerprint 
 : 
  
 string 
 ) 
 : 
  
 string 
 ; 
 

Return a fully-qualified sshPublicKey resource name string.

Parameters
Name Description
user string
fingerprint string
Returns
Type Description
string

{string} Resource name string.

  updateSshPublicKey 
 ( 
 request 
 ?: 
  
 protos 
 . 
 google 
 . 
 cloud 
 . 
 oslogin 
 . 
 v1 
 . 
 IUpdateSshPublicKeyRequest 
 , 
  
 options 
 ?: 
  
 CallOptions 
 ) 
 : 
  
 Promise 
< [ 
 protos 
 . 
 google 
 . 
 cloud 
 . 
 oslogin 
 . 
 common 
 . 
 ISshPublicKey 
 , 
  
 protos 
 . 
 google 
 . 
 cloud 
 . 
 oslogin 
 . 
 v1 
 . 
 IUpdateSshPublicKeyRequest 
  
 | 
  
 undefined 
 , 
  
 {} 
  
 | 
  
 undefined 
 ]>; 
 
Parameters
Name Description
request protos. google.cloud.oslogin.v1.IUpdateSshPublicKeyRequest
options CallOptions
Returns
Type Description
Promise <[protos. google.cloud.oslogin.common.ISshPublicKey , protos. google.cloud.oslogin.v1.IUpdateSshPublicKeyRequest | undefined, {} | undefined]>
  updateSshPublicKey 
 ( 
 request 
 : 
  
 protos 
 . 
 google 
 . 
 cloud 
 . 
 oslogin 
 . 
 v1 
 . 
 IUpdateSshPublicKeyRequest 
 , 
  
 options 
 : 
  
 CallOptions 
 , 
  
 callback 
 : 
  
 Callback<protos 
 . 
 google 
 . 
 cloud 
 . 
 oslogin 
 . 
 common 
 . 
 ISshPublicKey 
 , 
  
 protos 
 . 
 google 
 . 
 cloud 
 . 
 oslogin 
 . 
 v1 
 . 
 IUpdateSshPublicKeyRequest 
  
 | 
  
 null 
  
 | 
  
 undefined 
 , 
  
 {} 
  
 | 
  
 null 
  
 | 
  
 undefined 
> ) 
 : 
  
 void 
 ; 
 
Parameters
Name Description
request protos. google.cloud.oslogin.v1.IUpdateSshPublicKeyRequest
options CallOptions
callback Callback <protos. google.cloud.oslogin.common.ISshPublicKey , protos. google.cloud.oslogin.v1.IUpdateSshPublicKeyRequest | null | undefined, {} | null | undefined>
Returns
Type Description
void
  updateSshPublicKey 
 ( 
 request 
 : 
  
 protos 
 . 
 google 
 . 
 cloud 
 . 
 oslogin 
 . 
 v1 
 . 
 IUpdateSshPublicKeyRequest 
 , 
  
 callback 
 : 
  
 Callback<protos 
 . 
 google 
 . 
 cloud 
 . 
 oslogin 
 . 
 common 
 . 
 ISshPublicKey 
 , 
  
 protos 
 . 
 google 
 . 
 cloud 
 . 
 oslogin 
 . 
 v1 
 . 
 IUpdateSshPublicKeyRequest 
  
 | 
  
 null 
  
 | 
  
 undefined 
 , 
  
 {} 
  
 | 
  
 null 
  
 | 
  
 undefined 
> ) 
 : 
  
 void 
 ; 
 
Parameters
Name Description
request protos. google.cloud.oslogin.v1.IUpdateSshPublicKeyRequest
callback Callback <protos. google.cloud.oslogin.common.ISshPublicKey , protos. google.cloud.oslogin.v1.IUpdateSshPublicKeyRequest | null | undefined, {} | null | undefined>
Returns
Type Description
void
  userPath 
 ( 
 user 
 : 
  
 string 
 ) 
 : 
  
 string 
 ; 
 

Return a fully-qualified user resource name string.

Parameter
Name Description
user string
Returns
Type Description
string

{string} Resource name string.

Create a Mobile Website
View Site in Mobile | Classic
Share by: