title: Creating / Getting a Cloud Run Job using the Python API Client Library
body: <p>I created a Cloud Run Job using command line:</p>
  <pre><code>gcloud --verbosity=debug beta run jobs create my-job \
  --image=us-docker.pkg.dev/cloudrun/container/job:latest
  </code></pre>
  <p>When I can list the jobs using the  API Client library, <code>my-job</code> is returned:</p>
  <pre><code>import googleapiclient.discovery
  with googleapiclient.discovery.build('run', 'v1') as client:
      request = client.namespaces().jobs().list(parent=f'namespaces/my-project')
      response = request.execute()
      print(response)
  </code></pre>
  <p>However, when I try to <code>get</code> the job using the following snippet, I get 404 &quot;Requested entity was not found&quot;:</p>
  <pre><code>...
  request = client.namespaces().jobs().get(name='namespaces/my-project/jobs/my-job')
  response = request.execute()
  ...
  </code></pre>
  <p>I am also unable to create a job using the following snippet, this again return 404 &quot;Requested entity was not found&quot;:</p>
  <pre><code>request = client.namespaces().jobs().create(parent=f'namespaces/my-project',
       body={
          &quot;metadata&quot;: {
             &quot;name&quot;: &quot;my-job2&quot;,
           },
          &quot;spec&quot;: {
             &quot;template&quot;: {
                 &quot;spec&quot;: {
                     &quot;template&quot;: {
                         &quot;spec&quot;: {
                            &quot;containers&quot;: [{
                               &quot;image&quot;: &quot;us-docker.pkg.dev/cloudrun/container/job:latest&quot;
                             }],
                          }
                        }
                      }
                  }
             },
          })
  </code></pre>
  <p>I have Cloud Run Admin permissions for the project.</p>
  <p>What am I missing?</p>