NAME
Google::Cloud::Osconfig::Agentendpoint::V1 - Client library for Google Cloud Services
SYNOPSIS
use Google::Cloud::Osconfig::Agentendpoint::V1;
use Google::Auth;
my $auth = Google::Auth->default();
# 1. High-performance gRPC Transport (Default)
my $grpc_client = Google::Cloud::Osconfig::Agentendpoint::V1->new(
credentials => $auth,
transport => 'grpc', # Optional: 'grpc' is default
);
# 2. HTTP/REST Transport
my $rest_client = Google::Cloud::Osconfig::Agentendpoint::V1->new(
credentials => $auth,
transport => 'rest',
);
# Execute service methods
my $res = $grpc_client->some_method( %params );
DESCRIPTION
Google::Cloud::Osconfig::Agentendpoint::V1 is an auto-generated client library for Google Cloud Services.
It provides a unified client interface supporting both high-performance HTTP/2 gRPC and HTTP/REST transports, with automatic Google Cloud Application Default Credentials (ADC) resolution and typed Protocol Buffers message handling.
SOURCE
Generated from the following Protocol Buffers schemas:
googleapis/google/cloud/osconfig/agentendpoint/v1/agentendpoint.protogoogleapis/google/cloud/osconfig/agentendpoint/v1/config_common.protogoogleapis/google/cloud/osconfig/agentendpoint/v1/inventory.protogoogleapis/google/cloud/osconfig/agentendpoint/v1/os_policy.protogoogleapis/google/cloud/osconfig/agentendpoint/v1/patch_jobs.protogoogleapis/google/cloud/osconfig/agentendpoint/v1/tasks.protogoogleapis/google/cloud/osconfig/agentendpoint/v1/vm_inventory.proto
CONSTRUCTOR
new
my $client = Google::Cloud::Osconfig::Agentendpoint::V1->new(
credentials => $auth, # Optional: Google::Auth object (defaults to ADC)
transport => 'grpc', # Optional: 'grpc' (default) or 'rest'
);
ATTRIBUTES
credentials
Returns or accepts the Google::Auth credentials object.
transport
Returns or accepts the active transport object (Google::gRPC::Client or Google::Cloud::REST::Client).
METHODS
METHODS
The following RPC methods are available in this client:
receive_task_notification
my $response = $client->receive_task_notification( instance_id_token => $instance_id_token, agent_version => $agent_version, );Calls the RPC method
ReceiveTaskNotificationongoogle.cloud.osconfig.agentendpoint.v1.AgentEndpointService.Request: Google::Cloud::Osconfig::Agentendpoint::V1::Agentendpoint::ReceiveTaskNotificationRequest
Returns: Google::Cloud::Osconfig::Agentendpoint::V1::Agentendpoint::ReceiveTaskNotificationResponse
Parameters:
instance_id_token-stringagent_version-string
start_next_task
my $response = $client->start_next_task( instance_id_token => $instance_id_token, );Calls the RPC method
StartNextTaskongoogle.cloud.osconfig.agentendpoint.v1.AgentEndpointService.Request: Google::Cloud::Osconfig::Agentendpoint::V1::Agentendpoint::StartNextTaskRequest
Returns: Google::Cloud::Osconfig::Agentendpoint::V1::Agentendpoint::StartNextTaskResponse
Parameters:
instance_id_token-string
report_task_progress
my $response = $client->report_task_progress( instance_id_token => $instance_id_token, task_id => $task_id, task_type => $task_type, );Calls the RPC method
ReportTaskProgressongoogle.cloud.osconfig.agentendpoint.v1.AgentEndpointService.Request: Google::Cloud::Osconfig::Agentendpoint::V1::Agentendpoint::ReportTaskProgressRequest
Returns: Google::Cloud::Osconfig::Agentendpoint::V1::Agentendpoint::ReportTaskProgressResponse
Parameters:
instance_id_token-stringtask_id-stringtask_type- Google::Cloud::Osconfig::Agentendpoint::V1::Agentendpoint::TaskType
report_task_complete
my $response = $client->report_task_complete( instance_id_token => $instance_id_token, task_id => $task_id, task_type => $task_type, error_message => $error_message, );Calls the RPC method
ReportTaskCompleteongoogle.cloud.osconfig.agentendpoint.v1.AgentEndpointService.Request: Google::Cloud::Osconfig::Agentendpoint::V1::Agentendpoint::ReportTaskCompleteRequest
Returns: Google::Cloud::Osconfig::Agentendpoint::V1::Agentendpoint::ReportTaskCompleteResponse
Parameters:
instance_id_token-stringtask_id-stringtask_type- Google::Cloud::Osconfig::Agentendpoint::V1::Agentendpoint::TaskTypeerror_message-string
register_agent
my $response = $client->register_agent( instance_id_token => $instance_id_token, agent_version => $agent_version, supported_capabilities => [ ... ], os_long_name => $os_long_name, os_short_name => $os_short_name, os_version => $os_version, os_architecture => $os_architecture, );Calls the RPC method
RegisterAgentongoogle.cloud.osconfig.agentendpoint.v1.AgentEndpointService.Request: Google::Cloud::Osconfig::Agentendpoint::V1::Agentendpoint::RegisterAgentRequest
Returns: Google::Cloud::Osconfig::Agentendpoint::V1::Agentendpoint::RegisterAgentResponse
Parameters:
instance_id_token-stringagent_version-stringsupported_capabilities- ArrayRef ofstringos_long_name-stringos_short_name-stringos_version-stringos_architecture-string
report_inventory
my $response = $client->report_inventory( instance_id_token => $instance_id_token, inventory_checksum => $inventory_checksum, inventory => $inventory, );Calls the RPC method
ReportInventoryongoogle.cloud.osconfig.agentendpoint.v1.AgentEndpointService.Request: Google::Cloud::Osconfig::Agentendpoint::V1::Agentendpoint::ReportInventoryRequest
Returns: Google::Cloud::Osconfig::Agentendpoint::V1::Agentendpoint::ReportInventoryResponse
Parameters:
instance_id_token-stringinventory_checksum-stringinventory- Google::Cloud::Osconfig::Agentendpoint::V1::Inventory::Inventory
report_vm_inventory
my $response = $client->report_vm_inventory( instance_id_token => $instance_id_token, inventory_checksum => $inventory_checksum, vm_inventory => $vm_inventory, );Calls the RPC method
ReportVmInventoryongoogle.cloud.osconfig.agentendpoint.v1.AgentEndpointService.Request: Google::Cloud::Osconfig::Agentendpoint::V1::Agentendpoint::ReportVmInventoryRequest
Returns: Google::Cloud::Osconfig::Agentendpoint::V1::Agentendpoint::ReportVmInventoryResponse
Parameters:
instance_id_token-stringinventory_checksum-stringvm_inventory- Google::Cloud::Osconfig::Agentendpoint::V1::VmInventory::VmInventory
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.