Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.SampleQuerySetsResource.SampleQueriesResource.PatchRequest

Updates a SampleQuery.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaSampleQuery>
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaSampleQuery>
ProjectsResource.LocationsResource.SampleQuerySetsResource.SampleQueriesResource.PatchRequest
Implements
IClientServiceRequest<GoogleCloudDiscoveryengineV1alphaSampleQuery>
IClientServiceRequest
Inherited Members
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaSampleQuery>.Xgafv
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaSampleQuery>.AccessToken
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaSampleQuery>.Alt
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaSampleQuery>.Callback
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaSampleQuery>.Fields
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaSampleQuery>.Key
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaSampleQuery>.OauthToken
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaSampleQuery>.PrettyPrint
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaSampleQuery>.QuotaUser
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaSampleQuery>.UploadType
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaSampleQuery>.UploadProtocol
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaSampleQuery>.Execute()
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaSampleQuery>.ExecuteAsStream()
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaSampleQuery>.ExecuteAsync()
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaSampleQuery>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaSampleQuery>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaSampleQuery>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaSampleQuery>.CreateRequest(bool?)
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaSampleQuery>.GenerateRequestUri()
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaSampleQuery>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaSampleQuery>.ETagAction
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaSampleQuery>.ModifyRequest
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaSampleQuery>.ValidateParameters
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaSampleQuery>.ApiVersion
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaSampleQuery>.RequestParameters
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaSampleQuery>.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.SampleQuerySetsResource.SampleQueriesResource.PatchRequest : DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaSampleQuery>, IClientServiceRequest<GoogleCloudDiscoveryengineV1alphaSampleQuery>, IClientServiceRequest

Constructors

PatchRequest(IClientService, GoogleCloudDiscoveryengineV1alphaSampleQuery, string)

Constructs a new Patch request.

Declaration
public PatchRequest(IClientService service, GoogleCloudDiscoveryengineV1alphaSampleQuery body, string name)
Parameters
Type Name Description
IClientService service
GoogleCloudDiscoveryengineV1alphaSampleQuery body
string name

Properties

HttpMethod

Gets the HTTP method.

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

MethodName

Gets the method name.

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

Name

Identifier. The full resource name of the sample query, in the format of projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}. This field must be a UTF-8 encoded string with a length limit of 1024 characters.

Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type Description
string

RestPath

Gets the REST path.

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

UpdateMask

Indicates which fields in the provided imported 'simple query' to update. If not set, will by default update all fields.

Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
Type Description
object

Methods

GetBody()

Returns the body of the request.

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

InitParameters()

Initializes Patch parameter list.

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

Implements

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