FieldMaskError
Stay organized with collections
Save and categorize content based on your preferences.
Enum describing possible field mask errors.
Enums |
UNSPECIFIED
|
Enum unspecified. |
UNKNOWN
|
The received error code is not known in this version. |
FIELD_MASK_MISSING
|
The field mask must be provided for update operations. |
FIELD_MASK_NOT_ALLOWED
|
The field mask must be empty for create and remove operations. |
FIELD_NOT_FOUND
|
The field mask contained an invalid field. |
FIELD_HAS_SUBFIELDS
|
The field mask updated a field with subfields. Fields with subfields may be cleared, but not updated. To fix this, the field mask should select all the subfields of the invalid field. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-02-20 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-02-20 UTC."],[[["This enum defines specific error codes related to field masks in operations."],["Errors can indicate issues like missing, unnecessary, or invalid field masks, as well as attempts to update fields with subfields."],["`FIELD_MASK_MISSING` applies to update operations, while `FIELD_MASK_NOT_ALLOWED` applies to create and remove operations."],["Using this enum, developers can understand and handle field mask errors during data manipulation."]]],[]]