Method: networks.lines.rotations.patch

  • Sends a PATCH request to update specific fields of an existing LineRotation resource.

  • Requires the lineRotation.name path parameter to identify the LineRotation being updated.

  • Uses the updateMask query parameter to specify the fields to be modified.

  • The request body must contain the updated LineRotation data in JSON format.

  • A successful response returns the updated LineRotation object.

Updates a LineRotation.

HTTP request

PATCH https://middlemileoptimization.googleapis.com/v1/{lineRotation.name=networks/*/lines/*/rotations/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
lineRotation.name

string

Identifier. Cannot be updated.

Query parameters

Parameters
updateMask

string (FieldMask format)

Optional. The list of fields to update.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of LineRotation.

Response body

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