Class protos.google.cloud.discoveryengine.v1alpha.SiteSearchEngineService (1.10.0)

Represents a SiteSearchEngineService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.discoveryengine.v1alpha.SiteSearchEngineService

Package

@google-cloud/discoveryengine

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new SiteSearchEngineService service.

Parameters
Name Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

batchCreateTargetSites(request, callback)

public batchCreateTargetSites(request: google.cloud.discoveryengine.v1alpha.IBatchCreateTargetSitesRequest, callback: google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.BatchCreateTargetSitesCallback): void;

Calls BatchCreateTargetSites.

Parameters
Name Description
request IBatchCreateTargetSitesRequest

BatchCreateTargetSitesRequest message or plain object

callback BatchCreateTargetSitesCallback

Node-style callback called with the error, if any, and Operation

Returns
Type Description
void

batchCreateTargetSites(request)

public batchCreateTargetSites(request: google.cloud.discoveryengine.v1alpha.IBatchCreateTargetSitesRequest): Promise<google.longrunning.Operation>;

Calls BatchCreateTargetSites.

Parameter
Name Description
request IBatchCreateTargetSitesRequest

BatchCreateTargetSitesRequest message or plain object

Returns
Type Description
Promise<google.longrunning.Operation>

Promise

batchVerifyTargetSites(request, callback)

public batchVerifyTargetSites(request: google.cloud.discoveryengine.v1alpha.IBatchVerifyTargetSitesRequest, callback: google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.BatchVerifyTargetSitesCallback): void;

Calls BatchVerifyTargetSites.

Parameters
Name Description
request IBatchVerifyTargetSitesRequest

BatchVerifyTargetSitesRequest message or plain object

callback BatchVerifyTargetSitesCallback

Node-style callback called with the error, if any, and Operation

Returns
Type Description
void

batchVerifyTargetSites(request)

public batchVerifyTargetSites(request: google.cloud.discoveryengine.v1alpha.IBatchVerifyTargetSitesRequest): Promise<google.longrunning.Operation>;

Calls BatchVerifyTargetSites.

Parameter
Name Description
request IBatchVerifyTargetSitesRequest

BatchVerifyTargetSitesRequest message or plain object

Returns
Type Description
Promise<google.longrunning.Operation>

Promise

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): SiteSearchEngineService;

Creates new SiteSearchEngineService service using the specified rpc implementation.

Parameters
Name Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
Type Description
SiteSearchEngineService

RPC service. Useful where requests and/or responses are streamed.

createTargetSite(request, callback)

public createTargetSite(request: google.cloud.discoveryengine.v1alpha.ICreateTargetSiteRequest, callback: google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.CreateTargetSiteCallback): void;

Calls CreateTargetSite.

Parameters
Name Description
request ICreateTargetSiteRequest

CreateTargetSiteRequest message or plain object

callback CreateTargetSiteCallback

Node-style callback called with the error, if any, and Operation

Returns
Type Description
void

createTargetSite(request)

public createTargetSite(request: google.cloud.discoveryengine.v1alpha.ICreateTargetSiteRequest): Promise<google.longrunning.Operation>;

Calls CreateTargetSite.

Parameter
Name Description
request ICreateTargetSiteRequest

CreateTargetSiteRequest message or plain object

Returns
Type Description
Promise<google.longrunning.Operation>

Promise

deleteTargetSite(request, callback)

public deleteTargetSite(request: google.cloud.discoveryengine.v1alpha.IDeleteTargetSiteRequest, callback: google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.DeleteTargetSiteCallback): void;

Calls DeleteTargetSite.

Parameters
Name Description
request IDeleteTargetSiteRequest

DeleteTargetSiteRequest message or plain object

callback DeleteTargetSiteCallback

Node-style callback called with the error, if any, and Operation

Returns
Type Description
void

deleteTargetSite(request)

public deleteTargetSite(request: google.cloud.discoveryengine.v1alpha.IDeleteTargetSiteRequest): Promise<google.longrunning.Operation>;

Calls DeleteTargetSite.

