public void setInventoryRule(com.google.api.ads.admanager.axis.v201808.InventoryTargeting inventoryRule) {
        this.inventoryRule = inventoryRule;
    }
public void setInventoryRule ( com . google . api . ads . admanager . axis . v201808 . InventoryTargeting inventoryRule ) { this . inventoryRule = inventoryRule ; }
Sets the inventoryRule value for this FirstPartyAudienceSegmentRule.

@param inventoryRule   * Specifies the inventory (i.e. ad units and placements) that
are part of the rule of a
{@link FirstPartyAudienceSegment}. This attribute
is required.