XML 81 R70.htm IDEA: XBRL DOCUMENT
v3.22.2

Debt - Summary of Debt Obligations (Parenthetical) (Detail) | 6 Months Ended
--- | ---
Jun. 30, 2022
4.125% Senior Notes [Member] |
Line of Credit Facility [Line Items] |
Line of credit facility, interest rate | 4.125%
4.750% Senior Notes [Member] |
Line of Credit Facility [Line Items] |
Line of credit facility, interest rate | 4.75%

X
- Definition The effective interest rate during the reporting period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityInterestRateDuringPeriod
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_LineOfCreditFacilityLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_DebtInstrumentAxis=apg_FourPointOneTwoFivePercentageSeniorNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=apg_FourPointSevenFiveZeroPercentageSeniorNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |