Method: projects.locations.dataStores.siteSearchEngine.targetSites.patch

Updates a TargetSite.

HTTP request

PATCH https://discoveryengine.googleapis.com/v1alpha/{targetSite.name=projects/*/locations/*/dataStores/*/siteSearchEngine/targetSites/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
targetSite.name

string

Output only. The fully qualified resource name of the target site. projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}/siteSearchEngine/targetSites/{targetSite} The target_site_id is system-generated.

Request body

The request body contains an instance of TargetSite.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • discoveryengine.targetSites.update

For more information, see the IAM documentation.