public abstract class CompanyServiceClient
CompanyService client wrapper, for convenient use.
Inheritance
System.Object > CompanyServiceClientNamespace
Google.Cloud.Talent.V4Assembly
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 | |
---|---|
Type | Description |
System.String |
DefaultScopes
public static IReadOnlyList<string> DefaultScopes { get; }
The default CompanyService scopes.
Property Value | |
---|---|
Type | Description |
System.Collections.Generic.IReadOnlyList<System.String> |
The default CompanyService scopes are:
GrpcClient
public virtual CompanyService.CompanyServiceClient GrpcClient { get; }
The underlying gRPC CompanyService client
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
cancellationToken | System.Threading.CancellationToken The System.Threading.CancellationToken to use while creating the client. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | CreateCompanyRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | TenantName 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". |
company | Company Required. The company to be created. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | System.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". |
company | Company Required. The company to be created. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Company | The RPC response. |
CreateCompanyAsync(CreateCompanyRequest, CallSettings)
public virtual Task<Company> CreateCompanyAsync(CreateCompanyRequest request, CallSettings callSettings = null)
Creates a new company entity.
Parameters | |
---|---|
Name | Description |
request | CreateCompanyRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | CreateCompanyRequest The request object containing all of the parameters for the API call. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | TenantName 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". |
company | Company Required. The company to be created. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | TenantName 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". |
company | Company Required. The company to be created. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | System.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". |
company | Company Required. The company to be created. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | System.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". |
company | Company Required. The company to be created. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
name | CompanyName 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". |
callSettings | Google.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 | |
---|---|
Name | Description |
request | DeleteCompanyRequest The request object containing all of the parameters for the API call. |
callSettings | Google.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 | |
---|---|
Name | Description |
name | System.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". |
callSettings | Google.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 | |
---|---|
Name | Description |
name | CompanyName 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". |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
name | CompanyName 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". |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeleteCompanyRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeleteCompanyRequest The request object containing all of the parameters for the API call. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
name | System.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". |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
name | System.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". |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
name | CompanyName 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". |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Company | The RPC response. |
GetCompany(GetCompanyRequest, CallSettings)
public virtual Company GetCompany(GetCompanyRequest request, CallSettings callSettings = null)
Retrieves specified company.
Parameters | |
---|---|
Name | Description |
request | GetCompanyRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Company | The RPC response. |
GetCompany(String, CallSettings)
public virtual Company GetCompany(string name, CallSettings callSettings = null)
Retrieves specified company.
Parameters | |
---|---|
Name | Description |
name | System.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". |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Company | The RPC response. |
GetCompanyAsync(CompanyName, CallSettings)
public virtual Task<Company> GetCompanyAsync(CompanyName name, CallSettings callSettings = null)
Retrieves specified company.
Parameters | |
---|---|
Name | Description |
name | CompanyName 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". |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
name | CompanyName 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". |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetCompanyRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetCompanyRequest The request object containing all of the parameters for the API call. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
name | System.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". |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
name | System.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". |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListCompaniesRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | TenantName 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". |
pageToken | System.String The token returned from the previous request. A value of |
pageSize | System.Nullable<System.Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | System.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". |
pageToken | System.String The token returned from the previous request. A value of |
pageSize | System.Nullable<System.Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListCompaniesRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | TenantName 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". |
pageToken | System.String The token returned from the previous request. A value of |
pageSize | System.Nullable<System.Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | System.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". |
pageToken | System.String The token returned from the previous request. A value of |
pageSize | System.Nullable<System.Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
System.Threading.Tasks.Task | A task representing the asynchronous shutdown operation. |
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 | |
---|---|
Name | Description |
company | Company Required. The company resource to replace the current resource in the system. |
updateMask | Google.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. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Company | The RPC response. |
UpdateCompany(UpdateCompanyRequest, CallSettings)
public virtual Company UpdateCompany(UpdateCompanyRequest request, CallSettings callSettings = null)
Updates specified company.
Parameters | |
---|---|
Name | Description |
request | UpdateCompanyRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Company | The RPC response. |
UpdateCompanyAsync(Company, FieldMask, CallSettings)
public virtual Task<Company> UpdateCompanyAsync(Company company, FieldMask updateMask, CallSettings callSettings = null)
Updates specified company.
Parameters | |
---|---|
Name | Description |
company | Company Required. The company resource to replace the current resource in the system. |
updateMask | Google.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. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
company | Company Required. The company resource to replace the current resource in the system. |
updateMask | Google.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. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | UpdateCompanyRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | UpdateCompanyRequest The request object containing all of the parameters for the API call. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
System.Threading.Tasks.Task<Company> | A Task containing the RPC response. |