Class CompanyServiceClient (1.0.0)

public abstract class CompanyServiceClient

CompanyService client wrapper, for convenient use.

Inheritance

System.Object > CompanyServiceClient

Namespace

Google.Cloud.Talent.V4

Assembly

Google.Cloud.Talent.V4.dll

Remarks

A service that handles company management, including CRUD and enumeration.

Properties

DefaultEndpoint

public static string DefaultEndpoint { get; }

The default endpoint for the CompanyService service, which is a host of "jobs.googleapis.com" and a port of 443.

Property Value
TypeDescription
System.String

DefaultScopes

public static IReadOnlyList<string> DefaultScopes { get; }

The default CompanyService scopes.

Property Value
TypeDescription
System.Collections.Generic.IReadOnlyList<System.String>
Remarks

GrpcClient

public virtual CompanyService.CompanyServiceClient GrpcClient { get; }

The underlying gRPC CompanyService client

Property Value
TypeDescription
CompanyService.CompanyServiceClient

Methods

Create()

public static CompanyServiceClient Create()

Synchronously creates a CompanyServiceClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use CompanyServiceClientBuilder.

Returns
TypeDescription
CompanyServiceClient

The created CompanyServiceClient.

CreateAsync(CancellationToken)

public static Task<CompanyServiceClient> CreateAsync(CancellationToken cancellationToken = default(CancellationToken))

Asynchronously creates a CompanyServiceClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use CompanyServiceClientBuilder.

Parameter
NameDescription
cancellationTokenSystem.Threading.CancellationToken

The System.Threading.CancellationToken to use while creating the client.

Returns
TypeDescription
System.Threading.Tasks.Task<CompanyServiceClient>

The task representing the created CompanyServiceClient.

CreateCompany(CreateCompanyRequest, CallSettings)

public virtual Company CreateCompany(CreateCompanyRequest request, CallSettings callSettings = null)

Creates a new company entity.

Parameters
NameDescription
requestCreateCompanyRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Company

The RPC response.

CreateCompany(TenantName, Company, CallSettings)

public virtual Company CreateCompany(TenantName parent, Company company, CallSettings callSettings = null)

Creates a new company entity.

Parameters
NameDescription
parentTenantName

Required. Resource name of the tenant under which the company is created.

The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".

companyCompany

Required. The company to be created.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Company

The RPC response.

CreateCompany(String, Company, CallSettings)

public virtual Company CreateCompany(string parent, Company company, CallSettings callSettings = null)

Creates a new company entity.

Parameters
NameDescription
parentSystem.String

Required. Resource name of the tenant under which the company is created.

The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".

companyCompany

Required. The company to be created.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Company

The RPC response.

CreateCompanyAsync(CreateCompanyRequest, CallSettings)

public virtual Task<Company> CreateCompanyAsync(CreateCompanyRequest request, CallSettings callSettings = null)

Creates a new company entity.

Parameters
NameDescription
requestCreateCompanyRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Company>

A Task containing the RPC response.

CreateCompanyAsync(CreateCompanyRequest, CancellationToken)

public virtual Task<Company> CreateCompanyAsync(CreateCompanyRequest request, CancellationToken cancellationToken)

Creates a new company entity.

Parameters
NameDescription
requestCreateCompanyRequest

The request object containing all of the parameters for the API call.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Company>

A Task containing the RPC response.

CreateCompanyAsync(TenantName, Company, CallSettings)

public virtual Task<Company> CreateCompanyAsync(TenantName parent, Company company, CallSettings callSettings = null)

Creates a new company entity.

Parameters
NameDescription
parentTenantName

Required. Resource name of the tenant under which the company is created.

The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".

companyCompany

Required. The company to be created.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Company>

A Task containing the RPC response.

CreateCompanyAsync(TenantName, Company, CancellationToken)

public virtual Task<Company> CreateCompanyAsync(TenantName parent, Company company, CancellationToken cancellationToken)

Creates a new company entity.

Parameters
NameDescription
parentTenantName

Required. Resource name of the tenant under which the company is created.

The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".

companyCompany

Required. The company to be created.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Company>

A Task containing the RPC response.

CreateCompanyAsync(String, Company, CallSettings)

public virtual Task<Company> CreateCompanyAsync(string parent, Company company, CallSettings callSettings = null)

Creates a new company entity.

Parameters
NameDescription
parentSystem.String

Required. Resource name of the tenant under which the company is created.

The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".

companyCompany

Required. The company to be created.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Company>

A Task containing the RPC response.

CreateCompanyAsync(String, Company, CancellationToken)

