Struct google_api_proto::google::cloud::talent::v4beta1::BatchUpdateJobsRequest
source · pub struct BatchUpdateJobsRequest {
pub parent: String,
pub jobs: Vec<Job>,
pub update_mask: Option<FieldMask>,
}
Expand description
Request to update a batch of jobs.
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/tenant/bar”. If tenant id is unspecified, a default tenant is created. For example, “projects/foo”.
jobs: Vec<Job>
Required. The jobs to be updated.
update_mask: Option<FieldMask>
Strongly recommended for the best service experience. Be aware that it will also increase latency when checking the status of a batch operation.
If [update_mask][google.cloud.talent.v4beta1.BatchUpdateJobsRequest.update_mask] is provided, only the specified fields in [Job][google.cloud.talent.v4beta1.Job] are updated. Otherwise all the fields are updated.
A field mask to restrict the fields that are updated. Only top level fields of [Job][google.cloud.talent.v4beta1.Job] are supported.
If [update_mask][google.cloud.talent.v4beta1.BatchUpdateJobsRequest.update_mask] is provided, The [Job][google.cloud.talent.v4beta1.Job] inside [JobResult][google.cloud.talent.v4beta1.JobOperationResult.JobResult] will only contains fields that is updated, plus the Id of the Job. Otherwise, [Job][google.cloud.talent.v4beta1.Job] will include all fields, which can yield a very large response.
Trait Implementations§
source§impl Clone for BatchUpdateJobsRequest
impl Clone for BatchUpdateJobsRequest
source§fn clone(&self) -> BatchUpdateJobsRequest
fn clone(&self) -> BatchUpdateJobsRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BatchUpdateJobsRequest
impl Debug for BatchUpdateJobsRequest
source§impl Default for BatchUpdateJobsRequest
impl Default for BatchUpdateJobsRequest
source§impl Message for BatchUpdateJobsRequest
impl Message for BatchUpdateJobsRequest
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 BatchUpdateJobsRequest
impl PartialEq for BatchUpdateJobsRequest
source§fn eq(&self, other: &BatchUpdateJobsRequest) -> bool
fn eq(&self, other: &BatchUpdateJobsRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BatchUpdateJobsRequest
Auto Trait Implementations§
impl Freeze for BatchUpdateJobsRequest
impl RefUnwindSafe for BatchUpdateJobsRequest
impl Send for BatchUpdateJobsRequest
impl Sync for BatchUpdateJobsRequest
impl Unpin for BatchUpdateJobsRequest
impl UnwindSafe for BatchUpdateJobsRequest
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