מאפייני המשאבים לתנאים ב-IAM

הנושא הזה מכיל רשימת ערכים שאפשר להשתמש בהם במאפייני המשאבים לתנאים, כולל ערכי מחרוזות לשירות המשאב, סוג המשאב והפורמט למחרוזות של שם המשאב.

אפשר להשתמש במאפייני המשאבים כדי לשנות את היקף ההרשאה שניתנת כשמקשרים בין תפקידים. כשהתפקיד כולל הרשאות שחלות על סוגים שונים של משאבים, אפשר ליצור תנאי שנותן רק חלק מההרשאות בהתאם לשירות, לסוג ולשם של המשאב.

אפשר להשתמש במאפיינים בשירותים ובסוגי המשאבים שמפורטים כאן. Google Cloud בשירותים ובסוגים אחרים של משאבים המאפיינים לא יזוהו.

לפרטים נוספים על ניהול הזהויות והרשאות הגישה (IAM) ועל תנאים, תוכלו לקרוא את המאמרים הבאים:

הערכים של שירות המשאב

בטבלה הבאה מפורטים הערכים שיכולים להיות המאפיין של שירות המשאב.

הערך של שירות המשאב הפניית REST
apigee.googleapis.com הפניית API
apihub.googleapis.com הפניית API
backupdr.googleapis.com הפניית API
bigquery.googleapis.com הפניית API
bigqueryreservation.googleapis.com הפניית API
bigtableadmin.googleapis.com הפניית API
binaryauthorization.googleapis.com הפניית API
clouddeploy.googleapis.com הפניית API
cloudkms.googleapis.com הפניית API
cloudresourcemanager.googleapis.com הפניית API
compute.googleapis.com הפניית API
container.googleapis.com הפניית API
connectors.googleapis.com הפניית API
dataform.googleapis.com הפניית API
firestore.googleapis.com הפניית API
iap.googleapis.com הפניית API
integrations.googleapis.com הפניית API
logging.googleapis.com הפניית API
managedkafka.googleapis.com הפניית API
networksecurity.googleapis.com הפניית API
parametermanager.googleapis.com הפניית API
pubsublite.googleapis.com הפניית API
secretmanager.googleapis.com הפניית API
spanner.googleapis.com הפניית API
sqladmin.googleapis.com הפניית API
storage.googleapis.com הפניית API

הערכים של סוג המשאב

בטבלה הבאה מפורטים הערכים שיכולים להיות המאפיין של סוג המשאב.

הערך של סוג המשאב חומרי עזר
apigee.googleapis.com/ApiProduct מידע נוסף
apigee.googleapis.com/ApiProductAttribute מידע נוסף
apigee.googleapis.com/Cache מידע נוסף
apigee.googleapis.com/Developer מידע נוסף
apigee.googleapis.com/DeveloperApp מידע נוסף
apigee.googleapis.com/DeveloperAppAttribute מידע נוסף
apigee.googleapis.com/DeveloperAttribute מידע נוסף
apigee.googleapis.com/Export מידע נוסף
apigee.googleapis.com/FlowHook מידע נוסף
apigee.googleapis.com/KeyStore מידע נוסף
apigee.googleapis.com/KeyStoreAlias מידע נוסף
apigee.googleapis.com/KeyValueEntry מידע נוסף
apigee.googleapis.com/KeyValueMap מידע נוסף
apigee.googleapis.com/Proxy מידע נוסף
apigee.googleapis.com/ProxyRevision מידע נוסף
apigee.googleapis.com/Query מידע נוסף
apigee.googleapis.com/RatePlan מידע נוסף
apigee.googleapis.com/Reference מידע נוסף
apigee.googleapis.com/SharedFlow מידע נוסף
apigee.googleapis.com/SharedFlowRevision מידע נוסף
apigee.googleapis.com/TargetServer מידע נוסף
apigee.googleapis.com/TraceSession מידע נוסף
apihub.googleapis.com/Api מידע נוסף
apihub.googleapis.com/Deployment מידע נוסף
apihub.googleapis.com/Version מידע נוסף
apihub.googleapis.com/Spec מידע נוסף
apihub.googleapis.com/ApiOperation מידע נוסף
apihub.googleapis.com/Definition מידע נוסף
backupdr.googleapis.com/BackupVaults מידע נוסף
bigquery.googleapis.com/Dataset מידע נוסף
bigquery.googleapis.com/Model מידע נוסף
bigquery.googleapis.com/Routine מידע נוסף
bigquery.googleapis.com/Table מידע נוסף
bigqueryreservation.googleapis.com/Assignment מידע נוסף
bigqueryreservation.googleapis.com/BiReservation מידע נוסף
bigqueryreservation.googleapis.com/CapacityCommitment מידע נוסף
bigqueryreservation.googleapis.com/Location מידע נוסף
bigqueryreservation.googleapis.com/Reservation מידע נוסף
bigtableadmin.googleapis.com/AppProfile מידע נוסף
bigtableadmin.googleapis.com/Backup מידע נוסף
bigtableadmin.googleapis.com/Cluster מידע נוסף
bigtableadmin.googleapis.com/Instance מידע נוסף
bigtableadmin.googleapis.com/Table מידע נוסף
binaryauthorization.googleapis.com/Attestor מידע נוסף
binaryauthorization.googleapis.com/ContinuousValidationConfig מידע נוסף
binaryauthorization.googleapis.com/Policy מידע נוסף
cloud.googleapis.com/Location1 מידע נוסף
cloudkms.googleapis.com/CryptoKey מידע נוסף
cloudkms.googleapis.com/CryptoKeyVersion מידע נוסף
cloudkms.googleapis.com/KeyRing מידע נוסף
cloudresourcemanager.googleapis.com/Project2 מידע נוסף
compute.googleapis.com/BackendService מידע נוסף
compute.googleapis.com/Disk מידע נוסף
compute.googleapis.com/Firewall מידע נוסף
compute.googleapis.com/ForwardingRule מידע נוסף
compute.googleapis.com/GlobalForwardingRule מידע נוסף
compute.googleapis.com/Image מידע נוסף
compute.googleapis.com/Instance מידע נוסף
compute.googleapis.com/InstanceTemplate מידע נוסף
compute.googleapis.com/Snapshot מידע נוסף
compute.googleapis.com/TargetHttpProxy מידע נוסף
compute.googleapis.com/TargetHttpsProxy מידע נוסף
compute.googleapis.com/TargetSslProxy מידע נוסף
compute.googleapis.com/TargetTcpProxy מידע נוסף
connectors.googleapis.com/Connection מידע נוסף
connectors.googleapis.com/ConnectionSchemaMetadata מידע נוסף
connectors.googleapis.com/EndpointAttachment מידע נוסף
connectors.googleapis.com/EventSubscription מידע נוסף
connectors.googleapis.com/ManagedZone מידע נוסף
container.googleapis.com/Clusters מידע נוסף
dataform.googleapis.com/CompilationResult מידע נוסף
dataform.googleapis.com/Location מידע נוסף
dataform.googleapis.com/ReleaseConfig מידע נוסף
dataform.googleapis.com/Repository מידע נוסף
dataform.googleapis.com/WorkflowConfig מידע נוסף
dataform.googleapis.com/WorkflowInvocation מידע נוסף
dataform.googleapis.com/Workspace מידע נוסף
firestore.googleapis.com/Database מידע נוסף
iap.googleapis.com/Tunnel מידע נוסף
iap.googleapis.com/TunnelInstance מידע נוסף
iap.googleapis.com/TunnelZone מידע נוסף
iap.googleapis.com/Web מידע נוסף
iap.googleapis.com/WebService מידע נוסף
iap.googleapis.com/WebServiceVersion מידע נוסף
iap.googleapis.com/WebType מידע נוסף
integrations.googleapis.com/AuthConfig מידע נוסף
integrations.googleapis.com/Execution מידע נוסף
integrations.googleapis.com/Integration מידע נוסף
integrations.googleapis.com/IntegrationVersion מידע נוסף
integrations.googleapis.com/Location לא רלוונטי
integrations.googleapis.com/Suspension מידע נוסף
logging.googleapis.com/LogBucket מידע נוסף
logging.googleapis.com/LogView מידע נוסף
managedkafka.googleapis.com/Cluster מידע נוסף
managedkafka.googleapis.com/ConsumerGroup מידע נוסף
managedkafka.googleapis.com/Operation מידע נוסף
managedkafka.googleapis.com/Topic מידע נוסף
networksecurity.googleapis.com/AddressGroup מידע נוסף
networksecurity.googleapis.com/InterceptDeployment מידע נוסף
networksecurity.googleapis.com/InterceptDeploymentGroup מידע נוסף
networksecurity.googleapis.com/InterceptEndpointGroup מידע נוסף
networksecurity.googleapis.com/InterceptEndpointGroupAssociation מידע נוסף
networksecurity.googleapis.com/MirroringDeployment מידע נוסף
networksecurity.googleapis.com/MirroringDeploymentGroup מידע נוסף
networksecurity.googleapis.com/MirroringEndpointGroup מידע נוסף
networksecurity.googleapis.com/MirroringEndpointGroupAssociation מידע נוסף
parametermanager.googleapis.com/Parameter מידע נוסף
parametermanager.googleapis.com/ParameterVersion מידע נוסף
pubsublite.googleapis.com/Location מידע נוסף
pubsublite.googleapis.com/Subscription מידע נוסף
pubsublite.googleapis.com/Topic מידע נוסף
secretmanager.googleapis.com/Secret מידע נוסף
secretmanager.googleapis.com/SecretVersion מידע נוסף
spanner.googleapis.com/Backup מידע נוסף
spanner.googleapis.com/Database מידע נוסף
spanner.googleapis.com/Instance מידע נוסף
sqladmin.googleapis.com/BackupRun מידע נוסף
sqladmin.googleapis.com/Instance מידע נוסף
storage.googleapis.com/Bucket מידע נוסף
storage.googleapis.com/ManagedFolder מידע נוסף
storage.googleapis.com/Object מידע נוסף

