Class ProjectsResource.TenantsResource
The "tenants" collection of methods.
Inherited Members
Namespace: Google.Apis.CloudTalentSolution.v4
Assembly: Google.Apis.CloudTalentSolution.v4.dll
Syntax
public class ProjectsResource.TenantsResource
Constructors
TenantsResource(IClientService)
Constructs a new resource.
Declaration
public TenantsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
ClientEvents
Gets the ClientEvents resource.
Declaration
public virtual ProjectsResource.TenantsResource.ClientEventsResource ClientEvents { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.TenantsResource.ClientEventsResource |
Companies
Gets the Companies resource.
Declaration
public virtual ProjectsResource.TenantsResource.CompaniesResource Companies { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.TenantsResource.CompaniesResource |
Jobs
Gets the Jobs resource.
Declaration
public virtual ProjectsResource.TenantsResource.JobsResource Jobs { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.TenantsResource.JobsResource |
Methods
CompleteQuery(string)
Completes the specified prefix with keyword suggestions. Intended for use by a job search auto-complete search box.
Declaration
public virtual ProjectsResource.TenantsResource.CompleteQueryRequest CompleteQuery(string tenant)
Parameters
Type | Name | Description |
---|---|---|
string | tenant | Required. Resource name of tenant the completion is performed within. The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar". |
Returns
Type | Description |
---|---|
ProjectsResource.TenantsResource.CompleteQueryRequest |
Create(Tenant, string)
Creates a new tenant entity.
Declaration
public virtual ProjectsResource.TenantsResource.CreateRequest Create(Tenant body, string parent)
Parameters
Type | Name | Description |
---|---|---|
Tenant | body | The body of the request. |
string | parent | Required. Resource name of the project under which the tenant is created. The format is "projects/{project_id}", for example, "projects/foo". |
Returns
Type | Description |
---|---|
ProjectsResource.TenantsResource.CreateRequest |
Delete(string)
Deletes specified tenant.
Declaration
public virtual ProjectsResource.TenantsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the tenant to be deleted. The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar". |
Returns
Type | Description |
---|---|
ProjectsResource.TenantsResource.DeleteRequest |
Get(string)
Retrieves specified tenant.
Declaration
public virtual ProjectsResource.TenantsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the tenant to be retrieved. The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar". |
Returns
Type | Description |
---|---|
ProjectsResource.TenantsResource.GetRequest |
List(string)
Lists all tenants associated with the project.
Declaration
public virtual ProjectsResource.TenantsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Resource name of the project under which the tenant is created. The format is "projects/{project_id}", for example, "projects/foo". |
Returns
Type | Description |
---|---|
ProjectsResource.TenantsResource.ListRequest |
Patch(Tenant, string)
Updates specified tenant.
Declaration
public virtual ProjectsResource.TenantsResource.PatchRequest Patch(Tenant body, string name)
Parameters
Type | Name | Description |
---|---|---|
Tenant | body | The body of the request. |
string | name | Required during tenant update. The resource name for a tenant. This is generated by the service when a tenant is created. The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar". |
Returns
Type | Description |
---|---|
ProjectsResource.TenantsResource.PatchRequest |