Class ProjectsResource.IndexesResource.DeleteRequest
Deletes an existing index. An index can only be deleted if it is in a READY or ERROR state.
On successful execution of the request, the index will be in a DELETING state. And on completion of
the returned google.longrunning.Operation, the index will be removed.
During index deletion, the process could result in an error, in which case the index will move to the
ERROR state. The process can be recovered by fixing the data that caused the error, followed by
calling delete again.
Inheritance
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<GoogleLongrunningOperation>
ProjectsResource.IndexesResource.DeleteRequest
Implements
Google.Apis.Requests.IClientServiceRequest<GoogleLongrunningOperation>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Datastore.v1.Data.GoogleLongrunningOperation>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Datastore.v1.Data.GoogleLongrunningOperation>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Datastore.v1.Data.GoogleLongrunningOperation>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Datastore.v1.Data.GoogleLongrunningOperation>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Datastore.v1.Data.GoogleLongrunningOperation>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Datastore.v1.Data.GoogleLongrunningOperation>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Datastore.v1.Data.GoogleLongrunningOperation>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Datastore.v1.Data.GoogleLongrunningOperation>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Datastore.v1.Data.GoogleLongrunningOperation>.GetBody()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Datastore.v1.Data.GoogleLongrunningOperation>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Datastore.v1.Data.GoogleLongrunningOperation>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Datastore.v1.Data.GoogleLongrunningOperation>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Datastore.v1.Data.GoogleLongrunningOperation>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Datastore.v1.Data.GoogleLongrunningOperation>.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()
Namespace: Google.Apis.Datastore.v1
Assembly: Google.Apis.Datastore.v1.dll
Syntax
public class DeleteRequest : DatastoreBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest
Constructors
DeleteRequest(IClientService, String, String)
Constructs a new Delete request.
Declaration
public DeleteRequest(IClientService service, string projectId, string indexId)
Parameters
| Type | Name | Description |
|---|---|---|
| Google.Apis.Services.IClientService | service | |
| System.String | projectId | |
| System.String | indexId |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Datastore.v1.Data.GoogleLongrunningOperation>.HttpMethod
IndexId
The resource ID of the index to delete.
Declaration
[RequestParameter("indexId", RequestParameterType.Path)]
public virtual string IndexId { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Datastore.v1.Data.GoogleLongrunningOperation>.MethodName
ProjectId
Project ID against which to make the request.
Declaration
[RequestParameter("projectId", RequestParameterType.Path)]
public virtual string ProjectId { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Datastore.v1.Data.GoogleLongrunningOperation>.RestPath
Methods
InitParameters()
Initializes Delete parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Datastore.v1.DatastoreBaseServiceRequest<Google.Apis.Datastore.v1.Data.GoogleLongrunningOperation>.InitParameters()
Implements
Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest