NAME

Google::Cloud::Osconfig::Agentendpoint::V1::Tasks - Compiled Protocol Buffers messages for google/cloud/osconfig/agentendpoint/v1/tasks.proto

SYNOPSIS

use Google::Cloud::Osconfig::Agentendpoint::V1::Tasks;

my $msg = Google::Cloud::Osconfig::Agentendpoint::V1::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::V1::Tasks::Task->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/osconfig/agentendpoint/v1/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::V1::Tasks::Task

A unit of work to be performed by the agent.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Osconfig::Agentendpoint::V1::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::V1::PatchJobs::PatchConfig)

    Specific information about how patches should be applied.

  • $msg->dry_run() / $msg->dry_run($value)

    Type: Bool

    If 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::V1::Tasks::ApplyPatchesTaskProgress

Information reported from the agent about applying patches execution.

Inherits from Protobuf::Message.

Accessors

Enum: ApplyPatchesTaskProgress::State

  • STATE_UNSPECIFIED => 0

  • STARTED => 4

  • DOWNLOADING_PATCHES => 1

  • APPLYING_PATCHES => 2

  • REBOOTING => 3

Google::Cloud::Osconfig::Agentendpoint::V1::Tasks::ApplyPatchesTaskOutput

Information reported from the agent about applying patches execution.

Inherits from Protobuf::Message.

Accessors

Enum: ApplyPatchesTaskOutput::State

  • STATE_UNSPECIFIED => 0

  • SUCCEEDED => 1

  • SUCCEEDED_REBOOT_REQUIRED => 2

  • FAILED => 3

Google::Cloud::Osconfig::Agentendpoint::V1::Tasks::ExecStepTask

Message which instructs agent to execute the following command.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Osconfig::Agentendpoint::V1::Tasks::ExecStepTaskProgress

Information reported from the agent about the exec step execution.

Inherits from Protobuf::Message.

Accessors

Enum: ExecStepTaskProgress::State

  • STATE_UNSPECIFIED => 0

  • STARTED => 1

Google::Cloud::Osconfig::Agentendpoint::V1::Tasks::ExecStepTaskOutput

Information reported from the agent about the exec step execution.

Inherits from Protobuf::Message.

Accessors

Enum: ExecStepTaskOutput::State

  • STATE_UNSPECIFIED => 0

  • COMPLETED => 1

  • TIMED_OUT => 2

  • CANCELLED => 3

Google::Cloud::Osconfig::Agentendpoint::V1::Tasks::ApplyConfigTask

Message which instructs OS Config agent to apply the desired state configuration.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Osconfig::Agentendpoint::V1::Tasks::ApplyConfigTaskProgress

Information reported from the agent regarding the progress of the task of applying desired state configuration.

Inherits from Protobuf::Message.

Accessors

Enum: ApplyConfigTaskProgress::State

  • STATE_UNSPECIFIED => 0

  • STARTED => 1

  • APPLYING_CONFIG => 2

Google::Cloud::Osconfig::Agentendpoint::V1::Tasks::ApplyConfigTaskOutput

Information reported from the agent regarding the output of the task of applying desired state configuration.

Inherits from Protobuf::Message.

Accessors

Enum: ApplyConfigTaskOutput::State

  • STATE_UNSPECIFIED => 0

  • SUCCEEDED => 1

  • FAILED => 2

  • CANCELLED => 3

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Osconfig::Agentendpoint::V1::Tasks::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.