/// <summary> /// Updates status or removes a Merchant Center link. /// </summary> /// <param name="customerId"> /// The ID of the customer being modified. /// </param> /// <param name="operation"> /// The operation to perform on the 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 <MutateMerchantCenterLinkResponse> MutateMerchantCenterLinkAsync( string customerId, MerchantCenterLinkOperation operation, st::CancellationToken cancellationToken) => MutateMerchantCenterLinkAsync( customerId, operation, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
/// <summary> /// Updates status or removes a Merchant Center link. /// </summary> /// <param name="customerId"> /// The ID of the customer being modified. /// </param> /// <param name="operation"> /// The operation to perform on the link /// </param> /// <param name="callSettings"> /// If not null, applies overrides to this RPC call. /// </param> /// <returns> /// The RPC response. /// </returns> public virtual MutateMerchantCenterLinkResponse MutateMerchantCenterLink( string customerId, MerchantCenterLinkOperation operation, gaxgrpc::CallSettings callSettings = null) => MutateMerchantCenterLink( new MutateMerchantCenterLinkRequest { CustomerId = gax::GaxPreconditions.CheckNotNullOrEmpty(customerId, nameof(customerId)), Operation = gax::GaxPreconditions.CheckNotNull(operation, nameof(operation)), }, callSettings);