[][src]Struct google_jobs3::ProjectMethods

pub struct ProjectMethods<'a, C, A> where
    C: 'a,
    A: 'a, 
{ /* fields omitted */ }

A builder providing access to all methods supported on project resources. It is not used directly, but through the CloudTalentSolution hub.

Example

Instantiate a resource builder

extern crate hyper;
extern crate hyper_rustls;
extern crate yup_oauth2 as oauth2;
extern crate google_jobs3 as jobs3;
 
use std::default::Default;
use oauth2::{Authenticator, DefaultAuthenticatorDelegate, ApplicationSecret, MemoryStorage};
use jobs3::CloudTalentSolution;
 
let secret: ApplicationSecret = Default::default();
let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate,
                              hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())),
                              <MemoryStorage as Default>::default(), None);
let mut hub = CloudTalentSolution::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth);
// Usually you wouldn't bind this to a variable, but keep calling *CallBuilders*
// like `client_events_create(...)`, `companies_create(...)`, `companies_delete(...)`, `companies_get(...)`, `companies_list(...)`, `companies_patch(...)`, `complete(...)`, `jobs_batch_delete(...)`, `jobs_create(...)`, `jobs_delete(...)`, `jobs_get(...)`, `jobs_list(...)`, `jobs_patch(...)`, `jobs_search(...)` and `jobs_search_for_alert(...)`
// to build up your call.
let rb = hub.projects();

Methods

impl<'a, C, A> ProjectMethods<'a, C, A>[src]

pub fn client_events_create(
    &self,
    request: CreateClientEventRequest,
    parent: &str
) -> ProjectClientEventCreateCall<'a, C, A>
[src]

Create a builder to help you perform the following task:

Report events issued when end user interacts with customer's application that uses Cloud Talent Solution. You may inspect the created events in self service tools. Learn more about self service tools.

Arguments

  • request - No description provided.
  • parent - Parent project name.

pub fn companies_create(
    &self,
    request: CreateCompanyRequest,
    parent: &str
) -> ProjectCompanyCreateCall<'a, C, A>
[src]

Create a builder to help you perform the following task:

Creates a new company entity.

Arguments

  • request - No description provided.
  • parent - Required. Resource name of the project under which the company is created. The format is "projects/{project_id}", for example, "projects/api-test-project".

pub fn jobs_list(&self, parent: &str) -> ProjectJobListCall<'a, C, A>[src]

Create a builder to help you perform the following task:

Lists jobs by filter.

Arguments

  • parent - Required. The resource name of the project under which the job is created. The format is "projects/{project_id}", for example, "projects/api-test-project".

pub fn jobs_delete(&self, name: &str) -> ProjectJobDeleteCall<'a, C, A>[src]

Create a builder to help you perform the following task:

Deletes the specified job.

Typically, the job becomes unsearchable within 10 seconds, but it may take up to 5 minutes.

Arguments

  • name - Required. The resource name of the job to be deleted. The format is "projects/{project_id}/jobs/{job_id}", for example, "projects/api-test-project/jobs/1234".

pub fn companies_get(&self, name: &str) -> ProjectCompanyGetCall<'a, C, A>[src]

Create a builder to help you perform the following task:

Retrieves specified company.

Arguments

  • name - Required. The resource name of the company to be retrieved. The format is "projects/{project_id}/companies/{company_id}", for example, "projects/api-test-project/companies/foo".

Create a builder to help you perform the following task:

Searches for jobs using the provided SearchJobsRequest.

This call constrains the visibility of jobs present in the database, and only returns jobs that the caller has permission to search against.

Arguments

  • request - No description provided.
  • parent - Required. The resource name of the project to search within. The format is "projects/{project_id}", for example, "projects/api-test-project".

pub fn companies_list(&self, parent: &str) -> ProjectCompanyListCall<'a, C, A>[src]

Create a builder to help you perform the following task:

Lists all companies associated with the service account.

Arguments

  • parent - Required. Resource name of the project under which the company is created. The format is "projects/{project_id}", for example, "projects/api-test-project".

pub fn jobs_get(&self, name: &str) -> ProjectJobGetCall<'a, C, A>[src]

