Class ProjectsResource.CompaniesResource.PatchRequest
Updates specified company. Company names can't be updated. To update a company name, delete the company and all jobs associated with it, and only then re-create them.
Inheritance
ProjectsResource.CompaniesResource.PatchRequest
Inherited Members
Namespace: Google.Apis.CloudTalentSolution.v3p1beta1
Assembly: Google.Apis.CloudTalentSolution.v3p1beta1.dll
Syntax
public class ProjectsResource.CompaniesResource.PatchRequest : CloudTalentSolutionBaseServiceRequest<Company>, IClientServiceRequest<Company>, IClientServiceRequest
Constructors
PatchRequest(IClientService, UpdateCompanyRequest, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, UpdateCompanyRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
UpdateCompanyRequest | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Required during company update. The resource name for a company. This is generated by the service when a company is created. The format is "projects/{project_id}/companies/{company_id}", for example, "projects/api-test-project/companies/foo".
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()