title: Google Classroom Add IAM Policy Binding
body: <p>I am working on Google Classroom Pub/Sub Notification. I have task which is create the pub/sub topic and subscription by using the Rest API. I have created the pub/sub topic successfully but when i am setting the IAM Policy/Permissions for created topic then i am getting the error message.</p>
  <p><strong>API URL:-</strong> <a href="https://pubsub.googleapis.com/v1/projects/project-abc/topics/xyz-topic-101:setIamPolicy" rel="noreferrer">https://pubsub.googleapis.com/v1/projects/project-abc/topics/xyz-topic-101:setIamPolicy</a>
  <strong>API Method:-</strong> POST
  <strong>API Request Body:-</strong></p>
  <pre><code>{
      &quot;policy&quot;: {
          &quot;bindings&quot;: [
              {
                  &quot;role&quot;: &quot;roles/owner&quot;,
                  &quot;members&quot;: [
                      &quot;abc@domain.com&quot;,
                      &quot;classroom-notifications@system.gserviceaccount.com&quot;
                  ]
              },
              {
                  &quot;role&quot;: &quot;roles/pubsub.admin&quot;,
                  &quot;members&quot;: [
                      &quot;abc@domain.com&quot;,
                      &quot;classroom-notifications@system.gserviceaccount.com&quot;
                  ]
              },
              {
                  &quot;role&quot;: &quot;roles/pubsub.editor&quot;,
                  &quot;members&quot;: [
                      &quot;abc@domain.com&quot;,
                      &quot;classroom-notifications@system.gserviceaccount.com&quot;
                  ]
              },
              {
                  &quot;role&quot;: &quot;roles/pubsub.publisher&quot;,
                  &quot;members&quot;: [
                      &quot;abc@domain.com&quot;,
                      &quot;classroom-notifications@system.gserviceaccount.com&quot;
                  ]
              },
              {
                  &quot;role&quot;: &quot;roles/pubsub.subscriber&quot;,
                  &quot;members&quot;: [
                      &quot;abc@domain.com&quot;,
                      &quot;classroom-notifications@system.gserviceaccount.com&quot;
                  ]
              }
          ],
          &quot;version&quot;: 1
      }
  }
  </code></pre>
  <p><strong>API Response:-</strong>
  {
  &quot;error&quot;: {
  &quot;code&quot;: 400,
  &quot;message&quot;: &quot;The member abc@domain.com is of an unknown type. Please set a valid type prefix for the member.&quot;,
  &quot;status&quot;: &quot;INVALID_ARGUMENT&quot;
  }
  }</p>
  <p>I have follow the below Google Doc
  <strong>Link:-</strong> <a href="https://cloud.google.com/pubsub/docs/reference/rest/v1/Policy#Binding" rel="noreferrer">https://cloud.google.com/pubsub/docs/reference/rest/v1/Policy#Binding</a>
  I am not getting that why this message is coming. Please share your suggestions &amp; feedback's.</p>