public virtual Task<Company> CreateCompanyAsync(string parent, Company company, CancellationToken cancellationToken)

Creates a new company entity.

Parameters
NameDescription
parentSystem.String

Required. Resource name of the tenant under which the company is created.

The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".

companyCompany

Required. The company to be created.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Company>

A Task containing the RPC response.

DeleteCompany(CompanyName, CallSettings)

public virtual void DeleteCompany(CompanyName name, CallSettings callSettings = null)

Deletes specified company. Prerequisite: The company has no jobs associated with it.

Parameters
NameDescription
nameCompanyName

Required. The resource name of the company to be deleted.

The format is "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for example, "projects/foo/tenants/bar/companies/baz".

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

DeleteCompany(DeleteCompanyRequest, CallSettings)

public virtual void DeleteCompany(DeleteCompanyRequest request, CallSettings callSettings = null)

Deletes specified company. Prerequisite: The company has no jobs associated with it.

Parameters
NameDescription
requestDeleteCompanyRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

DeleteCompany(String, CallSettings)

public virtual void DeleteCompany(string name, CallSettings callSettings = null)

Deletes specified company. Prerequisite: The company has no jobs associated with it.

Parameters
NameDescription
nameSystem.String

Required. The resource name of the company to be deleted.

The format is "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for example, "projects/foo/tenants/bar/companies/baz".

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

DeleteCompanyAsync(CompanyName, CallSettings)

public virtual Task DeleteCompanyAsync(CompanyName name, CallSettings callSettings = null)

Deletes specified company. Prerequisite: The company has no jobs associated with it.

Parameters
NameDescription
nameCompanyName

Required. The resource name of the company to be deleted.

The format is "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for example, "projects/foo/tenants/bar/companies/baz".

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task

A Task containing the RPC response.

DeleteCompanyAsync(CompanyName, CancellationToken)

public virtual Task DeleteCompanyAsync(CompanyName name, CancellationToken cancellationToken)

Deletes specified company. Prerequisite: The company has no jobs associated with it.

Parameters
NameDescription
nameCompanyName

Required. The resource name of the company to be deleted.

The format is "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for example, "projects/foo/tenants/bar/companies/baz".

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task

A Task containing the RPC response.

DeleteCompanyAsync(DeleteCompanyRequest, CallSettings)

public virtual Task DeleteCompanyAsync(DeleteCompanyRequest request, CallSettings callSettings = null)

Deletes specified company. Prerequisite: The company has no jobs associated with it.

Parameters
NameDescription
requestDeleteCompanyRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task

A Task containing the RPC response.

DeleteCompanyAsync(DeleteCompanyRequest, CancellationToken)

public virtual Task DeleteCompanyAsync(DeleteCompanyRequest request, CancellationToken cancellationToken)

Deletes specified company. Prerequisite: The company has no jobs associated with it.

Parameters
NameDescription
requestDeleteCompanyRequest

The request object containing all of the parameters for the API call.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task

A Task containing the RPC response.

DeleteCompanyAsync(String, CallSettings)

public virtual Task DeleteCompanyAsync(string name, CallSettings callSettings = null)

Deletes specified company. Prerequisite: The company has no jobs associated with it.

Parameters
NameDescription
nameSystem.String

Required. The resource name of the company to be deleted.

The format is "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for example, "projects/foo/tenants/bar/companies/baz".

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task

A Task containing the RPC response.

DeleteCompanyAsync(String, CancellationToken)

public virtual Task DeleteCompanyAsync(string name, CancellationToken cancellationToken)

Deletes specified company. Prerequisite: The company has no jobs associated with it.

Parameters
NameDescription
nameSystem.String

Required. The resource name of the company to be deleted.

The format is "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for example, "projects/foo/tenants/bar/companies/baz".

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task

A Task containing the RPC response.

GetCompany(CompanyName, CallSettings)

public virtual Company GetCompany(CompanyName name, CallSettings callSettings = null)

Retrieves specified company.

Parameters
NameDescription
nameCompanyName

Required. The resource name of the company to be retrieved.

The format is "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for example, "projects/api-test-project/tenants/foo/companies/bar".

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Company

The RPC response.

GetCompany(GetCompanyRequest, CallSettings)

public virtual Company GetCompany(GetCompanyRequest request, CallSettings callSettings = null)

Retrieves specified company.

Parameters
NameDescription
requestGetCompanyRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Company

The RPC response.

GetCompany(String, CallSettings)

public virtual Company GetCompany(string name, CallSettings callSettings = null)

Retrieves specified company.

