XML 55 R44.htm IDEA: XBRL DOCUMENT
v3.20.2

Divestitures and Held for Sale - Additional Information (Detail) - Asset Held For Sale [Member] | 3 Months Ended | 9 Months Ended
--- | --- | ---
Dec. 31, 2019 subsidiary | Sep. 30, 2020 USD ($)
Number of subsidiaries intent to divestiture | subsidiary | 2 |
Gain (loss) on divestiture |  | $ 0
Prepaid Expense And Other Current Assets [Member] |  |
Consideration on disposal of assets |  | 10,000,000
Other Assets [Member] |  |
Consideration on disposal of assets |  | $ 5,000,000

X
- Definition Number of subsidiaries intent to divestiture. + References No definition available. + Details
Name: | apg_NumberOfSubsidiariesIntentToDivestiture
Namespace Prefix: | apg_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount after tax of gain (loss) not previously recognized resulting from the disposal of a discontinued operation. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=109222160&loc=d3e957-107759 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=109222650&loc=d3e1361-107760 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 3B -URI http://asc.fasb.org/extlink&oid=109222160&loc=SL51721525-107759 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5C -Subparagraph (b)(2) -URI http://asc.fasb.org/extlink&oid=109222650&loc=SL51721675-107760 + Details
Name: | us-gaap_DiscontinuedOperationGainLossOnDisposalOfDiscontinuedOperationNetOfTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of consideration received or receivable for the disposal of assets and liabilities, including discontinued operation. + References No definition available. + Details
Name: | us-gaap_DisposalGroupIncludingDiscontinuedOperationConsideration
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | apg_MajorClassesOfAssetsAxis=apg_AssetHeldForSaleMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=us-gaap_PrepaidExpensesAndOtherCurrentAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=us-gaap_OtherAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |