Class ProjectsResource.TenantsResource.CompaniesResource.PatchRequest
Updates specified company.
Inheritance
ProjectsResource.TenantsResource.CompaniesResource.PatchRequest
Inherited Members
Namespace: Google.Apis.CloudTalentSolution.v4
Assembly: Google.Apis.CloudTalentSolution.v4.dll
Syntax
public class ProjectsResource.TenantsResource.CompaniesResource.PatchRequest : CloudTalentSolutionBaseServiceRequest<Company>, IClientServiceRequest<Company>, IClientServiceRequest
Constructors
PatchRequest(IClientService, Company, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, Company body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Company | 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}/tenants/{tenant_id}/companies/{company_id}", for example, "projects/foo/tenants/bar/companies/baz".
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
UpdateMask
Strongly recommended for the best service experience. If update_mask is provided, only the specified fields in 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 are supported.
Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
Type | Description |
---|---|
object |
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()