示例#1
0
 public Builder AddRangeAttributes(scg::IEnumerable <global::D3.AttributeSerializer.SavedAttribute> values)
 {
     base.AddRange(values, result.attributes_);
     return(this);
 }
示例#2
0
 public Builder AddRangeAttributes(scg::IEnumerable <global::bnet.protocol.attribute.Attribute> values)
 {
     PrepareBuilder();
     result.attributes_.Add(values);
     return(this);
 }
 /// <summary>
 /// Creates or updates custom interests. Operation statuses are returned.
 ///
 /// List of thrown errors:
 /// [AuthenticationError]()
 /// [AuthorizationError]()
 /// [CriterionError]()
 /// [CustomInterestError]()
 /// [HeaderError]()
 /// [InternalError]()
 /// [MutateError]()
 /// [PolicyViolationError]()
 /// [QuotaError]()
 /// [RequestError]()
 /// [StringLengthError]()
 /// </summary>
 /// <param name="customerId">
 /// Required. The ID of the customer whose custom interests are being modified.
 /// </param>
 /// <param name="operations">
 /// Required. The list of operations to perform on individual custom interests.
 /// </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 <MutateCustomInterestsResponse> MutateCustomInterestsAsync(string customerId, scg::IEnumerable <CustomInterestOperation> operations, st::CancellationToken cancellationToken) =>
 MutateCustomInterestsAsync(customerId, operations, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
示例#4
0
 /// <summary>
 /// Processes the given call conversions.
 /// </summary>
 /// <param name="customerId">
 /// Required. The ID of the customer performing the upload.
 /// </param>
 /// <param name="conversions">
 /// Required. The conversions that are being uploaded.
 /// </param>
 /// <param name="partialFailure">
 /// Required. If true, successful operations will be carried out and invalid
 /// operations will return errors. If false, all operations will be carried
 /// out in one transaction if and only if they are all valid.
 /// This should always be set to true.
 /// See
 /// https://developers.google.com/google-ads/api/docs/best-practices/partial-failures
 /// for more information about partial failure.
 /// </param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>The RPC response.</returns>
 public virtual UploadCallConversionsResponse UploadCallConversions(string customerId, scg::IEnumerable <CallConversion> conversions, bool partialFailure, gaxgrpc::CallSettings callSettings = null) =>
 UploadCallConversions(new UploadCallConversionsRequest
 {
     CustomerId  = gax::GaxPreconditions.CheckNotNullOrEmpty(customerId, nameof(customerId)),
     Conversions =
     {
         gax::GaxPreconditions.CheckNotNull(conversions, nameof(conversions)),
     },
     PartialFailure = partialFailure,
 }, callSettings);
 /// <summary>
 /// Processes the given conversion adjustments.
 /// </summary>
 /// <param name="customerId">
 /// Required. The ID of the customer performing the upload.
 /// </param>
 /// <param name="conversionAdjustments">
 /// Required. The conversion adjustments that are being uploaded.
 /// </param>
 /// <param name="partialFailure">
 /// Required. If true, successful operations will be carried out and invalid
 /// operations will return errors. If false, all operations will be carried out
 /// in one transaction if and only if they are all valid. This should always be
 /// set to true.
 /// See
 /// https://developers.google.com/google-ads/api/docs/best-practices/partial-failures
 /// for more information about partial failure.
 /// </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 <UploadConversionAdjustmentsResponse> UploadConversionAdjustmentsAsync(string customerId, scg::IEnumerable <ConversionAdjustment> conversionAdjustments, bool partialFailure, st::CancellationToken cancellationToken) =>
 UploadConversionAdjustmentsAsync(customerId, conversionAdjustments, partialFailure, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
 /// <summary>
 /// Creates, updates, or removes ad group bid modifiers.
 /// Operation statuses are returned.
 /// </summary>
 /// <param name="customerId">
 /// Required. ID of the customer whose ad group bid modifiers are being modified.
 /// </param>
 /// <param name="operations">
 /// Required. The list of operations to perform on individual ad group bid modifiers.
 /// </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 <MutateAdGroupBidModifiersResponse> MutateAdGroupBidModifiersAsync(string customerId, scg::IEnumerable <AdGroupBidModifierOperation> operations, st::CancellationToken cancellationToken) =>
 MutateAdGroupBidModifiersAsync(customerId, operations, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
示例#7
0
 /// <summary>
 /// Creates, updates, or removes seasonality adjustments.
 /// Operation statuses are returned.
 /// </summary>
 /// <param name="customerId">
 /// Required. ID of the customer whose seasonality adjustments are being modified.
 /// </param>
 /// <param name="operations">
 /// Required. The list of operations to perform on individual seasonality adjustments.
 /// </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 <MutateBiddingSeasonalityAdjustmentsResponse> MutateBiddingSeasonalityAdjustmentsAsync(string customerId, scg::IEnumerable <BiddingSeasonalityAdjustmentOperation> operations, st::CancellationToken cancellationToken) =>
 MutateBiddingSeasonalityAdjustmentsAsync(customerId, operations, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
示例#8
0
 /// <summary>
 /// Applies given recommendations with corresponding apply parameters.
 /// </summary>
 /// <param name="customerId">
 /// Required. The ID of the customer with the recommendation.
 /// </param>
 /// <param name="operations">
 /// Required. The list of operations to apply recommendations.
 /// If partial_failure=false all recommendations should be of the same type
 /// There is a limit of 100 operations per request.
 /// </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 <ApplyRecommendationResponse> ApplyRecommendationAsync(string customerId, scg::IEnumerable <ApplyRecommendationOperation> operations, st::CancellationToken cancellationToken) =>
 ApplyRecommendationAsync(customerId, operations, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
示例#9
0
 /// <summary>
 /// Dismisses given recommendations.
 /// </summary>
 /// <param name="customerId">
 /// Required. The ID of the customer with the recommendation.
 /// </param>
 /// <param name="operations">
 /// Required. The list of operations to dismiss recommendations.
 /// If partial_failure=false all recommendations should be of the same type
 /// There is a limit of 100 operations per request.
 /// </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 <DismissRecommendationResponse> DismissRecommendationAsync(string customerId, scg::IEnumerable <DismissRecommendationRequest.Types.DismissRecommendationOperation> operations, gaxgrpc::CallSettings callSettings = null) =>
 DismissRecommendationAsync(new DismissRecommendationRequest
 {
     CustomerId = gax::GaxPreconditions.CheckNotNullOrEmpty(customerId, nameof(customerId)),
     Operations =
     {
         gax::GaxPreconditions.CheckNotNull(operations, nameof(operations)),
     },
 }, callSettings);
示例#10
0
 /// <summary>
 /// Sends new spans to new or existing traces. You cannot update
 /// existing spans.
 /// </summary>
 /// <param name="name">
 /// Required. The name of the project where the spans belong. The format is
 /// `projects/[PROJECT_ID]`.
 /// </param>
 /// <param name="spans">
 /// Required. A list of new spans. The span names must not match existing
 /// spans, or the results are undefined.
 /// </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 BatchWriteSpansAsync(gagr::ProjectName name, scg::IEnumerable <Span> spans, st::CancellationToken cancellationToken) =>
 BatchWriteSpansAsync(name, spans, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
示例#11
0
 /// <summary>
 /// Applies given recommendations with corresponding apply parameters.
 /// </summary>
 /// <param name="customerId">
 /// Required. The ID of the customer with the recommendation.
 /// </param>
 /// <param name="operations">
 /// Required. The list of operations to apply recommendations.
 /// If partial_failure=false all recommendations should be of the same type
 /// There is a limit of 100 operations per request.
 /// </param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>The RPC response.</returns>
 public virtual ApplyRecommendationResponse ApplyRecommendation(string customerId, scg::IEnumerable <ApplyRecommendationOperation> operations, gaxgrpc::CallSettings callSettings = null) =>
 ApplyRecommendation(new ApplyRecommendationRequest
 {
     CustomerId = gax::GaxPreconditions.CheckNotNullOrEmpty(customerId, nameof(customerId)),
     Operations =
     {
         gax::GaxPreconditions.CheckNotNull(operations, nameof(operations)),
     },
 }, callSettings);
示例#12
0
 public Builder AddRangeDocuments(scg::IEnumerable <string> values)
 {
     PrepareBuilder();
     result.documents_.Add(values);
     return(this);
 }
 /// <summary>
 /// Creates, updates, or removes extension feed items. Operation
 /// statuses are returned.
 /// </summary>
 /// <param name="customerId">
 /// Required. The ID of the customer whose extension feed items are being
 /// modified.
 /// </param>
 /// <param name="operations">
 /// Required. The list of operations to perform on individual extension feed items.
 /// </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 <MutateExtensionFeedItemsResponse> MutateExtensionFeedItemsAsync(string customerId, scg::IEnumerable <ExtensionFeedItemOperation> operations, st::CancellationToken cancellationToken) =>
 MutateExtensionFeedItemsAsync(customerId, operations, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
 /// <summary>
 /// Creates or updates remarketing actions. Operation statuses are returned.
 /// </summary>
 /// <param name="customerId">
 /// Required. The ID of the customer whose remarketing actions are being modified.
 /// </param>
 /// <param name="operations">
 /// Required. The list of operations to perform on individual remarketing actions.
 /// </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 <MutateRemarketingActionsResponse> MutateRemarketingActionsAsync(string customerId, scg::IEnumerable <RemarketingActionOperation> operations, st::CancellationToken cancellationToken) =>
 MutateRemarketingActionsAsync(customerId, operations, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
 /// <summary>
 /// Creates, updates, or removes criteria. Operation statuses are returned.
 ///
 /// List of thrown errors:
 /// [AdGroupCriterionError]()
 /// [AdxError]()
 /// [AuthenticationError]()
 /// [AuthorizationError]()
 /// [BiddingError]()
 /// [BiddingStrategyError]()
 /// [CollectionSizeError]()
 /// [ContextError]()
 /// [CriterionError]()
 /// [DatabaseError]()
 /// [DateError]()
 /// [DistinctError]()
 /// [FieldError]()
 /// [FieldMaskError]()
 /// [HeaderError]()
 /// [IdError]()
 /// [InternalError]()
 /// [MultiplierError]()
 /// [MutateError]()
 /// [NewResourceCreationError]()
 /// [NotEmptyError]()
 /// [NullError]()
 /// [OperationAccessDeniedError]()
 /// [OperatorError]()
 /// [PolicyViolationError]()
 /// [QuotaError]()
 /// [RangeError]()
 /// [RequestError]()
 /// [ResourceCountLimitExceededError]()
 /// [SizeLimitError]()
 /// [StringFormatError]()
 /// [StringLengthError]()
 /// [UrlFieldError]()
 /// </summary>
 /// <param name="customerId">
 /// Required. ID of the customer whose criteria are being modified.
 /// </param>
 /// <param name="operations">
 /// Required. The list of operations to perform on individual criteria.
 /// </param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>The RPC response.</returns>
 public virtual MutateAdGroupCriteriaResponse MutateAdGroupCriteria(string customerId, scg::IEnumerable <AdGroupCriterionOperation> operations, gaxgrpc::CallSettings callSettings = null) =>
 MutateAdGroupCriteria(new MutateAdGroupCriteriaRequest
 {
     CustomerId = gax::GaxPreconditions.CheckNotNullOrEmpty(customerId, nameof(customerId)),
     Operations =
     {
         gax::GaxPreconditions.CheckNotNull(operations, nameof(operations)),
     },
 }, callSettings);
示例#16
0
 /// <summary>
 /// Dismisses given recommendations.
 /// </summary>
 /// <param name="customerId">
 /// Required. The ID of the customer with the recommendation.
 /// </param>
 /// <param name="operations">
 /// Required. The list of operations to dismiss recommendations.
 /// If partial_failure=false all recommendations should be of the same type
 /// There is a limit of 100 operations per request.
 /// </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 <DismissRecommendationResponse> DismissRecommendationAsync(string customerId, scg::IEnumerable <DismissRecommendationRequest.Types.DismissRecommendationOperation> operations, st::CancellationToken cancellationToken) =>
 DismissRecommendationAsync(customerId, operations, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
示例#17
0
 public Builder AddRangeItems(scg::IEnumerable <global::com.nkm.framework.resource.data.JING> values)
 {
     PrepareBuilder();
     result.items_.Add(values);
     return(this);
 }
示例#18
0
 /// <summary>
 /// Creates, updates, or removes Keyword Plan negative keywords. Operation
 /// statuses are returned.
 /// </summary>
 /// <param name="customerId">
 /// Required. The ID of the customer whose negative keywords are being modified.
 /// </param>
 /// <param name="operations">
 /// Required. The list of operations to perform on individual Keyword Plan negative
 /// keywords.
 /// </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 <MutateKeywordPlanNegativeKeywordsResponse> MutateKeywordPlanNegativeKeywordsAsync(string customerId, scg::IEnumerable <KeywordPlanNegativeKeywordOperation> operations, st::CancellationToken cancellationToken) =>
 MutateKeywordPlanNegativeKeywordsAsync(customerId, operations, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
示例#19
0
 /// <summary>
 /// Creates, updates, or removes seasonality adjustments.
 /// Operation statuses are returned.
 /// </summary>
 /// <param name="customerId">
 /// Required. ID of the customer whose seasonality adjustments are being modified.
 /// </param>
 /// <param name="operations">
 /// Required. The list of operations to perform on individual seasonality adjustments.
 /// </param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>The RPC response.</returns>
 public virtual MutateBiddingSeasonalityAdjustmentsResponse MutateBiddingSeasonalityAdjustments(string customerId, scg::IEnumerable <BiddingSeasonalityAdjustmentOperation> operations, gaxgrpc::CallSettings callSettings = null) =>
 MutateBiddingSeasonalityAdjustments(new MutateBiddingSeasonalityAdjustmentsRequest
 {
     CustomerId = gax::GaxPreconditions.CheckNotNullOrEmpty(customerId, nameof(customerId)),
     Operations =
     {
         gax::GaxPreconditions.CheckNotNull(operations, nameof(operations)),
     },
 }, callSettings);
 /// <summary>
 /// Creates, updates, or removes criteria. Operation statuses are returned.
 ///
 /// List of thrown errors:
 /// [AdxError]()
 /// [AuthenticationError]()
 /// [AuthorizationError]()
 /// [CampaignCriterionError]()
 /// [CollectionSizeError]()
 /// [ContextError]()
 /// [CriterionError]()
 /// [DatabaseError]()
 /// [DistinctError]()
 /// [FieldError]()
 /// [FieldMaskError]()
 /// [FunctionError]()
 /// [HeaderError]()
 /// [IdError]()
 /// [InternalError]()
 /// [MutateError]()
 /// [NewResourceCreationError]()
 /// [NotEmptyError]()
 /// [NullError]()
 /// [OperationAccessDeniedError]()
 /// [OperatorError]()
 /// [QuotaError]()
 /// [RangeError]()
 /// [RegionCodeError]()
 /// [RequestError]()
 /// [ResourceCountLimitExceededError]()
 /// [SizeLimitError]()
 /// [StringFormatError]()
 /// [StringLengthError]()
 /// </summary>
 /// <param name="customerId">
 /// Required. The ID of the customer whose criteria are being modified.
 /// </param>
 /// <param name="operations">
 /// Required. The list of operations to perform on individual criteria.
 /// </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 <MutateCampaignCriteriaResponse> MutateCampaignCriteriaAsync(string customerId, scg::IEnumerable <CampaignCriterionOperation> operations, st::CancellationToken cancellationToken) =>
 MutateCampaignCriteriaAsync(customerId, operations, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
示例#21
0
 public Builder AddRangeOrdinal(scg::IEnumerable <uint> values)
 {
     PrepareBuilder();
     result.ordinal_.Add(values);
     return(this);
 }
示例#22
0
 public Builder AddRangeAttributes(scg::IEnumerable <string> values)
 {
     PrepareBuilder();
     result.attributes_.Add(values);
     return(this);
 }
 /// <summary>
 /// Processes the given conversion adjustments.
 /// </summary>
 /// <param name="customerId">
 /// Required. The ID of the customer performing the upload.
 /// </param>
 /// <param name="conversionAdjustments">
 /// Required. The conversion adjustments that are being uploaded.
 /// </param>
 /// <param name="partialFailure">
 /// Required. If true, successful operations will be carried out and invalid
 /// operations will return errors. If false, all operations will be carried out
 /// in one transaction if and only if they are all valid. This should always be
 /// set to true.
 /// See
 /// https://developers.google.com/google-ads/api/docs/best-practices/partial-failures
 /// for more information about partial failure.
 /// </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 <UploadConversionAdjustmentsResponse> UploadConversionAdjustmentsAsync(string customerId, scg::IEnumerable <ConversionAdjustment> conversionAdjustments, bool partialFailure, gaxgrpc::CallSettings callSettings = null) =>
 UploadConversionAdjustmentsAsync(new UploadConversionAdjustmentsRequest
 {
     CustomerId            = gax::GaxPreconditions.CheckNotNullOrEmpty(customerId, nameof(customerId)),
     ConversionAdjustments =
     {
         gax::GaxPreconditions.CheckNotNull(conversionAdjustments, nameof(conversionAdjustments)),
     },
     PartialFailure = partialFailure,
 }, callSettings);
 /// <summary>
 /// Performs asynchronous video annotation. Progress and results can be
 /// retrieved through the `google.longrunning.Operations` interface.
 /// `Operation.metadata` contains `AnnotateVideoProgress` (progress).
 /// `Operation.response` contains `AnnotateVideoResponse` (results).
 /// </summary>
 /// <param name="inputUri">
 /// Input video location. Currently, only
 /// [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
 /// supported, which must be specified in the following format:
 /// `gs://bucket-id/object-id` (other URI formats return
 /// [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see
 /// [Request URIs](https://cloud.google.com/storage/docs/request-endpoints).
 /// A video URI may include wildcards in `object-id`, and thus identify
 /// multiple videos. Supported wildcards: '*' to match 0 or more characters;
 /// '?' to match 1 character. If unset, the input video should be embedded
 /// in the request as `input_content`. If set, `input_content` should be unset.
 /// </param>
 /// <param name="features">
 /// Required. Requested video annotation features.
 /// </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 <lro::Operation <AnnotateVideoResponse, AnnotateVideoProgress> > AnnotateVideoAsync(string inputUri, scg::IEnumerable <Feature> features, gaxgrpc::CallSettings callSettings = null) =>
 AnnotateVideoAsync(new AnnotateVideoRequest
 {
     InputUri = inputUri ?? "",
     Features =
     {
         gax::GaxPreconditions.CheckNotNull(features, nameof(features)),
     },
 }, callSettings);
示例#25
0
 public Builder AddRangeRole(scg::IEnumerable <uint> values)
 {
     PrepareBuilder();
     result.role_.Add(values);
     return(this);
 }
 /// <summary>
 /// Performs asynchronous video annotation. Progress and results can be
 /// retrieved through the `google.longrunning.Operations` interface.
 /// `Operation.metadata` contains `AnnotateVideoProgress` (progress).
 /// `Operation.response` contains `AnnotateVideoResponse` (results).
 /// </summary>
 /// <param name="inputUri">
 /// Input video location. Currently, only
 /// [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
 /// supported, which must be specified in the following format:
 /// `gs://bucket-id/object-id` (other URI formats return
 /// [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see
 /// [Request URIs](https://cloud.google.com/storage/docs/request-endpoints).
 /// A video URI may include wildcards in `object-id`, and thus identify
 /// multiple videos. Supported wildcards: '*' to match 0 or more characters;
 /// '?' to match 1 character. If unset, the input video should be embedded
 /// in the request as `input_content`. If set, `input_content` should be unset.
 /// </param>
 /// <param name="features">
 /// Required. Requested video annotation features.
 /// </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 <lro::Operation <AnnotateVideoResponse, AnnotateVideoProgress> > AnnotateVideoAsync(string inputUri, scg::IEnumerable <Feature> features, st::CancellationToken cancellationToken) =>
 AnnotateVideoAsync(inputUri, features, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
 /// <summary>
 /// Creates or updates custom interests. Operation statuses are returned.
 ///
 /// List of thrown errors:
 /// [AuthenticationError]()
 /// [AuthorizationError]()
 /// [CriterionError]()
 /// [CustomInterestError]()
 /// [HeaderError]()
 /// [InternalError]()
 /// [MutateError]()
 /// [PolicyViolationError]()
 /// [QuotaError]()
 /// [RequestError]()
 /// [StringLengthError]()
 /// </summary>
 /// <param name="customerId">
 /// Required. The ID of the customer whose custom interests are being modified.
 /// </param>
 /// <param name="operations">
 /// Required. The list of operations to perform on individual custom interests.
 /// </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 <MutateCustomInterestsResponse> MutateCustomInterestsAsync(string customerId, scg::IEnumerable <CustomInterestOperation> operations, gaxgrpc::CallSettings callSettings = null) =>
 MutateCustomInterestsAsync(new MutateCustomInterestsRequest
 {
     CustomerId = gax::GaxPreconditions.CheckNotNullOrEmpty(customerId, nameof(customerId)),
     Operations =
     {
         gax::GaxPreconditions.CheckNotNull(operations, nameof(operations)),
     },
 }, callSettings);
示例#28
0
 public Builder AddRangeFilters(scg::IEnumerable <global::bnet.protocol.profanity.WordFilter> values)
 {
     result.filters_.Add(values);
     return(this);
 }
示例#29
0
 /// <summary>
 /// Creates and removes campaign-label relationships.
 /// Operation statuses are returned.
 /// </summary>
 /// <param name="customerId">
 /// Required. ID of the customer whose campaign-label relationships are being modified.
 /// </param>
 /// <param name="operations">
 /// Required. The list of operations to perform on campaign-label relationships.
 /// </param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>The RPC response.</returns>
 public virtual MutateCampaignLabelsResponse MutateCampaignLabels(string customerId, scg::IEnumerable <CampaignLabelOperation> operations, gaxgrpc::CallSettings callSettings = null) =>
 MutateCampaignLabels(new MutateCampaignLabelsRequest
 {
     CustomerId = gax::GaxPreconditions.CheckNotNullOrEmpty(customerId, nameof(customerId)),
     Operations =
     {
         gax::GaxPreconditions.CheckNotNull(operations, nameof(operations)),
     },
 }, callSettings);
示例#30
0
 public Builder AddRangeFailedDocuments(scg::IEnumerable <global::Alachisoft.NosDB.Common.Protobuf.FailedDocument> values)
 {
     PrepareBuilder();
     result.failedDocuments_.Add(values);
     return(this);
 }