A service that handles application management, including CRUD and enumeration. v4beta1
Package
@google-cloud/talentConstructors
(constructor)(opts)
constructor(opts?: ClientOptions);
Construct an instance of ApplicationServiceClient.
Name | Description |
opts |
ClientOptions
|
Properties
apiEndpoint
static get apiEndpoint(): string;
The DNS address for this API service - same as servicePath(), exists for compatibility reasons.
applicationServiceStub
applicationServiceStub?: Promise<{
[name: string]: Function;
}>;
auth
auth: gax.GoogleAuth;
descriptors
descriptors: Descriptors;
innerApiCalls
innerApiCalls: {
[name: string]: Function;
};
pathTemplates
pathTemplates: {
[name: string]: gax.PathTemplate;
};
port
static get port(): number;
The port for this API service.
scopes
static get scopes(): string[];
The scopes needed to make gRPC calls for every method defined in this service.
servicePath
static get servicePath(): string;
The DNS address for this API service.
warn
warn: (code: string, message: string, warnType?: string) => void;
Methods
applicationPath(project, tenant, profile, application)
applicationPath(project: string, tenant: string, profile: string, application: string): string;
Return a fully-qualified application resource name string.
Name | Description |
project |
string
|
tenant |
string
|
profile |
string
|
application |
string
|
Type | Description |
string | {string} Resource name string. |
close()
close(): Promise<void>;
Terminate the gRPC channel and close the client.
The client will no longer be usable and all future behavior is undefined.
Type | Description |
Promise<void> | {Promise} A promise that resolves when the client is closed. |
createApplication(request, options)
createApplication(request?: protos.google.cloud.talent.v4beta1.ICreateApplicationRequest, options?: CallOptions): Promise<[
protos.google.cloud.talent.v4beta1.IApplication,
protos.google.cloud.talent.v4beta1.ICreateApplicationRequest | undefined,
{} | undefined
]>;
Creates a new application entity.
Name | Description |
request |
protos.google.cloud.talent.v4beta1.ICreateApplicationRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
Type | Description |
Promise<[ protos.google.cloud.talent.v4beta1.IApplication, protos.google.cloud.talent.v4beta1.ICreateApplicationRequest | undefined, {} | undefined ]> | {Promise} - The promise which resolves to an array. The first element of the array is an object representing [Application]. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) for more details and examples. |
/**
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. Resource name of the profile under which the application is created.
* The format is
* "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}".
* For example, "projects/foo/tenants/bar/profiles/baz".
*/
// const parent = 'abc123'
/**
* Required. The application to be created.
*/
// const application = {}
// Imports the Talent library
const {ApplicationServiceClient} = require('@google-cloud/talent').v4beta1;
// Instantiates a client
const talentClient = new ApplicationServiceClient();
async function callCreateApplication() {
// Construct request
const request = {
parent,
application,
};
// Run request
const response = await talentClient.createApplication(request);
console.log(response);
}
callCreateApplication();
createApplication(request, options, callback)
createApplication(request: protos.google.cloud.talent.v4beta1.ICreateApplicationRequest, options: CallOptions, callback: Callback<protos.google.cloud.talent.v4beta1.IApplication, protos.google.cloud.talent.v4beta1.ICreateApplicationRequest | null | undefined, {} | null | undefined>): void;
Name | Description |
request |
protos.google.cloud.talent.v4beta1.ICreateApplicationRequest
|
options |
CallOptions
|
callback |
Callback<protos.google.cloud.talent.v4beta1.IApplication, protos.google.cloud.talent.v4beta1.ICreateApplicationRequest | null | undefined, {} | null | undefined>
|
Type | Description |
void |
createApplication(request, callback)
createApplication(request: protos.google.cloud.talent.v4beta1.ICreateApplicationRequest, callback: Callback<protos.google.cloud.talent.v4beta1.IApplication, protos.google.cloud.talent.v4beta1.ICreateApplicationRequest | null | undefined, {} | null | undefined>): void;
Name | Description |
request |
protos.google.cloud.talent.v4beta1.ICreateApplicationRequest
|
callback |
Callback<protos.google.cloud.talent.v4beta1.IApplication, protos.google.cloud.talent.v4beta1.ICreateApplicationRequest | null | undefined, {} | null | undefined>
|
Type | Description |
void |
deleteApplication(request, options)
deleteApplication(request?: protos.google.cloud.talent.v4beta1.IDeleteApplicationRequest, options?: CallOptions): Promise<[
protos.google.protobuf.IEmpty,
protos.google.cloud.talent.v4beta1.IDeleteApplicationRequest | undefined,
{} | undefined
]>;
Deletes specified application.
Name | Description |
request |
protos.google.cloud.talent.v4beta1.IDeleteApplicationRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
Type | Description |
Promise<[ protos.google.protobuf.IEmpty, protos.google.cloud.talent.v4beta1.IDeleteApplicationRequest | undefined, {} | undefined ]> | {Promise} - The promise which resolves to an array. The first element of the array is an object representing [Empty]. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) for more details and examples. |
/**
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. The resource name of the application to be deleted.
* The format is
* "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}/applications/{application_id}".
* For example, "projects/foo/tenants/bar/profiles/baz/applications/qux".
*/
// const name = 'abc123'
// Imports the Talent library
const {ApplicationServiceClient} = require('@google-cloud/talent').v4beta1;
// Instantiates a client
const talentClient = new ApplicationServiceClient();
async function callDeleteApplication() {
// Construct request
const request = {
name,
};
// Run request
const response = await talentClient.deleteApplication(request);
console.log(response);
}
callDeleteApplication();
deleteApplication(request, options, callback)
deleteApplication(request: protos.google.cloud.talent.v4beta1.IDeleteApplicationRequest, options: CallOptions, callback: Callback<protos.google.protobuf.IEmpty, protos.google.cloud.talent.v4beta1.IDeleteApplicationRequest | null | undefined, {} | null | undefined>): void;
Name | Description |
request |
protos.google.cloud.talent.v4beta1.IDeleteApplicationRequest
|
options |
CallOptions
|
callback |
Callback<protos.google.protobuf.IEmpty, protos.google.cloud.talent.v4beta1.IDeleteApplicationRequest | null | undefined, {} | null | undefined>
|
Type | Description |
void |
deleteApplication(request, callback)
deleteApplication(request: protos.google.cloud.talent.v4beta1.IDeleteApplicationRequest, callback: Callback<protos.google.protobuf.IEmpty, protos.google.cloud.talent.v4beta1.IDeleteApplicationRequest | null | undefined, {} | null | undefined>): void;
Name | Description |
request |
protos.google.cloud.talent.v4beta1.IDeleteApplicationRequest
|
callback |
Callback<protos.google.protobuf.IEmpty, protos.google.cloud.talent.v4beta1.IDeleteApplicationRequest | null | undefined, {} | null | undefined>
|
Type | Description |
void |
getApplication(request, options)
getApplication(request?: protos.google.cloud.talent.v4beta1.IGetApplicationRequest, options?: CallOptions): Promise<[
protos.google.cloud.talent.v4beta1.IApplication,
protos.google.cloud.talent.v4beta1.IGetApplicationRequest | undefined,
{} | undefined
]>;
Retrieves specified application.
Name | Description |
request |
protos.google.cloud.talent.v4beta1.IGetApplicationRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
Type | Description |
Promise<[ protos.google.cloud.talent.v4beta1.IApplication, protos.google.cloud.talent.v4beta1.IGetApplicationRequest | undefined, {} | undefined ]> | {Promise} - The promise which resolves to an array. The first element of the array is an object representing [Application]. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) for more details and examples. |
/**
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. The resource name of the application to be retrieved.
* The format is
* "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}/applications/{application_id}".
* For example, "projects/foo/tenants/bar/profiles/baz/applications/qux".
*/
// const name = 'abc123'
// Imports the Talent library
const {ApplicationServiceClient} = require('@google-cloud/talent').v4beta1;
// Instantiates a client
const talentClient = new ApplicationServiceClient();
async function callGetApplication() {
// Construct request
const request = {
name,
};
// Run request
const response = await talentClient.getApplication(request);
console.log(response);
}
callGetApplication();
getApplication(request, options, callback)
getApplication(request: protos.google.cloud.talent.v4beta1.IGetApplicationRequest, options: CallOptions, callback: Callback<protos.google.cloud.talent.v4beta1.IApplication, protos.google.cloud.talent.v4beta1.IGetApplicationRequest | null | undefined, {} | null | undefined>): void;
Name | Description |
request |
protos.google.cloud.talent.v4beta1.IGetApplicationRequest
|
options |
CallOptions
|
callback |
Callback<protos.google.cloud.talent.v4beta1.IApplication, protos.google.cloud.talent.v4beta1.IGetApplicationRequest | null | undefined, {} | null | undefined>
|
Type | Description |
void |
getApplication(request, callback)
getApplication(request: protos.google.cloud.talent.v4beta1.IGetApplicationRequest, callback: Callback<protos.google.cloud.talent.v4beta1.IApplication, protos.google.cloud.talent.v4beta1.IGetApplicationRequest | null | undefined, {} | null | undefined>): void;
Name | Description |
request |
protos.google.cloud.talent.v4beta1.IGetApplicationRequest
|
callback |
Callback<protos.google.cloud.talent.v4beta1.IApplication, protos.google.cloud.talent.v4beta1.IGetApplicationRequest | null | undefined, {} | null | undefined>
|
Type | Description |
void |
getProjectId()
getProjectId(): Promise<string>;
Type | Description |
Promise<string> |
getProjectId(callback)
getProjectId(callback: Callback<string, undefined, undefined>): void;
Name | Description |
callback |
Callback<string, undefined, undefined>
|
Type | Description |
void |
initialize()
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.
Type | Description |
Promise<{ [name: string]: Function; }> | {Promise} A promise that resolves to an authenticated service stub. |
listApplications(request, options)
listApplications(request?: protos.google.cloud.talent.v4beta1.IListApplicationsRequest, options?: CallOptions): Promise<[
protos.google.cloud.talent.v4beta1.IApplication[],
protos.google.cloud.talent.v4beta1.IListApplicationsRequest | null,
protos.google.cloud.talent.v4beta1.IListApplicationsResponse
]>;
Lists all applications associated with the profile.
Name | Description |
request |
protos.google.cloud.talent.v4beta1.IListApplicationsRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
Type | Description |
Promise<[ protos.google.cloud.talent.v4beta1.IApplication[], protos.google.cloud.talent.v4beta1.IListApplicationsRequest | null, protos.google.cloud.talent.v4beta1.IListApplicationsResponse ]> | {Promise} - The promise which resolves to an array. The first element of the array is Array of [Application]. The client library will perform auto-pagination by default: it will call the API as many times as needed and will merge results from all the pages into this array. Note that it can affect your quota. We recommend using |
listApplications(request, options, callback)
listApplications(request: protos.google.cloud.talent.v4beta1.IListApplicationsRequest, options: CallOptions, callback: PaginationCallback<protos.google.cloud.talent.v4beta1.IListApplicationsRequest, protos.google.cloud.talent.v4beta1.IListApplicationsResponse | null | undefined, protos.google.cloud.talent.v4beta1.IApplication>): void;
Name | Description |
request |
protos.google.cloud.talent.v4beta1.IListApplicationsRequest
|
options |
CallOptions
|
callback |
PaginationCallback<protos.google.cloud.talent.v4beta1.IListApplicationsRequest, protos.google.cloud.talent.v4beta1.IListApplicationsResponse | null | undefined, protos.google.cloud.talent.v4beta1.IApplication>
|
Type | Description |
void |
listApplications(request, callback)
listApplications(request: protos.google.cloud.talent.v4beta1.IListApplicationsRequest, callback: PaginationCallback<protos.google.cloud.talent.v4beta1.IListApplicationsRequest, protos.google.cloud.talent.v4beta1.IListApplicationsResponse | null | undefined, protos.google.cloud.talent.v4beta1.IApplication>): void;
Name | Description |
request |
protos.google.cloud.talent.v4beta1.IListApplicationsRequest
|
callback |
PaginationCallback<protos.google.cloud.talent.v4beta1.IListApplicationsRequest, protos.google.cloud.talent.v4beta1.IListApplicationsResponse | null | undefined, protos.google.cloud.talent.v4beta1.IApplication>
|
Type | Description |
void |
listApplicationsAsync(request, options)
listApplicationsAsync(request?: protos.google.cloud.talent.v4beta1.IListApplicationsRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.talent.v4beta1.IApplication>;
Equivalent to listApplications
, but returns an iterable object.
for
-await
-of
syntax is used with the iterable to get response elements on-demand.
Name | Description |
request |
protos.google.cloud.talent.v4beta1.IListApplicationsRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
Type | Description |
AsyncIterable<protos.google.cloud.talent.v4beta1.IApplication> | {Object} An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols). When you iterate the returned iterable, each element will be an object representing [Application]. The API will be called under the hood as needed, once per the page, so you can stop the iteration when you don't need more results. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples. |
/**
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. Resource name of the profile under which the application is created.
* The format is
* "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}", for
* example, "projects/foo/tenants/bar/profiles/baz".
*/
// const parent = 'abc123'
/**
* The starting indicator from which to return results.
*/
// const pageToken = 'abc123'
/**
* The maximum number of applications to be returned, at most 100.
* Default is 100 if a non-positive number is provided.
*/
// const pageSize = 1234
// Imports the Talent library
const {ApplicationServiceClient} = require('@google-cloud/talent').v4beta1;
// Instantiates a client
const talentClient = new ApplicationServiceClient();
async function callListApplications() {
// Construct request
const request = {
parent,
};
// Run request
const iterable = await talentClient.listApplicationsAsync(request);
for await (const response of iterable) {
console.log(response);
}
}
callListApplications();
listApplicationsStream(request, options)
listApplicationsStream(request?: protos.google.cloud.talent.v4beta1.IListApplicationsRequest, options?: CallOptions): Transform;
Equivalent to method.name.toCamelCase()
, but returns a NodeJS Stream object.
Name | Description |
request |
protos.google.cloud.talent.v4beta1.IListApplicationsRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
Type | Description |
Transform | {Stream} An object stream which emits an object representing [Application] on 'data' event. The client library will perform auto-pagination by default: it will call the API as many times as needed. Note that it can affect your quota. We recommend using |
matchApplicationFromApplicationName(applicationName)
matchApplicationFromApplicationName(applicationName: string): string | number;
Parse the application from Application resource.
Name | Description |
applicationName |
string
A fully-qualified path representing Application resource. |
Type | Description |
string | number | {string} A string representing the application. |
matchCompanyFromProjectCompanyName(projectCompanyName)
matchCompanyFromProjectCompanyName(projectCompanyName: string): string | number;
Parse the company from ProjectCompany resource.
Name | Description |
projectCompanyName |
string
A fully-qualified path representing project_company resource. |
Type | Description |
string | number | {string} A string representing the company. |
matchCompanyFromProjectTenantCompanyName(projectTenantCompanyName)
matchCompanyFromProjectTenantCompanyName(projectTenantCompanyName: string): string | number;
Parse the company from ProjectTenantCompany resource.
Name | Description |
projectTenantCompanyName |
string
A fully-qualified path representing project_tenant_company resource. |
Type | Description |
string | number | {string} A string representing the company. |
matchJobFromProjectJobName(projectJobName)
matchJobFromProjectJobName(projectJobName: string): string | number;
Parse the job from ProjectJob resource.
Name | Description |
projectJobName |
string
A fully-qualified path representing project_job resource. |
Type | Description |
string | number | {string} A string representing the job. |
matchJobFromProjectTenantJobName(projectTenantJobName)
matchJobFromProjectTenantJobName(projectTenantJobName: string): string | number;
Parse the job from ProjectTenantJob resource.
Name | Description |
projectTenantJobName |
string
A fully-qualified path representing project_tenant_job resource. |
Type | Description |
string | number | {string} A string representing the job. |
matchProfileFromApplicationName(applicationName)
matchProfileFromApplicationName(applicationName: string): string | number;
Parse the profile from Application resource.
Name | Description |
applicationName |
string
A fully-qualified path representing Application resource. |
Type | Description |
string | number | {string} A string representing the profile. |
matchProfileFromProfileName(profileName)
matchProfileFromProfileName(profileName: string): string | number;
Parse the profile from Profile resource.
Name | Description |
profileName |
string
A fully-qualified path representing Profile resource. |
Type | Description |
string | number | {string} A string representing the profile. |
matchProjectFromApplicationName(applicationName)
matchProjectFromApplicationName(applicationName: string): string | number;
Parse the project from Application resource.
Name | Description |
applicationName |
string
A fully-qualified path representing Application resource. |
Type | Description |
string | number | {string} A string representing the project. |
matchProjectFromProfileName(profileName)
matchProjectFromProfileName(profileName: string): string | number;
Parse the project from Profile resource.
Name | Description |
profileName |
string
A fully-qualified path representing Profile resource. |
Type | Description |
string | number | {string} A string representing the project. |
matchProjectFromProjectCompanyName(projectCompanyName)
matchProjectFromProjectCompanyName(projectCompanyName: string): string | number;
Parse the project from ProjectCompany resource.
Name | Description |
projectCompanyName |
string
A fully-qualified path representing project_company resource. |
Type | Description |
string | number | {string} A string representing the project. |
matchProjectFromProjectJobName(projectJobName)
matchProjectFromProjectJobName(projectJobName: string): string | number;
Parse the project from ProjectJob resource.
Name | Description |
projectJobName |
string
A fully-qualified path representing project_job resource. |
Type | Description |
string | number | {string} A string representing the project. |
matchProjectFromProjectTenantCompanyName(projectTenantCompanyName)
matchProjectFromProjectTenantCompanyName(projectTenantCompanyName: string): string | number;
Parse the project from ProjectTenantCompany resource.
Name | Description |
projectTenantCompanyName |
string
A fully-qualified path representing project_tenant_company resource. |
Type | Description |
string | number | {string} A string representing the project. |
matchProjectFromProjectTenantJobName(projectTenantJobName)
matchProjectFromProjectTenantJobName(projectTenantJobName: string): string | number;
Parse the project from ProjectTenantJob resource.
Name | Description |
projectTenantJobName |
string
A fully-qualified path representing project_tenant_job resource. |
Type | Description |
string | number | {string} A string representing the project. |
matchProjectFromTenantName(tenantName)
matchProjectFromTenantName(tenantName: string): string | number;
Parse the project from Tenant resource.
Name | Description |
tenantName |
string
A fully-qualified path representing Tenant resource. |
Type | Description |
string | number | {string} A string representing the project. |
matchTenantFromApplicationName(applicationName)
matchTenantFromApplicationName(applicationName: string): string | number;
Parse the tenant from Application resource.
Name | Description |
applicationName |
string
A fully-qualified path representing Application resource. |
Type | Description |
string | number | {string} A string representing the tenant. |
matchTenantFromProfileName(profileName)
matchTenantFromProfileName(profileName: string): string | number;
Parse the tenant from Profile resource.
Name | Description |
profileName |
string
A fully-qualified path representing Profile resource. |
Type | Description |
string | number | {string} A string representing the tenant. |
matchTenantFromProjectTenantCompanyName(projectTenantCompanyName)
matchTenantFromProjectTenantCompanyName(projectTenantCompanyName: string): string | number;
Parse the tenant from ProjectTenantCompany resource.
Name | Description |
projectTenantCompanyName |
string
A fully-qualified path representing project_tenant_company resource. |
Type | Description |
string | number | {string} A string representing the tenant. |
matchTenantFromProjectTenantJobName(projectTenantJobName)
matchTenantFromProjectTenantJobName(projectTenantJobName: string): string | number;
Parse the tenant from ProjectTenantJob resource.
Name | Description |
projectTenantJobName |
string
A fully-qualified path representing project_tenant_job resource. |
Type | Description |
string | number | {string} A string representing the tenant. |
matchTenantFromTenantName(tenantName)
matchTenantFromTenantName(tenantName: string): string | number;
Parse the tenant from Tenant resource.
Name | Description |
tenantName |
string
A fully-qualified path representing Tenant resource. |
Type | Description |
string | number | {string} A string representing the tenant. |
profilePath(project, tenant, profile)
profilePath(project: string, tenant: string, profile: string): string;
Return a fully-qualified profile resource name string.
Name | Description |
project |
string
|
tenant |
string
|
profile |
string
|
Type | Description |
string | {string} Resource name string. |
projectCompanyPath(project, company)
projectCompanyPath(project: string, company: string): string;
Return a fully-qualified projectCompany resource name string.
Name | Description |
project |
string
|
company |
string
|
Type | Description |
string | {string} Resource name string. |
projectJobPath(project, job)
projectJobPath(project: string, job: string): string;
Return a fully-qualified projectJob resource name string.
Name | Description |
project |
string
|
job |
string
|
Type | Description |
string | {string} Resource name string. |
projectTenantCompanyPath(project, tenant, company)
projectTenantCompanyPath(project: string, tenant: string, company: string): string;
Return a fully-qualified projectTenantCompany resource name string.
Name | Description |
project |
string
|
tenant |
string
|
company |
string
|
Type | Description |
string | {string} Resource name string. |
projectTenantJobPath(project, tenant, job)
projectTenantJobPath(project: string, tenant: string, job: string): string;
Return a fully-qualified projectTenantJob resource name string.
Name | Description |
project |
string
|
tenant |
string
|
job |
string
|
Type | Description |
string | {string} Resource name string. |
tenantPath(project, tenant)
tenantPath(project: string, tenant: string): string;
Return a fully-qualified tenant resource name string.
Name | Description |
project |
string
|
tenant |
string
|
Type | Description |
string | {string} Resource name string. |
updateApplication(request, options)
updateApplication(request?: protos.google.cloud.talent.v4beta1.IUpdateApplicationRequest, options?: CallOptions): Promise<[
protos.google.cloud.talent.v4beta1.IApplication,
protos.google.cloud.talent.v4beta1.IUpdateApplicationRequest | undefined,
{} | undefined
]>;
Updates specified application.
Name | Description |
request |
protos.google.cloud.talent.v4beta1.IUpdateApplicationRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
Type | Description |
Promise<[ protos.google.cloud.talent.v4beta1.IApplication, protos.google.cloud.talent.v4beta1.IUpdateApplicationRequest | undefined, {} | undefined ]> | {Promise} - The promise which resolves to an array. The first element of the array is an object representing [Application]. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) for more details and examples. |
/**
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. The application resource to replace the current resource in the system.
*/
// const application = {}
/**
* Strongly recommended for the best service experience.
* If update_mask google.cloud.talent.v4beta1.UpdateApplicationRequest.update_mask is provided, only the specified fields in
* application google.cloud.talent.v4beta1.UpdateApplicationRequest.application are updated. Otherwise all the fields are updated.
* A field mask to specify the application fields to be updated. Only
* top level fields of Application google.cloud.talent.v4beta1.Application are supported.
*/
// const updateMask = {}
// Imports the Talent library
const {ApplicationServiceClient} = require('@google-cloud/talent').v4beta1;
// Instantiates a client
const talentClient = new ApplicationServiceClient();
async function callUpdateApplication() {
// Construct request
const request = {
application,
};
// Run request
const response = await talentClient.updateApplication(request);
console.log(response);
}
callUpdateApplication();
updateApplication(request, options, callback)
updateApplication(request: protos.google.cloud.talent.v4beta1.IUpdateApplicationRequest, options: CallOptions, callback: Callback<protos.google.cloud.talent.v4beta1.IApplication, protos.google.cloud.talent.v4beta1.IUpdateApplicationRequest | null | undefined, {} | null | undefined>): void;
Name | Description |
request |
protos.google.cloud.talent.v4beta1.IUpdateApplicationRequest
|
options |
CallOptions
|
callback |
Callback<protos.google.cloud.talent.v4beta1.IApplication, protos.google.cloud.talent.v4beta1.IUpdateApplicationRequest | null | undefined, {} | null | undefined>
|
Type | Description |
void |
updateApplication(request, callback)
updateApplication(request: protos.google.cloud.talent.v4beta1.IUpdateApplicationRequest, callback: Callback<protos.google.cloud.talent.v4beta1.IApplication, protos.google.cloud.talent.v4beta1.IUpdateApplicationRequest | null | undefined, {} | null | undefined>): void;
Name | Description |
request |
protos.google.cloud.talent.v4beta1.IUpdateApplicationRequest
|
callback |
Callback<protos.google.cloud.talent.v4beta1.IApplication, protos.google.cloud.talent.v4beta1.IUpdateApplicationRequest | null | undefined, {} | null | undefined>
|
Type | Description |
void |