<?xml version="1.0" encoding="US-ASCII"?>
<!-- DFIN New ActiveDisclosure (SM) XBRL Schema Document - http://www.dfinsolutions.com/ -->
<!-- Creation Date :2022-08-04T10:53:46.5354+00:00 -->
<!-- Copyright (c) 2022 Donnelly Financial Solutions, Inc. All Rights Reserved. -->
<xsd:schema targetNamespace="http://www.apigroupinc.com/20220630" attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:country="http://xbrl.sec.gov/country/2022" xmlns:dtr-types="http://www.xbrl.org/dtr/type/2020-01-21" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:dei="http://xbrl.sec.gov/dei/2022" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:enum2="http://xbrl.org/2020/extensible-enumerations-2.0" xmlns:srt="http://fasb.org/srt/2022" xmlns:us-gaap="http://fasb.org/us-gaap/2022" xmlns:apg="http://www.apigroupinc.com/20220630" xmlns:currency="http://xbrl.sec.gov/currency/2022" xmlns:xlink="http://www.w3.org/1999/xlink">
  <xsd:import schemaLocation="http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd" namespace="http://www.xbrl.org/2003/instance"/>
  <xsd:import schemaLocation="http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" namespace="http://www.xbrl.org/2003/linkbase"/>
  <xsd:import schemaLocation="http://www.xbrl.org/2005/xbrldt-2005.xsd" namespace="http://xbrl.org/2005/xbrldt"/>
  <xsd:import schemaLocation="https://www.xbrl.org/2020/extensible-enumerations-2.0.xsd" namespace="http://xbrl.org/2020/extensible-enumerations-2.0"/>
  <xsd:import schemaLocation="https://xbrl.sec.gov/dei/2022/dei-2022.xsd" namespace="http://xbrl.sec.gov/dei/2022"/>
  <xsd:import schemaLocation="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd" namespace="http://fasb.org/us-gaap/2022"/>
  <xsd:import schemaLocation="https://xbrl.sec.gov/country/2022/country-2022.xsd" namespace="http://xbrl.sec.gov/country/2022"/>
  <xsd:import schemaLocation="https://xbrl.sec.gov/currency/2022/currency-2022.xsd" namespace="http://xbrl.sec.gov/currency/2022"/>
  <xsd:import schemaLocation="https://www.xbrl.org/dtr/type/2020-01-21/types.xsd" namespace="http://www.xbrl.org/dtr/type/2020-01-21"/>
  <xsd:import schemaLocation="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd" namespace="http://fasb.org/srt/2022"/>
  <xsd:annotation>
    <xsd:appinfo>
      <link:linkbaseRef xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="apg-20220630_lab.xml" xlink:role="http://www.xbrl.org/2003/role/labelLinkbaseRef" xlink:title="Labels link" xlink:type="simple"/>
      <link:linkbaseRef xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="apg-20220630_pre.xml" xlink:role="http://www.xbrl.org/2003/role/presentationLinkbaseRef" xlink:title="Presentation link" xlink:type="simple"/>
      <link:linkbaseRef xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="apg-20220630_def.xml" xlink:role="http://www.xbrl.org/2003/role/definitionLinkbaseRef" xlink:title="Definition link" xlink:type="simple"/>
      <link:linkbaseRef xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="apg-20220630_cal.xml" xlink:role="http://www.xbrl.org/2003/role/calculationLinkbaseRef" xlink:title="Calculation link" xlink:type="simple"/>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation" id="Role_DocumentDocumentAndEntityInformation">
        <link:definition>100000 - Document - Document and Entity Information</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_StatementCondensedConsolidatedBalanceSheets" id="Role_StatementCondensedConsolidatedBalanceSheets">
        <link:definition>100010 - Statement - Condensed Consolidated Balance Sheets</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosureBusinessCombinationsSummaryOfPreliminaryFairValueOfConsiderationOfAssetsAcquiredAndLiabilitiesAssumedDetail2" id="DisclosureBusinessCombinationsSummaryOfPreliminaryFairValueOfConsiderationOfAssetsAcquiredAndLiabilitiesAssumedDetail2">
        <link:definition>100020 - Disclosure - Business Combinations - Summary of Preliminary Fair Value of Consideration of Assets Acquired and Liabilities Assumed (Detail) 2</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosureDebtSummaryOfDebtObligationsDetail2" id="DisclosureDebtSummaryOfDebtObligationsDetail2">
        <link:definition>100030 - Disclosure - Debt - Summary of Debt Obligations (Detail) 2</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosureEarningsLossPerShareSummaryOfComputationEarningsLossPerCommonShareUsingTwoClassMethodDetail2" id="DisclosureEarningsLossPerShareSummaryOfComputationEarningsLossPerCommonShareUsingTwoClassMethodDetail2">
        <link:definition>100040 - Disclosure - Earnings (Loss) Per Share - Summary of Computation Earnings (Loss) Per Common Share Using Two Class Method (Detail) 2</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosureLeasesScheduleOfFutureUndiscountedCashFlowsAndReconciliationToTheLeaseLiabilitiesDetail2" id="DisclosureLeasesScheduleOfFutureUndiscountedCashFlowsAndReconciliationToTheLeaseLiabilitiesDetail2">
        <link:definition>100050 - Disclosure - Leases - Schedule of Future Undiscounted Cash Flows and Reconciliation to the Lease Liabilities (Detail) 2</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_StatementCondensedConsolidatedBalanceSheetsParenthetical" id="Role_StatementCondensedConsolidatedBalanceSheetsParenthetical">
        <link:definition>100060 - Statement - Condensed Consolidated Balance Sheets (Parenthetical)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosureEarningsLossPerShareSummaryOfComputationEarningsLossPerCommonShareUsingTwoClassMethodDetail3" id="DisclosureEarningsLossPerShareSummaryOfComputationEarningsLossPerCommonShareUsingTwoClassMethodDetail3">
        <link:definition>100070 - Disclosure - Earnings (Loss) Per Share - Summary of Computation Earnings (Loss) Per Common Share Using Two Class Method (Detail) 3</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_StatementCondensedConsolidatedStatementsOfOperations" id="Role_StatementCondensedConsolidatedStatementsOfOperations">
        <link:definition>100080 - Statement - Condensed Consolidated Statements of Operations</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_StatementCondensedConsolidatedStatementsOfComprehensiveIncomeLoss" id="Role_StatementCondensedConsolidatedStatementsOfComprehensiveIncomeLoss">
        <link:definition>100090 - Statement - Condensed Consolidated Statements of Comprehensive Income (Loss)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_StatementCondensedConsolidatedStatementsOfComprehensiveIncomeLossParenthetical" id="Role_StatementCondensedConsolidatedStatementsOfComprehensiveIncomeLossParenthetical">
        <link:definition>100100 - Statement - Condensed Consolidated Statements of Comprehensive Income (Loss) (Parenthetical)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_StatementCondensedConsolidatedStatementsOfShareholdersEquity" id="Role_StatementCondensedConsolidatedStatementsOfShareholdersEquity">
        <link:definition>100110 - Statement - Condensed Consolidated Statements of Shareholders' Equity</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_StatementCondensedConsolidatedStatementsOfCashFlows" id="Role_StatementCondensedConsolidatedStatementsOfCashFlows">
        <link:definition>100120 - Statement - Condensed Consolidated Statements of Cash Flows</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_DisclosureNatureOfBusiness" id="Role_DisclosureNatureOfBusiness">
        <link:definition>100130 - Disclosure - Nature of Business</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_DisclosureBasisOfPresentationAndSignificantAccountingPolicies" id="Role_DisclosureBasisOfPresentationAndSignificantAccountingPolicies">
        <link:definition>100140 - Disclosure - Basis of Presentation and Significant Accounting Policies</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_DisclosureRecentAccountingPronouncements" id="Role_DisclosureRecentAccountingPronouncements">
        <link:definition>100150 - Disclosure - Recent Accounting Pronouncements</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_DisclosureBusinessCombinations" id="Role_DisclosureBusinessCombinations">
        <link:definition>100160 - Disclosure - Business Combinations</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosureRestructuring" id="DisclosureRestructuring">
        <link:definition>100170 - Disclosure - Restructuring</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosureDivestituresAndAssetsHeldForSale" id="DisclosureDivestituresAndAssetsHeldForSale">
        <link:definition>100180 - Disclosure - Divestitures and Assets Held for Sale</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosureNetRevenues" id="DisclosureNetRevenues">
        <link:definition>100190 - Disclosure - Net Revenues</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibles" id="Role_DisclosureGoodwillAndIntangibles">
        <link:definition>100200 - Disclosure - Goodwill and Intangibles</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_DisclosureFairValueOfFinancialInstruments" id="Role_DisclosureFairValueOfFinancialInstruments">
        <link:definition>100210 - Disclosure - Fair Value of Financial Instruments</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_DisclosureDerivatives" id="Role_DisclosureDerivatives">
        <link:definition>100220 - Disclosure - Derivatives</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_DisclosurePropertyAndEquipmentNet" id="Role_DisclosurePropertyAndEquipmentNet">
        <link:definition>100230 - Disclosure - Property and Equipment, Net</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosureLeases1" id="DisclosureLeases1">
        <link:definition>100240 - Disclosure - Leases</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_DisclosureDebt" id="Role_DisclosureDebt">
        <link:definition>100250 - Disclosure - Debt</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxes" id="Role_DisclosureIncomeTaxes">
        <link:definition>100260 - Disclosure - Income Taxes</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_DisclosureEmployeeBenefitPlans" id="Role_DisclosureEmployeeBenefitPlans">
        <link:definition>100270 - Disclosure - Employee Benefit Plans</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosurePension" id="DisclosurePension">
        <link:definition>100280 - Disclosure - Pension</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosureOtherNoncurrentLiabilities1" id="DisclosureOtherNoncurrentLiabilities1">
        <link:definition>100290 - Disclosure - Other Noncurrent Liabilities</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactions" id="Role_DisclosureRelatedPartyTransactions">
        <link:definition>100300 - Disclosure - Related-Party Transactions</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosureCommitmentsAndContingencies" id="DisclosureCommitmentsAndContingencies">
        <link:definition>100310 - Disclosure - Commitments and Contingencies</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosureAccumulatedOtherComprehensiveIncomeLoss" id="DisclosureAccumulatedOtherComprehensiveIncomeLoss">
        <link:definition>100320 - Disclosure - Accumulated Other Comprehensive Income (Loss)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosureShareholdersEquityAndRedeemableConvertiblePreferredStock" id="DisclosureShareholdersEquityAndRedeemableConvertiblePreferredStock">
        <link:definition>100330 - Disclosure - Shareholders' Equity and Redeemable Convertible Preferred Stock</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosureSharebasedCompensation" id="DisclosureSharebasedCompensation">
        <link:definition>100340 - Disclosure - Share-Based Compensation</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_DisclosureEarningsLossPerShare" id="Role_DisclosureEarningsLossPerShare">
        <link:definition>100350 - Disclosure - Earnings (Loss) Per Share</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_DisclosureSegmentInformation" id="Role_DisclosureSegmentInformation">
        <link:definition>100360 - Disclosure - Segment Information</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_DisclosureSubsequentEvents" id="Role_DisclosureSubsequentEvents">
        <link:definition>100370 - Disclosure - Subsequent Events</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_DisclosureBasisOfPresentationAndSignificantAccountingPoliciesPolicies" id="Role_DisclosureBasisOfPresentationAndSignificantAccountingPoliciesPolicies">
        <link:definition>100380 - Disclosure - Basis of Presentation and Significant Accounting Policies (Policies)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_DisclosureBusinessCombinationsTables" id="Role_DisclosureBusinessCombinationsTables">
        <link:definition>100390 - Disclosure - Business Combinations (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosureRestructuringTables" id="DisclosureRestructuringTables">
        <link:definition>100400 - Disclosure - Restructuring (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosureDivestituresAndHeldForSaleTables" id="DisclosureDivestituresAndHeldForSaleTables">
        <link:definition>100410 - Disclosure - Divestitures and Held for Sale (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosureNetRevenuesTables" id="DisclosureNetRevenuesTables">
        <link:definition>100420 - Disclosure - Net Revenues (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangiblesTables" id="Role_DisclosureGoodwillAndIntangiblesTables">
        <link:definition>100430 - Disclosure - Goodwill and Intangibles (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_DisclosureFairValueOfFinancialInstrumentsTables" id="Role_DisclosureFairValueOfFinancialInstrumentsTables">
        <link:definition>100440 - Disclosure - Fair Value of Financial Instruments (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetTables" id="Role_DisclosurePropertyAndEquipmentNetTables">
        <link:definition>100450 - Disclosure - Property and Equipment, Net (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosureLeasesTables" id="DisclosureLeasesTables">
        <link:definition>100460 - Disclosure - Leases (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_DisclosureDebtTables" id="Role_DisclosureDebtTables">
        <link:definition>100470 - Disclosure - Debt (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosurePensionTables" id="DisclosurePensionTables">
        <link:definition>100480 - Disclosure - Pension (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosureOtherNoncurrentLiabilitiesTables" id="DisclosureOtherNoncurrentLiabilitiesTables">
        <link:definition>100490 - Disclosure - Other Noncurrent Liabilities (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosureAccumulatedOtherComprehensiveIncomeLossTables" id="DisclosureAccumulatedOtherComprehensiveIncomeLossTables">
        <link:definition>100500 - Disclosure - Accumulated Other Comprehensive Income (Loss) (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosureSharebasedCompensationTables" id="DisclosureSharebasedCompensationTables">
        <link:definition>100510 - Disclosure - Share-Based Compensation (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_DisclosureEarningsLossPerShareTables" id="Role_DisclosureEarningsLossPerShareTables">
        <link:definition>100520 - Disclosure - Earnings (Loss) Per Share (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_DisclosureSegmentInformationTables" id="Role_DisclosureSegmentInformationTables">
        <link:definition>100530 - Disclosure - Segment Information (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_DisclosureNatureOfBusinessAdditionalInformationDetail" id="Role_DisclosureNatureOfBusinessAdditionalInformationDetail">
        <link:definition>100540 - Disclosure - Nature of Business - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_DisclosureBasisOfPresentationAndSignificantAccountingPoliciesAdditionalInformationDetail" id="Role_DisclosureBasisOfPresentationAndSignificantAccountingPoliciesAdditionalInformationDetail">
        <link:definition>100550 - Disclosure - Basis of Presentation and Significant Accounting Policies - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_DisclosureRecentAccountingPronouncementsAdditionalInformationDetail" id="Role_DisclosureRecentAccountingPronouncementsAdditionalInformationDetail">
        <link:definition>100560 - Disclosure - Recent Accounting Pronouncements - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_DisclosureBusinessCombinationsAdditionalInformationDetail" id="Role_DisclosureBusinessCombinationsAdditionalInformationDetail">
        <link:definition>100570 - Disclosure - Business Combinations - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_DisclosureBusinessCombinationsSummaryOfPreliminaryFairValueOfConsiderationOfAssetsAcquiredAndLiabilitiesAssumedDetail" id="Role_DisclosureBusinessCombinationsSummaryOfPreliminaryFairValueOfConsiderationOfAssetsAcquiredAndLiabilitiesAssumedDetail">
        <link:definition>100580 - Disclosure - Business Combinations - Summary of Preliminary Fair Value of Consideration of Assets Acquired and Liabilities Assumed (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosureBusinessCombinationsSummaryOfPreliminaryFairValueOfIdentifiableIntangibleAssetsDetail" id="DisclosureBusinessCombinationsSummaryOfPreliminaryFairValueOfIdentifiableIntangibleAssetsDetail">
        <link:definition>100590 - Disclosure - Business Combinations - Summary of Preliminary Fair Value of Identifiable Intangible Assets (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosureBusinessCombinationsSummaryOfCompanysOperatingResultsOfAcquisitionAndRelatedFinanceDetail" id="DisclosureBusinessCombinationsSummaryOfCompanysOperatingResultsOfAcquisitionAndRelatedFinanceDetail">
        <link:definition>100600 - Disclosure - Business Combinations - Summary of Company's Operating Results of Acquisition and Related Finance (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosureRestructuringAdditionalInformationDetails" id="DisclosureRestructuringAdditionalInformationDetails">
        <link:definition>100610 - Disclosure - Restructuring (Additional Information) (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosureRestructuringSummaryOfRestructuringProgramDetails" id="DisclosureRestructuringSummaryOfRestructuringProgramDetails">
        <link:definition>100620 - Disclosure - Restructuring - Summary of Restructuring Program (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosureDivestituresAndHeldForSaleSummaryOfInformationRelatedToMajorClassesOfAssetsClassifiedAsAssetsAndLiabilitiesHeldDetails" id="DisclosureDivestituresAndHeldForSaleSummaryOfInformationRelatedToMajorClassesOfAssetsClassifiedAsAssetsAndLiabilitiesHeldDetails">
        <link:definition>100630 - Disclosure - Divestitures and Held for Sale - Summary of Information Related to Major Classes of Assets Classified as Assets and Liabilities Held (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosureDivestituresAndAssetsHeldForSaleAdditionalInformationDetails" id="DisclosureDivestituresAndAssetsHeldForSaleAdditionalInformationDetails">
        <link:definition>100640 - Disclosure - Divestitures And Assets Held For Sale (Additional Information) (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosureNetRevenuesSummaryOfDisaggregatedNetRevenuesDetail" id="DisclosureNetRevenuesSummaryOfDisaggregatedNetRevenuesDetail">
        <link:definition>100650 - Disclosure - Net Revenues - Summary of Disaggregated Net Revenues (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosureNetRevenuesAdditionalInformationDetail" id="DisclosureNetRevenuesAdditionalInformationDetail">
        <link:definition>100660 - Disclosure - Net Revenues - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosureNetRevenuesAdditionalInformationDetails1" id="DisclosureNetRevenuesAdditionalInformationDetails1">
        <link:definition>100670 - Disclosure - Net Revenues - Additional Information (Details1)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosureNetRevenuesSummaryOfAccountsReceivableNetOfAllowancesContractAssetsAndContractLiabilitiesFromContractsWithCustomerDetail" id="DisclosureNetRevenuesSummaryOfAccountsReceivableNetOfAllowancesContractAssetsAndContractLiabilitiesFromContractsWithCustomerDetail">
        <link:definition>100680 - Disclosure - Net Revenues - Summary of Accounts Receivable, Net of Allowances, Contract Assets and Contract Liabilities from Contracts with Customer (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangiblesSummaryOfChangesInCarryingAmountsOfGoodwillByReportableSegmentsDetail" id="Role_DisclosureGoodwillAndIntangiblesSummaryOfChangesInCarryingAmountsOfGoodwillByReportableSegmentsDetail">
        <link:definition>100690 - Disclosure - Goodwill and Intangibles - Summary of Changes In Carrying Amounts of Goodwill By Reportable Segments (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangiblesAdditionalInformationDetail" id="Role_DisclosureGoodwillAndIntangiblesAdditionalInformationDetail">
        <link:definition>100700 - Disclosure - Goodwill and Intangibles - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangiblesSummaryOfIdentifiableIntangibleAssetsDetail" id="Role_DisclosureGoodwillAndIntangiblesSummaryOfIdentifiableIntangibleAssetsDetail">
        <link:definition>100710 - Disclosure - Goodwill and Intangibles - Summary of Identifiable Intangible Assets (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosureGoodwillAndIntangiblesSummaryOfAmortizationExpenseRecognizedOnIntangibleAssetsDetail" id="DisclosureGoodwillAndIntangiblesSummaryOfAmortizationExpenseRecognizedOnIntangibleAssetsDetail">
        <link:definition>100720 - Disclosure - Goodwill and Intangibles - Summary of Amortization Expense Recognized on Intangible Assets (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_DisclosureFairValueOfFinancialInstrumentsSummaryOfFairValueMeasurementAssetsAndLiabilitiesMeasuredOnRecurringBasisDetail" id="Role_DisclosureFairValueOfFinancialInstrumentsSummaryOfFairValueMeasurementAssetsAndLiabilitiesMeasuredOnRecurringBasisDetail">
        <link:definition>100730 - Disclosure - Fair Value of Financial Instruments - Summary of Fair Value Measurement Assets and Liabilities Measured on Recurring Basis (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_DisclosureFairValueOfFinancialInstrumentsSummaryOfReconciliationOfFairValueOfContingentConsiderationObligationsDetail" id="Role_DisclosureFairValueOfFinancialInstrumentsSummaryOfReconciliationOfFairValueOfContingentConsiderationObligationsDetail">
        <link:definition>100740 - Disclosure - Fair Value of Financial Instruments - Summary of Reconciliation of Fair Value of Contingent Consideration Obligations (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsAdditionalInformationDetail" id="DisclosureFairValueOfFinancialInstrumentsAdditionalInformationDetail">
        <link:definition>100750 - Disclosure - Fair Value of Financial Instruments - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_DisclosureFairValueOfFinancialInstrumentsSummaryOfCarryingAndFairValueOfNonVariableInterestRateDebtDetail" id="Role_DisclosureFairValueOfFinancialInstrumentsSummaryOfCarryingAndFairValueOfNonVariableInterestRateDebtDetail">
        <link:definition>100760 - Disclosure - Fair Value of Financial Instruments - Summary of Carrying And Fair Value Of Non-Variable Interest Rate Debt (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfCarryingAndFairValueOfNonvariableInterestRateDebtParentheticalDetail" id="DisclosureFairValueOfFinancialInstrumentsSummaryOfCarryingAndFairValueOfNonvariableInterestRateDebtParentheticalDetail">
        <link:definition>100770 - Disclosure - Fair Value of Financial Instruments - Summary of Carrying And Fair Value Of Non-Variable Interest Rate Debt (Parenthetical) (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_DisclosureDerivativesAdditionalInformationDetail" id="Role_DisclosureDerivativesAdditionalInformationDetail">
        <link:definition>100780 - Disclosure - Derivatives - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetSummaryOfComponentsOfPropertyAndEquipmentDetail" id="Role_DisclosurePropertyAndEquipmentNetSummaryOfComponentsOfPropertyAndEquipmentDetail">
        <link:definition>100790 - Disclosure - Property and Equipment, Net - Summary of Components of Property and Equipment (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetAdditionalInformationDetail" id="Role_DisclosurePropertyAndEquipmentNetAdditionalInformationDetail">
        <link:definition>100800 - Disclosure - Property and Equipment, Net - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosureLeasesAdditionalInformationDetail" id="DisclosureLeasesAdditionalInformationDetail">
        <link:definition>100810 - Disclosure - Leases - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosureLeasesScheduleOfFutureUndiscountedCashFlowsAndReconciliationToTheLeaseLiabilitiesDetail" id="DisclosureLeasesScheduleOfFutureUndiscountedCashFlowsAndReconciliationToTheLeaseLiabilitiesDetail">
        <link:definition>100820 - Disclosure - Leases - Schedule of Future Undiscounted Cash Flows and Reconciliation to the Lease Liabilities (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosureScheduleOfSupplementalUnauditedCondensedConsolidatedBalanceSheetsInformationRelatedToLeasesDetail" id="DisclosureScheduleOfSupplementalUnauditedCondensedConsolidatedBalanceSheetsInformationRelatedToLeasesDetail">
        <link:definition>100830 - Disclosure - Schedule of Supplemental Unaudited Condensed Consolidated Balance Sheets Information Related to Leases (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_DisclosureDebtSummaryOfDebtObligationsDetail" id="Role_DisclosureDebtSummaryOfDebtObligationsDetail">
        <link:definition>100840 - Disclosure - Debt - Summary of Debt Obligations (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosureDebtSummaryOfDebtObligationsParentheticalDetail" id="DisclosureDebtSummaryOfDebtObligationsParentheticalDetail">
        <link:definition>100850 - Disclosure - Debt - Summary of Debt Obligations (Parenthetical) (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetail" id="Role_DisclosureDebtAdditionalInformationDetail">
        <link:definition>100860 - Disclosure - Debt - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosureDebtScheduleOfAnnualMaturitiesExcludingAmortizationOfDebtIssuanceCostsDetail" id="DisclosureDebtScheduleOfAnnualMaturitiesExcludingAmortizationOfDebtIssuanceCostsDetail">
        <link:definition>100870 - Disclosure - Debt - Schedule of Annual Maturities, Excluding Amortization of Debt Issuance Costs (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetail" id="Role_DisclosureIncomeTaxesAdditionalInformationDetail">
        <link:definition>100880 - Disclosure - Income Taxes - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_DisclosureEmployeeBenefitPlansAdditionalInformationDetail" id="Role_DisclosureEmployeeBenefitPlansAdditionalInformationDetail">
        <link:definition>100890 - Disclosure - Employee Benefit Plans - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosurePensionScheduleOfPreliminaryValuationOfPensionPlansInPurchasePriceAllocationDetail" id="DisclosurePensionScheduleOfPreliminaryValuationOfPensionPlansInPurchasePriceAllocationDetail">
        <link:definition>100900 - Disclosure - Pension - Schedule of Preliminary Valuation of Pension Plans in Purchase Price Allocation (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosurePensionSummaryOfSupplementalCondensedConsolidatedBalanceSheetsInformationRelatedToPensionDetail" id="DisclosurePensionSummaryOfSupplementalCondensedConsolidatedBalanceSheetsInformationRelatedToPensionDetail">
        <link:definition>100910 - Disclosure - Pension - Summary of Supplemental Condensed Consolidated Balance Sheets Information Related to Pension (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosurePensionAdditionalInformationDetail" id="DisclosurePensionAdditionalInformationDetail">
        <link:definition>100920 - Disclosure - Pension - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosurePensionInformationForPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsDetail" id="DisclosurePensionInformationForPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsDetail">
        <link:definition>100930 - Disclosure - Pension - Information for Pension Plans with Accumulated Benefit Obligations in Excess of Plan Assets (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosurePensionInformationForPensionPlansWithProjectedBenefitObligationsInExcessOfPlanAssetsDetail" id="DisclosurePensionInformationForPensionPlansWithProjectedBenefitObligationsInExcessOfPlanAssetsDetail">
        <link:definition>100940 - Disclosure - Pension - Information for Pension Plans with Projected Benefit Obligations in Excess of Plan Assets (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosurePensionComponentsOfNetPeriodicPensionBenefitDetail" id="DisclosurePensionComponentsOfNetPeriodicPensionBenefitDetail">
        <link:definition>100950 - Disclosure - Pension - Components of Net Periodic Pension Benefit (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosurePensionOtherChangesInPlanAssetsAndBenefitObligationsRecognizedInOtherComprehensiveIncomeLossDetail" id="DisclosurePensionOtherChangesInPlanAssetsAndBenefitObligationsRecognizedInOtherComprehensiveIncomeLossDetail">
        <link:definition>100960 - Disclosure - Pension - Other Changes in Plan Assets and Benefit Obligations Recognized in Other Comprehensive (Income) Loss (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosurePensionMajorAssumptionsUsedToDetermineBenefitObligationDetail" id="DisclosurePensionMajorAssumptionsUsedToDetermineBenefitObligationDetail">
        <link:definition>100970 - Disclosure - Pension - Major Assumptions Used to Determine Benefit Obligation (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosurePensionSummaryOfFairValueOfPensionPlanAssetsByAssetCategoryDetail" id="DisclosurePensionSummaryOfFairValueOfPensionPlanAssetsByAssetCategoryDetail">
        <link:definition>100980 - Disclosure - Pension - Summary of Fair Value of Pension Plan Assets by Asset Category (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosureOtherNoncurrentLiabilitiesSummaryOfOtherNoncurrentLiabilitiesDetail" id="DisclosureOtherNoncurrentLiabilitiesSummaryOfOtherNoncurrentLiabilitiesDetail">
        <link:definition>100990 - Disclosure - Other Noncurrent Liabilities - Summary of Other Noncurrent Liabilities (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosureOtherNoncurrentLiabilitiesAdditionalInformationDetail" id="DisclosureOtherNoncurrentLiabilitiesAdditionalInformationDetail">
        <link:definition>101000 - Disclosure - Other Noncurrent Liabilities - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsAdditionalInformationDetail" id="Role_DisclosureRelatedPartyTransactionsAdditionalInformationDetail">
        <link:definition>101010 - Disclosure - Related-Party Transactions - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosureCommitmentsAndContingenciesAdditionalInformationDetail" id="DisclosureCommitmentsAndContingenciesAdditionalInformationDetail">
        <link:definition>101020 - Disclosure - Commitments and Contingencies (Additional Information) (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosureAccumulatedOtherComprehensiveIncomeLossSummaryOfChangesInComponentOfAociNetOfTaxDetail" id="DisclosureAccumulatedOtherComprehensiveIncomeLossSummaryOfChangesInComponentOfAociNetOfTaxDetail">
        <link:definition>101030 - Disclosure - Accumulated Other Comprehensive Income (Loss) - Summary of Changes in Component of AOCI, Net of Tax (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosureShareholdersEquityAndRedeemableConvertiblePreferredStockAdditionalInformationDetail" id="DisclosureShareholdersEquityAndRedeemableConvertiblePreferredStockAdditionalInformationDetail">
        <link:definition>101040 - Disclosure - Shareholders' Equity and Redeemable Convertible Preferred Stock - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosureSharebasedCompensationAdditionalInformationDetails" id="DisclosureSharebasedCompensationAdditionalInformationDetails">
        <link:definition>101050 - Disclosure - Share-Based Compensation - Additional Information (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/DisclosureSharebasedCompensationSummaryOfValuationAssumptionsDetail" id="DisclosureSharebasedCompensationSummaryOfValuationAssumptionsDetail">
        <link:definition>101060 - Disclosure - Share-Based Compensation - Summary of Valuation Assumptions (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_DisclosureEarningsLossPerShareSummaryOfComputationEarningsLossPerCommonShareUsingTwoClassMethodDetail" id="Role_DisclosureEarningsLossPerShareSummaryOfComputationEarningsLossPerCommonShareUsingTwoClassMethodDetail">
        <link:definition>101070 - Disclosure - Earnings (Loss) Per Share - Summary of Computation Earnings (Loss) Per Common Share Using Two Class Method (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_DisclosureEarningsLossPerShareSummaryOfComputationEarningsLossPerCommonShareUsingTwoClassMethodParentheticalDetail" id="Role_DisclosureEarningsLossPerShareSummaryOfComputationEarningsLossPerCommonShareUsingTwoClassMethodParentheticalDetail">
        <link:definition>101080 - Disclosure - Earnings (Loss) Per Share - Summary of Computation Earnings (Loss) Per Common Share Using Two Class Method (Parenthetical) (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_DisclosureSegmentInformationAdditionalInformationDetail" id="Role_DisclosureSegmentInformationAdditionalInformationDetail">
        <link:definition>101090 - Disclosure - Segment Information - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.apigroupinc.com/20220630/taxonomy/role/Role_DisclosureSegmentInformationSummaryOfReconciliationOperatingIncomeToEBITDADetail" id="Role_DisclosureSegmentInformationSummaryOfReconciliationOperatingIncomeToEBITDADetail">
        <link:definition>101100 - Disclosure - Segment Information - Summary of Reconciliation Operating Income to EBITDA (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
    </xsd:appinfo>
  </xsd:annotation>
  <xsd:element id="apg_OperatingAndFinanceLeaseLiabilitiesPaymentsDueAbstract" name="OperatingAndFinanceLeaseLiabilitiesPaymentsDueAbstract" type="xbrli:stringItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_PlusAbstract" name="PlusAbstract" type="xbrli:stringItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_ProjectedBenefitObligationPboFundedStatusAbstract" name="ProjectedBenefitObligationPboFundedStatusAbstract" type="xbrli:stringItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_WeightedAverageDiscountRateAbstract" name="WeightedAverageDiscountRateAbstract" type="xbrli:stringItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_WeightedAverageRemainingLeaseTermAbstract" name="WeightedAverageRemainingLeaseTermAbstract" type="xbrli:stringItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_AccountsReceivableIncludesRetentionsReceivable" name="AccountsReceivableIncludesRetentionsReceivable" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="apg_AccountsReceivableIncludesRetentionsReceivableWithinOneYear" name="AccountsReceivableIncludesRetentionsReceivableWithinOneYear" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="apg_AccruedConsiderationIssuedInBusinessCombinations" name="AccruedConsiderationIssuedInBusinessCombinations" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="apg_AdjustmentOfCumulativeAmortizationExpenseReversed" name="AdjustmentOfCumulativeAmortizationExpenseReversed" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="apg_AdjustmentsToAdditionalPaidInCapitalSharesCancelledShares" name="AdjustmentsToAdditionalPaidInCapitalSharesCancelledShares" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="apg_AdjustmentsToAdditionalPaidInCapitalSharesCancelledValue" name="AdjustmentsToAdditionalPaidInCapitalSharesCancelledValue" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="apg_AnnualDividendCalculatedBasedOnAppreciationOfSharePricePerShare" name="AnnualDividendCalculatedBasedOnAppreciationOfSharePricePerShare" type="dtr-types:perShareItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="apg_AnnualDividendCalculatedBasedOnSharePriceAppreciationOverHighestPricePerShare" name="AnnualDividendCalculatedBasedOnSharePriceAppreciationOverHighestPricePerShare" type="dtr-types:perShareItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="apg_AnnualDividendCalculatedBasedOnSharePriceAppreciationOverInitialOfferingPrice" name="AnnualDividendCalculatedBasedOnSharePriceAppreciationOverInitialOfferingPrice" type="dtr-types:perShareItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="apg_AnnualDividendSharesPreferredStock" name="AnnualDividendSharesPreferredStock" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false"/>
  <xsd:element id="apg_AppreciationOfSharePrice" name="AppreciationOfSharePrice" type="dtr-types:perShareItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="apg_BusinessAcquisitionOtherAdjustments" name="BusinessAcquisitionOtherAdjustments" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="apg_BusinessAcquisitionTransactionCosts" name="BusinessAcquisitionTransactionCosts" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="apg_BusinessCombinationAccruedConsideration" name="BusinessCombinationAccruedConsideration" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="apg_BusinessCombinationAccruedConsiderationPaidOutPeriod" name="BusinessCombinationAccruedConsiderationPaidOutPeriod" type="xbrli:durationItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="apg_BusinessCombinationConsiderationTransferredEstimatedWorkingCapitalAdjustment" name="BusinessCombinationConsiderationTransferredEstimatedWorkingCapitalAdjustment" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="apg_BusinessCombinationConsiderationTransferredIncludingCashAcquired" name="BusinessCombinationConsiderationTransferredIncludingCashAcquired" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="apg_BusinessCombinationContingentCompensation" name="BusinessCombinationContingentCompensation" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="apg_BusinessCombinationContingentConsiderationArrangementsMaximumPotentialPayout" name="BusinessCombinationContingentConsiderationArrangementsMaximumPotentialPayout" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="apg_BusinessCombinationContingentConsiderationArrangementsNumberOfOpenArrangements" name="BusinessCombinationContingentConsiderationArrangementsNumberOfOpenArrangements" type="xbrli:decimalItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false"/>
  <xsd:element id="apg_BusinessCombinationLiabilityForDeferredPayments" name="BusinessCombinationLiabilityForDeferredPayments" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="apg_BusinessCombinationMaximumPayoutOfContingentCompensation" name="BusinessCombinationMaximumPayoutOfContingentCompensation" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="apg_BusinessCombinationPayoutOfAccruedContingentCompensation" name="BusinessCombinationPayoutOfAccruedContingentCompensation" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="apg_BusinessCombinationProFormaInformationOperatingIncomeLossOfAcquireeSinceAcquisitionDateActual" name="BusinessCombinationProFormaInformationOperatingIncomeLossOfAcquireeSinceAcquisitionDateActual" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccruedExpenses" name="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccruedExpenses" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsHeldForSale" name="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsHeldForSale" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedContractAssets" name="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedContractAssets" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedContractLiabilities" name="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedContractLiabilities" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedFinanceAndOperatingLeaseLiabilities" name="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedFinanceAndOperatingLeaseLiabilities" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedFinanceAndOperatingLeaseRightOfUseAssets" name="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedFinanceAndOperatingLeaseRightOfUseAssets" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedFinanceLeaseLiability" name="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedFinanceLeaseLiability" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedGoodwill" name="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedGoodwill" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOperatingLeaseLiability" name="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOperatingLeaseLiability" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOperatingLeaseRightOfUseAssets" name="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOperatingLeaseRightOfUseAssets" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPensionAndPostRetirementBenefits" name="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPensionAndPostRetirementBenefits" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPensionAndPostretirementObligations" name="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPensionAndPostretirementObligations" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPrepaidPensionCosts" name="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPrepaidPensionCosts" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="apg_CapitalExpenditures" name="CapitalExpenditures" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="apg_CommonStockSharesPurchasedByUnderwriters" name="CommonStockSharesPurchasedByUnderwriters" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="apg_ContingentCompensationArrangementsRecognitionPeriod" name="ContingentCompensationArrangementsRecognitionPeriod" type="xbrli:durationItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="apg_ContingentConsiderationObligationsClassifiedAsLiabilitiesFairValueDisclosure" name="ContingentConsiderationObligationsClassifiedAsLiabilitiesFairValueDisclosure" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="apg_ConversionRatio" name="ConversionRatio" type="xbrli:stringItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="apg_CustomersWithPaymentTerms" name="CustomersWithPaymentTerms" type="xbrli:stringItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="apg_DefinedBenefitPensionPlanAssets" name="DefinedBenefitPensionPlanAssets" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="apg_DefinedBenefitPensionPlansForeignCashContributions" name="DefinedBenefitPensionPlansForeignCashContributions" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="apg_DefinedBenefitPlanAssetsPensionAndPostRetirementBenefits" name="DefinedBenefitPlanAssetsPensionAndPostRetirementBenefits" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="apg_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostDiscountRateInterestCost" name="DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostDiscountRateInterestCost" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="apg_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostDiscountRateServiceCost" name="DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostDiscountRateServiceCost" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="apg_DefinedBenefitPlanFairValueOfPlanAssetsExcludingOtherAssetsAndLiabilities" name="DefinedBenefitPlanFairValueOfPlanAssetsExcludingOtherAssetsAndLiabilities" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="apg_DefinedBenefitPlanNumberOfPlans" name="DefinedBenefitPlanNumberOfPlans" type="xbrli:integerItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="apg_DepreciationExpenseNetOfReversal" name="DepreciationExpenseNetOfReversal" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="apg_DividendAttributableToPreferredStock" name="DividendAttributableToPreferredStock" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="apg_DividendAttributableToPreferredStockDiluted" name="DividendAttributableToPreferredStockDiluted" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="apg_DividendPricePerShare" name="DividendPricePerShare" type="dtr-types:perShareItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false"/>
  <xsd:element id="apg_EffectiveIncomeTaxRateReconciliationFederalAndState" name="EffectiveIncomeTaxRateReconciliationFederalAndState" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="apg_EffectiveIncomeTaxRateReconciliationunrecognizedtaxbenefits" name="EffectiveIncomeTaxRateReconciliationunrecognizedtaxbenefits" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="apg_EnvironmentalLiabilitiesOutstanding" name="EnvironmentalLiabilitiesOutstanding" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="apg_EnvironmentalReservesNonCurrent" name="EnvironmentalReservesNonCurrent" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="apg_EstimatedDepreciationExpenseBasedOnFairValueOfAcquisition" name="EstimatedDepreciationExpenseBasedOnFairValueOfAcquisition" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="apg_ExtendedMaturityDate" name="ExtendedMaturityDate" type="xbrli:gYearItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="apg_GoodwillImpairmentLossAtBusinessWithOngoingOperations" name="GoodwillImpairmentLossAtBusinessWithOngoingOperations" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="apg_GoodwillImpairmentLossRelatedToBusinessDivestiture" name="GoodwillImpairmentLossRelatedToBusinessDivestiture" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="apg_IncreaseDecreaseInPensionContribution" name="IncreaseDecreaseInPensionContribution" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="apg_IncrementalCommonSharesAttributableToDilutiveEffectOfSharesIssuablePursuantToAnnualPreferredShareDividend" name="IncrementalCommonSharesAttributableToDilutiveEffectOfSharesIssuablePursuantToAnnualPreferredShareDividend" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="apg_InsuranceReservesNonCurrent" name="InsuranceReservesNonCurrent" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="apg_InvestmentHedgeAmountAmortizedFromAociIntoInterestExpenses" name="InvestmentHedgeAmountAmortizedFromAociIntoInterestExpenses" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="apg_LiabilityForDeferredPaymentsRecognitionPeriod" name="LiabilityForDeferredPaymentsRecognitionPeriod" type="xbrli:durationItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="apg_LineOfCreditNetOfLettersOfCreditOutstanding" name="LineOfCreditNetOfLettersOfCreditOutstanding" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="apg_LossContingencyNumberOfCasesNamedAsDefendants" name="LossContingencyNumberOfCasesNamedAsDefendants" type="xbrli:integerItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="apg_MaximumValueOfCommonStockPurchasedDuringPeriod" name="MaximumValueOfCommonStockPurchasedDuringPeriod" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="apg_NetIncomeLossAvailableToCommonStockholdersBasicAndDiluted" name="NetIncomeLossAvailableToCommonStockholdersBasicAndDiluted" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="apg_NetOperatingLossCarryforwardsCarryforwardPeriod" name="NetOperatingLossCarryforwardsCarryforwardPeriod" type="xbrli:durationItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="apg_NoncashLeaseExpense" name="NoncashLeaseExpense" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="apg_NonServicePensionBenefit" name="NonServicePensionBenefit" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="apg_NumberOfCountries" name="NumberOfCountries" type="xbrli:integerItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="apg_NumberOfCountriesExpandingOperations" name="NumberOfCountriesExpandingOperations" type="xbrli:integerItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="apg_NumberOfCountriesInWhichRetirementPlansSponsored" name="NumberOfCountriesInWhichRetirementPlansSponsored" type="xbrli:integerItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="apg_NumberOfCountriesOfSignificantBusinessOperations1" name="NumberOfCountriesOfSignificantBusinessOperations1" type="xbrli:integerItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="apg_NumberOfCrossCurrencySwaps" name="NumberOfCrossCurrencySwaps" type="xbrli:integerItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="apg_NumberOfLocationsInWhichEntityOperates" name="NumberOfLocationsInWhichEntityOperates" type="xbrli:integerItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false"/>
  <xsd:element id="apg_NumberOfSharesUsedToCalculateAnnualDividend" name="NumberOfSharesUsedToCalculateAnnualDividend" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false"/>
  <xsd:element id="apg_OperatingAndFinanceLeaseLiability" name="OperatingAndFinanceLeaseLiability" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="apg_OperatingAndFinanceLeaseLiabilityPaymentsDue" name="OperatingAndFinanceLeaseLiabilityPaymentsDue" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="apg_OperatingAndFinanceLeaseLiabilityPaymentsDueInNextTwelveMonths" name="OperatingAndFinanceLeaseLiabilityPaymentsDueInNextTwelveMonths" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="apg_OperatingAndFinanceLeaseLiabilityPaymentsDueThereafter" name="OperatingAndFinanceLeaseLiabilityPaymentsDueThereafter" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="apg_OperatingAndFinanceLeaseLiabilityPaymentsDueYearFive" name="OperatingAndFinanceLeaseLiabilityPaymentsDueYearFive" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="apg_OperatingAndFinanceLeaseLiabilityPaymentsDueYearFour" name="OperatingAndFinanceLeaseLiabilityPaymentsDueYearFour" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="apg_OperatingAndFinanceLeaseLiabilityPaymentsDueYearThree" name="OperatingAndFinanceLeaseLiabilityPaymentsDueYearThree" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="apg_OperatingAndFinanceLeaseLiabilityPaymentsDueYearTwo" name="OperatingAndFinanceLeaseLiabilityPaymentsDueYearTwo" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="apg_OperatingAndFinanceLeaseLiabilityPaymentsRemainderOfFiscalYear" name="OperatingAndFinanceLeaseLiabilityPaymentsRemainderOfFiscalYear" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="apg_OperatingAndFinanceLeaseLiabilityUndiscountedExcessAmount" name="OperatingAndFinanceLeaseLiabilityUndiscountedExcessAmount" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="apg_OperatingAndFinanceLeasesLiabilityCurrent" name="OperatingAndFinanceLeasesLiabilityCurrent" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="apg_OperatingAndFinanceLeasesLiabilityNonCurrent" name="OperatingAndFinanceLeasesLiabilityNonCurrent" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="apg_OperatingIncomeLossEarningsBeforeInterestTaxesDepreciationAndAmortization" name="OperatingIncomeLossEarningsBeforeInterestTaxesDepreciationAndAmortization" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="apg_OperatingLossCarrybackTerm" name="OperatingLossCarrybackTerm" type="xbrli:durationItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="apg_OperatingLossCarryforwardsExpirationYear" name="OperatingLossCarryforwardsExpirationYear" type="xbrli:gYearItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="apg_OtherComprehensiveIncomeLossReclassificationAdjustmentFromImpactOfForeignExchangeTranslationPensionAndOtherPostretirementBenefitPlans" name="OtherComprehensiveIncomeLossReclassificationAdjustmentFromImpactOfForeignExchangeTranslationPensionAndOtherPostretirementBenefitPlans" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="apg_PaymentOfInvoices" name="PaymentOfInvoices" type="xbrli:durationItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="apg_PensionAndPostRetirementLiabilitiesNonCurrent" name="PensionAndPostRetirementLiabilitiesNonCurrent" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="apg_PercentageOfIncreaseInWeightedAverageMarketPrice" name="PercentageOfIncreaseInWeightedAverageMarketPrice" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="apg_PercentageOfOutstandingStockOwnedByRelatedPartyUnderAgreement" name="PercentageOfOutstandingStockOwnedByRelatedPartyUnderAgreement" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="apg_ProceedsFromSalesOfPropertyEquipmentHeldForSaleAssetsAndDisposalsOfBusinesses" name="ProceedsFromSalesOfPropertyEquipmentHeldForSaleAssetsAndDisposalsOfBusinesses" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="apg_ProfitSharingExpense" name="ProfitSharingExpense" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="apg_ProvisionalGoodwill" name="ProvisionalGoodwill" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="apg_ProvisionForDeductionOfBusinessMealsExpensesPurchasedPercentage" name="ProvisionForDeductionOfBusinessMealsExpensesPurchasedPercentage" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="apg_ReclassificationFromAOCIAmountsReclassifiedPreTaxAttributableToParent" name="ReclassificationFromAOCIAmountsReclassifiedPreTaxAttributableToParent" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="apg_ReductionInDerivativeEffectiveInterestRate" name="ReductionInDerivativeEffectiveInterestRate" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false"/>
  <xsd:element id="apg_ReductionInInterestExpense" name="ReductionInInterestExpense" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="apg_RestrictedSharesTenderedForTaxes" name="RestrictedSharesTenderedForTaxes" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="apg_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExpectedToVest" name="ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExpectedToVest" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false"/>
  <xsd:element id="apg_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExpectedToVestWeightedAverageGrantDateFairValue" name="ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExpectedToVestWeightedAverageGrantDateFairValue" type="dtr-types:perShareItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false"/>
  <xsd:element id="apg_ShareOfCommonStockIssuedToProfitSharingPlan" name="ShareOfCommonStockIssuedToProfitSharingPlan" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="apg_StockAndWarrantsIssuedDuringPeriodSharesWarrants" name="StockAndWarrantsIssuedDuringPeriodSharesWarrants" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="apg_UnswappedPortionOfLineOfCredit" name="UnswappedPortionOfLineOfCredit" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="apg_WeightedAveragePriceOfCommonStock" name="WeightedAveragePriceOfCommonStock" type="dtr-types:perShareItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="apg_AcquisitionOfConstructionEquipmentAndVehiclesMember" name="AcquisitionOfConstructionEquipmentAndVehiclesMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_ApiAcquisitionMember" name="ApiAcquisitionMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_APIGroupDEIncorporationMember" name="APIGroupDEIncorporationMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_AqueousFilmFormingFoamMember" name="AqueousFilmFormingFoamMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_AutosAndTrucksMember" name="AutosAndTrucksMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_CanadaAndEuropeMember" name="CanadaAndEuropeMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_ChubbLimitedFireAndSecurityBusinessMember" name="ChubbLimitedFireAndSecurityBusinessMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_CivilMember" name="CivilMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_ContingentConsiderationObligationsMember" name="ContingentConsiderationObligationsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_ContractualBacklogMember" name="ContractualBacklogMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_CorporateAndEliminationMember" name="CorporateAndEliminationMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_CorporateAndEliminationsMember" name="CorporateAndEliminationsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_DefinedBenefitPlanGlobalEquityFundsAtNavMember" name="DefinedBenefitPlanGlobalEquityFundsAtNavMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_FabricationMember" name="FabricationMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_ForwardStartingInterestRateSwapsMember" name="ForwardStartingInterestRateSwapsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_FourPointOneTwoFivePercentageSeniorNotesMember" name="FourPointOneTwoFivePercentageSeniorNotesMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_FourPointSevenFiveZeroPercentageSeniorNotesMember" name="FourPointSevenFiveZeroPercentageSeniorNotesMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_HeatingVentilationAndAirConditioningMember" name="HeatingVentilationAndAirConditioningMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_IndustrialServicesMember" name="IndustrialServicesMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_InfrastructureUtilityMember" name="InfrastructureUtilityMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_InspectionMember" name="InspectionMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_InvestmentIncomeAndOtherNetMember" name="InvestmentIncomeAndOtherNetMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_JointVenturesMember" name="JointVenturesMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_LifeSafetyMember" name="LifeSafetyMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_MariposaAcquisitionIVLLCMember" name="MariposaAcquisitionIVLLCMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_MarketBasedRestrictedStockUnitsMember" name="MarketBasedRestrictedStockUnitsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_MechanicalMember" name="MechanicalMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_MultiemployerPensionAndOtherMultiemployerBenefitPlansAndTrustsMember" name="MultiemployerPensionAndOtherMultiemployerBenefitPlansAndTrustsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_NorthernAirCorporationMember" name="NorthernAirCorporationMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_OtherAssetsAndLiabilitiesMember" name="OtherAssetsAndLiabilitiesMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_OtherCountriesMember" name="OtherCountriesMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_OtherObligationsMember" name="OtherObligationsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_OtherTwoThousandAndTwentyOneAcquisitionsMember" name="OtherTwoThousandAndTwentyOneAcquisitionsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_PerformanceBasedRestrictedStockUnitsMember" name="PerformanceBasedRestrictedStockUnitsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_PerformanceStockUnitsPsusMember" name="PerformanceStockUnitsPsusMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_PremierFireMember" name="PremierFireMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_ProfitSharingPlanMember" name="ProfitSharingPlanMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_PublicEquitiesAndFixedIncomeSecuritiesMember" name="PublicEquitiesAndFixedIncomeSecuritiesMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_RoyalOakEnterprisesMember" name="RoyalOakEnterprisesMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_SafetyServicesMember" name="SafetyServicesMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_SeptemberTwentyThirtyMember" name="SeptemberTwentyThirtyMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_SeptemberTwentyTwentySevenMember" name="SeptemberTwentyTwentySevenMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_SeriesAPreferredSharesMember" name="SeriesAPreferredSharesMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_SeriesBPreferredSharesMember" name="SeriesBPreferredSharesMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_SharePriceBasedRestrictedStockUnitsMember" name="SharePriceBasedRestrictedStockUnitsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_SpecialtyContractingMember" name="SpecialtyContractingMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_SpecialtyServicesMember" name="SpecialtyServicesMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_TermLoanFacilityMember" name="TermLoanFacilityMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_TimeBasedRestrictedStockUnitsMember" name="TimeBasedRestrictedStockUnitsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_TransmissionMember" name="TransmissionMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_TwentyTwentyTwoRestructuringProgramMember" name="TwentyTwentyTwoRestructuringProgramMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_TwoThousandAndTwentyAcquisitionsMember" name="TwoThousandAndTwentyAcquisitionsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_TwoThousandAndTwentyOneAcquisitionsMember" name="TwoThousandAndTwentyOneAcquisitionsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_TwoThousandNineteenTermLoanMember" name="TwoThousandNineteenTermLoanMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_TwoThousandTwentyOneTermLoanMember" name="TwoThousandTwentyOneTermLoanMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_TwoThousandTwentyTermLoanMember" name="TwoThousandTwentyTermLoanMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_TwoThousandTwentyTwoAcquisitionMember" name="TwoThousandTwentyTwoAcquisitionMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_TwoThousandTwentyTwoIncrementalAmendmentMember" name="TwoThousandTwentyTwoIncrementalAmendmentMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_VikingPurchasersMember" name="VikingPurchasersMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_WarrantsToPurchaseOrdinarySharesMember" name="WarrantsToPurchaseOrdinarySharesMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_FiniteLivedIntangibleAssetsAmortizationExpenseTable" name="FiniteLivedIntangibleAssetsAmortizationExpenseTable" type="xbrli:stringItemType" substitutionGroup="xbrldt:hypercubeItem" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="apg_SummaryOfCarryingAndFairValueOfNonVariableInterestRateDebtTableTextBlock" name="SummaryOfCarryingAndFairValueOfNonVariableInterestRateDebtTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="apg_LesseeOperatingAndFinancingLeasesTextBlock" name="LesseeOperatingAndFinancingLeasesTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="apg_ScheduleOfFutureUndiscountedCashFlowsAndReconciliationToTheLeaseLiabilitiesTableTextBlock" name="ScheduleOfFutureUndiscountedCashFlowsAndReconciliationToTheLeaseLiabilitiesTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="apg_ScheduleOfNonvestedRestrictedStockUnitsAndPerformanceBasedRestrictedStockUnitsActivityTableTextBlock" name="ScheduleOfNonvestedRestrictedStockUnitsAndPerformanceBasedRestrictedStockUnitsActivityTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="apg_ScheduleOfShareBasedPaymentAwardValuationAssumptionsTableTextBlock" name="ScheduleOfShareBasedPaymentAwardValuationAssumptionsTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="apg_ScheduleOfSupplementalBalanceSheetInformationTableTextBlock" name="ScheduleOfSupplementalBalanceSheetInformationTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
</xsd:schema>
