Method: projects.locations.gatewaySecurityPolicies.rules.get

קבלת פרטים של GatewaySecurityPolicyRule יחיד.

בקשת HTTP

GET https://networksecurity.googleapis.com/v1beta1/{name=projects/*/locations/*/gatewaySecurityPolicies/*/rules/*}

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

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

פרמטרים
name

string

חובה. השם של GatewaySecurityPolicyRule לאחזור. פורמט: projects/{project}/location/{location}/gatewaySecurityPolicies/*/rules/*

כדי לתת הרשאה, צריך את הרשאת IAM הבאה במשאב שצוין name:

  • networksecurity.gatewaySecurityPolicyRules.get

גוף הבקשה

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

גוף התשובה

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

היקפי הרשאות

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

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

מידע נוסף מופיע במאמר סקירה כללית על אימות.