Struct googapis::google::cloud::talent::v4::ListJobsRequest [−][src]
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
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Returns the encoded length of the message without a length delimiter.
Encodes the message to a buffer. Read more
Encodes the message to a newly allocated buffer.
Encodes the message with a length-delimiter to a buffer. Read more
Encodes the message with a length-delimiter to a newly allocated buffer.
Decodes an instance of the message from a buffer. Read more
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
Decodes a length-delimited instance of the message from the buffer.
Decodes an instance of the message from a buffer, and merges it into self
. Read more
Decodes a length-delimited instance of the message from buffer, and
merges it into self
. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ListJobsRequest
impl Send for ListJobsRequest
impl Sync for ListJobsRequest
impl Unpin for ListJobsRequest
impl UnwindSafe for ListJobsRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more