Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.UserEventsResource.WriteRequest

Writes a single user event.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaUserEvent>
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaUserEvent>
ProjectsResource.LocationsResource.UserEventsResource.WriteRequest
Implements
IClientServiceRequest<GoogleCloudDiscoveryengineV1alphaUserEvent>
IClientServiceRequest
Inherited Members
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaUserEvent>.Xgafv
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaUserEvent>.AccessToken
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaUserEvent>.Alt
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaUserEvent>.Callback
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaUserEvent>.Fields
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaUserEvent>.Key
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaUserEvent>.OauthToken
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaUserEvent>.PrettyPrint
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaUserEvent>.QuotaUser
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaUserEvent>.UploadType
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaUserEvent>.UploadProtocol
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaUserEvent>.Execute()
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaUserEvent>.ExecuteAsStream()
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaUserEvent>.ExecuteAsync()
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaUserEvent>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaUserEvent>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaUserEvent>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaUserEvent>.CreateRequest(bool?)
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaUserEvent>.GenerateRequestUri()
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaUserEvent>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaUserEvent>.ETagAction
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaUserEvent>.ModifyRequest
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaUserEvent>.ValidateParameters
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaUserEvent>.ApiVersion
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaUserEvent>.RequestParameters
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaUserEvent>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.DiscoveryEngine.v1alpha
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class ProjectsResource.LocationsResource.UserEventsResource.WriteRequest : DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaUserEvent>, IClientServiceRequest<GoogleCloudDiscoveryengineV1alphaUserEvent>, IClientServiceRequest

Constructors

WriteRequest(IClientService, GoogleCloudDiscoveryengineV1alphaUserEvent, string)

Constructs a new Write request.

Declaration
public WriteRequest(IClientService service, GoogleCloudDiscoveryengineV1alphaUserEvent body, string parent)
Parameters
Type Name Description
IClientService service
GoogleCloudDiscoveryengineV1alphaUserEvent body
string parent

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaUserEvent>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaUserEvent>.MethodName

Parent

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/{data_store}. 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}.

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
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaUserEvent>.RestPath

WriteAsync

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

Declaration
[RequestParameter("writeAsync", RequestParameterType.Query)]
public virtual bool? WriteAsync { get; set; }
Property Value
Type Description
bool?

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaUserEvent>.GetBody()

InitParameters()

Initializes Write parameter list.

Declaration
protected override void InitParameters()
Overrides
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaUserEvent>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX