/// <summary> /// Returns the Merchant Center link in full detail. /// /// List of thrown errors: /// [AuthenticationError]() /// [AuthorizationError]() /// [HeaderError]() /// [InternalError]() /// [QuotaError]() /// [RequestError]() /// </summary> /// <param name="resourceName"> /// Required. Resource name of the Merchant Center link. /// </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::MerchantCenterLink> GetMerchantCenterLinkAsync(gagvr::MerchantCenterLinkName resourceName, st::CancellationToken cancellationToken) => GetMerchantCenterLinkAsync(resourceName, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
/// <summary> /// Returns the Merchant Center link in full detail. /// /// List of thrown errors: /// [AuthenticationError]() /// [AuthorizationError]() /// [HeaderError]() /// [InternalError]() /// [QuotaError]() /// [RequestError]() /// </summary> /// <param name="resourceName"> /// Required. Resource name of the Merchant Center link. /// </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::MerchantCenterLink> GetMerchantCenterLinkAsync(gagvr::MerchantCenterLinkName resourceName, gaxgrpc::CallSettings callSettings = null) => GetMerchantCenterLinkAsync(new GetMerchantCenterLinkRequest { ResourceNameAsMerchantCenterLinkName = gax::GaxPreconditions.CheckNotNull(resourceName, nameof(resourceName)), }, callSettings);