#[non_exhaustive]pub struct SearchBackgroundJobsRequest {
pub conversion_workspace: String,
pub return_most_recent_per_job_type: bool,
pub max_size: i32,
pub completed_until_time: Option<Timestamp>,
/* private fields */
}Expand description
Request message for ‘SearchBackgroundJobs’ request.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.conversion_workspace: StringRequired. Name of the conversion workspace resource whose jobs are listed, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
return_most_recent_per_job_type: boolOptional. Whether or not to return just the most recent job per job type,
max_size: i32Optional. The maximum number of jobs to return. The service may return fewer than this value. If unspecified, at most 100 jobs are returned. The maximum value is 100; values above 100 are coerced to 100.
completed_until_time: Option<Timestamp>Optional. If provided, only returns jobs that completed until (not including) the given timestamp.
Implementations§
Source§impl SearchBackgroundJobsRequest
impl SearchBackgroundJobsRequest
pub fn new() -> Self
Sourcepub fn set_conversion_workspace<T: Into<String>>(self, v: T) -> Self
pub fn set_conversion_workspace<T: Into<String>>(self, v: T) -> Self
Sets the value of conversion_workspace.
Sourcepub fn set_return_most_recent_per_job_type<T: Into<bool>>(self, v: T) -> Self
pub fn set_return_most_recent_per_job_type<T: Into<bool>>(self, v: T) -> Self
Sets the value of return_most_recent_per_job_type.
Sourcepub fn set_max_size<T: Into<i32>>(self, v: T) -> Self
pub fn set_max_size<T: Into<i32>>(self, v: T) -> Self
Sets the value of max_size.
Sourcepub fn set_completed_until_time<T>(self, v: T) -> Self
pub fn set_completed_until_time<T>(self, v: T) -> Self
Sets the value of completed_until_time.
Sourcepub fn set_or_clear_completed_until_time<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_completed_until_time<T>(self, v: Option<T>) -> Self
Sets or clears the value of completed_until_time.
Trait Implementations§
Source§impl Clone for SearchBackgroundJobsRequest
impl Clone for SearchBackgroundJobsRequest
Source§fn clone(&self) -> SearchBackgroundJobsRequest
fn clone(&self) -> SearchBackgroundJobsRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more