<p>previously I was using</p>
<blockquote>
<p>&quot;google.golang.org/api&quot;=&gt;v0.10.0</p>
</blockquote>
<p>in my go.mod file and I was able to import</p>
<blockquote>
<p>gensupport &quot;google.golang.org/api/gensupport&quot;</p>
</blockquote>
<p>But with new</p>
<blockquote>
<p>&quot;google.golang.org/api&quot;=&gt;v0.103.0</p>
</blockquote>
<p>I was unable to import gensupport and as I and my colleague have investigated, gensupport was shifted to</p>
<blockquote>
<p>&quot;google.golang.org/api/internal/gensupport&quot;</p>
</blockquote>
<p>but while using this import there is one error saying</p>
<blockquote>
<p>Use of the internal package is not allowed</p>
</blockquote>
<p>So now how I will be able to use gensupport with new &quot;google.golang.org/api&quot;=&gt;v0.103.0 version.</p>

<p>Your only option is to vendor an older version of the library.
This package has been marked for internal use for a long time and was also marked to allow for breakages. See <a href="https://github.com/googleapis/google-api-go-client/issues/416" rel="nofollow noreferrer">https://github.com/googleapis/google-api-go-client/issues/416</a> for options.</p>
