Class ProjectsResource.IndexesResource.CreateRequest
Creates the specified index. A newly created index's initial state is CREATING. On completion
of the returned google.longrunning.Operation, the state will be READY. If the index already exists,
the call will return an ALREADY_EXISTS status.
During index creation, 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, removing the index
with delete, then re-creating the index with create.
Indexes with a single property cannot be created.
Inheritance
System.Object
Google.Apis.Requests.ClientServiceRequest
ProjectsResource.IndexesResource.CreateRequest
Implements
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>.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()
Assembly: Google.Apis.Datastore.v1.dll
Syntax
public class CreateRequest : DatastoreBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest
Constructors
CreateRequest(IClientService, GoogleDatastoreAdminV1Index, String)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, GoogleDatastoreAdminV1Index body, string projectId)
Parameters
Properties
HttpMethod
Declaration
public override string HttpMethod { get; }
Property Value
| Type |
Description |
| System.String |
|
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Datastore.v1.Data.GoogleLongrunningOperation>.HttpMethod
MethodName
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
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
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type |
Description |
| System.Object |
|
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Datastore.v1.Data.GoogleLongrunningOperation>.GetBody()
InitParameters()
Initializes Create 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