Google Cloud Platform · Example Payload

Google Cloud Platform Cloudresourcemanagerprojectsgetiampolicy Example

API ManagementCloud ComputingInfrastructurePlatform as a Service

Google Cloud Platform Cloudresourcemanagerprojectsgetiampolicy Example is an example object payload from Google Cloud Platform, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "cloudresourcemanager.projects.getIamPolicy",
  "method": "POST",
  "path": "/v3/projects/{resource}:getIamPolicy",
  "summary": "Google Cloud Platform Get Project Iam Policy",
  "requestExamples": [
    {
      "contentType": "application/json",
      "name": "CloudresourcemanagerProjectsGetiampolicyRequestExample",
      "example": {
        "options": {
          "requestedPolicyVersion": 10
        }
      }
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "name": "CloudresourcemanagerProjectsGetiampolicy200Example",
      "example": {
        "version": 10,
        "bindings": [
          {
            "role": "example_value",
            "members": {}
          }
        ],
        "etag": "example_value"
      }
    },
    {
      "status": "401",
      "contentType": "application/json",
      "name": "CloudresourcemanagerProjectsGetiampolicy401Example",
      "example": {
        "code": 10,
        "message": "example_value",
        "details": [
          {}
        ]
      }
    },
    {
      "status": "403",
      "contentType": "application/json",
      "name": "CloudresourcemanagerProjectsGetiampolicy403Example",
      "example": {
        "code": 10,
        "message": "example_value",
        "details": [
          {}
        ]
      }
    }
  ]
}