Method: projects.locations.workspaces.shipments.get

Gets a shipment.

HTTP request

GET https://cloudoptimization.googleapis.com/v1/{name}

Path parameters

Parameters
name

string

Required. The name of the shipment to retrieve. Format: "projects/{project}/locations/{location}/workspaces/{workspace}/shipments/{shipment}"

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Shipment.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.