Method: projects.locations.consumerEnforcementActions.patch

עדכון של משאב ConsumerEnforcementAction קיים.

בקשת HTTP

PATCH https://commerceproducer.googleapis.com/v1beta/{consumerEnforcementAction.name=projects/*/locations/*/consumerEnforcementActions/*}

כתובת ה-URL כתובה בתחביר של gRPC Transcoding.

פרמטרים של נתיב

פרמטרים
consumerEnforcementAction.name

string

מזהה. השם של משאב ConsumerEnforcementAction.

פורמט: projects/{project}/locations/{location}/consumerEnforcementActions/{consumerEnforcementAction}

פרמטרים של שאילתה

פרמטרים
updateMask

string (FieldMask format)

זה שינוי אופציונלי. מסכת שדות שמשמשת לציון השדות שיוחלפו במשאב ConsumerEnforcementAction על ידי העדכון.

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

גוף הבקשה

גוף הבקשה מכיל מופע של ConsumerEnforcementAction.

גוף התשובה

אם הפעולה בוצעה ללא שגיאות, גוף התגובה יכיל מופע של Operation.

היקפי הרשאות

נדרש היקף ההרשאות הבא של OAuth:

  • https://www.googleapis.com/auth/cloud-platform

ניתן למצוא מידע נוסף כאן: Authentication Overview.