Represents a TenantService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.talent.v4beta1.TenantServicePackage
@google-cloud/talentConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new TenantService service.
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): TenantService;
Creates new TenantService service using the specified rpc implementation.
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Type | Description |
TenantService | RPC service. Useful where requests and/or responses are streamed. |
createTenant(request, callback)
public createTenant(request: google.cloud.talent.v4beta1.ICreateTenantRequest, callback: google.cloud.talent.v4beta1.TenantService.CreateTenantCallback): void;
Calls CreateTenant.
Name | Description |
request |
google.cloud.talent.v4beta1.ICreateTenantRequest
CreateTenantRequest message or plain object |
callback |
google.cloud.talent.v4beta1.TenantService.CreateTenantCallback
Node-style callback called with the error, if any, and Tenant |
Type | Description |
void |
createTenant(request)
public createTenant(request: google.cloud.talent.v4beta1.ICreateTenantRequest): Promise<google.cloud.talent.v4beta1.Tenant>;
Calls CreateTenant.
Name | Description |
request |
google.cloud.talent.v4beta1.ICreateTenantRequest
CreateTenantRequest message or plain object |
Type | Description |
Promise<google.cloud.talent.v4beta1.Tenant> | Promise |
deleteTenant(request, callback)
public deleteTenant(request: google.cloud.talent.v4beta1.IDeleteTenantRequest, callback: google.cloud.talent.v4beta1.TenantService.DeleteTenantCallback): void;
Calls DeleteTenant.
Name | Description |
request |
google.cloud.talent.v4beta1.IDeleteTenantRequest
DeleteTenantRequest message or plain object |
callback |
google.cloud.talent.v4beta1.TenantService.DeleteTenantCallback
Node-style callback called with the error, if any, and Empty |
Type | Description |
void |
deleteTenant(request)
public deleteTenant(request: google.cloud.talent.v4beta1.IDeleteTenantRequest): Promise<google.protobuf.Empty>;
Calls DeleteTenant.
Name | Description |
request |
google.cloud.talent.v4beta1.IDeleteTenantRequest
DeleteTenantRequest message or plain object |
Type | Description |
Promise<google.protobuf.Empty> | Promise |
getTenant(request, callback)
public getTenant(request: google.cloud.talent.v4beta1.IGetTenantRequest, callback: google.cloud.talent.v4beta1.TenantService.GetTenantCallback): void;
Calls GetTenant.
Name | Description |
request |
IGetTenantRequest
GetTenantRequest message or plain object |
callback |
google.cloud.talent.v4beta1.TenantService.GetTenantCallback
Node-style callback called with the error, if any, and Tenant |
Type | Description |
void |
getTenant(request)
public getTenant(request: google.cloud.talent.v4beta1.IGetTenantRequest): Promise<google.cloud.talent.v4beta1.Tenant>;
Calls GetTenant.
Name | Description |
request |
IGetTenantRequest
GetTenantRequest message or plain object |
Type | Description |
Promise<google.cloud.talent.v4beta1.Tenant> | Promise |
listTenants(request, callback)
public listTenants(request: google.cloud.talent.v4beta1.IListTenantsRequest, callback: google.cloud.talent.v4beta1.TenantService.ListTenantsCallback): void;
Calls ListTenants.
Name | Description |
request |
google.cloud.talent.v4beta1.IListTenantsRequest
ListTenantsRequest message or plain object |
callback |
google.cloud.talent.v4beta1.TenantService.ListTenantsCallback
Node-style callback called with the error, if any, and ListTenantsResponse |
Type | Description |
void |
listTenants(request)
public listTenants(request: google.cloud.talent.v4beta1.IListTenantsRequest): Promise<google.cloud.talent.v4beta1.ListTenantsResponse>;
Calls ListTenants.
Name | Description |
request |
google.cloud.talent.v4beta1.IListTenantsRequest
ListTenantsRequest message or plain object |
Type | Description |
Promise<google.cloud.talent.v4beta1.ListTenantsResponse> | Promise |
updateTenant(request, callback)
public updateTenant(request: google.cloud.talent.v4beta1.IUpdateTenantRequest, callback: google.cloud.talent.v4beta1.TenantService.UpdateTenantCallback): void;
Calls UpdateTenant.
Name | Description |
request |
google.cloud.talent.v4beta1.IUpdateTenantRequest
UpdateTenantRequest message or plain object |
callback |
google.cloud.talent.v4beta1.TenantService.UpdateTenantCallback
Node-style callback called with the error, if any, and Tenant |
Type | Description |
void |
updateTenant(request)
public updateTenant(request: google.cloud.talent.v4beta1.IUpdateTenantRequest): Promise<google.cloud.talent.v4beta1.Tenant>;
Calls UpdateTenant.
Name | Description |
request |
google.cloud.talent.v4beta1.IUpdateTenantRequest
UpdateTenantRequest message or plain object |
Type | Description |
Promise<google.cloud.talent.v4beta1.Tenant> | Promise |