예제 #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));
 }
예제 #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));
 }
예제 #3
0
 partial void Modify_CreateContextRequest(ref CreateContextRequest request, ref gaxgrpc::CallSettings settings);
예제 #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));
예제 #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();
예제 #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();