WidgetWriteUserEventRequest

Request message for WidgetService.WidgetWriteUserEvent method.

JSON representation
 { 
 "location" 
 : 
 string 
 , 
 "configId" 
 : 
 string 
 , 
 "writeUserEventRequest" 
 : 
 { 
 object (  WriteUserEventRequest 
 
) 
 } 
 , 
 "additionalParams" 
 : 
 { 
 object (  AdditionalParams 
 
) 
 } 
 } 
Fields
location

string

Required. The location resource where widget write user event will be performed. Format: locations/{location}

configId

string

Required. The UUID of the WidgetConfig. This field is used to identify the widget configuration, set of models used to write user event.

writeUserEventRequest

object ( WriteUserEventRequest )

Required. The user event write request.

additionalParams

object ( AdditionalParams )

Required. Additional params for security and privacy enhancement.

WriteUserEventRequest

Request message for WriteUserEvent method.

JSON representation
 { 
 "parent" 
 : 
 string 
 , 
 "writeAsync" 
 : 
 boolean 
 , 
 "userEvent" 
 : 
 { 
 object (  UserEvent 
 
) 
 } 
 } 
Fields
parent

string

Required. The parent resource name. If the write user event action is applied in DataStore level, the format is: projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore} . If the write user event action is applied in Location level, for example, the event with Document across multiple DataStore , the format is: projects/{project}/locations/{location} .

writeAsync

boolean

If set to true, the user event is written asynchronously after validation, and the API responds without waiting for the write.

userEvent

object ( UserEvent )

Required. User event to write.

Design a Mobile Site
View Site in Mobile | Classic
Share by: