partial void Modify_MutateRowRequest(ref MutateRowRequest request, ref CallSettings settings)
        {
            GaxPreconditions.CheckState(
                request.IsIdempotent(),
                "Non-idempotent MutateRow requests are not allowed. Specify a version with all SetCell mutations.");

            TryApplyAppProfileId(request, r => r.AppProfileId, (r, a) => r.AppProfileId = a);
        }
Example #2
0
 partial void Modify_MutateRowRequest(ref MutateRowRequest request, ref CallSettings settings)
 {
     if (request.IsIdempotent())
     {
         settings = _idempotentMutateRowSettings.MergedWith(settings);
     }
     ApplyResourcePrefixHeader(ref settings, request.TableName);
 }
 partial void Modify_MutateRowRequest(ref MutateRowRequest request, ref CallSettings settings)
 {
     GaxPreconditions.CheckState(request.IsIdempotent(), "Non-idempotent MutateRow requests are not allowed. Specify a version with all SetCell mutations.");
     ApplyResourcePrefixHeader(ref settings, request.TableName);
 }
 partial void Modify_MutateRowRequest(ref MutateRowRequest request, ref CallSettings settings) =>
 GaxPreconditions.CheckState(
     request.IsIdempotent(),
     "Non-idempotent MutateRow requests are not allowed. Specify a version with all SetCell mutations.");