Method: services.connections.patch

Updates the allocated ranges that are assigned to a connection.

HTTP request

PATCH https://servicenetworking.googleapis.com/v1/{name=services/*/connections/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

The private service connection that connects to a service producer organization. The name includes both the private service name and the VPC network peering name in the format of services/{peering_service_name}/connections/{vpc_peering_name}. For Google services that support this functionality, this is services/servicenetworking.googleapis.com/connections/servicenetworking-googleapis-com.

Query parameters

Parameters
updateMask

string (FieldMask format)

The update mask. If this is omitted, it defaults to "*". You can only update the listed peering ranges.

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

force

boolean

If a previously defined allocated range is removed, force flag must be set to true.

Request body

The request body contains an instance of Connection.

Response body

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

Authorization Scopes

Requires one of the following OAuth scopes:

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

For more information, see the Authentication Overview.