Policy

An Identity and Access Management (IAM) policy which specifies access controls for Google Cloud resources. A Policy is a collection of bindings that associate members with roles.

API ManagementCloud ComputingInfrastructurePlatform as a Service

Properties

Name Type Description
version integer Specifies the format of the policy. Valid values are 0, 1, and 3. Version 3 supports conditional role bindings.
bindings array Associates a list of members to a role, optionally with a condition.
etag string etag is used for optimistic concurrency control to help prevent simultaneous updates of a policy from overwriting each other.
View JSON Schema on GitHub

JSON Schema

cloud-resource-manager-policy-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Policy",
  "type": "object",
  "description": "An Identity and Access Management (IAM) policy which specifies access controls for Google Cloud resources. A Policy is a collection of bindings that associate members with roles.",
  "properties": {
    "version": {
      "type": "integer",
      "description": "Specifies the format of the policy. Valid values are 0, 1, and 3. Version 3 supports conditional role bindings."
    },
    "bindings": {
      "type": "array",
      "description": "Associates a list of members to a role, optionally with a condition."
    },
    "etag": {
      "type": "string",
      "description": "etag is used for optimistic concurrency control to help prevent simultaneous updates of a policy from overwriting each other."
    }
  }
}