Parameters
NameDescription
nameSystem.String

Required. The resource name of the company to be retrieved.

The format is "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for example, "projects/api-test-project/tenants/foo/companies/bar".

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Company

The RPC response.

GetCompanyAsync(CompanyName, CallSettings)

public virtual Task<Company> GetCompanyAsync(CompanyName name, CallSettings callSettings = null)

Retrieves specified company.

Parameters
NameDescription
nameCompanyName

Required. The resource name of the company to be retrieved.

The format is "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for example, "projects/api-test-project/tenants/foo/companies/bar".

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Company>

A Task containing the RPC response.

GetCompanyAsync(CompanyName, CancellationToken)

public virtual Task<Company> GetCompanyAsync(CompanyName name, CancellationToken cancellationToken)

Retrieves specified company.

Parameters
NameDescription
nameCompanyName

Required. The resource name of the company to be retrieved.

The format is "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for example, "projects/api-test-project/tenants/foo/companies/bar".

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Company>

A Task containing the RPC response.

GetCompanyAsync(GetCompanyRequest, CallSettings)

public virtual Task<Company> GetCompanyAsync(GetCompanyRequest request, CallSettings callSettings = null)

Retrieves specified company.

Parameters
NameDescription
requestGetCompanyRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Company>

A Task containing the RPC response.

GetCompanyAsync(GetCompanyRequest, CancellationToken)

public virtual Task<Company> GetCompanyAsync(GetCompanyRequest request, CancellationToken cancellationToken)

Retrieves specified company.

Parameters
NameDescription
requestGetCompanyRequest

The request object containing all of the parameters for the API call.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Company>

A Task containing the RPC response.

GetCompanyAsync(String, CallSettings)

public virtual Task<Company> GetCompanyAsync(string name, CallSettings callSettings = null)

Retrieves specified company.

Parameters
NameDescription
nameSystem.String

Required. The resource name of the company to be retrieved.

The format is "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for example, "projects/api-test-project/tenants/foo/companies/bar".

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Company>

A Task containing the RPC response.

GetCompanyAsync(String, CancellationToken)

public virtual Task<Company> GetCompanyAsync(string name, CancellationToken cancellationToken)

Retrieves specified company.

Parameters
NameDescription
nameSystem.String

Required. The resource name of the company to be retrieved.

The format is "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for example, "projects/api-test-project/tenants/foo/companies/bar".

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Company>

A Task containing the RPC response.

ListCompanies(ListCompaniesRequest, CallSettings)

public virtual PagedEnumerable<ListCompaniesResponse, Company> ListCompanies(ListCompaniesRequest request, CallSettings callSettings = null)

Lists all companies associated with the project.

Parameters
NameDescription
requestListCompaniesRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Api.Gax.PagedEnumerable<ListCompaniesResponse, Company>

A pageable sequence of Company resources.

ListCompanies(TenantName, String, Nullable<Int32>, CallSettings)

public virtual PagedEnumerable<ListCompaniesResponse, Company> ListCompanies(TenantName parent, string pageToken = null, int? pageSize = default(int? ), CallSettings callSettings = null)

Lists all companies associated with the project.

Parameters
NameDescription
parentTenantName

Required. Resource name of the tenant under which the company is created.

The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".

pageTokenSystem.String

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeSystem.Nullable<System.Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Api.Gax.PagedEnumerable<ListCompaniesResponse, Company>

A pageable sequence of Company resources.

ListCompanies(String, String, Nullable<Int32>, CallSettings)

public virtual PagedEnumerable<ListCompaniesResponse, Company> ListCompanies(string parent, string pageToken = null, int? pageSize = default(int? ), CallSettings callSettings = null)

Lists all companies associated with the project.

Parameters
NameDescription
parentSystem.String

Required. Resource name of the tenant under which the company is created.

The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".

pageTokenSystem.String

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeSystem.Nullable<System.Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Api.Gax.PagedEnumerable<ListCompaniesResponse, Company>

A pageable sequence of Company resources.

