Show / Hide Table of Contents

Class GoogleCloudDiscoveryengineV1SearchLinkPromotion

Promotion proto includes uri and other helping information to display the promotion.

Inheritance
object
GoogleCloudDiscoveryengineV1SearchLinkPromotion
Implements
IDirectResponseSchema
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.v1alpha.Data
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class GoogleCloudDiscoveryengineV1SearchLinkPromotion : IDirectResponseSchema

Properties

Description

Optional. The Promotion description. Maximum length: 200 characters.

Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type Description
string

Document

Optional. The Document the user wants to promote. For site search, leave unset and only populate uri. Can be set along with uri.

Declaration
[JsonProperty("document")]
public virtual string Document { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Enabled

Optional. The enabled promotion will be returned for any serving configs associated with the parent of the control this promotion is attached to. This flag is used for basic site search only.

Declaration
[JsonProperty("enabled")]
public virtual bool? Enabled { get; set; }
Property Value
Type Description
bool?

ImageUri

Optional. The promotion thumbnail image url.

Declaration
[JsonProperty("imageUri")]
public virtual string ImageUri { get; set; }
Property Value
Type Description
string

Title

Required. The title of the promotion. Maximum length: 160 characters.

Declaration
[JsonProperty("title")]
public virtual string Title { get; set; }
Property Value
Type Description
string

Uri

Optional. The URL for the page the user wants to promote. Must be set for site search. For other verticals, this is optional.

Declaration
[JsonProperty("uri")]
public virtual string Uri { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX