Service Client: Google::Cloud::Osconfig::Agentendpoint::V1beta::Agentendpoint::AgentEndpointServiceClient

Client stub representing the remote AgentEndpointService gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to osconfig.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

Google::Cloud::Osconfig::Agentendpoint::V1beta::Agentendpoint - Compiled Protocol Buffers messages for google/cloud/osconfig/agentendpoint/v1beta/agentendpoint.proto

SYNOPSIS

use Google::Cloud::Osconfig::Agentendpoint::V1beta::Agentendpoint;

my $msg = Google::Cloud::Osconfig::Agentendpoint::V1beta::Agentendpoint::ReceiveTaskNotificationRequest->new({
    instance_id_token => $instance_id_token,
    agent_version => $agent_version,
});

# Read or update a field
my $val = $msg->instance_id_token();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Osconfig::Agentendpoint::V1beta::Agentendpoint::ReceiveTaskNotificationRequest->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/osconfig/agentendpoint/v1beta/agentendpoint.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::Agentendpoint::ReceiveTaskNotificationRequest

A request message to receive task notifications.

Inherits from Protobuf::Message.

Accessors

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

    Type: 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'.

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

    Type: String

    Required. The version of the agent making the request.

Google::Cloud::Osconfig::Agentendpoint::V1beta::Agentendpoint::ReceiveTaskNotificationResponse

The streaming rpc message that notifies the agent when it has a task that it needs to perform on the VM instance.

Inherits from Protobuf::Message.

Google::Cloud::Osconfig::Agentendpoint::V1beta::Agentendpoint::StartNextTaskRequest

A request message for signaling the start of a task execution.

Inherits from Protobuf::Message.

Accessors

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

    Type: 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'.

Google::Cloud::Osconfig::Agentendpoint::V1beta::Agentendpoint::StartNextTaskResponse

A response message that contains the details of the task to work on.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Osconfig::Agentendpoint::V1beta::Agentendpoint::ReportTaskProgressRequest

A request message for reporting the progress of current task.

Inherits from Protobuf::Message.

Accessors

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

    Type: 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'.

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

    Type: String

    Required. Unique identifier of the task this applies to.

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

    Type: Enum (Google::Cloud::Osconfig::Agentendpoint::V1beta::TaskType)

    Required. The type of task to report progress on.

    Progress must include the appropriate message based on this enum as specified below: APPLY_PATCHES = ApplyPatchesTaskProgress EXEC_STEP = Progress not supported for this type. APPLY_CONFIG_TASK = ApplyConfigTaskProgress

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

    Type: Message (Google::Cloud::Osconfig::Agentendpoint::V1beta::Tasks::ApplyPatchesTaskProgress)

    Details about the progress of the apply patches task.

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

    Type: Message (Google::Cloud::Osconfig::Agentendpoint::V1beta::Tasks::ExecStepTaskProgress)

    Details about the progress of the exec step task.

Google::Cloud::Osconfig::Agentendpoint::V1beta::Agentendpoint::ReportTaskProgressResponse

The response message after the agent reported the current task progress.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Osconfig::Agentendpoint::V1beta::Agentendpoint::ReportTaskCompleteRequest

A request message for signaling the completion of a task execution.

Inherits from Protobuf::Message.

Accessors

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

    Type: 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'.

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

    Type: String

    Required. Unique identifier of the task this applies to.

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

    Type: Enum (Google::Cloud::Osconfig::Agentendpoint::V1beta::TaskType)

    Required. The type of task to report completed.

    The output must include the appropriate message based on the following enum values: APPLY_PATCHES = ApplyPatchesTaskOutput EXEC_STEP = ExecStepTaskOutput APPLY_CONFIG_TASK = ApplyConfigTaskOutput

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

    Type: String

    Descriptive error message if the task execution ended in error.

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

    Type: Message (Google::Cloud::Osconfig::Agentendpoint::V1beta::Tasks::ApplyPatchesTaskOutput)

    Final output details of the apply patches task;

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

    Type: Message (Google::Cloud::Osconfig::Agentendpoint::V1beta::Tasks::ExecStepTaskOutput)

    Final output details of the exec step task;

Google::Cloud::Osconfig::Agentendpoint::V1beta::Agentendpoint::ReportTaskCompleteResponse

The response message after the agent signaled the current task complete.

Inherits from Protobuf::Message.

Google::Cloud::Osconfig::Agentendpoint::V1beta::Agentendpoint::RegisterAgentRequest

The request message for registering the agent.

Inherits from Protobuf::Message.

Accessors

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

    Type: 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'.

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

    Type: String

    Required. The version of the agent.

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

    Type: String

    Required. The capabilities supported by the agent. Supported values are: PATCH_GA GUEST_POLICY_BETA CONFIG_V1

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

    Type: String

    The operating system long name. For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019 Datacenter'.

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

    Type: String

    The operating system short name. For example, 'windows' or 'debian'.

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

    Type: String

    The version of the operating system.

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

    Type: String

    The system architecture of the operating system.

Google::Cloud::Osconfig::Agentendpoint::V1beta::Agentendpoint::RegisterAgentResponse

The response message after the agent registered.

Inherits from Protobuf::Message.

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.