ListCompaniesAsync(ListCompaniesRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListCompaniesResponse, Company> ListCompaniesAsync(ListCompaniesRequest request, CallSettings callSettings = null)

Lists all companies associated with the project.

Parameters
NameDescription
requestListCompaniesRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Api.Gax.PagedAsyncEnumerable<ListCompaniesResponse, Company>

A pageable asynchronous sequence of Company resources.

ListCompaniesAsync(TenantName, String, Nullable<Int32>, CallSettings)

public virtual PagedAsyncEnumerable<ListCompaniesResponse, Company> ListCompaniesAsync(TenantName parent, string pageToken = null, int? pageSize = default(int? ), CallSettings callSettings = null)

Lists all companies associated with the project.

Parameters
NameDescription
parentTenantName

Required. Resource name of the tenant under which the company is created.

The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".

pageTokenSystem.String

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeSystem.Nullable<System.Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Api.Gax.PagedAsyncEnumerable<ListCompaniesResponse, Company>

A pageable asynchronous sequence of Company resources.

ListCompaniesAsync(String, String, Nullable<Int32>, CallSettings)

public virtual PagedAsyncEnumerable<ListCompaniesResponse, Company> ListCompaniesAsync(string parent, string pageToken = null, int? pageSize = default(int? ), CallSettings callSettings = null)

Lists all companies associated with the project.

Parameters
NameDescription
parentSystem.String

Required. Resource name of the tenant under which the company is created.

The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".

pageTokenSystem.String

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeSystem.Nullable<System.Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Api.Gax.PagedAsyncEnumerable<ListCompaniesResponse, Company>

A pageable asynchronous sequence of Company resources.

ShutdownDefaultChannelsAsync()

public static Task ShutdownDefaultChannelsAsync()

Shuts down any channels automatically created by Create() and CreateAsync(CancellationToken). Channels which weren't automatically created are not affected.

Returns
TypeDescription
System.Threading.Tasks.Task

A task representing the asynchronous shutdown operation.

Remarks

After calling this method, further calls to Create() and CreateAsync(CancellationToken) will create new channels, which could in turn be shut down by another call to this method.

UpdateCompany(Company, FieldMask, CallSettings)

public virtual Company UpdateCompany(Company company, FieldMask updateMask, CallSettings callSettings = null)

Updates specified company.

Parameters
NameDescription
companyCompany

Required. The company resource to replace the current resource in the system.

updateMaskGoogle.Protobuf.WellKnownTypes.FieldMask

Strongly recommended for the best service experience.

If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in [company][google.cloud.talent.v4.UpdateCompanyRequest.company] are updated. Otherwise all the fields are updated.

A field mask to specify the company fields to be updated. Only top level fields of [Company][google.cloud.talent.v4.Company] are supported.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Company

The RPC response.

UpdateCompany(UpdateCompanyRequest, CallSettings)

public virtual Company UpdateCompany(UpdateCompanyRequest request, CallSettings callSettings = null)

Updates specified company.

Parameters
NameDescription
requestUpdateCompanyRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Company

The RPC response.

UpdateCompanyAsync(Company, FieldMask, CallSettings)

public virtual Task<Company> UpdateCompanyAsync(Company company, FieldMask updateMask, CallSettings callSettings = null)

Updates specified company.

Parameters
NameDescription
companyCompany

Required. The company resource to replace the current resource in the system.

updateMaskGoogle.Protobuf.WellKnownTypes.FieldMask

Strongly recommended for the best service experience.

If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in [company][google.cloud.talent.v4.UpdateCompanyRequest.company] are updated. Otherwise all the fields are updated.

A field mask to specify the company fields to be updated. Only top level fields of [Company][google.cloud.talent.v4.Company] are supported.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Company>

A Task containing the RPC response.

UpdateCompanyAsync(Company, FieldMask, CancellationToken)

public virtual Task<Company> UpdateCompanyAsync(Company company, FieldMask updateMask, CancellationToken cancellationToken)

Updates specified company.

Parameters
NameDescription
companyCompany

Required. The company resource to replace the current resource in the system.

updateMaskGoogle.Protobuf.WellKnownTypes.FieldMask

Strongly recommended for the best service experience.

If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in [company][google.cloud.talent.v4.UpdateCompanyRequest.company] are updated. Otherwise all the fields are updated.

A field mask to specify the company fields to be updated. Only top level fields of [Company][google.cloud.talent.v4.Company] are supported.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Company>

A Task containing the RPC response.

UpdateCompanyAsync(UpdateCompanyRequest, CallSettings)

public virtual Task<Company> UpdateCompanyAsync(UpdateCompanyRequest request, CallSettings callSettings = null)

Updates specified company.

Parameters
NameDescription
requestUpdateCompanyRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Company>

A Task containing the RPC response.

UpdateCompanyAsync(UpdateCompanyRequest, CancellationToken)

public virtual Task<Company> UpdateCompanyAsync(UpdateCompanyRequest request, CancellationToken cancellationToken)

Updates specified company.

Parameters
NameDescription
requestUpdateCompanyRequest

The request object containing all of the parameters for the API call.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Company>

A Task containing the RPC response.