ProjectsLocationsUserEvents
class ProjectsLocationsUserEvents extends Resource (View source)
The "userEvents" collection of methods.
Typical usage is:
$discoveryengineService = new Google\Service\DiscoveryEngine(...);
$userEvents = $discoveryengineService->projects_locations_userEvents;
Methods
Writes a single user event from the browser. This uses a GET request to due to browser restriction of POST-ing to a third-party domain. This method is used only by the Discovery Engine API JavaScript pixel and Google Tag Manager. Users should not call this method directly. (userEvents.collect)
Writes a single user event. (userEvents.write)
Details
GoogleApiHttpBody
collect(string $parent, array $optParams = [])
Writes a single user event from the browser. This uses a GET request to due to browser restriction of POST-ing to a third-party domain. This method is used only by the Discovery Engine API JavaScript pixel and Google Tag Manager. Users should not call this method directly. (userEvents.collect)
GoogleCloudDiscoveryengineV1UserEvent
write(string $parent, GoogleCloudDiscoveryengineV1UserEvent $postBody, array $optParams = [])
Writes a single user event. (userEvents.write)