NAME
Google::Cloud::Osconfig::Agentendpoint::V1beta::Tasks - Compiled Protocol Buffers messages for google/cloud/osconfig/agentendpoint/v1beta/tasks.proto
SYNOPSIS
use Google::Cloud::Osconfig::Agentendpoint::V1beta::Tasks;
my $msg = Google::Cloud::Osconfig::Agentendpoint::V1beta::Tasks::Task->new({
task_id => $task_id,
task_type => $task_type,
task_directive => $task_directive,
apply_patches_task => $apply_patches_task,
});
# Read or update a field
my $val = $msg->task_id();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Osconfig::Agentendpoint::V1beta::Tasks::Task->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/osconfig/agentendpoint/v1beta/tasks.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Osconfig::Agentendpoint::V1beta::Tasks::Task
A unit of work to be performed by the agent.
Inherits from Protobuf::Message.
Accessors
$msg->task_id()/$msg->task_id($value)Type:
StringUnique task id.
$msg->task_type()/$msg->task_type($value)Type:
Enum(Google::Cloud::Osconfig::Agentendpoint::V1beta::TaskType)The type of task to perform.
Task details must include the appropriate message based on this enum as specified below: APPLY_PATCHES = ApplyPatchesTask EXEC_STEP = ExecStepTask;
$msg->task_directive()/$msg->task_directive($value)Type:
Enum(Google::Cloud::Osconfig::Agentendpoint::V1beta::TaskDirective)Current directive to the agent.
$msg->apply_patches_task()/$msg->apply_patches_task($value)Type:
Message(Google::Cloud::Osconfig::Agentendpoint::V1beta::Tasks::ApplyPatchesTask)Details about the apply patches task to perform.
$msg->exec_step_task()/$msg->exec_step_task($value)Type:
Message(Google::Cloud::Osconfig::Agentendpoint::V1beta::Tasks::ExecStepTask)Details about the exec step task to perform.
$msg->service_labels()/$msg->service_labels($value)Type:
Message(Google::Cloud::Osconfig::Agentendpoint::V1beta::Tasks::Task::ServiceLabelsEntry)Labels describing the task. Used for logging by the agent.
Google::Cloud::Osconfig::Agentendpoint::V1beta::Tasks::ApplyPatchesTask
Message which instructs agent to apply patches.
Inherits from Protobuf::Message.
Accessors
$msg->patch_config()/$msg->patch_config($value)Type:
Message(Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::PatchConfig)Specific information about how patches should be applied.
$msg->dry_run()/$msg->dry_run($value)Type:
BoolIf true, the agent will report its status as it goes through the motions but won't actually run any updates or perform any reboots.
Google::Cloud::Osconfig::Agentendpoint::V1beta::Tasks::ApplyPatchesTaskProgress
Information reported from the agent about applying patches execution.
Inherits from Protobuf::Message.
Accessors
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Osconfig::Agentendpoint::V1beta::ApplyPatchesTaskProgress::State)Required. The current state of this patch execution.
Enum: ApplyPatchesTaskProgress::State
STATE_UNSPECIFIED=>0STARTED=>4DOWNLOADING_PATCHES=>1APPLYING_PATCHES=>2REBOOTING=>3
Google::Cloud::Osconfig::Agentendpoint::V1beta::Tasks::ApplyPatchesTaskOutput
Information reported from the agent about applying patches execution.
Inherits from Protobuf::Message.
Accessors
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Osconfig::Agentendpoint::V1beta::ApplyPatchesTaskOutput::State)Required. The final state of this task.
Enum: ApplyPatchesTaskOutput::State
STATE_UNSPECIFIED=>0SUCCEEDED=>1SUCCEEDED_REBOOT_REQUIRED=>2FAILED=>3
Google::Cloud::Osconfig::Agentendpoint::V1beta::Tasks::ExecStepTask
Message which instructs agent to execute the following command.
Inherits from Protobuf::Message.
Accessors
$msg->exec_step()/$msg->exec_step($value)Type:
Message(Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::ExecStep)Details of the exec step to run.
Google::Cloud::Osconfig::Agentendpoint::V1beta::Tasks::ExecStepTaskProgress
Information reported from the agent about the exec step execution.
Inherits from Protobuf::Message.
Accessors
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Osconfig::Agentendpoint::V1beta::ExecStepTaskProgress::State)Required. The current state of this exec step.
Enum: ExecStepTaskProgress::State
STATE_UNSPECIFIED=>0STARTED=>1
Google::Cloud::Osconfig::Agentendpoint::V1beta::Tasks::ExecStepTaskOutput
Information reported from the agent about the exec step execution.
Inherits from Protobuf::Message.
Accessors
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Osconfig::Agentendpoint::V1beta::ExecStepTaskOutput::State)Required. The final state of the exec step.
$msg->exit_code()/$msg->exit_code($value)Type:
Int32Required. The exit code received from the script which ran as part of the exec step.
Enum: ExecStepTaskOutput::State
STATE_UNSPECIFIED=>0COMPLETED=>1TIMED_OUT=>2CANCELLED=>3
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Osconfig::Agentendpoint::V1beta::Tasks::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.