XML 73 R61.htm IDEA: XBRL DOCUMENT
v3.21.2

Related-Party Transactions - Additional Information (Detail) - USD ($) $ in Millions |  | 1 Months Ended | 3 Months Ended | 9 Months Ended | 12 Months Ended
--- | --- | --- | --- | --- | ---
Jul. 26, 2021 | Jan. 31, 2021 | Sep. 30, 2021 | Sep. 30, 2020 | Sep. 30, 2021 | Sep. 30, 2020 | Dec. 31, 2020
Related Party Transaction [Line Items] |  |  |  |  |  |  |
Dividends declared in common shares |  |  |  |  |  |  | 12,000,000
Royal Oak Enterprises [Member] |  |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |  |
Net revenues from related party |  |  |  |  | $ 5 |  |
Accounts receivable from related party |  |  | $ 2 |  | $ 2 |  |
Series B Preferred Shares [Member] |  |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |  |
Number of shares sold | 800,000 |  |  |  |  |  |
Aggregate purchase price | $ 800 |  |  |  |  |  |
Series B Preferred Shares [Member] | Viking Purchasers [Member] |  |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |  |
Number of shares sold |  |  |  |  | 200,000 |  |
Aggregate purchase price |  |  |  |  | $ 200 |  |
Series B Preferred Shares [Member] | Viking Purchasers [Member] | Minimum [Member] |  |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |  |
Percentage of outstanding stock owned by related party under agreement |  |  |  |  | 5.00% |  |
Mariposa Acquisition I V L L C [Member] |  |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |  |
Advisory service fees payable |  |  | $ 1 | $ 1 | $ 3 | $ 3 |
Preferred Stock [Member] | Mariposa Acquisition I V L L C [Member] |  |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |  |
Dividends declared in common shares |  | 12,400,000 |  |  |  |  |

X
- Definition Percentage of outstanding stock owned by related party under agreement. + References No definition available. + Details
Name: | apg_PercentageOfOutstandingStockOwnedByRelatedPartyUnderAgreement
Namespace Prefix: | apg_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition For an unclassified balance sheet, amount of receivables arising from transactions with related parties. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(k)(1)) -URI http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(3)) -URI http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=6457730&loc=d3e39603-107864 Reference 5: 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(3)(a)(2)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_AccountsReceivableRelatedParties
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Number of shares of common stock issued as dividends during the period. Excludes stock splits. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=123467817&loc=d3e21463-112644 + Details
Name: | us-gaap_CommonStockDividendsShares
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of expenses related to the managing member or general partner for management of the day-to-day business functions of the limited liability company (LLC) or limited partnership (LP). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864 + Details
Name: | us-gaap_ManagementFeeExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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_RelatedPartyTransactionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of revenue, fees and commissions earned from transactions between (a) a parent company and its subsidiaries; (b) subsidiaries of a common parent; (c) an entity and trusts for the benefit of employees, for example, but not limited to, pension and profit-sharing trusts that are managed by or under the trusteeship of the entity's management; (d) an entity and its principal, owners, management, or members of their immediate families; and (e) affiliates. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(4)(iv)) -URI http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 946 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07.1(c)) -URI http://asc.fasb.org/extlink&oid=120401555&loc=SL114874292-224272 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(4)(iii)(B)) -URI http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(4)(iii)(C)) -URI http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(5)) -URI http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(5)) -URI http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(4)(iv)) -URI http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756 Reference 8: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.1(e)) -URI http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227 + Details
Name: | us-gaap_RevenueFromRelatedParties
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of consideration received by subsidiary or equity investee in exchange for shares of stock issued or sold. Includes amount of cash received, fair value of noncash assets received, and fair value of liabilities assumed by the investor. + References No definition available. + Details
Name: | us-gaap_SaleOfStockConsiderationReceivedPerTransaction
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The number of shares issued or sold by the subsidiary or equity method investee per stock transaction. + References No definition available. + Details
Name: | us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=apg_RoyalOakEnterprisesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=us-gaap_SeriesBPreferredStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=apg_VikingPurchasersMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_OwnershipAxis=apg_MariposaAcquisitionIVLLCMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_PreferredStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |