FieldMaskError
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-05-29 UTC.
[null,null,["Last updated 2024-05-29 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."],["The enum provides codes for unspecified errors, unknown errors, and scenarios where field masks are required, disallowed, or contain invalid fields."]]],[]]