NAME
Google::Cloud::Osconfig::Agentendpoint::V1beta - Client library for Google Cloud Services
SYNOPSIS
use Google::Cloud::Osconfig::Agentendpoint::V1beta;
use Google::Auth;
my $auth = Google::Auth->default();
# 1. High-performance gRPC Transport (Default)
my $grpc_client = Google::Cloud::Osconfig::Agentendpoint::V1beta->new(
credentials => $auth,
transport => 'grpc', # Optional: 'grpc' is default
);
# 2. HTTP/REST Transport
my $rest_client = Google::Cloud::Osconfig::Agentendpoint::V1beta->new(
credentials => $auth,
transport => 'rest',
);
# Execute service methods
my $res = $grpc_client->some_method( %params );
DESCRIPTION
Google::Cloud::Osconfig::Agentendpoint::V1beta 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/v1beta/agentendpoint.protogoogleapis/google/cloud/osconfig/agentendpoint/v1beta/guest_policies.protogoogleapis/google/cloud/osconfig/agentendpoint/v1beta/patch_jobs.protogoogleapis/google/cloud/osconfig/agentendpoint/v1beta/tasks.proto
CONSTRUCTOR
new
my $client = Google::Cloud::Osconfig::Agentendpoint::V1beta->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.v1beta.AgentEndpointService.Request: Google::Cloud::Osconfig::Agentendpoint::V1beta::Agentendpoint::ReceiveTaskNotificationRequest
Returns: Google::Cloud::Osconfig::Agentendpoint::V1beta::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.v1beta.AgentEndpointService.Request: Google::Cloud::Osconfig::Agentendpoint::V1beta::Agentendpoint::StartNextTaskRequest
Returns: Google::Cloud::Osconfig::Agentendpoint::V1beta::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.v1beta.AgentEndpointService.Request: Google::Cloud::Osconfig::Agentendpoint::V1beta::Agentendpoint::ReportTaskProgressRequest
Returns: Google::Cloud::Osconfig::Agentendpoint::V1beta::Agentendpoint::ReportTaskProgressResponse
Parameters:
instance_id_token-stringtask_id-stringtask_type- Google::Cloud::Osconfig::Agentendpoint::V1beta::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.v1beta.AgentEndpointService.Request: Google::Cloud::Osconfig::Agentendpoint::V1beta::Agentendpoint::ReportTaskCompleteRequest
Returns: Google::Cloud::Osconfig::Agentendpoint::V1beta::Agentendpoint::ReportTaskCompleteResponse
Parameters:
instance_id_token-stringtask_id-stringtask_type- Google::Cloud::Osconfig::Agentendpoint::V1beta::Agentendpoint::TaskTypeerror_message-string
lookup_effective_guest_policy
my $response = $client->lookup_effective_guest_policy( instance_id_token => $instance_id_token, os_short_name => $os_short_name, os_version => $os_version, os_architecture => $os_architecture, );Calls the RPC method
LookupEffectiveGuestPolicyongoogle.cloud.osconfig.agentendpoint.v1beta.AgentEndpointService.Request: Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::LookupEffectiveGuestPolicyRequest
Returns: Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::EffectiveGuestPolicy
Parameters:
instance_id_token-stringos_short_name-stringos_version-stringos_architecture-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.v1beta.AgentEndpointService.Request: Google::Cloud::Osconfig::Agentendpoint::V1beta::Agentendpoint::RegisterAgentRequest
Returns: Google::Cloud::Osconfig::Agentendpoint::V1beta::Agentendpoint::RegisterAgentResponse
Parameters:
instance_id_token-stringagent_version-stringsupported_capabilities- ArrayRef ofstringos_long_name-stringos_short_name-stringos_version-stringos_architecture-string
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.