Struct google_api_proto::google::cloud::talent::v4::ListJobsRequest
source · pub struct ListJobsRequest {
pub parent: String,
pub filter: String,
pub page_token: String,
pub page_size: i32,
pub job_view: i32,
}
Expand description
List jobs request.
Fields§
§parent: String
Required. The resource name of the tenant under which the job is created.
The format is “projects/{project_id}/tenants/{tenant_id}”. For example, “projects/foo/tenants/bar”.
filter: String
Required. The filter string specifies the jobs to be enumerated.
Supported operator: =, AND
The fields eligible for filtering are:
companyName
requisitionId
status
Available values: OPEN, EXPIRED, ALL. Defaults to OPEN if no value is specified.
At least one of companyName
and requisitionId
must present or an
INVALID_ARGUMENT error is thrown.
Sample Query:
- companyName = “projects/foo/tenants/bar/companies/baz”
- companyName = “projects/foo/tenants/bar/companies/baz” AND requisitionId = “req-1”
- companyName = “projects/foo/tenants/bar/companies/baz” AND status = “EXPIRED”
- requisitionId = “req-1”
- requisitionId = “req-1” AND status = “EXPIRED”
page_token: String
The starting point of a query result.
page_size: i32
The maximum number of jobs to be returned per page of results.
If [job_view][google.cloud.talent.v4.ListJobsRequest.job_view] is set to [JobView.JOB_VIEW_ID_ONLY][google.cloud.talent.v4.JobView.JOB_VIEW_ID_ONLY], the maximum allowed page size is 1000. Otherwise, the maximum allowed page size is 100.
Default is 100 if empty or a number < 1 is specified.
job_view: i32
The desired job attributes returned for jobs in the search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4.JobView.JOB_VIEW_FULL] if no value is specified.
Implementations§
Trait Implementations§
source§impl Clone for ListJobsRequest
impl Clone for ListJobsRequest
source§fn clone(&self) -> ListJobsRequest
fn clone(&self) -> ListJobsRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListJobsRequest
impl Debug for ListJobsRequest
source§impl Default for ListJobsRequest
impl Default for ListJobsRequest
source§impl Message for ListJobsRequest
impl Message for ListJobsRequest
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for ListJobsRequest
impl PartialEq for ListJobsRequest
source§fn eq(&self, other: &ListJobsRequest) -> bool
fn eq(&self, other: &ListJobsRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListJobsRequest
Auto Trait Implementations§
impl Freeze for ListJobsRequest
impl RefUnwindSafe for ListJobsRequest
impl Send for ListJobsRequest
impl Sync for ListJobsRequest
impl Unpin for ListJobsRequest
impl UnwindSafe for ListJobsRequest
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request