Class ProjectsResource.LocationsResource.CatalogsResource.UserEventsResource.CollectRequest
Writes a single user event from the browser. This uses a GET request to due to browser
restriction of POST-ing to a 3rd party domain. This method is used only by the Retail API
JavaScript pixel and Google Tag Manager. Users should not call this method directly.
Inheritance
System.Object
Google.Apis.Requests.ClientServiceRequest
ProjectsResource.LocationsResource.CatalogsResource.UserEventsResource.CollectRequest
Implements
Google.Apis.Requests.IClientServiceRequest
Inherited Members
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleApiHttpBody>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleApiHttpBody>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleApiHttpBody>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleApiHttpBody>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleApiHttpBody>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleApiHttpBody>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleApiHttpBody>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleApiHttpBody>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleApiHttpBody>.GetBody()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleApiHttpBody>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleApiHttpBody>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleApiHttpBody>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleApiHttpBody>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleApiHttpBody>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleApiHttpBody>.Service
Google.Apis.Requests.ClientServiceRequest._unsuccessfulResponseHandlers
Google.Apis.Requests.ClientServiceRequest._exceptionHandlers
Google.Apis.Requests.ClientServiceRequest._executeInterceptors
Google.Apis.Requests.ClientServiceRequest.AddUnsuccessfulResponseHandler(Google.Apis.Http.IHttpUnsuccessfulResponseHandler)
Google.Apis.Requests.ClientServiceRequest.AddExceptionHandler(Google.Apis.Http.IHttpExceptionHandler)
Google.Apis.Requests.ClientServiceRequest.AddExecuteInterceptor(Google.Apis.Http.IHttpExecuteInterceptor)
Google.Apis.Requests.ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Google.Apis.CloudRetail.v2.dll
Syntax
public class CollectRequest : CloudRetailBaseServiceRequest<GoogleApiHttpBody>, IClientServiceRequest<GoogleApiHttpBody>, IClientServiceRequest
Constructors
CollectRequest(IClientService, String)
Constructs a new Collect request.
Declaration
public CollectRequest(IClientService service, string parent)
Parameters
| Type |
Name |
Description |
| Google.Apis.Services.IClientService |
service |
|
| System.String |
parent |
|
Properties
Ets
The event timestamp in milliseconds. This prevents browser caching of otherwise identical
get requests. The name is abbreviated to reduce the payload bytes.
Declaration
[RequestParameter("ets", RequestParameterType.Query)]
public virtual long? Ets { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Int64> |
|
HttpMethod
Declaration
public override string HttpMethod { get; }
Property Value
| Type |
Description |
| System.String |
|
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleApiHttpBody>.HttpMethod
MethodName
Declaration
public override string MethodName { get; }
Property Value
| Type |
Description |
| System.String |
|
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleApiHttpBody>.MethodName
Parent
Required. The parent catalog name, such as
projects/1234/locations/global/catalogs/default_catalog.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
| Type |
Description |
| System.String |
|
RestPath
Declaration
public override string RestPath { get; }
Property Value
| Type |
Description |
| System.String |
|
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleApiHttpBody>.RestPath
Uri
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 3rd party requests.
Declaration
[RequestParameter("uri", RequestParameterType.Query)]
public virtual string Uri { get; set; }
Property Value
| Type |
Description |
| System.String |
|
UserEvent
Required. URL encoded UserEvent proto with a length limit of 2,000,000 characters.
Declaration
[RequestParameter("userEvent", RequestParameterType.Query)]
public virtual string UserEvent { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Methods
InitParameters()
Initializes Collect parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.CloudRetail.v2.CloudRetailBaseServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleApiHttpBody>.InitParameters()
Implements
Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest