Esempio n. 1
0
 /// <summary>
 ///  Creates a new Cloud Spanner database and starts to prepare it for serving.
 ///  The returned [long-running operation][google.longrunning.Operation] will
 ///  have a name of the format `&lt;database_name>/operations/&lt;operation_id>` and
 ///  can be used to track preparation of the database. The
 ///  [metadata][google.longrunning.Operation.metadata] field type is
 ///  [CreateDatabaseMetadata][google.spanner.admin.database.v1.CreateDatabaseMetadata]. The
 ///  [response][google.longrunning.Operation.response] field type is
 ///  [Database][google.spanner.admin.database.v1.Database], if successful.
 /// </summary>
 public virtual AsyncUnaryCall <global::Google.LongRunning.Operation> CreateDatabaseAsync(global::Google.Cloud.Spanner.Admin.Database.V1.CreateDatabaseRequest request, Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(CreateDatabaseAsync(request, new CallOptions(headers, deadline, cancellationToken)));
 }
Esempio n. 2
0
 /// <summary>
 ///  Creates a new Cloud Spanner database and starts to prepare it for serving.
 ///  The returned [long-running operation][google.longrunning.Operation] will
 ///  have a name of the format `&lt;database_name>/operations/&lt;operation_id>` and
 ///  can be used to track preparation of the database. The
 ///  [metadata][google.longrunning.Operation.metadata] field type is
 ///  [CreateDatabaseMetadata][google.spanner.admin.database.v1.CreateDatabaseMetadata]. The
 ///  [response][google.longrunning.Operation.response] field type is
 ///  [Database][google.spanner.admin.database.v1.Database], if successful.
 /// </summary>
 public virtual AsyncUnaryCall <global::Google.LongRunning.Operation> CreateDatabaseAsync(global::Google.Cloud.Spanner.Admin.Database.V1.CreateDatabaseRequest request, CallOptions options)
 {
     return(CallInvoker.AsyncUnaryCall(__Method_CreateDatabase, null, options, request));
 }
Esempio n. 3
0
 /// <summary>
 ///  Creates a new Cloud Spanner database and starts to prepare it for serving.
 ///  The returned [long-running operation][google.longrunning.Operation] will
 ///  have a name of the format `&lt;database_name>/operations/&lt;operation_id>` and
 ///  can be used to track preparation of the database. The
 ///  [metadata][google.longrunning.Operation.metadata] field type is
 ///  [CreateDatabaseMetadata][google.spanner.admin.database.v1.CreateDatabaseMetadata]. The
 ///  [response][google.longrunning.Operation.response] field type is
 ///  [Database][google.spanner.admin.database.v1.Database], if successful.
 /// </summary>
 public virtual global::System.Threading.Tasks.Task <global::Google.LongRunning.Operation> CreateDatabase(global::Google.Cloud.Spanner.Admin.Database.V1.CreateDatabaseRequest request, ServerCallContext context)
 {
     throw new RpcException(new Status(StatusCode.Unimplemented, ""));
 }