1 ב-Cloud Key Management Service סוג המשאב הזה משמש כהורה של משאבים לאוסף מפתחות.

‫ ‫2 ב-Apigee סוג המשאב הזה משמש כהורה של כל משאב ששייך לארגון ב-Apigee.

הפורמט של שם המשאב

בטבלה הבאה מפורטים הפורמטים של כל אחד מהמאפיינים של שם המשאב.

הפניה למשאבים תבנית הפורמט של שם המשאב
מאפייני מוצר API ב-Apigee organizations/organization-name/apiproducts/product-id/attributes/attribute-id
מוצרי API ב-Apigee organizations/organization-name/apiproducts/product-id
proxy ל-API ב-Apigee organizations/organization-name/apis/proxy-id
רשומות של מפות מפתח-ערך ב-proxy ל-API ב-Apigee organizations/organization-name/api/proxy-id/keyvaluemaps/keyvaluemap-id/entries/entry-id
מפות מפתח-ערך ב-proxy ל-API ב-Apigee organizations/organization-name/apis/proxy-id/keyvaluemaps/key-value-map-id
גרסאות proxy ל-API ב-Apigee organizations/organization-name/apis/proxy-id/revisions/revision-id
מטמון ב-Apigee organizations/organization-name/environments/environment-id/caches/cache-id
מאפיינים של אפליקציות למפתחים ב-Apigee organizations/organization-name/developers/developer-id/apps/app-id/attributes/attribute-id
אפליקציות למפתחים ב-Apigee organizations/organization-name/developers/developer-id/apps/app-id
מאפיינים למפתחים ב-Apigee organizations/organization-name/developers/developer-id/attributes/attribute-id
מפתחים ב-Apigee organizations/organization-name/developers/developer-id
רשומות מפת מפתח-ערך של סביבה ב-Apigee organizations/organization-name/environments/environment-id/keyvaluemaps/keyvaluemap-id/entries/entry-id
מפות מפתח-ערך של סביבה ב-Apigee organizations/organization-name/environments/environment/keyvaluemaps/key-value-map-id
ייצוא ב-Apigee organizations/organization-name/environments/environment-id/analytics/exports/export-id
הוקים (hooks) לזרימה ב-Apigee organizations/organization-name/environments/environment-id/flowhooks/flowhook-id
כינויים של מאגרי מפתחות ב-Apigee organizations/organization-name/environments/environment-id/keystores/keystore-id/aliases/alias-id
מאגרי מפתחות ב-Apigee organizations/organization-name/environments/environment-id/keystores/keystore-id
שאילתות ב-Apigee organizations/organization-name/environments/environment-id/queries/query-id
תוכניות תעריפים ב-Apigee organizations/organization-name/apiproducts/product-id/rateplans/rate-plan-id
הפניות ב-Apigee organizations/organization-name/environments/environment-id/references/reference-id
שדרוגים של תהליכים משותפים ב-Apigee organizations/organization-name/sharedflows/shared-flow-id/revisions/revision-id
תהליכים משותפים ב-Apigee organizations/organization-name/sharedflows/shared-flow-id
שרתי יעד ב-Apigee organizations/organization-name/environments/environment-id/targetservers/targetserver-id
סשנים של מעקב (ניפוי באגים) ב-Apigee organizations/organization-name/environments/environment-id/apis/proxy-id/revisions/revision-id/debugsessions/session-id
‫Apigee API Hub apis projects/project-id/locations/location-id/apis/api-id
פריסות ב-Apigee API Hub projects/project-id/locations/location-id/deployments/deployment-id
גרסאות ב-Apigee API Hub projects/project-id/locations/location-id/apis/api-id/versions/version-id
מפרטים ב-Apigee API Hub projects/project-id/locations/location-id/apis/api-id/versions/version-id/specs/spec-id
פעולות ב-Apigee API Hub projects/project-id/locations/location-id/apis/api-id/versions/version-id/operations/operation-id
הגדרות של Apigee API Hub projects/project-id/locations/location-id/apis/api-id/versions/version-id/definitions/definition-id
שירות Backup and DR‏ backupVaults projects/project-id/locations/location-id/backupVaults/backup-vault-id
מערכי נתונים של BigQuery projects/project-id/datasets/dataset-id
מודלים של BigQuery projects/project-id/datasets/dataset-id/models/model-id
שגרות של BigQuery projects/project-id/datasets/dataset-id/routines/routine-id
טבלאות ב-BigQuery projects/project-id/datasets/dataset-id/tables/table-id
הקצאות ב-BigQuery Reservation API projects/project-id/locations/location-id/reservations/reservation-id/assignments/assignment-id
‫BigQuery Reservation API BI reservations projects/project-id/locations/location-id/biReservation
התחייבויות לקיבולת ב-BigQuery Reservation API projects/project-id/locations/location-id/capacityCommitments/capacity-commitment-id
‫BigQuery Reservation API locations projects/project-id/locations/location-id
reservations ב-BigQuery Reservation API projects/project-id/locations/location-id/reservations/reservation-id
גורמים מאמתים ב-Binary Authorization projects/project-number/attestors/attestor-id
הגדרות לתיקוף רציף ב-Binary Authorization projects/project-number/continuousValidationConfig
מדיניות ב-Binary Authorization projects/project-number/policy
‫Bigtable appProfiles projects/project-id/instances/instance-id/appProfiles/appProfile-id
גיבויים ב-Bigtable projects/project-id/instances/instance-id/clusters/cluster-id/backups/backup-id
אשכולות ב-Bigtable projects/project-id/instances/instance-id/clusters/cluster-id
מכונות של Bigtable projects/project-id/instances/instance-id
טבלאות ב-Bigtable projects/project-id/instances/instance-id/tables/table-id
הפעלות אוטומטיות של Cloud Deploy projects/project-id/locations/location-id/deliveryPipelines/delivery-pipeline-id/automationRuns/automation-run-id
אוטומציות ב-Cloud Deploy projects/project-id/locations/location-id/deliveryPipelines/delivery-pipeline-id/automations/automation-id
סוגים של יעדים בהתאמה אישית ב-Cloud Deploy projects/project-id/locations/location-id/customTargetTypes/custom-target-type-id
צינורות עיבוד נתונים לפריסה ב-Cloud Deploy projects/project-id/locations/location-id/deliveryPipelines/delivery-pipeline-id
הרצת משימות ב-Cloud Deploy projects/project-id/locations/location-id/deliveryPipelines/delivery-pipeline-id/releases/release-id/rollouts/rollout-id/jobRuns/job-run-id
מהדורות של Cloud Deploy projects/project-id/locations/location-id/deliveryPipelines/delivery-pipeline-id/releases/release-id
הפצות ב-Cloud Deploy projects/project-id/locations/location-id/deliveryPipelines/delivery-pipeline-id/releases/release-id/rollouts/rollout-id
יעדים ב-Cloud Deploy projects/project-id/locations/location-id/targets/target-id
מסדי נתונים ב-Firestore projects/project-id/databases/database-id
‫Cloud NGFW address groups projects/project-number/locations/location/addressGroups/address-group-name
organizations/organization-id/locations/location/addressGroups/address-group-name
Network Security Integration intercept deployment groups projects/project-number/locations/location/interceptDeploymentGroups/intercept-deployment-group-id
Network Security Integration intercept deployments projects/project-number/locations/location/interceptDeployments/intercept-deployment-id
Network Security Integration intercept endpoint group associations projects/project-number/locations/location/interceptEndpointGroupAssociations/intercept-endpoint-group-association-id
Network Security Integration intercept endpoint groups projects/project-number/locations/location/interceptEndpoints/intercept-endpoint-group-id
Network Security Integration mirroring deployment groups projects/project-number/locations/location/mirroringDeploymentGroups/mirroring-deployment-group-id
Network Security Integration mirroring deployments projects/project-number/locations/location/mirroringDeployments/mirroring-deployment-id
Network Security Integration mirroring endpoint group associations projects/project-number/locations/location/mirroringEndpointGroupAssociations/mirroring-endpoint-group-association-id
Network Security Integration mirroring endpoint groups projects/project-number/locations/location/mirroringEndpoints/mirroring-endpoint-group-id
מפתחות קריפטוגרפיים ב-Cloud Key Management Service projects/project-id/locations/location-id/keyRings/keyring-id/cryptoKeys/cryptokey-id
גרסאות של מפתחות קריפטוגרפיים ב-Cloud Key Management Service projects/project-id/locations/location-id/keyRings/keyring-id/cryptoKeys/cryptokey-id/cryptoKeyVersions/cryptokeyversion-id
אוספי מפתחות ב-Cloud Key Management Service projects/project-id/locations/location-id/keyRings/keyring-id
קטגוריות ביומן ב-Cloud Logging projects/project-id/locations/location-id/buckets/bucket-id
תצוגות יומן ב-Cloud Logging projects/project-id/locations/location-id/buckets/bucket-id/views/view-id
גיבויים ב-Spanner projects/project-id/instances/instance-id/backups/backup-id
מסדי נתונים ב-Spanner projects/project-id/instances/instance-id/databases/database-id
מכונות ב-Spanner projects/project-id/instances/instance-id
הרצת גיבויים ב-Cloud SQL projects/project-id/instances/instance-id/backupRuns/backup-id
מכונות ב-Cloud SQL projects/project-id/instances/instance-id
קטגוריות של Cloud Storage‏1 projects/_/buckets/bucket-name
תיקיות מנוהלות ב-Cloud Storage‏ 1, 2 projects/_/buckets/bucket-name/managedFolders/managed-folder-name
אובייקטים ב-Cloud Storage‏ 1, 3 projects/_/buckets/bucket-name/objects/object-name
שירותים לקצה העורפי הגלובלי ב-Compute Engine projects/project-id/global/backendServices/backend-service-id
שירותים לקצה העורפי האזורי ב-Compute Engine projects/project-id/regions/region-id/backendServices/backend-service-id
חומות אש ב-Compute Engine projects/project-id/global/firewalls/firewall-id
כללי העברה גלובליים ב-Compute Engine projects/project-id/global/forwardingRules/forwarding-rule-id
כללי העברה אזוריים ב-Compute Engine projects/project-id/regions/region-id/forwardingRules/forwarding-rule-id
קובצי אימג' ב-Compute Engine projects/project-id/global/images/image-id
תבניות למכונות ב-Compute Engine projects/project-id/global/instanceTemplates/instance-template-id
מכונות ב-Compute Engine projects/project-id/zones/zone-id/instances/instance-id
דיסקים לאחסון מתמיד של אזור ב-Compute Engine projects/project-id/regions/region-id/disks/disk-id
דיסקים לאחסון מתמיד של תחום ב-Compute Engine projects/project-id/zones/zone-id/disks/disk-id
קובצי snapshot ב-Compute Engine projects/project-id/global/snapshots/snapshot-id
Proxy ל-HTTP עם יעד גלובלי ב-Compute Engine projects/project-id/global/targetHttpProxies/target-http-proxy-id
Proxy ל-HTTP עם יעד אזורי ב-Compute Engine projects/project-id/regions/region-id/targetHttpProxies/target-http-proxy-id
Proxy ל-HTTPS עם יעד גלובלי ב-Compute Engine projects/project-id/global/targetHttpsProxies/target-https-proxy-id
Proxy ל-HTTPS עם יעד אזורי ב-Compute Engine projects/project-id/regions/region-id/targetHttpsProxies/target-https-proxy-id
Proxy יעד ל-SSL ב-Compute Engine projects/project-id/global/targetSslProxies/target-ssl-proxy-id
Proxy יעד ל-TCP ב-Compute Engine projects/project-id/global/targetTcpProxies/target-tcp-proxy-id
אשכולות של אזור ב-Google Kubernetes Engine projects/project-id/zones/zone/clusters/cluster-id
אשכולות אזוריים של Google Kubernetes Engine projects/project-id/locations/location/clusters/cluster-id
תוצאות הידור (compilation) ב-Dataform projects/project-id/locations/location/repositories/repository/compilationResults/compilation-result
מיקומים ב-Dataform projects/project-id/locations/location
הגדרות של גרסאות ב-Dataform projects/project-id/locations/location/repositories/repository/releaseConfigs/release-config
מאגרים ב-Dataform projects/project-id/locations/location/repositories/repository
הגדרות של תהליכי עבודה ב-Dataform projects/project-id/locations/location/repositories/repository/workflowConfigs/workflow-config
הפעלות של תהליכי העבודה ב-Dataform projects/project-id/locations/location/repositories/repository/workflowInvocations/workflow-invocation
סביבות עבודה ב-Dataform projects/project-id/locations/location/repositories/repository/workspaces/workspace
חיבורים של Integration Connectors projects/project-id/locations/location/connections/connection-name
‫Integration Connectors connection schema metadata projects/project-id/locations/location/connections/connection-name/connectionSchemaMetadata
endpoint attachments של Integration Connectors projects/project-id/locations/location/endpointAttachments/endpoint-attachment-name
הרשמות לאירועים ב-Integration Connectors projects/project-id/locations/location/eventSubscriptions/event-subscription-name
‫Integration Connectors managed zones projects/project-id/locations/global/managedZones/managed-zone-name
אשכולות של שירות מנוהל של Google Cloud ל-Apache Kafka projects/project-number/locations/location/clusters/cluster-name
קבוצות צרכנים בשירות מנוהל של Google Cloud ל-Apache Kafka projects/project-number/locations/location/clusters/cluster-name/consumerGroups/consumer-group
פעולות בשירות מנוהל של Google Cloud ל-Apache Kafka projects/project-number/locations/location/operations/operation
topics בשירות מנוהל של Google Cloud ל-Apache Kafka projects/project-number/locations/location/clusters/cluster-name/topics/topic-name
פרמטרים של Parameter Manager projects/project-number/locations/location/parameters/parameter-id
‫Parameter Manager גרסאות של פרמטרים projects/project-number/locations/location/parameters/parameter-id/versions/version-id
מיקומים ב-Pub/Sub Lite projects/project-number/locations/location
הרשמות ב-Pub/Sub Lite projects/project-number/locations/location/subscriptions/subscription-id
נושאים ב-Pub/Sub Lite projects/project-number/locations/location/topics/topic-id
ארגונים במנהל המשאבים‏4 organizations/organization-name
סודות ב-Secret Manager projects/project-number/secrets/secret-id
גרסאות של סודות ב-Secret Manager ‏5 projects/project-number/secrets/secret-id/versions/secret-version

