POST
/
v1
/
workspaces
/
{workspace}
:setIamPolicy
{
  "bindings": [
    {
      "role": "<string>",
      "members": [
        "<string>"
      ],
      "condition": {
        "id": "<string>",
        "constExpr": {
          "nullValue": "NULL_VALUE",
          "boolValue": true,
          "int64Value": "<string>",
          "uint64Value": "<string>",
          "doubleValue": 123,
          "stringValue": "<string>",
          "bytesValue": "<string>",
          "durationValue": "<string>",
          "timestampValue": "2023-11-07T05:31:56Z"
        },
        "identExpr": {
          "name": "<string>"
        },
        "selectExpr": {
          "operand": {},
          "field": "<string>",
          "testOnly": true
        },
        "callExpr": {
          "target": {},
          "function": "<string>",
          "args": [
            {}
          ]
        },
        "listExpr": {
          "elements": [
            {}
          ],
          "optionalIndices": [
            123
          ]
        },
        "structExpr": {
          "messageName": "<string>",
          "entries": [
            {
              "id": "<string>",
              "fieldKey": "<string>",
              "mapKey": {},
              "value": {},
              "optionalEntry": true
            }
          ]
        },
        "comprehensionExpr": {
          "iterVar": "<string>",
          "iterRange": {},
          "accuVar": "<string>",
          "accuInit": {},
          "loopCondition": {},
          "loopStep": {},
          "result": {}
        }
      },
      "parsedExpr": {
        "id": "<string>",
        "constExpr": {
          "nullValue": "NULL_VALUE",
          "boolValue": true,
          "int64Value": "<string>",
          "uint64Value": "<string>",
          "doubleValue": 123,
          "stringValue": "<string>",
          "bytesValue": "<string>",
          "durationValue": "<string>",
          "timestampValue": "2023-11-07T05:31:56Z"
        },
        "identExpr": {
          "name": "<string>"
        },
        "selectExpr": {
          "operand": {},
          "field": "<string>",
          "testOnly": true
        },
        "callExpr": {
          "target": {},
          "function": "<string>",
          "args": [
            {}
          ]
        },
        "listExpr": {
          "elements": [
            {}
          ],
          "optionalIndices": [
            123
          ]
        },
        "structExpr": {
          "messageName": "<string>",
          "entries": [
            {
              "id": "<string>",
              "fieldKey": "<string>",
              "mapKey": {},
              "value": {},
              "optionalEntry": true
            }
          ]
        },
        "comprehensionExpr": {
          "iterVar": "<string>",
          "iterRange": {},
          "accuVar": "<string>",
          "accuInit": {},
          "loopCondition": {},
          "loopStep": {},
          "result": {}
        }
      }
    }
  ]
}

Path Parameters

workspace
string
required

The workspace id.

Body

application/json

Response

200
application/json

OK

The response is of type object.