Parameter
Name Description
request IDeleteTargetSiteRequest

DeleteTargetSiteRequest message or plain object

Returns
Type Description
Promise<google.longrunning.Operation>

Promise

disableAdvancedSiteSearch(request, callback)

public disableAdvancedSiteSearch(request: google.cloud.discoveryengine.v1alpha.IDisableAdvancedSiteSearchRequest, callback: google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.DisableAdvancedSiteSearchCallback): void;

Calls DisableAdvancedSiteSearch.

Parameters
Name Description
request IDisableAdvancedSiteSearchRequest

DisableAdvancedSiteSearchRequest message or plain object

callback DisableAdvancedSiteSearchCallback

Node-style callback called with the error, if any, and Operation

Returns
Type Description
void

disableAdvancedSiteSearch(request)

public disableAdvancedSiteSearch(request: google.cloud.discoveryengine.v1alpha.IDisableAdvancedSiteSearchRequest): Promise<google.longrunning.Operation>;

Calls DisableAdvancedSiteSearch.

Parameter
Name Description
request IDisableAdvancedSiteSearchRequest

DisableAdvancedSiteSearchRequest message or plain object

Returns
Type Description
Promise<google.longrunning.Operation>

Promise

enableAdvancedSiteSearch(request, callback)

public enableAdvancedSiteSearch(request: google.cloud.discoveryengine.v1alpha.IEnableAdvancedSiteSearchRequest, callback: google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.EnableAdvancedSiteSearchCallback): void;

Calls EnableAdvancedSiteSearch.

Parameters
Name Description
request IEnableAdvancedSiteSearchRequest

EnableAdvancedSiteSearchRequest message or plain object

callback EnableAdvancedSiteSearchCallback

Node-style callback called with the error, if any, and Operation

Returns
Type Description
void

enableAdvancedSiteSearch(request)

public enableAdvancedSiteSearch(request: google.cloud.discoveryengine.v1alpha.IEnableAdvancedSiteSearchRequest): Promise<google.longrunning.Operation>;

Calls EnableAdvancedSiteSearch.

Parameter
Name Description
request IEnableAdvancedSiteSearchRequest

EnableAdvancedSiteSearchRequest message or plain object

Returns
Type Description
Promise<google.longrunning.Operation>

Promise

fetchDomainVerificationStatus(request, callback)

public fetchDomainVerificationStatus(request: google.cloud.discoveryengine.v1alpha.IFetchDomainVerificationStatusRequest, callback: google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.FetchDomainVerificationStatusCallback): void;

Calls FetchDomainVerificationStatus.

Parameters
Name Description
request IFetchDomainVerificationStatusRequest

FetchDomainVerificationStatusRequest message or plain object

callback FetchDomainVerificationStatusCallback

Node-style callback called with the error, if any, and FetchDomainVerificationStatusResponse

Returns
Type Description
void

fetchDomainVerificationStatus(request)

public fetchDomainVerificationStatus(request: google.cloud.discoveryengine.v1alpha.IFetchDomainVerificationStatusRequest): Promise<google.cloud.discoveryengine.v1alpha.FetchDomainVerificationStatusResponse>;

Calls FetchDomainVerificationStatus.

Parameter
Name Description
request IFetchDomainVerificationStatusRequest

FetchDomainVerificationStatusRequest message or plain object

Returns
Type Description
Promise<google.cloud.discoveryengine.v1alpha.FetchDomainVerificationStatusResponse>

Promise

getSiteSearchEngine(request, callback)

public getSiteSearchEngine(request: google.cloud.discoveryengine.v1alpha.IGetSiteSearchEngineRequest, callback: google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.GetSiteSearchEngineCallback): void;

Calls GetSiteSearchEngine.

Parameters
Name Description
request IGetSiteSearchEngineRequest

GetSiteSearchEngineRequest message or plain object

callback GetSiteSearchEngineCallback

Node-style callback called with the error, if any, and SiteSearchEngine

Returns
Type Description
void

getSiteSearchEngine(request)