1 ב-Cloud Storage, השם של המשאב כולל קו תחתון (_) ולא את מזהה הפרויקט. אי אפשר להחליף את הקו התחתון במזהה פרויקט, בשם פרויקט או במספר פרויקט.

2 צריך להשתמש בשם המלא של התיקייה המנוהלת, כולל לוכסנים. ב-Cloud Storage, התווים האלה הם חלק משם התיקייה המנוהלת ולא תווי הפרדה לנתיב.

3 צריך להשתמש בשם האובייקט במלואו, כולל לוכסנים. ב-Cloud Storage, התווים האלה הם חלק משם האובייקט ולא תווי הפרדה לנתיב.

4 ב-Apigee משתמשים בפורמט הזה ברשימה של סוגי משאבים ששייכים לארגון ב-Apigee. ‫5 אם בתנאי מסוים צריך לבדוק את שם המשאב של גרסת סוד, גרסת הסוד בבקשה חייבת להיות זהה לגרסת הסוד בתנאי. לדוגמה, אם הגרסה בתנאי היא latest, רק בקשה עם הגרסה latest תעמוד בקריטריונים של התנאי. בקשה עם הגרסה 3 לא תעמוד בקריטריונים של תנאי, גם אם 3 היא הגרסה העדכנית ביותר.

