Class ProjectsResource.TenantsResource.CompaniesResource
The "companies" collection of methods.
Inherited Members
Namespace: Google.Apis.CloudTalentSolution.v4
Assembly: Google.Apis.CloudTalentSolution.v4.dll
Syntax
public class ProjectsResource.TenantsResource.CompaniesResource
Constructors
CompaniesResource(IClientService)
Constructs a new resource.
Declaration
public CompaniesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(Company, string)
Creates a new company entity.
Declaration
public virtual ProjectsResource.TenantsResource.CompaniesResource.CreateRequest Create(Company body, string parent)
Parameters
Type | Name | Description |
---|---|---|
Company | body | The body of the request. |
string | parent | 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". |
Returns
Type | Description |
---|---|
ProjectsResource.TenantsResource.CompaniesResource.CreateRequest |
Delete(string)
Deletes specified company. Prerequisite: The company has no jobs associated with it.
Declaration
public virtual ProjectsResource.TenantsResource.CompaniesResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | 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". |
Returns
Type | Description |
---|---|
ProjectsResource.TenantsResource.CompaniesResource.DeleteRequest |
Get(string)
Retrieves specified company.
Declaration
public virtual ProjectsResource.TenantsResource.CompaniesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | 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". |
Returns
Type | Description |
---|---|
ProjectsResource.TenantsResource.CompaniesResource.GetRequest |
List(string)
Lists all companies associated with the project.
Declaration
public virtual ProjectsResource.TenantsResource.CompaniesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | 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". |
Returns
Type | Description |
---|---|
ProjectsResource.TenantsResource.CompaniesResource.ListRequest |
Patch(Company, string)
Updates specified company.
Declaration
public virtual ProjectsResource.TenantsResource.CompaniesResource.PatchRequest Patch(Company body, string name)
Parameters
Type | Name | Description |
---|---|---|
Company | body | The body of the request. |
string | 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". |
Returns
Type | Description |
---|---|
ProjectsResource.TenantsResource.CompaniesResource.PatchRequest |