LabelOperation

פעולה יחידה (יצירה, הסרה, עדכון) בתווית.

ייצוג JSON
{
  "updateMask": string,

  // Union field operation can be only one of the following:
  "create": {
    object (Label)
  },
  "update": {
    object (Label)
  },
  "remove": string
  // End of list of possible types for union field operation.
}
שדות
updateMask

string (FieldMask format)

FieldMask קובעת אילו שדות משאבים ישונו בעדכון.

זוהי רשימה מופרדת בפסיקים של שמות מלאים של שדות. דוגמה: "user.displayName,photo"

שדה איחוד operation. פעולת השינוי. operation יכול להיות רק אחד מהבאים:
create

object (Label)

פעולת יצירה: לא נדרש שם משאב לתווית החדשה.

update

object (Label)

פעולת עדכון: לתווית אמור להיות שם משאב חוקי.

remove

string

פעולת הסרה: שם משאב לתווית ההסרה, בפורמט הזה:

customers/{customerId}/labels/{label_id}