def by_target_device_group_id(self,target_device_group_id: str) -> TargetDeviceGroupItemRequestBuilder:
        """
        Provides operations to manage the targetDeviceGroups property of the microsoft.graph.remoteDesktopSecurityConfiguration entity.
        param target_device_group_id: The unique identifier of targetDeviceGroup
        Returns: TargetDeviceGroupItemRequestBuilder
        """
        if target_device_group_id is None:
            raise TypeError("target_device_group_id cannot be null.")
        from .item.target_device_group_item_request_builder import TargetDeviceGroupItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["targetDeviceGroup%2Did"] = target_device_group_id
        return TargetDeviceGroupItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the targetDeviceGroups property of the microsoft.graph.remoteDesktopSecurityConfiguration entity.
        param target_device_group_id: The unique identifier of targetDeviceGroup
        Returns: TargetDeviceGroupItemRequestBuilder
        
msgraph/generated/service_principals/item/remote_desktop_security_configuration/target_device_groups/target_device_groups_request_builder.py