UpdatePhraseSetRequest constructor

UpdatePhraseSetRequest({
  1. PhraseSet? phraseSet,
  2. FieldMask? updateMask,
  3. bool? validateOnly,
})

Implementation

factory UpdatePhraseSetRequest({
  PhraseSet? phraseSet,
  $4.FieldMask? updateMask,
  $core.bool? validateOnly,
}) {
  final $result = create();
  if (phraseSet != null) {
    $result.phraseSet = phraseSet;
  }
  if (updateMask != null) {
    $result.updateMask = updateMask;
  }
  if (validateOnly != null) {
    $result.validateOnly = validateOnly;
  }
  return $result;
}