Policy

An IAM policy for a Cloud Storage resource.

ArchivalBackupBlob StorageCloud StorageDataFile StorageGoogle CloudObject StorageStorage

Properties

Name Type Description
kind string The kind of item this is.
resourceId string The ID of the resource to which this policy belongs.
version integer The version of the policy. Valid values are 1 and 3. Any request that specifies conditional role bindings must specify version 3.
etag string HTTP 1.1 Entity tag for the policy. Used for optimistic concurrency control.
bindings array A list of members bound to a role.
View JSON Schema on GitHub

JSON Schema

gcp-cloud-storage-json-policy-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Policy",
  "type": "object",
  "description": "An IAM policy for a Cloud Storage resource.",
  "properties": {
    "kind": {
      "type": "string",
      "description": "The kind of item this is."
    },
    "resourceId": {
      "type": "string",
      "description": "The ID of the resource to which this policy belongs."
    },
    "version": {
      "type": "integer",
      "description": "The version of the policy. Valid values are 1 and 3. Any request that specifies conditional role bindings must specify version 3."
    },
    "etag": {
      "type": "string",
      "description": "HTTP 1.1 Entity tag for the policy. Used for optimistic concurrency control."
    },
    "bindings": {
      "type": "array",
      "description": "A list of members bound to a role."
    }
  }
}