Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.DataStoresResource.SiteSearchEngineResource.TargetSitesResource

The "targetSites" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.DataStoresResource.SiteSearchEngineResource.TargetSitesResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.DiscoveryEngine.v1
Assembly: Google.Apis.DiscoveryEngine.v1.dll
Syntax
public class ProjectsResource.LocationsResource.DataStoresResource.SiteSearchEngineResource.TargetSitesResource

Constructors

TargetSitesResource(IClientService)

Constructs a new resource.

Declaration
public TargetSitesResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

BatchCreate(GoogleCloudDiscoveryengineV1BatchCreateTargetSitesRequest, string)

Creates TargetSite in a batch.

Declaration
public virtual ProjectsResource.LocationsResource.DataStoresResource.SiteSearchEngineResource.TargetSitesResource.BatchCreateRequest BatchCreate(GoogleCloudDiscoveryengineV1BatchCreateTargetSitesRequest body, string parent)
Parameters
Type Name Description
GoogleCloudDiscoveryengineV1BatchCreateTargetSitesRequest body

The body of the request.

string parent

Required. The parent resource shared by all TargetSites being created. projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine. The parent field in the CreateBookRequest messages must either be empty or match this field.

Returns
Type Description
ProjectsResource.LocationsResource.DataStoresResource.SiteSearchEngineResource.TargetSitesResource.BatchCreateRequest

Create(GoogleCloudDiscoveryengineV1TargetSite, string)

Creates a TargetSite.

Declaration
public virtual ProjectsResource.LocationsResource.DataStoresResource.SiteSearchEngineResource.TargetSitesResource.CreateRequest Create(GoogleCloudDiscoveryengineV1TargetSite body, string parent)
Parameters
Type Name Description
GoogleCloudDiscoveryengineV1TargetSite body

The body of the request.

string parent

Required. Parent resource name of TargetSite, such as projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine.

Returns
Type Description
ProjectsResource.LocationsResource.DataStoresResource.SiteSearchEngineResource.TargetSitesResource.CreateRequest

Delete(string)

Deletes a TargetSite.

Declaration
public virtual ProjectsResource.LocationsResource.DataStoresResource.SiteSearchEngineResource.TargetSitesResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. Full resource name of TargetSite, such as projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}. If the caller does not have permission to access the TargetSite, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested TargetSite does not exist, a NOT_FOUND error is returned.

Returns
Type Description
ProjectsResource.LocationsResource.DataStoresResource.SiteSearchEngineResource.TargetSitesResource.DeleteRequest

Get(string)

Gets a TargetSite.

Declaration
public virtual ProjectsResource.LocationsResource.DataStoresResource.SiteSearchEngineResource.TargetSitesResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. Full resource name of TargetSite, such as projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}. If the caller does not have permission to access the TargetSite, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested TargetSite does not exist, a NOT_FOUND error is returned.

Returns
Type Description
ProjectsResource.LocationsResource.DataStoresResource.SiteSearchEngineResource.TargetSitesResource.GetRequest

List(string)

Gets a list of TargetSites.

Declaration
public virtual ProjectsResource.LocationsResource.DataStoresResource.SiteSearchEngineResource.TargetSitesResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The parent site search engine resource name, such as projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine. If the caller does not have permission to list TargetSites under this site search engine, regardless of whether or not this branch exists, a PERMISSION_DENIED error is returned.

Returns
Type Description
ProjectsResource.LocationsResource.DataStoresResource.SiteSearchEngineResource.TargetSitesResource.ListRequest

Patch(GoogleCloudDiscoveryengineV1TargetSite, string)

Updates a TargetSite.

Declaration
public virtual ProjectsResource.LocationsResource.DataStoresResource.SiteSearchEngineResource.TargetSitesResource.PatchRequest Patch(GoogleCloudDiscoveryengineV1TargetSite body, string name)
Parameters
Type Name Description
GoogleCloudDiscoveryengineV1TargetSite body

The body of the request.

string name

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

Returns
Type Description
ProjectsResource.LocationsResource.DataStoresResource.SiteSearchEngineResource.TargetSitesResource.PatchRequest
In this article
Back to top Generated by DocFX