תגי משאב

אפשר לצרף תגים לארגונים, לפרויקטים ולתיקיות. כל משאב יכול לרשת תגים מהמשאבים ברמה עליונה. Google Cloud

אפשר להשתמש בכמה סוגים שונים של מזהים כדי להפנות למפתחות ולערכים של תגים:

  • מזהה קבוע – מזהה ייחודי גלובלי שאי אפשר להשתמש בו מחדש. לדוגמה, tagKeys/123456789012 יכול להיות המזהה הקבוע של מפתח התג ו-tagValues/567890123456 של ערך התג.
  • שם מקוצר. השם המקוצר של כל מפתח צריך להיות ייחודי בפרויקט או בארגון שבו המפתח מוגדר, והשם המקוצר של כל ערך צריך להיות ייחודי למפתח המשויך אליו. לדוגמה, env יכול להיות השם המקוצר של מפתח התג, ו-prod של ערך התג.
  • שם ממרחב שמות: צירוף של מספר הארגון או מזהה הפרויקט והשם המקוצר של מפתח התג. לדוגמה, 123456789012/env יכול להיות השם ממרחב השמות של מפתח התג שנוצר לארגון. איך מוצאים את מזהה משאב הארגון לדוגמה, myproject/env יכול להיות השם ממרחב השמות של מפתח התג שנוצר לפרויקט. איך מוצאים את מזהה הפרויקט

המזהים הספציפיים תלויים במפתחות ובערכים של התג שיצרתם לארגון. ברשימת המפתחות של התגים וברשימת הערכים של התגים תוכלו לקרוא איך מוצאים את רשימת המפתחות והערכים של התגים שזמינים לכם.