applyFieldMask
applyFieldMask<
Desc>(schema,message,fieldMask,opts?):MessageShape<Desc>
Defined in: fieldmask.ts:217
Applies a field mask to a message and returns the filtered copy.
Set inverse to keep everything except the masked fields. Set strict to false
to allow AIP-161 wildcard behavior.
Type Parameters
Section titled “Type Parameters”Desc extends DescMessage
Parameters
Section titled “Parameters”schema
Section titled “schema”Desc
message
Section titled “message”MessageShape<Desc>
fieldMask
Section titled “fieldMask”FieldMask
Returns
Section titled “Returns”MessageShape<Desc>