<?xml version="1.0"?>
<ownershipDocument>

    <schemaVersion>X0407</schemaVersion>

    <documentType>4/A</documentType>

    <periodOfReport>2023-05-22</periodOfReport>

    <dateOfOriginalSubmission>2023-05-24</dateOfOriginalSubmission>

    <issuer>
        <issuerCik>0001772704</issuerCik>
        <issuerName>Goldman Sachs Private Middle Market Credit II LLC</issuerName>
        <issuerTradingSymbol>NONE</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001635123</rptOwnerCik>
            <rptOwnerName>Uniacke Katherine</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>200 WEST STREET</rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity>NEW YORK</rptOwnerCity>
            <rptOwnerState>NY</rptOwnerState>
            <rptOwnerZipCode>10282</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>true</isDirector>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>false</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Units of limited liability company interests</value>
            </securityTitle>
            <transactionDate>
                <value>2023-05-22</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>P</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>5.426</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>92.1428</value>
                    <footnoteId id="F1"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>467.537</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">This amendment is being filed to update the disclosure in Table I, Columns 4 and 5 in the Form 4 previously filed on May 24, 2023 by the reporting person in order to disclose the amount of securities acquired, the price of securities and the amount of securities beneficially owned following Ms. Uniacke's $500 capital contribution that was made on May 30, 2023. When Ms. Uniacke's Form 4 was initially filed on May 24, 2023, the amount of securities acquired was not calculable.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>/s/ Edward Meehan, Attorney-in-fact</signatureName>
        <signatureDate>2023-06-01</signatureDate>
    </ownerSignature>
</ownershipDocument>
