Discovery Engine v1 API - Class GetTargetSiteRequest (1.2.0)

public sealed class GetTargetSiteRequest : IMessage<GetTargetSiteRequest>, IEquatable<GetTargetSiteRequest>, IDeepCloneable<GetTargetSiteRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1 API class GetTargetSiteRequest.

Request message for [SiteSearchEngineService.GetTargetSite][google.cloud.discoveryengine.v1.SiteSearchEngineService.GetTargetSite] method.

Inheritance

object > GetTargetSiteRequest

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.dll

Constructors

GetTargetSiteRequest()

public GetTargetSiteRequest()

GetTargetSiteRequest(GetTargetSiteRequest)

public GetTargetSiteRequest(GetTargetSiteRequest other)
Parameter
Name Description
other GetTargetSiteRequest

Properties

Name

public string Name { get; set; }

Required. Full resource name of [TargetSite][google.cloud.discoveryengine.v1.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][google.cloud.discoveryengine.v1.TargetSite], regardless of whether or not it exists, a PERMISSION_DENIED error is returned.

If the requested [TargetSite][google.cloud.discoveryengine.v1.TargetSite] does not exist, a NOT_FOUND error is returned.

Property Value
Type Description
string

TargetSiteName

public TargetSiteName TargetSiteName { get; set; }

TargetSiteName-typed view over the Name resource name property.

Property Value
Type Description
TargetSiteName