예제 #1
0
 /// <summary>
 /// Returns the requested keyword theme constant in full detail.
 /// </summary>
 /// <param name="resourceName">
 /// Required. The resource name of the keyword theme constant 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::KeywordThemeConstant> GetKeywordThemeConstantAsync(gagvr::KeywordThemeConstantName resourceName, st::CancellationToken cancellationToken) =>
 GetKeywordThemeConstantAsync(resourceName, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
예제 #2
0
 /// <summary>
 /// Returns the requested keyword theme constant in full detail.
 /// </summary>
 /// <param name="resourceName">
 /// Required. The resource name of the keyword theme constant 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::KeywordThemeConstant> GetKeywordThemeConstantAsync(gagvr::KeywordThemeConstantName resourceName, gaxgrpc::CallSettings callSettings = null) =>
 GetKeywordThemeConstantAsync(new GetKeywordThemeConstantRequest
 {
     ResourceNameAsKeywordThemeConstantName = gax::GaxPreconditions.CheckNotNull(resourceName, nameof(resourceName)),
 }, callSettings);