Create a builder to help you perform the following task:

Retrieves the specified job, whose status is OPEN or recently EXPIRED within the last 90 days.

Arguments

  • name - Required. The resource name of the job to retrieve. The format is "projects/{project_id}/jobs/{job_id}", for example, "projects/api-test-project/jobs/1234".

pub fn jobs_search_for_alert(
    &self,
    request: SearchJobsRequest,
    parent: &str
) -> ProjectJobSearchForAlertCall<'a, C, A>
[src]

Create a builder to help you perform the following task:

Searches for jobs using the provided SearchJobsRequest.

This API call is intended for the use case of targeting passive job seekers (for example, job seekers who have signed up to receive email alerts about potential job opportunities), and has different algorithmic adjustments that are targeted to passive job seekers.

This call constrains the visibility of jobs present in the database, and only returns jobs the caller has permission to search against.

Arguments

  • request - No description provided.
  • parent - Required. The resource name of the project to search within. The format is "projects/{project_id}", for example, "projects/api-test-project".

pub fn jobs_create(
    &self,
    request: CreateJobRequest,
    parent: &str
) -> ProjectJobCreateCall<'a, C, A>
[src]

Create a builder to help you perform the following task:

Creates a new job.

Typically, the job becomes searchable within 10 seconds, but it may take up to 5 minutes.

Arguments

  • request - No description provided.
  • parent - Required. The resource name of the project under which the job is created. The format is "projects/{project_id}", for example, "projects/api-test-project".

pub fn companies_patch(
    &self,
    request: UpdateCompanyRequest,
    name: &str
) -> ProjectCompanyPatchCall<'a, C, A>
[src]

Create a builder to help you perform the following task:

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.

Arguments

  • request - No description provided.
  • 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".

pub fn jobs_batch_delete(
    &self,
    request: BatchDeleteJobsRequest,
    parent: &str
) -> ProjectJobBatchDeleteCall<'a, C, A>
[src]

Create a builder to help you perform the following task:

Deletes a list of Jobs by filter.

Arguments

  • request - No description provided.
  • parent - Required. The resource name of the project under which the job is created. The format is "projects/{project_id}", for example, "projects/api-test-project".

pub fn companies_delete(&self, name: &str) -> ProjectCompanyDeleteCall<'a, C, A>[src]

Create a builder to help you perform the following task:

Deletes specified company. Prerequisite: The company has no jobs associated with it.

Arguments

  • name - Required. The resource name of the company to be deleted. The format is "projects/{project_id}/companies/{company_id}", for example, "projects/api-test-project/companies/foo".

pub fn jobs_patch(
    &self,
    request: UpdateJobRequest,
    name: &str
) -> ProjectJobPatchCall<'a, C, A>
[src]

Create a builder to help you perform the following task:

Updates specified job.

Typically, updated contents become visible in search results within 10 seconds, but it may take up to 5 minutes.

Arguments

  • request - No description provided.
  • name - Required during job update. The resource name for the job. This is generated by the service when a job is created. The format is "projects/{project_id}/jobs/{job_id}", for example, "projects/api-test-project/jobs/1234". Use of this field in job queries and API calls is preferred over the use of requisition_id since this value is unique.

pub fn complete(&self, name: &str) -> ProjectCompleteCall<'a, C, A>[src]

Create a builder to help you perform the following task:

Completes the specified prefix with keyword suggestions. Intended for use by a job search auto-complete search box.

Arguments

  • name - Required. Resource name of project the completion is performed within. The format is "projects/{project_id}", for example, "projects/api-test-project".

Trait Implementations

impl<'a, C, A> MethodsBuilder for ProjectMethods<'a, C, A>[src]

Auto Trait Implementations

impl<'a, C, A> !Send for ProjectMethods<'a, C, A>

impl<'a, C, A> Unpin for ProjectMethods<'a, C, A>

impl<'a, C, A> !Sync for ProjectMethods<'a, C, A>

impl<'a, C, A> !UnwindSafe for ProjectMethods<'a, C, A>

impl<'a, C, A> !RefUnwindSafe for ProjectMethods<'a, C, A>

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.