Service Client: Google::Cloud::Osconfig::Agentendpoint::V1::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::V1::Agentendpoint - Compiled Protocol Buffers messages for google/cloud/osconfig/agentendpoint/v1/agentendpoint.proto

SYNOPSIS

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

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

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

DESCRIPTION

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

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

Inherits from Protobuf::Message.

Google::Cloud::Osconfig::Agentendpoint::V1::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::V1::Agentendpoint::StartNextTaskResponse

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

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Osconfig::Agentendpoint::V1::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::V1::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::V1::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::V1::Tasks::ExecStepTaskProgress)

    Details about the progress of the exec step task.

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

    Type: Message (Google::Cloud::Osconfig::Agentendpoint::V1::Tasks::ApplyConfigTaskProgress)

    Details about the progress of the apply config task.

Google::Cloud::Osconfig::Agentendpoint::V1::Agentendpoint::ReportTaskProgressResponse

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

Inherits from Protobuf::Message.

Accessors

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

    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

  • $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::V1::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::V1::Tasks::ExecStepTaskOutput)

    Final output details of the exec step task;

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

    Type: Message (Google::Cloud::Osconfig::Agentendpoint::V1::Tasks::ApplyConfigTaskOutput)

    Final output details of the apply config task;

Google::Cloud::Osconfig::Agentendpoint::V1::Agentendpoint::ReportTaskCompleteResponse

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

Inherits from Protobuf::Message.

Google::Cloud::Osconfig::Agentendpoint::V1::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::V1::Agentendpoint::RegisterAgentResponse

The response message after the agent registered.

Inherits from Protobuf::Message.

Google::Cloud::Osconfig::Agentendpoint::V1::Agentendpoint::ReportInventoryRequest

The request message for having the agent report inventory.

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->inventory_checksum() / $msg->inventory_checksum($value)

    Type: String

    Required. This is a client created checksum that should be generated based on the contents of the reported inventory. This will be used by the service to determine if it has the latest version of inventory.

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

    Type: Message (Google::Cloud::Osconfig::Agentendpoint::V1::Inventory::Inventory)

    Optional. This is the details of the inventory. Should only be provided if the inventory has changed since the last report, or if instructed by the service to provide full inventory.

Google::Cloud::Osconfig::Agentendpoint::V1::Agentendpoint::ReportInventoryResponse

The response message after the agent has reported inventory.

Inherits from Protobuf::Message.

Accessors

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

    Type: Bool

    If true, the full inventory should be reported back to the server.

Google::Cloud::Osconfig::Agentendpoint::V1::Agentendpoint::ReportVmInventoryRequest

The request message for reporting the agent's VM inventory.

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->inventory_checksum() / $msg->inventory_checksum($value)

    Type: String

    Required. This is a client created checksum that should be generated based on the contents of the reported inventory. This will be used by the service to determine if it has the latest version of inventory.

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

    Type: Message (Google::Cloud::Osconfig::Agentendpoint::V1::VmInventory::VmInventory)

    Optional. This is the details of the VM inventory. Should only be provided if the inventory has changed since the last report, or if instructed by the service to provide full inventory.

Google::Cloud::Osconfig::Agentendpoint::V1::Agentendpoint::ReportVmInventoryResponse

The response message after the agent has reported VM inventory.

Inherits from Protobuf::Message.

Accessors

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

    Type: Bool

    If true, the full inventory should be reported back to the server.

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.