Class ProjectsResource.LocationsResource.CatalogsResource.UserEventsResource.ImportRequest
Bulk import of User events. Request processing might be synchronous. Events that already exist
are skipped. Use this method for backfilling historical user events. Operation.response is of
type ImportResponse. Note that it is possible for a subset of the items to be successfully
inserted. Operation.metadata is of type ImportMetadata.
Inheritance
ProjectsResource.LocationsResource.CatalogsResource.UserEventsResource.ImportRequest
Inherited Members
Namespace: Google.Apis.CloudRetail.v2
Assembly: Google.Apis.CloudRetail.v2.dll
Syntax
public class ProjectsResource.LocationsResource.CatalogsResource.UserEventsResource.ImportRequest : CloudRetailBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest
Constructors
ImportRequest(IClientService, GoogleCloudRetailV2ImportUserEventsRequest, string)
Constructs a new Import request.
Declaration
public ImportRequest(IClientService service, GoogleCloudRetailV2ImportUserEventsRequest body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| GoogleCloudRetailV2ImportUserEventsRequest | body | |
| string | parent |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleLongrunningOperation>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleLongrunningOperation>.MethodName
Parent
Required. projects/1234/locations/global/catalogs/default_catalog
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleLongrunningOperation>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleLongrunningOperation>.GetBody()
InitParameters()
Initializes Import parameter list.
Declaration
protected override void InitParameters()