Example #1
0
 /// <summary>
 /// Returns the requested display keyword view in full detail.
 ///
 /// List of thrown errors:
 /// [AuthenticationError]()
 /// [AuthorizationError]()
 /// [HeaderError]()
 /// [InternalError]()
 /// [QuotaError]()
 /// [RequestError]()
 /// </summary>
 /// <param name="resourceName">
 /// Required. The resource name of the display keyword view to fetch.
 /// </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 <gagvr::DisplayKeywordView> GetDisplayKeywordViewAsync(gagvr::DisplayKeywordViewName resourceName, st::CancellationToken cancellationToken) =>
 GetDisplayKeywordViewAsync(resourceName, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
Example #2
0
 /// <summary>
 /// Returns the requested display keyword view in full detail.
 ///
 /// List of thrown errors:
 /// [AuthenticationError]()
 /// [AuthorizationError]()
 /// [HeaderError]()
 /// [InternalError]()
 /// [QuotaError]()
 /// [RequestError]()
 /// </summary>
 /// <param name="resourceName">
 /// Required. The resource name of the display keyword view to fetch.
 /// </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 <gagvr::DisplayKeywordView> GetDisplayKeywordViewAsync(gagvr::DisplayKeywordViewName resourceName, gaxgrpc::CallSettings callSettings = null) =>
 GetDisplayKeywordViewAsync(new GetDisplayKeywordViewRequest
 {
     ResourceNameAsDisplayKeywordViewName = gax::GaxPreconditions.CheckNotNull(resourceName, nameof(resourceName)),
 }, callSettings);