From c5ea8921fdcc0dea26aca4896332a37170f8a009 Mon Sep 17 00:00:00 2001 From: changsongd <101151583+changsongd@users.noreply.github.com> Date: Tue, 12 Apr 2022 11:02:57 -0700 Subject: [PATCH] docs: update operation id (#23) --- .../google-cloud-optimization/samples/snippets/get_operation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/google-cloud-optimization/samples/snippets/get_operation.py b/packages/google-cloud-optimization/samples/snippets/get_operation.py index 8189f69ab700..ae5291623fa3 100644 --- a/packages/google-cloud-optimization/samples/snippets/get_operation.py +++ b/packages/google-cloud-optimization/samples/snippets/get_operation.py @@ -20,7 +20,7 @@ def get_operation(operation_full_id: str) -> None: """Get operation details and status.""" # TODO(developer): Uncomment and set the following variables # operation_full_id = \ - # "projects/[projectId]/locations/operations/[operationId]" + # "projects/[projectId]/operations/[operationId]" client = optimization_v1.FleetRoutingClient() # Get the latest state of a long-running operation.