Method: projects.locations.consumerEnforcementActions.get

מקבל משאב ConsumerEnforcementAction לפי שם.

בקשת HTTP

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

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

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

פרמטרים
name

string

חובה. השם של משאב ConsumerEnforcementAction לאחזור. פורמט: projects/{project}/locations/{location}/consumerEnforcementActions/{consumerEnforcementAction}

גוף הבקשה

גוף הבקשה צריך להיות ריק.

גוף התשובה

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

היקפי הרשאות

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

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

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