public getSiteSearchEngine(request: google.cloud.discoveryengine.v1alpha.IGetSiteSearchEngineRequest): Promise<google.cloud.discoveryengine.v1alpha.SiteSearchEngine>;

Calls GetSiteSearchEngine.

Parameter
Name Description
request IGetSiteSearchEngineRequest

GetSiteSearchEngineRequest message or plain object

Returns
Type Description
Promise<google.cloud.discoveryengine.v1alpha.SiteSearchEngine>

Promise

getTargetSite(request, callback)

public getTargetSite(request: google.cloud.discoveryengine.v1alpha.IGetTargetSiteRequest, callback: google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.GetTargetSiteCallback): void;

Calls GetTargetSite.

Parameters
Name Description
request IGetTargetSiteRequest

GetTargetSiteRequest message or plain object

callback GetTargetSiteCallback

Node-style callback called with the error, if any, and TargetSite

Returns
Type Description
void

getTargetSite(request)

public getTargetSite(request: google.cloud.discoveryengine.v1alpha.IGetTargetSiteRequest): Promise<google.cloud.discoveryengine.v1alpha.TargetSite>;

Calls GetTargetSite.

Parameter
Name Description
request IGetTargetSiteRequest

GetTargetSiteRequest message or plain object

Returns
Type Description
Promise<google.cloud.discoveryengine.v1alpha.TargetSite>

Promise

listTargetSites(request, callback)

public listTargetSites(request: google.cloud.discoveryengine.v1alpha.IListTargetSitesRequest, callback: google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.ListTargetSitesCallback): void;

Calls ListTargetSites.

Parameters
Name Description
request IListTargetSitesRequest

ListTargetSitesRequest message or plain object

callback ListTargetSitesCallback

Node-style callback called with the error, if any, and ListTargetSitesResponse

Returns
Type Description
void

listTargetSites(request)

public listTargetSites(request: google.cloud.discoveryengine.v1alpha.IListTargetSitesRequest): Promise<google.cloud.discoveryengine.v1alpha.ListTargetSitesResponse>;

Calls ListTargetSites.

Parameter
Name Description
request IListTargetSitesRequest

ListTargetSitesRequest message or plain object

Returns
Type Description
Promise<google.cloud.discoveryengine.v1alpha.ListTargetSitesResponse>

Promise

recrawlUris(request, callback)

public recrawlUris(request: google.cloud.discoveryengine.v1alpha.IRecrawlUrisRequest, callback: google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.RecrawlUrisCallback): void;

Calls RecrawlUris.

Parameters
Name Description
request IRecrawlUrisRequest

RecrawlUrisRequest message or plain object

callback RecrawlUrisCallback

Node-style callback called with the error, if any, and Operation

Returns
Type Description
void

recrawlUris(request)

public recrawlUris(request: google.cloud.discoveryengine.v1alpha.IRecrawlUrisRequest): Promise<google.longrunning.Operation>;

Calls RecrawlUris.

Parameter
Name Description
request IRecrawlUrisRequest

RecrawlUrisRequest message or plain object

Returns
Type Description
Promise<google.longrunning.Operation>

Promise

updateTargetSite(request, callback)

public updateTargetSite(request: google.cloud.discoveryengine.v1alpha.IUpdateTargetSiteRequest, callback: google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.UpdateTargetSiteCallback): void;

Calls UpdateTargetSite.

Parameters
Name Description
request IUpdateTargetSiteRequest

UpdateTargetSiteRequest message or plain object

callback UpdateTargetSiteCallback

Node-style callback called with the error, if any, and Operation

Returns
Type Description
void

updateTargetSite(request)

public updateTargetSite(request: google.cloud.discoveryengine.v1alpha.IUpdateTargetSiteRequest): Promise<google.longrunning.Operation>;

Calls UpdateTargetSite.

Parameter
Name Description
request IUpdateTargetSiteRequest

UpdateTargetSiteRequest message or plain object

Returns
Type Description
Promise<google.longrunning.Operation>

Promise