Ejemplo n.º 1
0
 /// <summary>
 /// Creates a context.
 ///
 /// If the specified context already exists, overrides the context.
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public override stt::Task <Context> CreateContextAsync(CreateContextRequest request, gaxgrpc::CallSettings callSettings = null)
 {
     Modify_CreateContextRequest(ref request, ref callSettings);
     return(_callCreateContext.Async(request, callSettings));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Creates a context.
 ///
 /// If the specified context already exists, overrides the context.
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>The RPC response.</returns>
 public override Context CreateContext(CreateContextRequest request, gaxgrpc::CallSettings callSettings = null)
 {
     Modify_CreateContextRequest(ref request, ref callSettings);
     return(_callCreateContext.Sync(request, callSettings));
 }
Ejemplo n.º 3
0
 partial void Modify_CreateContextRequest(ref CreateContextRequest request, ref gaxgrpc::CallSettings settings);
Ejemplo n.º 4
0
 /// <summary>
 /// Creates a context.
 ///
 /// If the specified context already exists, overrides the context.
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="cancellationToken">A <see cref="st::CancellationToken"/> to use for this RPC.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public virtual stt::Task <Context> CreateContextAsync(CreateContextRequest request, st::CancellationToken cancellationToken) =>
 CreateContextAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
Ejemplo n.º 5
0
 /// <summary>
 /// Creates a context.
 ///
 /// If the specified context already exists, overrides the context.
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public virtual stt::Task <Context> CreateContextAsync(CreateContextRequest request, gaxgrpc::CallSettings callSettings = null) =>
 throw new sys::NotImplementedException();
Ejemplo n.º 6
0
 /// <summary>
 /// Creates a context.
 ///
 /// If the specified context already exists, overrides the context.
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>The RPC response.</returns>
 public virtual Context CreateContext(CreateContextRequest request, gaxgrpc::CallSettings callSettings = null) =>
 throw new sys::NotImplementedException();