Discovery Engine v1beta API - Class CollectUserEventRequest (1.0.0-beta12)

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

Reference documentation and code samples for the Discovery Engine v1beta API class CollectUserEventRequest.

Request message for CollectUserEvent method.

Inheritance

object > CollectUserEventRequest

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Constructors

CollectUserEventRequest()

public CollectUserEventRequest()

CollectUserEventRequest(CollectUserEventRequest)

public CollectUserEventRequest(CollectUserEventRequest other)
Parameter
NameDescription
otherCollectUserEventRequest

Properties

Ets

public long Ets { get; set; }

The event timestamp in milliseconds. This prevents browser caching of otherwise identical get requests. The name is abbreviated to reduce the payload bytes.

Property Value
TypeDescription
long

HasEts

public bool HasEts { get; }

Gets whether the "ets" field is set

Property Value
TypeDescription
bool

HasUri

public bool HasUri { get; }

Gets whether the "uri" field is set

Property Value
TypeDescription
bool

Parent

public string Parent { get; set; }

Required. The parent DataStore resource name, such as projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}.

Property Value
TypeDescription
string

ParentAsDataStoreName

public DataStoreName ParentAsDataStoreName { get; set; }

DataStoreName-typed view over the Parent resource name property.

Property Value
TypeDescription
DataStoreName

Uri

public string Uri { get; set; }

The URL including cgi-parameters but excluding the hash fragment with a length limit of 5,000 characters. This is often more useful than the referer URL, because many browsers only send the domain for third-party requests.

Property Value
TypeDescription
string

UserEvent

public string UserEvent { get; set; }

Required. URL encoded UserEvent proto with a length limit of 2,000,000 characters.

Property Value
TypeDescription
string