Struct gapi_grpc::google::cloud::osconfig::agentendpoint::v1::ReportTaskCompleteRequest [−][src]
A request message for signaling the completion of a task execution.
Fields
instance_id_token: String
Required. This is the Compute Engine instance identity token described in https://cloud.google.com/compute/docs/instances/verifying-instance-identity where the audience is ‘osconfig.googleapis.com’ and the format is ‘full’.
task_id: String
Required. Unique identifier of the task this applies to.
task_type: i32
Required. The type of task to report completed.
Output must include the appropriate message based on this enum as specified below: APPLY_PATCHES = ApplyPatchesTaskOutput EXEC_STEP = ExecStepTaskOutput APPLY_CONFIG_TASK = ApplyConfigTaskOutput
error_message: String
Descriptive error message if the task execution ended in error.
output: Option<Output>
Final output details of the current task.
Implementations
impl ReportTaskCompleteRequest
[src][−]
pub fn task_type(&self) -> TaskType
[src][−]
Returns the enum value of task_type
, or the default if the field is set to an invalid enum value.
pub fn set_task_type(&mut self, value: TaskType)
[src][−]
Sets task_type
to the provided enum value.
Trait Implementations
impl Clone for ReportTaskCompleteRequest
[src][+]
impl Debug for ReportTaskCompleteRequest
[src][+]
impl Default for ReportTaskCompleteRequest
[src][+]
impl Message for ReportTaskCompleteRequest
[src][+]
impl PartialEq<ReportTaskCompleteRequest> for ReportTaskCompleteRequest
[src][+]
impl StructuralPartialEq for ReportTaskCompleteRequest
[src]
Auto Trait Implementations
impl RefUnwindSafe for ReportTaskCompleteRequest
impl Send for ReportTaskCompleteRequest
impl Sync for ReportTaskCompleteRequest
impl Unpin for ReportTaskCompleteRequest
impl UnwindSafe for ReportTaskCompleteRequest
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> IntoRequest<T> for T
[src][+]
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,