Method: networks.patch

  • Updates an existing Network using the PATCH method and providing the desired changes in the request body.

  • The network.name is a required path parameter that identifies the network to update and cannot be changed.

  • You can optionally specify an updateMask query parameter to control which specific fields of the Network resource are modified.

  • The request and response bodies both use the Network object to represent the network configuration.

Updates a Network.

HTTP request

PATCH https://middlemileoptimization.googleapis.com/v1/{network.name=networks/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
network.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 Network.

Response body

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